[Spread-users] 4.0 RC2: build error on Linux/AMD64

Neil Conway neilc at samurai.com
Thu Oct 26 17:19:27 EDT 2006

I get the following error building Spread 4.0 RC2 on Linux/AMD64:

make[1]: Entering directory `/home/neilc/spread-src-4.0.0rc2/libspread'
gcc -shared -o libspread.so fl.tlo scatp.tlo alarm.tlo events.tlo
memory.tlo sp.tlo
-Wl,-whole-archive ../stdutil/lib/libstdutil-threaded-release.a
-Wl,-no-whole-archive -lm -lnsl  -lpthread 
/usr/bin/ld: ../stdutil/lib/libstdutil-threaded-release.a(stdutil.to):
relocation R_X86_64_32S against `a local symbol' can not be used when
making a shared object; recompile with -fPIC
../stdutil/lib/libstdutil-threaded-release.a(stdutil.to): could not read
symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [libspread.so] Error 1

This is on Ubuntu Edgy: gcc 4.1.1 + patches, binutils 2.17, glibc 2.4.
Attached is a very dirty kludge of a patch lets Spread build for me, but
it's obviously not the right fix (e.g. modifies Makefile rather than


-------------- next part --------------
A non-text attachment was scrubbed...
Name: spread_amd64.patch
Type: text/x-patch
Size: 364 bytes
Desc: not available
Url : http://lists.spread.org/pipermail/spread-users/attachments/20061026/b6c923d4/attachment.bin 

More information about the Spread-users mailing list