Port-m68k archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libm compilation failing in -current


Can anyone help me to learn why libm is failing? I'm using a netbsd-5 system to compile -current, and it fails here:

#     build  libm/libm.so.0.7
rm -f libm.so.0.7
/usr/current/src/../tools/bin/m68k--netbsdelf-gcc -Wl,-nostdlib -B/usr/current/src/../dest-amiga/usr/lib/ -B/usr/current/src/../dest-amiga/usr/lib/ -Wl,-x -shared -Wl,-soname,libm.so.0 -Wl,--warn-shared-textrel -o libm.so.0.7 -Wl,--whole-archive libm_pic.a -Wl,--no-whole-archive -Wl,-rpath-link,/usr/current/src/../dest-amiga/lib:/usr/current/src/../dest-amiga/usr/lib -R/lib -L/usr/current/src/../dest-amiga/lib -Wl,--fatal-warnings -L/usr/current/src/../dest-amiga/usr/lib /usr/current/tools/bin/../lib/gcc/m68k--netbsdelf/4.1.3/../../../../m68k--netbsdelf/bin/ld: warning: creating a DT_TEXTREL in a shared object.
collect2: ld returned 1 exit status
*** [libm.so.0.7] Error code 1

I'm not sure how this is supposed to be fixed, especially since the "--warn-shared-textrel" seems to have been explicitely added. Any ideas?

John Klos

Home | Main Index | Thread Index | Old Index