|
I've compiled XEphem 3.4 on Solaris 8 x86, and it seems to work just fine. On Solaris 8 SPARC, I'm getting a SIGBUS in ta_par().
Like this:
breccia-180% ./xephem
Bus Error (core dumped)
breccia-181% gdb xephem
GDB is free software and you are welcome to distribute copies of it
under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (sparc-sun-solaris2.6),
Copyright 1996 Free Software Foundation, Inc...
(gdb) r
Starting program: /home/rvassar/xephem-3.4/GUI/xephem/xephem
warning: Unable to find dynamic linker breakpoint function.
warning: GDB will be unable to debug shared library initializers
warning: and track explicitly loaded dynamic code.
Program received signal SIGBUS, Bus error.
0xc3a44 in ta_par (tha=0.026741745054553512, tdec=-0.40347069522365236, phi=0,
ht=-0.16018646003382195, rho=0xffbee6b8, aha=0xffbee6b0, adec=0xffbee6a8)
at parallax.c:19
19 {
(gdb)
I've checked for optimizer bugs, and have double checked to make sure the various compiler flags are identical. The x86 build sets "-Dasm=__asm", and the SPARC build doesn't. Otherwise, both should be identical. Compiler is gcc 2.95.2.
Anyone have any ideas?
rvassar@home.com |