Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
compile error compiling glibc on nslu2 arm processor
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures
View previous topic :: View next topic  
Author Message
linbox
n00b
n00b


Joined: 10 Apr 2004
Posts: 41

PostPosted: Thu Oct 26, 2006 10:27 pm    Post subject: compile error compiling glibc on nslu2 arm processor Reply with quote

I get the following error when I try to compile glibc n the nslu2
Code:

-softfloat-linux-uclibc-linuxthreads/csu/crtn.o
CPP='armeb-softfloat-linux-uclibc-gcc -E -x c-header'  /var/tmp/portage/glibc-2.3.6-r5/work/build-default-armeb-softfloat-linux-uclibc-linuxthreads/elf/ld-linux.so.2 --library-path /var/tmp/portage/glibc-2.3.6-r5/work/build-default-armeb-softfloat-linux-uclibc-linuxthreads:/var/tmp/portage/glibc-2.3.6-r5/work/build-default-armeb-softfloat-linux-uclibc-linuxthreads/math:/var/tmp/portage/glibc-2.3.6-r5/work/build-default-armeb-softfloat-linux-uclibc-linuxthreads/elf:/var/tmp/portage/glibc-2.3.6-r5/work/build-default-armeb-softfloat-linux-uclibc-linuxthreads/dlfcn:/var/tmp/portage/glibc-2.3.6-r5/work/build-default-armeb-softfloat-linux-uclibc-linuxthreads/nss:/var/tmp/portage/glibc-2.3.6-r5/work/build-default-armeb-softfloat-linux-uclibc-linuxthreads/nis:/var/tmp/portage/glibc-2.3.6-r5/work/build-default-armeb-softfloat-linux-uclibc-linuxthreads/rt:/var/tmp/portage/glibc-2.3.6-r5/work/build-default-armeb-softfloat-linux-uclibc-linuxthreads/resolv:/var/tmp/portage/glibc-2.3.6-r5/work/build-default-armeb-softfloat-linux-uclibc-linuxthreads/crypt:/var/tmp/portage/glibc-2.3.6-r5/work/build-default-armeb-softfloat-linux-uclibc-linuxthreads/linuxthreads /var/tmp/portage/glibc-2.3.6-r5/work/build-default-armeb-softfloat-linux-uclibc-linuxthreads/sunrpc/rpcgen -Y ../scripts -c rpcsvc/bootparam_prot.x -o /var/tmp/portage/glibc-2.3.6-r5/work/build-default-armeb-softfloat-linux-uclibc-linuxthreads/sunrpc/xbootparam_prot.T
make[2]: *** [/var/tmp/portage/glibc-2.3.6-r5/work/build-default-armeb-softfloat-linux-uclibc-linuxthreads/sunrpc/xbootparam_prot.stmp] Segmentation fault
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.6-r5/work/glibc-2.3.6/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.6-r5/work/glibc-2.3.6'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.3.6-r5 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  glibc-2.3.6-r5.ebuild, line 1134:   Called toolchain-glibc_src_compile
  glibc-2.3.6-r5.ebuild, line 217:   Called die

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


my make.conf looks like this
Code:

# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
#CFLAGS="-Os"
#CHOST="armeb-softfloat-linux-uclibc"
#CXXFLAGS="-Os"
#CBUILD="armeb"
CFLAGS="-march=armv5t -Os"
#CFLAGS="-Os"
CHOST="armeb-softfloat-linux-uclibc"
CXXFLAGS="${CFLAGS}"
RSYNC_EXCLUDEFROM = "/etc/portage/rsync_excludes"
RSYNC_TIMEOUT=500
#FEATURES="ccache -noman -noinfo -nodoc"
#UCLIB_CPU="ARM_XSCALE"
USE="pam -bitmap-fonts mysql  -truetype-fonts -type1-fonts -expat -doc png zlib apache apache2 audio-oss a52 ogg oss lame aac ntpl noptlonly alsa
embedded perl jpeg "
#SYNC=rsync://rsync.gtlib.gatech.edu/gentoo
#SYNC=rsync://distro.ibiblio.org/pub/linux/distributions/gentoo/
#SYNC=rsync://ftp.uni-muenster.de/pub/linux/distributions/gentoo-portage


Any idea?

guenter
Back to top
View user's profile Send private message
roach
n00b
n00b


Joined: 15 Aug 2006
Posts: 4
Location: Canada

PostPosted: Sun Oct 29, 2006 6:56 pm    Post subject: Reply with quote

I'm guessing a bit here... but it looks like you're currently using uclibc, which as far as I know is incompatible with glibc.

There's some discussion about it here: https://forums.gentoo.org/viewtopic-t-289724-postdays-0-postorder-asc-start-0.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Alternative Architectures All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum