A patch for elf32.em (Re: GNU/Linux vs. libtool --no-undefined)
Ian Lance Taylor
ian@zembu.com
Wed Feb 7 09:31:00 GMT 2001
Alexandre Oliva <aoliva@redhat.com> writes:
> When my program dlopens B (with RTLD_LAZY, of course :-), it works
> fine, and I'm a happy camper. Until, some day, after refactoring some
> components in A, I exercise some seldom-exercised feature, and the
> program crashes.
>
> Some investigation leads to the conclusion that B had an undefined
> symbol that it expected to get from A, but that I had forgotten to
> define in A.
Alternatively, somebody replaces B with an updated version and the
same thing happens. --no-undefined didn't help.
Ian
More information about the Binutils
mailing list