harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Hindess" <mark.hind...@googlemail.com>
Subject [classlib][x86_64] libhythr.so linking problem
Date Wed, 04 Oct 2006 20:02:58 GMT

I get compilation problems on x86_64.  It looks to me like a gcc/binutils 

     [exec] cc -shared -Wl,--version-script,libhythr.exp \
     [exec]     -Wl,-soname=libhythr.so  -o ../libhythr.so \
     [exec]     ../shared/thread_copyright.o x86_64/thrhelp.o x86_64/thrspinlock.o hythread.o
../shared/hythreadinspect.o linuxonexit.o priority.o rasthrsup.o ../shared/rwmutex.o thrcreate.o
thrdsup.o ../shared/thrprof.o -lpthread \
     [exec]     -Xlinker --start-group /home/beanz/hy/Harmony.new/deploy/lib/libhypool.a /home/beanz/hy/Harmony.new/deploy/lib/libhycommon.a
-Xlinker --end-group \
     [exec]     -lc -lm -ldl 
     [exec] /usr/bin/ld: x86_64/thrspinlock.o: relocation R_X86_64_PC32 against `hythread_yield'
can not be used when making a shared object; recompile with -fPIC
     [exec] /usr/bin/ld: final link failed: Bad value
     [exec] collect2: ld returned 1 exit status
     [exec] make: *** [../libhythr.so] Error 1

Anyone any ideas?


Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org

View raw message