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

Jonathan Stanton jonathan at cnds.jhu.edu
Tue Nov 14 03:30:48 EST 2006

This should be fixed in the SVN verison of spread 4.0 (after rc2). Please let me 
know if it still isn't working in a svn build, or in the next tar release.



On Thu, Oct 26, 2006 at 05:19:27PM -0400, Neil Conway wrote:
> 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
> Makefile.in).
> -Neil

> _______________________________________________
> Spread-users mailing list
> Spread-users at lists.spread.org
> http://lists.spread.org/mailman/listinfo/spread-users

Jonathan R. Stanton         jonathan at cs.jhu.edu
Dept. of Computer Science   
Johns Hopkins University    

More information about the Spread-users mailing list