This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc 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: Fw: Please try this testcase on Solaris.


On request of David Abrahams I ran H. Lu's bug.tar.gz test under
Solaris. See below for detailed information about the platform
and the output.
Ralf

P.S.: With gcc 3.0.4 and gcc 3.1 under RedHat 7.1 (Intel) the test
caused a segmentation fault!?


% uname -a
SunOS mcfsrv 5.8 Generic_108528-08 sun4u sparc SUNW,Ultra-Enterprise

mcfsrv:/home/users2/nksauter/rwgk/test % gcc --version
3.0.4

mcfsrv:/home/users2/nksauter/rwgk/test % echo $LD_LIBRARY_PATH
.:/home/users2/nksauter/local/gcc304/lib/gcc-lib/sparc-sun-solaris2.8/3.0.4:/home/users2/nksauter/local/gcc304/lib:/opt/SUNWspro/lib:/usr/local/pgsql/lib:/remote/mcfra_local/mysql/lib:/usr/local/lib

% make -i
gcc --shared -o libbar.so bar.c -fPIC 
gcc --shared -o module1.so module.c libbar.so -fPIC 
gcc --shared -o module2.so module.c libbar.so -fPIC 
gcc  -o main main.c -ldl
./main global lazy
dlopen flags: RTLD_GLOBAL | RTLD_LAZY:
module1.so: 1
module2.so: 1
ld.so.1: ./main: fatal: relocation error: file ./module1.so: symbol __deregister_frame_info: referenced symbol not found
*** Signal 9 (ignored)
./main global now
dlopen flags: RTLD_GLOBAL | RTLD_NOW:
module1.so: 1
module2.so: 1
*** Signal 11 - core dumped (ignored)
./main local lazy
dlopen flags: RTLD_LOCAL | RTLD_LAZY:
module1.so: 1
module2.so: 0
./main local now
dlopen flags: RTLD_LOCAL | RTLD_NOW:
module1.so: 1
module2.so: 0


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