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]

The ia64 linker problems.


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)
--

bug.shar


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