Hello everybody.<br>
<br>
I discovered another issue when compiling openser on Solaris 10 running on Sparc.<br>
<br>
If I use standard gcc version 3.4.3, it compiles and runs Ok when it is
compiled on 32 bits (Standard compilation without special command line
options).<br>
But If I use the GCC edition for SPARC Systems (GCCFS) by Sun
Microsytems (which is based on GCC 4.0.3 and is an optimized edition
for Solaris on SPARC), openser fails to start complaining about table
versions. Below appears the log output, and the backtrace of the
generated core file:<br>
<br>
WARNING: no fork mode<br>
&nbsp;0(1120) fm_malloc_init: F_OPTIMIZE=16384, /ROUNDTO=2048<br>
&nbsp;0(1120) fm_malloc_init: F_HASH_SIZE=2067, fm_block size=16560<br>
&nbsp;0(1120) fm_malloc_init(fc800000, 33554432), start=fc800000<br>
&nbsp;0(1120) shm_mem_init: success<br>
&nbsp;0(0) core dump limits set to 0<br>
&nbsp;0(0) DEBUG:add_avp_galias: registering &lt;serial_branch&gt; for avp id &lt;16725044&gt;<br>
&nbsp;0(0) INFO: statistics manager successfully initialized<br>
&nbsp;0(0) DEBUG: init_mod: sl<br>
&nbsp;0(0) StateLess module - initializing<br>
&nbsp;0(0) DEBUG: MD5 calculated: 224bba3fcb82b3a99110f369fb8df55a<br>
&nbsp;0(0) DEBUG: register_stats: sl<br>
&nbsp;0(0) DEBUG: init_mod: usrloc<br>
&nbsp;0(0) usrloc - initializing<br>
&nbsp;0(0) INFO:ul_init_locks: locks array size 4096<br>
&nbsp;0(0) unixsock_register_cmd: New command (ul_rm) registered<br>
&nbsp;0(0) unixsock_register_cmd: New command (ul_rm_contact) registered<br>
&nbsp;0(0) unixsock_register_cmd: New command (ul_dump) registered<br>
&nbsp;0(0) unixsock_register_cmd: New command (ul_flush) registered<br>
&nbsp;0(0) unixsock_register_cmd: New command (ul_add) registered<br>
&nbsp;0(0) unixsock_register_cmd: New command (ul_show_contact) registered<br>
&nbsp;0(0) find_mod_export: found &lt;db_use_table&gt; in module mysql [/toip2/lib/openser/modules/]<br>
&nbsp;0(0) find_mod_export: found &lt;db_init&gt; in module mysql [/toip2/lib/openser/modules/]<br>
&nbsp;0(0) find_mod_export: found &lt;db_close&gt; in module mysql [/toip2/lib/openser/modules/]<br>
&nbsp;0(0) find_mod_export: found &lt;db_query&gt; in module mysql [/toip2/lib/openser/modules/]<br>
&nbsp;0(0) find_mod_export: found &lt;db_fetch_result&gt; in module mysql [/toip2/lib/openser/modules/]<br>
&nbsp;0(0) find_mod_export: found &lt;db_raw_query&gt; in module mysql [/toip2/lib/openser/modules/]<br>
&nbsp;0(0) find_mod_export: found &lt;db_free_result&gt; in module mysql [/toip2/lib/openser/modules/]<br>
&nbsp;0(0) find_mod_export: found &lt;db_insert&gt; in module mysql [/toip2/lib/openser/modules/]<br>
&nbsp;0(0) find_mod_export: found &lt;db_delete&gt; in module mysql [/toip2/lib/openser/modules/]<br>
&nbsp;0(0) find_mod_export: found &lt;db_update&gt; in module mysql [/toip2/lib/openser/modules/]<br>
&nbsp;0(0) find_mod_export: found &lt;db_replace&gt; in module mysql [/toip2/lib/openser/modules/]<br>
&nbsp;0(0) DEBUG: register_stats: usrloc<br>
&nbsp;0(0) DEBUG: register_mi: usrloc<br>
&nbsp;0(0) DEBUG: init_mod: registrar<br>
&nbsp;0(0) registrar - initializing<br>
&nbsp;0(0) find_cmd_export_t: found &lt;load_sl&gt;(0) in module sl [/toip2/lib/openser/modules/]<br>
&nbsp;0(0) find_cmd_export_t: found &lt;ul_bind_usrloc&gt;(1) in module usrloc [/toip2/lib/openser/modules/]<br>
&nbsp;0(0) DEBUG: register_stats: registrar<br>
&nbsp;0(0) DEBUG: init_mod: tm<br>
&nbsp;0(0) TM - initializing...<br>
&nbsp;0(0) Call-ID initialization: &#39;47395976&#39;<br>
&nbsp;0(0) unixsock_register_cmd: New command (t_uac_dlg) registered<br>
&nbsp;0(0) unixsock_register_cmd: New command (t_uac_cancel) registered<br>
&nbsp;0(0) unixsock_register_cmd: New command (t_hash) registered<br>
&nbsp;0(0) unixsock_register_cmd: New command (t_reply) registered<br>
&nbsp;0(0) DEBUG: lock_initialize: lock initialization started<br>
&nbsp;0(0) Warning: uac does not spread across the whole hash table<br>
&nbsp;0(0) DEBUG: MD5 calculated: b5fd95724ef23fee9ce49ee6c27239d6<br>
&nbsp;0(0) DEBUG: MD5 calculated: d0730e359e0208514db6efb58e0ac8b9<br>
&nbsp;0(0) DEBUG: register_stats: tm<br>
&nbsp;0(0) DEBUG: register_mi: tm<br>
&nbsp;0(0) DEBUG: init_mod: mysql<br>
&nbsp;0(0) mysql: MySQL client version is 5.0.37<br>
&nbsp;0(0) DEBUG: init_mod: auth<br>
&nbsp;0(0) AUTH module - initializing<br>
&nbsp;0(0) find_cmd_export_t: found &lt;load_sl&gt;(0) in module sl [/toip2/lib/openser/modules/]<br>
&nbsp;0(0) xl_parse_name: name [s:rpid] index [0]<br>
&nbsp;0(0) xl_parse_vname: avp [s:rpid]<br>
&nbsp;0(0) DEBUG: init_mod: auth_db<br>
&nbsp;0(0) AUTH_DB module - initializing<br>
&nbsp;0(0) find_mod_export: found &lt;db_use_table&gt; in module mysql [/toip2/lib/openser/modules/]<br>
&nbsp;0(0) find_mod_export: found &lt;db_init&gt; in module mysql [/toip2/lib/openser/modules/]<br>
&nbsp;0(0) find_mod_export: found &lt;db_close&gt; in module mysql [/toip2/lib/openser/modules/]<br>
&nbsp;0(0) find_mod_export: found &lt;db_query&gt; in module mysql [/toip2/lib/openser/modules/]<br>
&nbsp;0(0) find_mod_export: found &lt;db_fetch_result&gt; in module mysql [/toip2/lib/openser/modules/]<br>
&nbsp;0(0) find_mod_export: found &lt;db_raw_query&gt; in module mysql [/toip2/lib/openser/modules/]<br>
&nbsp;0(0) find_mod_export: found &lt;db_free_result&gt; in module mysql [/toip2/lib/openser/modules/]<br>
&nbsp;0(0) find_mod_export: found &lt;db_insert&gt; in module mysql [/toip2/lib/openser/modules/]<br>
&nbsp;0(0) find_mod_export: found &lt;db_delete&gt; in module mysql [/toip2/lib/openser/modules/]<br>
&nbsp;0(0) find_mod_export: found &lt;db_update&gt; in module mysql [/toip2/lib/openser/modules/]<br>
&nbsp;0(0) find_mod_export: found &lt;db_replace&gt; in module mysql [/toip2/lib/openser/modules/]<br>
&nbsp;0(0) find_cmd_export_t: found &lt;bind_auth&gt;(0) in module auth [/toip2/lib/openser/modules/]<br>
&nbsp;0(0) find_cmd_export_t: found &lt;load_sl&gt;(0) in module sl [/toip2/lib/openser/modules/]<br>
&nbsp;0(0) DEBUG: init_mod: auth_radius<br>
&nbsp;0(0) auth_radius - Initializing<br>
&nbsp;0(0) auth_radius: No `Cisco&#39; vendor in Radius dictionary<br>
&nbsp;0(0) find_cmd_export_t: found &lt;bind_auth&gt;(0) in module auth [/toip2/lib/openser/modules/]<br>
&nbsp;0(0) DEBUG: init_mod: acc<br>
&nbsp;0(0) ACC - initializing<br>
&nbsp;0(0) find_cmd_export_t: found &lt;load_tm&gt;(0) in module tm [/toip2/lib/openser/modules/]<br>
&nbsp;0(0) xl_parse_name: name [Via] index [-2]<br>
&nbsp;0(0) INFO:xl_parse_name: using hdr type (1) instead of &lt;Via&gt;<br>
&nbsp;0(0) fixing radius_www_authorize, line 63<br>
&nbsp;0(0) fixing www_challenge, line 65<br>
&nbsp;0(0) fixing save, line 69<br>
&nbsp;0(0) db_init: Connection &#39;mysql://openser:openserrw@localhost/openser&#39; not found in pool<br>
&nbsp;0(0) new_connection: Opening MySQL connection: mysql://openser:openserrw@localhost/openser<br>
&nbsp;0(0) new_connection: Connection type is Localhost via UNIX socket<br>
&nbsp;0(0) new_connection: Protocol version is 10<br>
&nbsp;0(0) new_connection: Server version is 5.0.37-log<br>
&nbsp;0(0) table_version(): Invalid type (2) or nul (0) version columns for location<br>
&nbsp;0(0) register_udomain(): Error while querying table version<br>
&nbsp;0(0) pool_remove: Removing connection from the pool<br>
&nbsp;0(0) domain_fixup(): Error while registering domain<br>
&nbsp;0(0) ERROR: fix_actions: fixing failed (code=-1) at cfg line 69<br>
&nbsp;0(0) ERROR: fix_expr : fix_actions error<br>
ERROR: error -1 while trying to fix configuration<br>
Segmentation Fault (core dumped)<br>
<br>
<br>
# GDB backtrace<br>
(gdb) bt<br>
#0&nbsp; 0x000305a8 in process_count ()<br>
#1&nbsp; 0x00030518 in kill_all_children ()<br>
#2&nbsp; 0x00033ab8 in main ()<br>
<br>
<br>
Is there any incompatibility when using GCC 4.X to compile openser?<br>
<br>
Thanks in advance for your help.<br>
<br>
Sergio Gutiérrez<br>