Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 154154

Summary: [cross-arm/uclibc] uclibc-0.9.28-r1 fails to build
Product: Gentoo Linux Reporter: n0rbi666 <n0rbi666>
Component: [OLD] DevelopmentAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED WONTFIX    
Severity: normal CC: craig, dragonlinux, hkbst, jan.spakula, tl
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description n0rbi666 2006-11-05 10:07:21 UTC
I'm trying to build armeb-unknown-linux-uclibc with crossdev, but - uclibc fails to build :

gcc -O2 -Wall -D__UCLIBC_GEN_LOCALE gen_wctype.c -o gen_wctype
gen_wctype.c:752:2: warning: #warning fix the upper bound on the upper/lower tables... save 200 bytes or so
gen_wctype.c: In function 'main':
gen_wctype.c:236: warning: unused variable 'last_comb'
gen_wctype.c:235: warning: unused variable 'widthtable'
gen_wctype.c:648: warning: 'i1' may be used uninitialized in this function
gen_wctype.c:648: warning: 'i0' may be used uninitialized in this function
gen_wctype.c:647: warning: 'sc' may be used uninitialized in this function
gen_wctype.c:647: warning: 'n' may be used uninitialized in this function
./gen_wctype en_US
typecount[ 0] = 95084 C_unclassified
typecount[ 1] = 88837 C_alpha_nonupper_nonlower
typecount[ 2] = 756 C_alpha_lower
typecount[ 3] = 4 C_alpha_upper_lower
typecount[ 4] = 745 C_alpha_upper
typecount[ 5] = 10 C_digit
typecount[ 6] = 11088 C_punct
typecount[ 7] = 2 C_graph
typecount[ 8] = 0 C_print_space_nonblank
typecount[ 9] = 15 C_print_space_blank
typecount[10] = 0 C_space_nonblank_noncntrl
typecount[11] = 0 C_space_blank_noncntrl
typecount[12] = 6 C_cntrl_space_nonblank
typecount[13] = 1 C_cntrl_space_blank
typecount[14] = 60 C_cntrl_nonspace
typecount[15] = 0 empty_slot
optimizing is* table..
ishift 1 tshift 0 size 49441
ishift 2 tshift 0 size 25561
ishift 3 tshift 0 size 14365
ishift 4 tshift 0 size 9845
ishift 5 tshift 0 size 8453
ishift 6 tshift 0 size 7909
ishift 1 tshift 1 size 25302
ishift 2 tshift 1 size 13560
ishift 3 tshift 1 size 8228
ishift 4 tshift 1 size 5996
ishift 5 tshift 1 size 4956
ishift 6 tshift 1 size 4796
ishift 1 tshift 2 size 13746
ishift 2 tshift 2 size 8008
ishift 3 tshift 2 size 5356
ishift 4 tshift 2 size 4068
ishift 5 tshift 2 size 3604
ishift 1 tshift 3 size 8642
ishift 2 tshift 3 size 5780
ishift 3 tshift 3 size 4368
ishift 4 tshift 3 size 3752
ishift 5 tshift 3 size 3704
ishift 1 tshift 4 size 7070
ishift 2 tshift 4 size 5596
ishift 3 tshift 4 size 4904
ishift 4 tshift 4 size 4688
ishift 1 tshift 5 size 7078
ishift 2 tshift 5 size 6348
ishift 3 tshift 5 size 6048
ishift 4 tshift 5 size 5984
ishift 1 tshift 6 size 7222
ishift 2 tshift 6 size 6880
ishift 3 tshift 6 size 6752
ishift 4 tshift 6 size 6752
ishift 1 tshift 7 size 8016
ishift 2 tshift 7 size 7856
ishift 3 tshift 7 size 7808
ishift 1 tshift 8 size 10488
ishift 2 tshift 8 size 10416
ishift 3 tshift 8 size 10416
ishift 1 tshift 9 size 14472
ishift 2 tshift 9 size 14448
ishift 1 tshift 10 size 20560
ishift 2 tshift 10 size 20556
smallest = 3604
setting ishift 5 tshift 2
make: *** [wctables.h] Segmentation fault

!!! ERROR: cross-armeb-unknown-linux-uclibc/uclibc-0.9.28-r1 failed.
Call stack:
ebuild.sh, line 1568: Called dyn_compile
ebuild.sh, line 937: Called src_compile
uclibc-0.9.28-r1.ebuild, line 375: Called die 


Build info:
--------------------------------------------------------------------------------------------------------------------------------
* Host Portage ARCH: x86
* Target Portage ARCH: arm
* Target System: armeb-unknown-linux-uclibc
* Stage: 4 (C/C++ compiler)

* binutils: binutils-[latest]
* gcc: gcc-[latest]
* headers: linux-headers-[latest]
* libc: uclibc-[latest]

* PORTDIR_OVERLAY: /usr/local/portage
* PORT_LOGDIR: /var/log/portage
* PKGDIR: /usr/portage/packages/cross/armeb-unknown-linux-uclibc
* PORTAGE_TMPDIR: /var/tmp/cross/armeb-unknown-linux-uclibc
_ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ -
Portage 2.1.2_rc1-r3 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r3, 2.6.18-no2 i686)
=================================================================
System uname: 2.6.18-no2 i686 AMD Athlon(tm)
Gentoo Base System version 1.12.6
Last Sync: Sat, 04 Nov 2006 12:30:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python: 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.60
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17.50.0.6
sys-devel/gcc-config: 1.3.14
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://gentoo.zie.pg.gda.pl http://mirror.gentoo.no ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo"
LANG="pl_PL"
LC_ALL="pl_PL.UTF-8"
LINGUAS="pl"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages/cross/armeb-unknown-linux-uclibc"
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"
PORTAGE_TMPDIR="/var/tmp/cross/armeb-unknown-linux-uclibc"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aac aiglx alsa audiofile berkdb bitmap-fonts bzip2 cairo cli cracklib crypt dbus dlloader dri dvd dvdr dvdread elibc_glibc encode ffmpeg flac fortran gdbm gif gpm hal iconv imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kdexdeltas kernel_linux lame libg++ linguas_pl lirc lirc_devices_devinput mad mmx mmxext motif mp3 mpeg musepack ncurses nls nptl nptlonly ogg openal opengl pam pcre perl pic png ppds pppd python qt3 qt4 quicktime readline reflection sdl session slang spell spl sse ssl tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU userlocales v4l v4l2 video_cards_ati video_cards_fglrx video_cards_radeon vorbis xcomposite xine xinerama xml xorg xv zlib"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS

--------------

I've tried to build it with older linux-headers (2.6.16), older binutils (2.16.1-r3) and older gcc (3.4.6) - and every time it fails with the same error.
Comment 1 Jan Spakula 2006-11-05 20:17:21 UTC
Same error here, trying to get i686-pc-linux-uclibc with crossdev.
Comment 2 SpanKY gentoo-dev 2006-11-05 23:31:58 UTC
nls/locale is currently unsupported
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-04-10 17:13:43 UTC
*** Bug 174041 has been marked as a duplicate of this bug. ***
Comment 4 SpanKY gentoo-dev 2009-08-25 08:02:56 UTC
*** Bug 208623 has been marked as a duplicate of this bug. ***
Comment 5 SpanKY gentoo-dev 2009-10-25 07:49:15 UTC
*** Bug 289465 has been marked as a duplicate of this bug. ***