Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sys-devel/gcc-3.4.3-r1 failed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
stuartguthrie
n00b
n00b


Joined: 19 Jun 2005
Posts: 58

PostPosted: Tue Jun 28, 2005 3:48 am    Post subject: sys-devel/gcc-3.4.3-r1 failed Reply with quote

Help!! :(

I am trying to get my amd64 gentoo to re-compile gcc so that I can add multilib support.

This is probably something I have done but I cannot resolve it easily (4 hours so far).

I am getting this error:

Make error:
/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../libc.so when searching for -lc
/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../libc.a when searching for -lc
/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/x86_64-pc-linux-gnu/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
/usr/x86_64-pc-linux-gnu/bin/ld: cannot find -lc
collect2: ld returned 1 exit status
make[3]: *** [32/libgcc_s_32.so] Error 1
make[3]: Leaving directory `/var/tmp/portage/gcc-3.4.3-r1/work/build/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory `/var/tmp/portage/gcc-3.4.3-r1/work/build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.3-r1/work/build/gcc'
make: *** [profiledbootstrap] Error 2

!!! ERROR: sys-devel/gcc-3.4.3-r1 failed.
!!! Function gcc_do_make, Line 1212, Exitcode 2
!!! emake failed with profiledbootstrap
!!! If you need support, post the topmost build error, NOT this status message

My make.conf. I have tried with and without sandbox.

cat /etc/make.conf
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
FEATURES="sandbox"
#USE="apache2 debug sharedext adabas bcmath berkdb birdstep bzlib
#calendar cdb cpdflib
#crypt ctype curl curlwrappers db2 dba dbase dbm dbmaker dbx debug dio
#empress empress-bcs
#esoob exif fam frontbase fdftk flatfile filepro ftp gd gd-external gdbm
#gmp hyperwave-api
#imap inifile iconv informix ingres interbase iodbc java jpeg kerberos
#libwww
#ldap libedit mcve maildir memlimit mhash mime ming mnogosearch msession
#mssql pam-mysql mysql mysqli ncurses nls nis
#oci8 odbc oracle7 ovrimos pcntl pcre pfpro png postgres postfix posix
#qdbm readline recode
#sapdb sasl session shared sharedmem simplexml snmp soap sockets solid
#spell spl sqlite ssl sybase sybase-ct sysvipc tidy tiff tokenizer
#truetype wddx xsl xml2 xmlrpc xpm zlib"


USE="aalib acpi acpi4linux adns alsa apache2 -apm arts avi
bluetooth bonobo cdparanoia cdr cjk crypt cups curl dga divx4linux
dv dvb dvd emacs encode esd ethereal evo faad fbcon flac foomaticdb gif
gimpprint gnome -gpm gps gsm gstreamer gtk gtk2 guile hal howl
imagemagick imlib irda irmc java jbig jpeg kde lcms ldap
libcaca libwww live lzo mad maildir makecheck matroska mmx mng
multilib mpeg ncurses network nls nptl oggvorbis opengl oss
pam pcap pcmcia pda ppds pdflib perl png pnp python qt qt2 quicktime
readline real rtc samba sasl sdk sdl slang slp snmp spell sse ssl svg
svga
tcltk tetex tga theora tiff truetype trusted unicode usb userlocales v4l
v4l2 wmf X xinerama xml xml2 xmms xosd xv xvid zlib"


#GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://adelie.polymtl.ca/ http://gentoo.seren.com/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.mirrors.pair.com/ http://gentoo.mirrors.tds.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo http://lug.mtu.edu/gentoo http://mirror.uni-c.dk/gentoo/"
GENTOO_MIRRORS="http://mirror.pacific.net.au/gentoo http://mirror.aarnet.edu.au http://public.planetmirror.com/pub/gentoo"


I have also tried the 2005.0 install instructions and they fail with:

make -f Makefile-profile_update-2005.0 [ -L /lib32 ] && rm /lib32 && mkdir /lib32 || true
[ -L /usr/lib32 ] && rm /usr/lib32 && mkdir /usr/lib32 || true
[ -L /usr/X11R6/lib32 ] && rm /usr/X11R6/lib32 && mkdir /usr/X11R6/lib32 || true
cp /emul/linux/x86/lib32/libsandbox.so /lib32
cp: cannot stat `/emul/linux/x86/lib32/libsandbox.so': No such file or directory
make: *** [step3] Error 1
Back to top
View user's profile Send private message
fctk
Veteran
Veteran


Joined: 28 Jan 2004
Posts: 1424
Location: Milan, Italy, EU

PostPosted: Tue Jun 28, 2005 7:02 am    Post subject: Reply with quote

did you search: https://bugs.gentoo.org/ ?
Back to top
View user's profile Send private message
stuartguthrie
n00b
n00b


Joined: 19 Jun 2005
Posts: 58

PostPosted: Tue Jun 28, 2005 10:45 am    Post subject: Yes I did. Reply with quote

Why is there something there I missed?
Back to top
View user's profile Send private message
fctk
Veteran
Veteran


Joined: 28 Jan 2004
Posts: 1424
Location: Milan, Italy, EU

PostPosted: Tue Jun 28, 2005 11:26 am    Post subject: Reply with quote

in that site you can check if the error you get is known, and in this case you can read if someone has found a solution... you should search for: gcc-3.4.3-r1
i haven't done that by myself because there are too many bug reports to read... :D
Back to top
View user's profile Send private message
stuartguthrie
n00b
n00b


Joined: 19 Jun 2005
Posts: 58

PostPosted: Tue Jun 28, 2005 11:41 am    Post subject: Reply with quote

There were issues with that version of gcc, a couple were setting on multilib but none getting the same error message I was. Should I just file a bug? Is that the best process?
Back to top
View user's profile Send private message
stuartguthrie
n00b
n00b


Joined: 19 Jun 2005
Posts: 58

PostPosted: Tue Jul 05, 2005 5:42 am    Post subject: Reply with quote

emerge emul-linux-x86-glibc
FEATURES=-sandbox emerge =sys-devel/gcc-3.3.5-r1

These bits have got me 32bit support so now I will attempt multilib.
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Tue Jul 05, 2005 9:46 pm    Post subject: Reply with quote

Moved from Gentoo on AMD64 to Duplicate Threads in favour of https://forums.gentoo.org/viewtopic-t-323531.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum