This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports 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]

dlsym in glibc-2.5/mips


Hello.

I would like to ask you about the following dlsym issue
in mips and glibc-2.5.

I compile and execute the attached files and 
the following SEGV happened.


# g++ -g test.cc
# g++ -fPIC -c -g dlsymtest.cc -o dlsymtest.o
# g++ -ldl -g -shared -o dlsymtest.so dlsymtest.o
# export LD_PRELOAD=./dlsymtest.so
# ./a.out
Segmentation fault

Could you tell me any ideas or comments about this phenomenon ?


Thank you.
Yoriko Komatsuzaki
yoriko@sm.sony.co.jp

Attachment: dlsymtest.cc
Description: Binary data

Attachment: test.cc
Description: Binary data


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