Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 229623 - sys-libs/uclibc-0.9.28.3-r3 fails to compile with sys-devel/gcc-4.x and USE="hardened"
Summary: sys-libs/uclibc-0.9.28.3-r3 fails to compile with sys-devel/gcc-4.x and USE="...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on: 275509
Blocks:
  Show dependency tree
 
Reported: 2008-06-26 16:50 UTC by Vit Vomacko
Modified: 2012-04-22 22:26 UTC (History)
0 users

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


Attachments
environment description file (environment,105.17 KB, text/plain)
2008-06-26 16:53 UTC, Vit Vomacko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vit Vomacko 2008-06-26 16:50:46 UTC
i386-gentoo-linux-uclibc-ranlib libc.a
i386-gentoo-linux-uclibc-ld  -shared --warn-common --warn-once -z combreloc -z defs -s -z relro -z now  -soname=libc.so.0 -o libuClibc-0.9.28.so \
                --whole-archive shared_libc.a \
                ../libc/misc/internals/interp.o --no-whole-archive \
                -init __uClibc_init ../lib/ld-uClibc.so.0 /usr/lib/gcc/i386-gentoo-linux-uclibc/4.1.2/libgcc.a
../lib/ld-uClibc.so.0: warning: multiple common of `__libc_stack_end'
shared_libc.a(__uClibc_main.o): warning: previous common is here
shared_libc.a(decodeq.o): In function `__decode_question':
resolv.c:(.text+0xb8): undefined reference to `__stack_chk_fail_local'
i386-gentoo-linux-uclibc-ld: warning: creating a DT_TEXTREL in object.
make[1]: *** [shared] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-libs/uclibc-0.9.28.3-r3/work/uClibc-0.9.28.3/libc'
make: *** [shared] Error 2




Reproducible: Always

Steps to Reproduce:
1.USE="hardened" emerge =sys-libs/uclibc-0.9.28.3-r3

Actual Results:  
compilation fails

Expected Results:  
compilation succeed

matrix / # emerge --info
Portage 2.1.4.4 (uclibc/x86/hardened, gcc-4.1.2, uclibc-0.9.28.3-r3, 2.6.25.8 i686)
=================================================================
System uname: 2.6.25.8 i686 unknown
Timestamp of tree: Thu, 26 Jun 2008 14:15:02 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r2
sys-devel/automake:  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="i386-gentoo-linux-uclibc"
CFLAGS="-Os -mtune=i386 -pipe"
CHOST="i386-gentoo-linux-uclibc"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-Os -mtune=i386 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer nodoc noinfo noman sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LC_ALL="C"
LDFLAGS="-Wl,-O1"
LINGUAS="cs"
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.gentoo.org/gentoo-portage"
USE="cli cracklib crypt dri hardened midi mudflap ncurses openmp pcre perl pic python readline reflection session spl ssl tcpd uclibc x86 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" 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="uclibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs" USERLAND="GNU" VIDEO_CARDS="nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Vit Vomacko 2008-06-26 16:53:10 UTC
Created attachment 158529 [details]
environment description file
Comment 2 Vit Vomacko 2008-06-29 13:45:12 UTC
Just to let you know, this bug is blocker for Summer of Code 2008 - GNAP Love 
Comment 3 SpanKY gentoo-dev 2009-08-25 08:27:41 UTC
you'll probably have to use 0.9.30 for gcc-4.x ssp
Comment 4 SpanKY gentoo-dev 2012-04-22 22:26:30 UTC
use a newer uclibc and gcc