FR 2.2.5 build fail on ubuntu saucy
Fajar A. Nugraha
list at fajar.net
Mon May 19 06:04:47 CEST 2014
While updating freeradius stable ppa, I found a strange error on
ubuntu saucy. This is low priority, just wondering whether anyone got
this error before or found a way to fix this.
libtool: link: gcc -o .libs/rlm_dbm_parser .libs/rlm_dbm_parser.o
/build/buildd/freeradius-2.2.5/src/lib/.libs/libfreeradius-radius.so
-lgdbm_compat -lssl -lcrypto -lnsl -lresolv -lpthread -Wl,-rpath
-Wl,/usr/lib/freeradius
/build/buildd/freeradius-2.2.5/src/lib/.libs/libfreeradius-radius.so:
undefined reference to `pthread_getspecific'
/build/buildd/freeradius-2.2.5/src/lib/.libs/libfreeradius-radius.so:
undefined reference to `pthread_key_create'
/build/buildd/freeradius-2.2.5/src/lib/.libs/libfreeradius-radius.so:
undefined reference to `pthread_once'
/build/buildd/freeradius-2.2.5/src/lib/.libs/libfreeradius-radius.so:
undefined reference to `pthread_setspecific'
collect2: error: ld returned 1 exit status
make[7]: *** [rlm_dbm_parser] Error 1
Full log (which includes configure line invoked by debian/rules, as
well as gcc versions) here:
https://launchpadlibrarian.net/175869042/buildlog_ubuntu-saucy-amd64.freeradius_2.2.5-ppa1~saucy_FAILEDTOBUILD.txt.gz
The strange thing is that trusty (which is newer) and precise (which
is older than precise) can build the same recipe succesfully. Full log
for trusty https://launchpadlibrarian.net/175868642/buildlog_ubuntu-trusty-amd64.freeradius_2.2.5-ppa1~trusty_UPLOADING.txt.gz
, while for precise
https://launchpadlibrarian.net/175869076/buildlog_ubuntu-precise-amd64.freeradius_2.2.5-ppa1~precise_UPLOADING.txt.gz
.
Upon a glance, the link command line is exactly the same. I'm inclined
to believe that this is gcc 4.8.1 bug in saucy (precise uses 4.6.3,
while trusty 4.8.2).
--
Fajar
More information about the Freeradius-Users
mailing list