Hi,

After a long time I decided to give the T2 HEAD revision another try. My target is marked as a cross-compile although I am compiling on an x86 for an x86. It is also using uClibC.

I get a failure while configuring package curlPP. Here's the section I think is responsible. The full config.log is attached, ERROR-LOG does not have anything that looks very interesting to me.

configure:2824: checking for C compiler default output file name
configure:2851: i486-t2-linux-uclibc-gcc    conftest.c  -lstdc++ >&5
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-i486-cross-linux/usr/lib/libstdc++.so: undefined reference to `___tls_get_addr'
collect2: ld returned 1 exit status
configure:2854: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "curlpp"
| #define VERSION "0.7.2"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2893: error: C compiler cannot create executables
See `config.log' for more details.

I have tried to find the cause for this. And it seems to be a problem with the "Thread local storage" of GCC. If I understood this correctly, GCC autodetects support for a specific implementation of TLS, but that is not supported by libc (uclibc in my case).

There are suggestions to configure Gcc without that TLS, so that it does not falsely auto-detect it. I will try that next.

Ciao, MM
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.60.  Invocation command line was

  $ ./configure --prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin 
--libdir=/usr/lib --datadir=/usr/share --includedir=/usr/include 
--infodir=/usr/info --mandir=/usr/man --sysconfdir=/etc --localstatedir=/var 
--disable-debug --disable-nls --without-libpam --without-pam --disable-libpam 
--disable-pam --build=i686-nocross-linux-gnu --host=i486-t2-linux-uclibc 
--without-boost --cache-file=./config.cache

## --------- ##
## Platform. ##
## --------- ##

hostname = kboxdev
uname -m = i486
uname -r = 2.6.30-inside-t2-sandbox
uname -s = Linux
uname -v = #1: SMP Sun Jan 10 12:35:16 CET 2010

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: 
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-i486-cross-linux/TOOLCHAIN/tools.cross/wrapper
PATH: 
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-i486-cross-linux/TOOLCHAIN/tools.cross/bin
PATH: 
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-i486-cross-linux/TOOLCHAIN/tools.cross/crosscc
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1840: loading cache ./config.cache
configure:1975: checking for a BSD-compatible install
configure:2031: result: 
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-i486-cross-linux/TOOLCHAIN/tools.cross/wrapper/install
 -c
configure:2042: checking whether build environment is sane
configure:2085: result: yes
configure:2150: checking for gawk
configure:2177: result: gawk
configure:2188: checking whether make sets $(MAKE)
configure:2209: result: yes
configure:2285: checking for i486-t2-linux-uclibc-strip
configure:2312: result: i486-t2-linux-uclibc-strip
configure:2409: checking whether ln -s works
configure:2413: result: yes
configure:2420: checking whether make sets $(MAKE)
configure:2441: result: yes
configure:2466: checking for i486-t2-linux-uclibc-gcc
configure:2493: result: i486-t2-linux-uclibc-gcc
configure:2771: checking for C compiler version
configure:2778: i486-t2-linux-uclibc-gcc --version >&5
i486-t2-linux-uclibc-gcc (GCC) 4.4.2
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2781: $? = 0
configure:2788: i486-t2-linux-uclibc-gcc -v >&5
Using built-in specs.
Target: i486-t2-linux-uclibc
Configured with: ../configure 
--prefix=/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-i486-cross-linux/TOOLCHAIN/tools.cross/usr
 
--bindir=/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-i486-cross-linux/TOOLCHAIN/tools.cross/usr/crosscc
 
--sbindir=/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-i486-cross-linux/TOOLCHAIN/tools.cross/usr/sbin
 
--libdir=/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-i486-cross-linux/TOOLCHAIN/tools.cross/usr/lib
 
--datadir=/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-i486-cross-linux/TOOLCHAIN/tools.cross/usr/share
 
--includedir=/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-i486-cross-linux/TOOLCHAIN/tools.cross/usr/include
 
--infodir=/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-i486-cross-linux/TOOLCHAIN/tools.cross/usr/info
 
