Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177021 - ~sys-libs/glibc-2.5 fails to compile on arm with >=linux-headers-2.6.20
Summary: ~sys-libs/glibc-2.5 fails to compile on arm with >=linux-headers-2.6.20
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: ARM Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: sane-linux-headers
  Show dependency tree
 
Reported: 2007-05-04 12:55 UTC by Alexey Shvetsov
Modified: 2007-06-24 23:51 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Shvetsov archtester gentoo-dev 2007-05-04 12:55:44 UTC
glibc failed because of missing asm/page.h

Reproducible: Always
Comment 1 Alexey Shvetsov archtester gentoo-dev 2007-05-04 12:58:10 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
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-05-04 12:59:18 UTC
Post some errors (and which glibc version is this about), please. It compiles just fine here.
Comment 3 Alexey Shvetsov archtester gentoo-dev 2007-05-04 13:04:10 UTC
(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*

Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-05-04 13:36:28 UTC
Would you please post the errors as requested?
Comment 5 Alexey Shvetsov archtester gentoo-dev 2007-05-04 16:14:38 UTC
(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
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-05-04 16:27:56 UTC
Thanks.
Comment 7 SpanKY gentoo-dev 2007-06-24 23:51:15 UTC
this has been fixed in latest glibc-2.5 releasea