[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Building armel glibc-2.5



On 2007-03-19 02:39 +0100, Hector Oron wrote:
> Hello,
> 
>  Building glibc-2.5 throws an error related to TLS support:
> 
> In file included from ../include/tls.h:6,
>                 from <stdin>:2:
> ../ports/sysdeps/arm/nptl/tls.h:48:3: error: #error "TLS support is 
> required."
> 
>  If it depends on binutils cross binaries, i have tried patched
> unstable and experimental sources.
> 
>  Someone know a hint on this matter? Is not TLS support enabled
> internally in glibc-2.5?

Hmm, you are doing better than me. My glibc build stops during
configure, claiming that autoconf is not installed an false is not
working. Which is very odd. (building on my laptop, running testing).

Are you building on the emdebian server in the unstable chroot? The
build logs suggest so. That currently seems to have a broken verison
of dpkg-architecture installed (giving armel-linux-gnu instead of
arm-linux-gnueabi for DEB_HOST_GNU_TYPE (probably from codehelp's
recent experiments). I've now fixed that.  

The glibc build now fails in a different place:
(command: DEB_CROSS_BOOTSTRAP=yes dpkg-buildpackage -uc -us -rfakeroot -aarmel -b -d 
on plain glibc_2.5-0exp6). It goes wrong after about 8MB of log:

gcc dl-lookup.c -c -std=gnu99 -O2 -Wall -Winline -Wwrite-strings
-fmerge-all-constants -fstrict-aliasing -g -pipe -Wstrict-prototypes
-pg -fexceptions -fasynchronous-unwind-tables   -I../include
-I/home/wookey/armel/glibc-2.5/build-tree/armel-libc/elf
-I/home/wookey/armel/glibc-2.5/build-tree/armel-libc
-I../ports/sysdeps/arm/elf
-I../ports/sysdeps/unix/sysv/linux/arm/eabi/nptl
-I../ports/sysdeps/unix/sysv/linux/arm/eabi
-I../ports/sysdeps/unix/sysv/linux/arm/nptl
-I../ports/sysdeps/unix/sysv/linux/arm
-I../ports/sysdeps/unix/sysv/linux -I../nptl/sysdeps/unix/sysv/linux
-I../nptl/sysdeps/pthread -I../sysdeps/pthread
-I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common
-I../sysdeps/unix/mman -I../sysdeps/unix/inet
-I../ports/sysdeps/unix/sysv -I../nptl/sysdeps/unix/sysv
-I../sysdeps/unix/sysv -I../ports/sysdeps/unix/arm
-I../ports/sysdeps/unix -I../nptl/sysdeps/unix -I../sysdeps/unix
-I../sysdeps/posix -I../ports/sysdeps/arm/eabi
-I../ports/sysdeps/arm/fpu -I../ports/sysdeps/arm/nptl
-I../ports/sysdeps/arm -I../sysdeps/wordsize-32
-I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64
-I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic
-I../ports -I../nptl  -I.. -I../libio -I. -nostdinc -isystem
/usr/bin/../lib/gcc/arm-crosstool-linux-gnueabi/4.1.1/include -isystem
/home/wookey/armel/glibc-2.5/debian/include -D_LIBC_REENTRANT -include
../include/libc-symbols.h  -DPROF      -o
/home/wookey/armel/glibc-2.5/build-tree/armel-libc/elf/dl-lookup.op
-MD -MP -MF
/home/wookey/armel/glibc-2.5/build-tree/armel-libc/elf/dl-lookup.op.dt
-MT /home/wookey/armel/glibc-2.5/build-tree/armel-libc/elf/dl-lookup.op
do-lookup.h: In function 'check_match':
do-lookup.h:164: internal compiler error: in arm_unwind_emit_set, at config/arm/arm.c:15367
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [/home/wookey/armel/glibc-2.5/build-tree/armel-libc/elf/dl-lookup.op]
Error 1
make[3]: Leaving directory /home/wookey/armel/glibc-2.5/build-tree/glibc-2.5/elf'
make[2]: *** [elf/subdir_lib] Error 2
make[2]: Leaving directory /home/wookey/armel/glibc-2.5/build-tree/glibc-2.5'
make[1]: *** [all] Error 2
make[1]: Leaving directory /home/wookey/armel/glibc-2.5/build-tree/armel-libc'
make: *** [/home/wookey/armel/glibc-2.5/stamp-dir/build_libc] Error 2
make: Leaving directory /home/wookey/armel/glibc-2.5'

adding -v shows:
Using built-in specs.
Target: arm-crosstool-linux-gnueabi
Configured with:
/home/martin/crosstool/crosstool/build/arm-crosstool-linux-gnueabi/gcc-4.1.1-glibc-2.4/gcc-4.1.1/configure
--target=arm-crosstool-linux-gnueabi --host=i686-host_pc-linux-gnu
--prefix=/home/martin/crosstool/opt/gcc-4.1.1-glibc-2.4/arm-crosstool-linux-gnueabi
--with-arch=armv4t --with-float=soft --enable-cxx-flags=-msoft-float
--with-headers=/home/martin/crosstool/opt/gcc-4.1.1-glibc-2.4/arm-crosstool-linux-gnueabi/arm-crosstool-linux-gnueabi/include
--with-local-prefix=/home/martin/crosstool/opt/gcc-4.1.1-glibc-2.4/arm-crosstool-linux-gnueabi/arm-crosstool-linux-gnueabi
--disable-nls --enable-threads=posix --enable-symvers=gnu
--enable-__cxa_atexit --enable-languages=c --enable-shared
--enable-c99 --enable-long-long
Thread model: posix
gcc version 4.1.1


Wookey
-- 
Principal hats:  Balloonz - Toby Churchill - Aleph One - Debian
http://wookware.org/

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Reply to: