Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149418 - [cross-arm/glibc] glibc-2.3.6-r4 fails for arm in linuxthreads
Summary: [cross-arm/glibc] glibc-2.3.6-r4 fails for arm in linuxthreads
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-28 07:11 UTC by Francisco González
Modified: 2006-10-21 13:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
info log (cross-arm-unknown-linux-gnu-info.log,4.54 KB, text/plain)
2006-09-28 07:12 UTC, Francisco González
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Francisco González 2006-09-28 07:11:31 UTC
Crosscompiling glibc-2.3.6-r4 for arm on amd64 fails. I've attached the logs.

glibc-2.4 works but I need 2.3 because the device I'm developing for uses a 2.4 kernel and when I run my app it says "kernel too old"

<glibc-2.3.6-r4 fails at configure stage because "kernel headers are older than 2.0.10"
Comment 1 Francisco González 2006-09-28 07:12:30 UTC
Created attachment 98316 [details]
info log
Comment 2 Francisco González 2006-09-28 07:19:38 UTC
arm-unknown-linux-gnu-gcc ../linuxthreads/sysdeps/unix/sysv/linux/raise.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -pipe   -fPIC    -I../include -I. -I/var/tmp/
cross/arm-unknown-linux-gnu/portage/glibc-2.3.6-r4/work/build-default-arm-unknown-linux-gnu-linuxthreads/signal -I.. -I../libio  -I/var/tmp/cross/arm-unknown-linux-gnu/portage/glibc-2.3.6-
r4/work/build-default-arm-unknown-linux-gnu-linuxthreads -I../sysdeps/arm/elf -I../linuxthreads/sysdeps/unix/sysv/linux/arm -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysd
eps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/arm -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/arm
-I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/arm -I../sysdeps/unix -I../sys
deps/posix -I../sysdeps/arm/fpu -I../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 -nostdinc -isystem /usr/lib/gcc/arm-unknown-linux-gnu/4.1.1/include -isystem /usr/arm-unknown-linux-gnu/usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h  -DPIC -DS
HARED     -DNOT_IN_libc=1 -DIS_IN_rtld=1 -o /var/tmp/cross/arm-unknown-linux-gnu/portage/glibc-2.3.6-r4/work/build-default-arm-unknown-linux-gnu-linuxthreads/signal/rtld-raise.os -MD -MP -
MF /var/tmp/cross/arm-unknown-linux-gnu/portage/glibc-2.3.6-r4/work/build-default-arm-unknown-linux-gnu-linuxthreads/signal/rtld-raise.os.dt -MT /var/tmp/cross/arm-unknown-linux-gnu/portag
e/glibc-2.3.6-r4/work/build-default-arm-unknown-linux-gnu-linuxthreads/signal/rtld-raise.os
../linuxthreads/sysdeps/unix/sysv/linux/raise.c: En la funci
Comment 3 Francisco González 2006-09-28 07:19:38 UTC
arm-unknown-linux-gnu-gcc ../linuxthreads/sysdeps/unix/sysv/linux/raise.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -pipe   -fPIC    -I../include -I. -I/var/tmp/
cross/arm-unknown-linux-gnu/portage/glibc-2.3.6-r4/work/build-default-arm-unknown-linux-gnu-linuxthreads/signal -I.. -I../libio  -I/var/tmp/cross/arm-unknown-linux-gnu/portage/glibc-2.3.6-
r4/work/build-default-arm-unknown-linux-gnu-linuxthreads -I../sysdeps/arm/elf -I../linuxthreads/sysdeps/unix/sysv/linux/arm -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysd
eps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/arm -I../libidn/sysdeps/unix -I../sysdeps/unix/sysv/linux/arm
-I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/arm -I../sysdeps/unix -I../sys
deps/posix -I../sysdeps/arm/fpu -I../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 -nostdinc -isystem /usr/lib/gcc/arm-unknown-linux-gnu/4.1.1/include -isystem /usr/arm-unknown-linux-gnu/usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h  -DPIC -DS
HARED     -DNOT_IN_libc=1 -DIS_IN_rtld=1 -o /var/tmp/cross/arm-unknown-linux-gnu/portage/glibc-2.3.6-r4/work/build-default-arm-unknown-linux-gnu-linuxthreads/signal/rtld-raise.os -MD -MP -
MF /var/tmp/cross/arm-unknown-linux-gnu/portage/glibc-2.3.6-r4/work/build-default-arm-unknown-linux-gnu-linuxthreads/signal/rtld-raise.os.dt -MT /var/tmp/cross/arm-unknown-linux-gnu/portag
e/glibc-2.3.6-r4/work/build-default-arm-unknown-linux-gnu-linuxthreads/signal/rtld-raise.os
../linuxthreads/sysdeps/unix/sysv/linux/raise.c: En la función 'raise':
../linuxthreads/sysdeps/unix/sysv/linux/raise.c:32: error: '__pthread_raise' no se declaró aquí (primer uso en esta función)
../linuxthreads/sysdeps/unix/sysv/linux/raise.c:32: error: (Cada identificador no declarado solamente se reporta una vez
../linuxthreads/sysdeps/unix/sysv/linux/raise.c:32: error: ara cada funcion en la que aparece.)
../linuxthreads/sysdeps/unix/sysv/linux/raise.c:32: aviso: el tipo de dato por defecto es 'int' en la declaración de '_fn'
../linuxthreads/sysdeps/unix/sysv/linux/raise.c:32: error: el objeto '*_fn' llamado no es una función
../linuxthreads/sysdeps/unix/sysv/linux/raise.c:34: aviso: el control alcanza el final de una función que no es void
make[4]: *** [/var/tmp/cross/arm-unknown-linux-gnu/portage/glibc-2.3.6-r4/work/build-default-arm-unknown-linux-gnu-linuxthreads/signal/rtld-raise.os] Error 1
make[4]: Leaving directory `/var/tmp/cross/arm-unknown-linux-gnu/portage/glibc-2.3.6-r4/work/glibc-2.3.6/signal'
make[3]: *** [/var/tmp/cross/arm-unknown-linux-gnu/portage/glibc-2.3.6-r4/work/build-default-arm-unknown-linux-gnu-linuxthreads/signal/rtld-sigaction.os] Error 2
make[3]: Leaving directory `/var/tmp/cross/arm-unknown-linux-gnu/portage/glibc-2.3.6-r4/work/glibc-2.3.6/elf'
make[2]: *** [/var/tmp/cross/arm-unknown-linux-gnu/portage/glibc-2.3.6-r4/work/build-default-arm-unknown-linux-gnu-linuxthreads/elf/rtld-libc.a] Error 2
make[2]: Leaving directory `/var/tmp/cross/arm-unknown-linux-gnu/portage/glibc-2.3.6-r4/work/glibc-2.3.6/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/cross/arm-unknown-linux-gnu/portage/glibc-2.3.6-r4/work/glibc-2.3.6'
make: *** [all] Error 2

!!! ERROR: cross-arm-unknown-linux-gnu/glibc-2.3.6-r4 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  glibc-2.3.6-r4.ebuild, line 1122:   Called src_compile
  glibc-2.3.6-r4.ebuild, line 1133:   Called toolchain-glibc_src_compile
  glibc-2.3.6-r4.ebuild, line 217:   Called die

!!! make for default failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

!!! This ebuild is from an overlay: '/usr/local/portage'
) ...                                                                                                                                      [ ok ]
 * glibc-manpages-2.3.6-1.tar.bz2 SHA1 ;-) ...                                                                                                                                        [ ok ]
 * glibc-manpages-2.3.6-1.tar.bz2 SHA256 ;-) ...                                                                                                                                      [ ok ]
 * glibc-manpages-2.3.6-1.tar.bz2 size ;-) ...                                                                                                                                        [ ok ]
 * glibc-libidn-2.3.6.tar.bz2 MD5 ;-) ...                                                                                                                                             [ ok ]
 * glibc-libidn-2.3.6.tar.bz2 RMD160 ;-) ...                                                                                                                                          [ ok ]
 * glibc-libidn-2.3.6.tar.bz2 SHA1 ;-) ...                                                                                                                                            [ ok ]
 * glibc-libidn-2.3.6.tar.bz2 SHA256 ;-) ...                                                                                                                                          [ ok ]
 * glibc-libidn-2.3.6.tar.bz2 size ;-) ...                                                                                                                                            [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                  [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                 [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                [ ok ]
 * checking glibc-2.3.6.tar.bz2 ;-) ...                                                                                                                                               [ ok ]
 * checking glibc-linuxthreads-2.3.6.tar.bz2 ;-) ...                                                                                                                                  [ ok ]
 * checking glibc-libidn-2.3.6.tar.bz2 ;-) ...                                                                                                                                        [ ok ]
 * checking glibc-2.3.6-patches-1.17.tar.bz2 ;-) ...                                                                                                                                  [ ok ]
 * checking glibc-manpages-2.3.6-1.tar.bz2 ;-) ...                                                                                                                                    [ ok ]
 * checking glibc-infopages-2.3.6.tar.bz2 ;-) ...                       
Comment 4 SpanKY gentoo-dev 2006-09-28 07:33:06 UTC
nothing older than 2.3.6-r4 is supported
Comment 5 Francisco González 2006-10-12 08:31:57 UTC
Compiles with gcc 3.4.6-r1, so it's a gcc4 issue
Comment 6 SpanKY gentoo-dev 2006-10-21 13:59:17 UTC
not arm specific, but fixed in cvs with backport from newer version