This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Shared library question


>> >If you'll do:
>> >VER_1.0 { global: foo; bar; baz; local: *; };
>> >VER_1.1 { } VER_1.0;
>> This solution works fine for small test-cases. But I have problems
running
>> huge real application. Same conditions, same library, same symbol
>> information in the application but ld.so does not resolve reference to
>> foo@VER_1.0.
>> 
>
>It should work. You need to provide more info.

There is the problem!
If you add line VER_0.9 {}; at the beginning of the linker script you will
se the error message:
	a.out: error while loading shared libraries: a.out: undefined
symbol: foo

Actually I found the reason and made the fix for _my_particular_case. But it
seems to be a linker bug. Should it be reflected in separate report or not?

Grigory.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]