Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 227931 - sys-libs/uclibc-0.9.28.3-r3 fails to compile
Summary: sys-libs/uclibc-0.9.28.3-r3 fails to compile
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-17 19:36 UTC by Evil Compile Person
Modified: 2008-07-29 16:57 UTC (History)
1 user (show)

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 Evil Compile Person 2008-06-17 19:36:05 UTC
optimizing is* table..
ishift 1  tshift 0  size 49462
ishift 5  tshift 0  size 9606
ishift 6  tshift 0  size 9510
ishift 4  tshift 1  size 6592
ishift 5  tshift 1  size 5776
ishift 1  tshift 5  size 8280
ishift 2  tshift 5  size 7568
ishift 3  tshift 5  size 7288
ishift 4  tshift 5  size 7200
ishift 1  tshift 6  size 8856
ishift 2  tshift 6  size 8524
ishift 3  tshift 6  size 8384
ishift 4  tshift 6  size 8384
ishift 1  tshift 7  size 10214
ishift 2  tshift 7  size 10048
ishift 3  tshift 7  size 10000
ishift 1  tshift 8  size 13312
ishift 2  tshift 8  size 13240
ishift 3  tshift 8  size 13240
ishift 1  tshift 9  size 16524
ishift 2  tshift 9  size 16500
ishift 1  tshift 10  size 22610
ishift 2  tshift 10  size 22608
smallest = 5776
setting ishift 5  tshift 1
make: *** [wctables.h] Segmentation fault
 *
 * ERROR: sys-libs/uclibc-0.9.28.3-r3 failed.

Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.20-vs2.2.0-gentoo i686)
=================================================================
System uname: 2.6.20-vs2.2.0-gentoo i686 Intel(R) Pentium(R) D CPU 3.20GHz
Timestamp of tree: Fri, 13 Jun 2008 17:45:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X acl berkdb cli cracklib crypt cups dri fortran gcj gdbm gpm iconv ipv6 isdnlog midi mudflap ncurses nls nptl nptlonly objc openmp pam pcre perl pppd python readline reflection session spl ssl tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 solar (RETIRED) gentoo-dev 2008-06-17 20:33:43 UTC
Disable nls/iconv in uClibc.
Comment 2 Sarah White 2008-07-21 01:00:02 UTC
(In reply to comment #1)
> Disable nls/iconv in uClibc.

Solar: if using stage3-x86-uclibc-2008.0.tar.bz2 the (experimental) profile for x86 uclibc automatically masks the iconv / nls use options... What do you suggest if using instead of a libc build with native iconv since some packages explictly rely on iconv to function properly?
Comment 3 solar (RETIRED) gentoo-dev 2008-07-29 05:17:37 UTC
Those pkgs should be fixed to allow the to be non-iconv aware. iconv/nls are just 
bloat anyway in the embedded world.
Comment 4 Sarah White 2008-07-29 10:02:03 UTC
(In reply to comment #3)
> Those pkgs should be fixed to allow the to be non-iconv aware. iconv/nls are
> just 
> bloat anyway in the embedded world.

uclibc is not used solely for embedded; it was never intended to be an purely for "extreme bloat reduction" applications requiring a libc. Though incomplete according to uclibc.org, locale support in uclibc is not "just bloat" and can surely be debugged and made useful for applications requiring more than just "extreme footprint reduction". 
 --- 
For instance: virtualization / process isolation, jails, shared hosting and the like; just as embedded can greatly benifit from footprint reduction, so can other uses of uclibc.
 --- 
I speak with personal interest as the gentoo-virtualization project will soon be "kicking off" and I intend to participate. Hopefully my work can continue (with community support) at developing an apropriate overlay for portage that allows uclibc to correctly compile with iconv support.
 --- 
... k'thx... no objection on my part for a "bloat reduction" option remaining available for uclibc ebuilds. =^_^=
Comment 5 solar (RETIRED) gentoo-dev 2008-07-29 16:18:21 UTC
(In reply to comment #4)
> (In reply to comment #3)
...
If you are dealing with overlays then you might want to slap/hack together mini-iconv support for those pkgs. http://tinderbox.dev.gentoo.org/portage/local/misc/mini-iconv/
I don't have time to explain it so I'll just point you to how I've used it in the past. http://tinderbox.dev.gentoo.org/portage/local/misc/glib/
good-luck.