[parisc-linux] dynamic loader problem

John David Anglin dave@hiauly1.hia.nrc.ca
Mon, 11 Mar 2002 13:08:56 -0500 (EST)


In looking at the the failure of the g++.brendan/new3.C, I have observed
what appears to be a problem with the dynamic loader.  The function
_Znwj appears as a global symbol in the main program and in
libstdc++.so.4.0.0.  The version in the main program should be selected
in preference to the one in the shared library.  However, the dynamic
loader actually uses the version in the shared library causing the
test to fail.  The program works ok with static linkage.

It looks like the symbol search procedure used in glibc needs some work.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)