[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnucap-devel] Feedback needed, especially non-Linux

From: David Fang
Subject: Re: [Gnucap-devel] Feedback needed, especially non-Linux
Date: Thu, 22 Feb 2007 17:10:00 -0500 (EST)

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
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

Anyhow, attempting to run the built src/gnucap (before installing),
I get:

% ./gnucap
incorrect link order

% 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,
address@hidden, 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
#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
        -- (2400 baud? Netscape 3.0?? lynx??? No problem!)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]