Summary: | ~sys-libs/glibc-2.5 fails to compile on arm with >=linux-headers-2.6.20 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexey Shvetsov <alexxy> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | ARM | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 159304 |
Description
Alexey Shvetsov
2007-05-04 12:55:44 UTC
Portage 2.1.2.5 (default-linux/arm/2007.0, gcc-4.1.2, glibc-2.5-r1, 2.6.20-hh8 armv5tel) ================================================================= System uname: 2.6.20-hh8 armv5tel XScale-PXA270 rev 7 (v5l) Gentoo Base System release 2.0.0_alpha1 Timestamp of tree: Fri, 04 May 2007 11:30:10 +0000 distcc 2.18.3 armv5te-softfloat-linux-gnueabi (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.61 sys-devel/automake: 1.9.6-r2, 1.10 sys-devel/binutils: 2.17.50.0.15 sys-devel/gcc-config: 1.3.15-r1 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.20-r2 ACCEPT_KEYWORDS="arm ~arm" AUTOCLEAN="yes" CBUILD="armv5te-softfloat-linux-gnueabi" CFLAGS="-Os -pipe -march=armv5te -mtune=iwmmxt -fomit-frame-pointer" CHOST="armv5te-softfloat-linux-gnueabi" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-Os -pipe -march=armv5te -mtune=iwmmxt -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg candy distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1 -Wl,--sort-common" LINGUAS="ru en" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl apm arm bash-completion bitmap-fonts bzip2 cli cracklib crypt cups iconv ipv6 isdnlog midi ncurses nls no-old-linux nptl nptlonly pam pcre perl ppds pppd profile python readline reflection session slang spl ssl tcpd truetype-fonts type1-fonts ucs2 unicode xattr xcb xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="fbdev" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS Post some errors (and which glibc version is this about), please. It compiles just fine here. (In reply to comment #2) > Post some errors (and which glibc version is this about), please. It compiles > just fine here. no on arm asm/page.h file nedded to compile glibc with EABI (see emerge info) it is reproduceble on all glibc-2.5* Would you please post the errors as requested? (In reply to comment #4) > Would you please post the errors as requested? > ueabi-nptl/misc/setfsuid.o ../ports/sysdeps/unix/sysv/linux/arm/ioperm.c:48:22: error: asm/page.h: No such file or directory armv5te-softfloat-linux-gnueabi-gcc ../ports/sysdeps/unix/sysv/linux/arm/setfsgid.c -c -std=gnu99 -O2 -Wall -Winline -Wwrite-string s -fmerge-all-constants -fno-strict-aliasing -pipe -Wstrict-prototypes -g0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES -I ../include -I/var/tmp/cross/armv5te-softfloat-linux-gnueabi/portage/cross-armv5te-softfloat-linux-gnueabi/glibc-2.5-r1/work/build-d efault-armv5te-softfloat-linux-gnueabi-nptl/misc -I/var/tmp/cross/armv5te-softfloat-linux-gnueabi/portage/cross-armv5te-softfloat-l inux-gnueabi/glibc-2.5-r1/work/build-default-armv5te-softfloat-linux-gnueabi-nptl -I../ports/sysdeps/arm/elf -I../ports/sysdeps/uni x/sysv/linux/arm/eabi/nptl -I../ports/sysdeps/unix/sysv/linux/arm/eabi -I../ports/sysdeps/unix/sysv/linux/arm/nptl -I../ports/sysde ps/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../p orts/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/nptl -I../ports/sysdeps/a rm -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/lib/gcc/armv5te-softfloat-linux-gnueabi/4.1.2 /include -isystem /usr/armv5te-softfloat-linux-gnueabi/usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -o /v ar/tmp/cross/armv5te-softfloat-linux-gnueabi/portage/cross-armv5te-softfloat-linux-gnueabi/glibc-2.5-r1/work/build-default-armv5te- softfloat-linux-gnueabi-nptl/misc/setfsgid.o -MD -MP -MF /var/tmp/cross/armv5te-softfloat-linux-gnueabi/portage/cross-armv5te-softf loat-linux-gnueabi/glibc-2.5-r1/work/build-default-armv5te-softfloat-linux-gnueabi-nptl/misc/setfsgid.o.dt -MT /var/tmp/cross/armv5 te-softfloat-linux-gnueabi/portage/cross-armv5te-softfloat-linux-gnueabi/glibc-2.5-r1/work/build-default-armv5te-softfloat-linux-gn ueabi-nptl/misc/setfsgid.o compiler cant find this ueabi-nptl/misc/setfsuid.o ../ports/sysdeps/unix/sysv/linux/arm/ioperm.c:48:22: error: asm/page.h: No such file or directory and then compilation failes Thanks. this has been fixed in latest glibc-2.5 releasea |