--mandir=/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-i486-cross-linux/TOOLCHAIN/tools.cross/usr/man
 
--sysconfdir=/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-i486-cross-linux/TOOLCHAIN/tools.cross/etc
 
--localstatedir=/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-i486-cross-linux/TOOLCHAIN/tools.cross/var
 --disable-debug --disable-nls --without-libpam --without-pam --disable-libpam 
--disable-pam --enable-decimal-float=no 
--with-mpfr=/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-i486-cross-linux/TOOLCHAIN/tools.cross
 
--with-mpfr-lib=/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-i486-cross-linux/TOOLCHAIN/tools.cross//usr/lib
 
--with-ppl=/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-i486-cross-linux/TOOLCHAIN/tools.cross
 
--with-cloog=/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-i486-cross-linux/TOOLCHAIN/tools.cross
 
--with-gmp=/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-i486-cross-linux/TOOLCHAIN/tools.cross
 --target=i486-t2-linux-uclibc --build=i686-nocross-linux-gnu 
--host=i686-nocross-linux-gnu --target=i486-t2-linux-uclibc --with-arch=i486 
--enable-__cxa_atexit --disable-checking --disable-bootstrap 
--disable-libstdcxx-pch --disable-multilib 
--with-sysroot=/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-i486-cross-linux 
--program-prefix=i486-t2-linux-uclibc- --disable-cpp --disable-shared 
--disable-libssp --disable-libgomp --enable-languages=c,c++ --disable-libmudflap
Thread model: posix
gcc version 4.4.2 (GCC) 
configure:2791: $? = 0
configure:2798: i486-t2-linux-uclibc-gcc -V >&5
i486-t2-linux-uclibc-gcc: '-V' must come at the start of the command line
configure:2801: $? = 1
configure:2824: checking for C compiler default output file name
configure:2851: i486-t2-linux-uclibc-gcc    conftest.c  -lstdc++ >&5
/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-i486-cross-linux/usr/lib/libstdc++.so:
 undefined reference to `___tls_get_addr'
collect2: ld returned 1 exit status
configure:2854: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "curlpp"
| #define VERSION "0.7.2"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2893: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=i486-t2-linux-uclibc-gcc
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=set
ac_cv_env_CPP_value=i486-t2-linux-uclibc-cpp
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=i486-t2-linux-uclibc-g++
ac_cv_env_F77_set=set
ac_cv_env_F77_value=F77_not_available_in_stage_1
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i686-nocross-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i486-t2-linux-uclibc
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_file___dev_urandom_=yes
ac_cv_file__dev_ptc=no
ac_cv_file__dev_ptmx=yes
ac_cv_file__dev_random=yes
ac_cv_func_closedir_void=no
ac_cv_func_fnmatch_works=yes
ac_cv_func_getpgrp_void=yes
ac_cv_func_getpwuid_r=yes
ac_cv_func_posix_getpwuid_r=yes
ac_cv_func_setpgrp_void=yes
ac_cv_func_setrlimit=no
ac_cv_func_setvbuf_reversed=no
ac_cv_have_abstract_sockets=yes
ac_cv_header_stdc=yes
ac_cv_header_ulimit_h=yes
ac_cv_path_FCCACHE=/bin/echo
ac_cv_path_install='/home/kbox/t2/build/kbox-8.0-trunk-kbox-x86-i486-cross-linux/TOOLCHAIN/tools.cross/wrapper/install
 -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=i486-t2-linux-uclibc-gcc
ac_cv_prog_STRIP=i486-t2-linux-uclibc-strip
ac_cv_prog_make_make_set=yes
ac_cv_sys_restartable_syscalls=yes
am_cv_func_working_getline=yes
bash_cv_func_sigsetjmp=missing
bash_cv_func_strcoll_broken=no
bash_cv_have_mbstate_t=yes
bash_cv_must_reinstall_sighandlers=yes
compat_cv_func_makedev_three_args=no
gl_cv_func_gettimeofday_clobber=no
glib_cv___va_copy=yes
glib_cv_has__inline=yes
glib_cv_has__inline__=yes
glib_cv_hasinline=yes
glib_cv_rtldglobal_broken=no
glib_cv_sane_realloc=yes
glib_cv_sizeof_gmutex=24
glib_cv_stack_grows=yes
glib_cv_uscore=no
glib_cv_va_copy=yes
glib_cv_va_val_copy=yes
knfsd_cv_bsd_signals=no
ksh_cv_dev_fd=no
ksh_cv_func_times_ok=yes
ksh_cv_pgrp_check=posix
ksh_cv_rlim_check=long
sudo_cv_ebcdic=no
utils_cv_sys_open_max=1021
vi_cv_sprintf_count=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} 
/home/kbox/t2/src.curlpp.kbox.20100110.125459.16056.kboxdev/curlpp-0.7.2/missing
 --run aclocal-1.9'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} 
/home/kbox/t2/src.curlpp.kbox.20100110.125459.16056.kboxdev/curlpp-0.7.2/missing
 --run tar'
AR='i486-t2-linux-uclibc-ar'
AS='i486-t2-linux-uclibc-as'
AUTOCONF='${SHELL} 
/home/kbox/t2/src.curlpp.kbox.20100110.125459.16056.kboxdev/curlpp-0.7.2/missing
 --run autoconf'
AUTOHEADER='${SHELL} 
/home/kbox/t2/src.curlpp.kbox.20100110.125459.16056.kboxdev/curlpp-0.7.2/missing
 --run autoheader'
AUTOMAKE='${SHELL} 
/home/kbox/t2/src.curlpp.kbox.20100110.125459.16056.kboxdev/curlpp-0.7.2/missing
 --run automake-1.9'
AWK='gawk'
BOOST_CPPFLAGS=''
BOOST_LDFLAGS=''
CC='i486-t2-linux-uclibc-gcc'
CCDEPMODE=''
CFLAGS=''
CPP='i486-t2-linux-uclibc-cpp'
CPPFLAGS=''
CURLPP_CXXFLAGS=''
CXX='i486-t2-linux-uclibc-g++'
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DLLTOOL=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
F77='F77_not_available_in_stage_1'
FFLAGS=''
GREP=''
HAVE_BOOST_FALSE=''
HAVE_BOOST_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=' -lstdc++'
LIBTOOL=''
LN_S='ln -s'
LTLIBOBJS=''
MAINTENER_CODE_FALSE=''
MAINTENER_CODE_TRUE=''
MAKEINFO='${SHELL} 
/home/kbox/t2/src.curlpp.kbox.20100110.125459.16056.kboxdev/curlpp-0.7.2/missing
 --run makeinfo'
NO_UNDEFINED_FALSE=''
NO_UNDEFINED_TRUE=''
OBJDUMP='i486-t2-linux-uclibc-objdump'
OBJEXT=''
PACKAGE='curlpp'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PKGADD_NAME='cURLpp - a client that groks URLs++'
PKGADD_PKG='cURLpp'
PKGADD_VENDOR='http://rrette.com/curlpp.html'
RANLIB='i486-t2-linux-uclibc-ranlib'
RPM_VERSION='0.7.2'
SED='sed'
SET_MAKE=''
SHELL='/bin/sh'
STRIP='i486-t2-linux-uclibc-strip'
VERSION='0.7.2'
VERSIONNUM=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_F77=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='/usr/bin'
build='i686-nocross-linux-gnu'
build_alias='i686-nocross-linux-gnu'
build_cpu=''
build_os=''
build_vendor=''
datadir='/usr/share'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i486-t2-linux-uclibc'
host_alias='i486-t2-linux-uclibc'
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='/usr/include'
infodir='/usr/info'
install_sh='/home/kbox/t2/src.curlpp.kbox.20100110.125459.16056.kboxdev/curlpp-0.7.2/install-sh'
libdir='/usr/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var'
mandir='/usr/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='/usr/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PACKAGE "curlpp"
#define VERSION "0.7.2"

configure: exit 77
----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to