Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91486 - gcc-4.0.0 fails compilation
Summary: gcc-4.0.0 fails compilation
Status: RESOLVED DUPLICATE of bug 86123
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-04 14:42 UTC by Simone Piunno
Modified: 2005-07-17 13:06 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 Simone Piunno 2005-05-04 14:42:19 UTC
Fails compilation while adding multilib support to libstdc++-v3.
Problem appears to be related to amd64 multilib and libsandbox.

Reproducible: Always
Steps to Reproduce:
1. unmask it, keyword it
2. emerge =gcc-4.0.0
3.

Actual Results:  
Adding multilib support to Makefile in
/var/tmp/portage/gcc-4.0.0/work/gcc-4.0.0/libstdc++-v3
multidirs=32
with_multisubdir=
Running configure in multilib subdirs 32
pwd: /var/tmp/portage/gcc-4.0.0/work/build/x86_64-pc-linux-gnu/libstdc++-v3
Running configure in multilib subdir 32
pwd: /var/tmp/portage/gcc-4.0.0/work/build/x86_64-pc-linux-gnu
mkdir 32
configure: creating cache ./config.cache
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-pc-linux-gnu-gcc...
/var/tmp/portage/gcc-4.0.0/work/build/gcc/xgcc
-B/var/tmp/portage/gcc-4.0.0/work/build/gcc/ -B/usr/x86_64-pc-linux-gnu/bin/
-B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include
-isystem /usr/x86_64-pc-linux-gnu/sys-include  -m32
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled
programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
make[1]: *** [configure-target-libstdc++-v3] Error 1

Excerpt from relevant config.log:

configure:2477: checking whether the C compiler works
configure:2483: ./a.out
./a.out: error while loading shared libraries: /usr/lib/libsandbox.so: cannot
open shared object file: No such file or directory
configure:2486: $? = 127
configure:2495: error: cannot run C compiled programs.

Expected Results:  
should compile and install

Portage 2.0.51.21 (default-linux/amd64/2004.3, gcc-3.4.3-20050110,
glibc-2.3.5-r0, 2.6.11-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.11
ccache version 2.4 [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=k8 -funit-at-a-time -frename-registers -fweb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -pipe -march=k8 -funit-at-a-time -frename-registers -fweb"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks fixpackages parallel-fetch sandbox strict"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LINGUAS="en it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aalib acl acpi adns alsa apache2 app-crypt/gnupg:idea
app-crypt/gpgme:smime arts artswrappersuid audiofile avi bash-completion berkdb
bidi bigger-fonts bitmap-fonts bootsplash caps cdda cddb cdio cdparanoia cdr
cluster crypt cups curl dba dev-dotnet/mono:nptl dev-util/eric:idl directfb doc
dts dv dvd dvdr dvdread encode esd faad fam fbcon ffmpeg flac font-server
fortran fpx freetype gd gdbm gdm gif gimpprint gnutls gphoto2 gpm graphviz
gstreamer gtk gtk2 guile hal httpd icq imagemagick imap imlib innodb ipv6
ithreads jabber jack java jbig jp2 jpeg jpeg2k junit kde
kde-base/kdeadmin:foreign-package kde-base/kdeadmin:foreign-sysvinit
kde-base/kdemultimedia:cdparanoia ladcca lcms ldap libcaca libwww live lzo lzw
lzw-tiff mad maildir makecheck media-sound/museseq:fluidsynth mikmod motif
mozilla mp3 mpeg multilib mysql ncurses net-misc/openssh:X509
net-misc/openssh:chroot net-misc/openssh:sftplogging net-misc/openssh:skey
net-www/apache:threads net-www/mozilla-firefox:xprint net-www/mozilla:mozp3p
net-www/mozilla:mozsvg network nls nptl nsl nvidia ogg oggvorbis openexr opengl
oss pam pcre pdflib perl png python qt readline rrdtool rtc samba sasl sdl slang
speex spell ssl stream svg sys-devel/libperl:threads tcltk tcpd tetex tga theora
threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales utf8
vcd vim-with-x vorbis wmf xine xml xml2 xmms xpm xprint xrandr xv xvid xvmc zeo
zlib linguas_en linguas_it userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS
Comment 1 SpanKY gentoo-dev 2005-05-04 15:01:22 UTC

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