Re: Feedback needed, especially non-Linux
David Fang <[email protected]>
| Newsgroups | gmane.comp.gnu.gnucap.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Al, > For non-Linux systems.. > > 1. Can you build the latest snapshot and model libraries? > > Mac. (likely linker problem.) powerpc-apple-darwin8-g++-4.0.1: unrecognized option '-rdynamic' But it just ignored the option and proceeded anyhow. grep shows that it was added to LDFLAGS coercively by configure.ac. Don't think this is a good idea in general. Why not use GNU libtool, where it adds the Right Flags (TM) as it deemed necessary? Anyhow, attempting to run the built src/gnucap (before installing), I get: % ./gnucap incorrect link order Abort % gdb ./gnucap (gdb) run Starting program: /Users/fang/local/src/gnucap-2007-02-21/build/src/gnucap Reading symbols for shared libraries . done incorrect link order Program received signal SIGABRT, Aborted. 0x9004796c in kill () (gdb) where #0 0x9004796c in kill () #1 0x9012dc14 in abort () #2 0x000dfe00 in DISPATCHER<MODEL_CARD>::install (this=0x1a9034, s=@0x19a74c, p=0x19a754) at ../../src/l_dispatcher.h:48 #3 0x001182d8 in __static_initialization_and_destruction_0 (__initialize_p=0, __priority=0) at ../../src/l_dispatcher.h:138 #4 0x8fe153d0 in __dyld__ZN16ImageLoaderMachO16doInitializationERKN11ImageLoader11LinkContextE () #5 0x8fe0b8c8 in __dyld__ZN11ImageLoader23recursiveInitializationERKNS_11LinkContextE () #6 0x8fe0d44c in __dyld__ZN11ImageLoader15runInitializersERKNS_11LinkContextE () #7 0x8fe02c98 in __dyld__ZN4dyld24initializeMainExecutableEv () #8 0x00002814 in _start () #9 0x000026e0 in start () I'm not well-versed in the source, but are you depending on ordering of static globals somehow? David Fang Computer Systems Laboratory Electrical & Computer Engineering Cornell University http://www.csl.cornell.edu/~fang/ -- (2400 baud? Netscape 3.0?? lynx??? No problem!)