[syslog-ng] [Bug 168] Solaris 10 make failure after successful configure

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Thu Mar 8 11:36:46 CET 2012


https://bugzilla.balabit.com/show_bug.cgi?id=168


Tamás Pál <folti at balabit.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |folti at balabit.hu




--- Comment #6 from Tamás Pál <folti at balabit.hu>  2012-03-08 11:36:45 ---
(In reply to comment #4)
> Used "gmake" and made some progress.  However received failure (detailed gmake output attached shortly):
> 
> bin/bash ../../libtool --tag=CC   --mode=link gcc -Wall -g -O2 -D_REENTRANT -D_POSIX_C_SOURCE=199506L -D_POSIX_PTHREAD_SEMANTICS -D_XPG4_2   -o client client.o
> ../libivykis.la -lrt  -lpthread -lsocket
> libtool: link: gcc -Wall -g -O2 -D_REENTRANT -D_POSIX_C_SOURCE=199506L -D_POSIX_PTHREAD_SEMANTICS -D_XPG4_2 -o client client.o  ../.libs/libivykis.a -lrt
> -lpthread -lsocket
> ld: fatal: relocation error: R_SPARC_GOT22: file ../.libs/libivykis.a(iv_timer.o): symbol clock_source: relocation illegal for TLS symbol
> collect2: ld returned 1 exit status
> <snip>

You are trying to compile syslog-ng with the old gcc 3.4.6 bundled with Solaris 10, which doesn't support TLS (Thread Local Storage) properly.
You need to build a more recent (4.5 or 4.6) gcc, following the steps outlined in thos blog: http://jblopen.com/node/16


-- 
Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the syslog-ng mailing list