http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47558

--- Comment #8 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-02-01 
06:10:32 UTC ---
Actually a backtrace confirms that current gcc trunk is broken and the missing
linkage on /usr/lib/libgcc_s.1.dylib is causing the wrong unwinder to be
used...

howarth% ../bin/xplor -debug gdb 
GNU gdb 6.3.50-20050815 (Apple version gdb-1510) (Wed Sep 22 02:45:02 UTC 2010)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or 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.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared
libraries ............... done

(gdb) r < dipCoup.inp
Starting program: /Users/howarth/xplor-nih-2.27/bin.Darwin_10_x86_64/xplor <
dipCoup.inp
Reading symbols for shared libraries .++++++++++++++....... done
               Xplor-NIH version 2.27-custom 
...


-------------------------------------------------------------------------------
 -- POWELL ------ step=      5 --- stepsize=  0.020455 --- energy evals=    2
--
 | Etotal =181.583    grad(E)=4.894      E(BOND)=6.068      E(ANGL)=160.218   
|
 | E(IMPR)=5.596      E(XDIP)=9.701                                           
|

-------------------------------------------------------------------------------
Powell::step: irregular exit: Line search abandoned: gradient may be incorrect

Program received signal SIGABRT, Aborted.
0x00007fff87c05616 in __kill ()
(gdb) bt
#0  0x00007fff87c05616 in __kill ()
#1  0x00007fff87ca5cca in abort ()
#2  0x00000001020b37a6 in uw_init_context_1 (context=0x7fff5fbfc4b0,
outer_cfa=0x7fff5fbfc6e0, outer_ra=0x10190eb12) at
../../../gcc/libgcc/../gcc/unwind-dw2.c:1265
#3  0x00007fff5fbfc920 in ?? ()
#4  0x00007fff87c070a2 in __sflush ()
(gdb) 

If we were properly executing in the system unwinder, which lacks debug code,
we wouldn't end up with a backtrace through
../../../gcc/libgcc/../gcc/unwind-dw2.c:1265 in the FSF gcc sources.

Reply via email to