Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142255 - vServer: GCC 4.1.1 won't compile dietlibc-0.28
Summary: vServer: GCC 4.1.1 won't compile dietlibc-0.28
Status: RESOLVED DUPLICATE of bug 140905
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-31 02:07 UTC by Bob
Modified: 2006-07-31 02:09 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 Bob 2006-07-31 02:07:40 UTC
GCC 4.1.1 won't compile stable branch dietlibc-0.28.
GCC 4.1.1 will compile testing branch dietlibc-0.30.

I mention this as its a show-stopper for people who are building a Gentoo vServer using GCC 4.1.1.  The problem with dietlibc and GCC 4.1.1 doesn't appear to be documented elsewhere.

<snip>
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dietlibc-0.28/work/dietlibc-0.28 ...
mkdir bin-i386
gcc -I. -isystem include -march=pentium3 -O2 -fomit-frame-pointer -pipe -D__dietlibc__ -fno-stack-protector-all -fno-stack-protector -c i386/start.S -o bin-i386/start.o
gcc -I. -isystem include -march=pentium3 -O2 -fomit-frame-pointer -pipe -D__dietlibc__ -fno-stack-protector-all -fno-stack-protector -c dyn_start.c -o bin-i386/dyn_start.o
cc1: error: unrecognized command line option "-fno-stack-protector-all"
cc1: error: unrecognized command line option "-fno-stack-protector-all"
make: *** [bin-i386/start.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [bin-i386/dyn_start.o] Error 1

!!! ERROR: dev-libs/dietlibc-0.28 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  dietlibc-0.28.ebuild, line 42:   Called die
</snip>

vserver ~ # emerge --info
Portage 2.1.1_pre4-r1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.15-vs2.0.1-gentoo-r5 i686)
=================================================================
System uname: 2.6.15-vs2.0.1-gentoo-r5 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.14
Jackass! 2006.1 Optimized Toolkit
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=pentium3 -O2 -fomit-frame-pointer -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://192.168.1.102/gentoo http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s"
MAKEOPTS="-j3"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.1.102/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts cli crypt cups dlloader dri eds emboss encode esd foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev vorbis xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-31 02:09:48 UTC

*** This bug has been marked as a duplicate of 140905 ***