The ia64 linker problems.

H . J . Lu hjl@valinux.com
Mon Feb 5 15:24:00 GMT 2001


I found a few ia64 linker problems. One of them is I cannot overide
functions in DSO from the executables:

# make
cc -O -B./  -c main.c
cc: file path prefix `./' never used
cc -O -B./  -fPIC -c sh1.c
cc: file path prefix `./' never used
cc -shared -o libfoo.so -O -B./  -fPIC sh1.o
cc: file path prefix `./' never used
cc -o foo -O -B./  main.o libfoo.so -Wl,-rpath,.
cc: file path prefix `./' never used
for f in foo; do echo "Running: $f"; ./$f; \
  if [ $? != 0 ]; then echo Failed; fi; done
Running: foo
shlib_shlibcall2 () == 7
shlib_overriddencall2 () == 8
Failed

-- 
H.J. Lu (hjl@valinux.com)
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug.shar
Type: application/octet-stream
Size: 5877 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20010205/36ee575d/attachment.obj>


More information about the Binutils mailing list