Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
errore in compilazione gcc-3.4.3 [RISOLTO]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Tùrin_Mormegil
Guru
Guru


Joined: 21 Sep 2004
Posts: 478
Location: Gorizia - Milano

PostPosted: Tue Jan 11, 2005 2:42 pm    Post subject: errore in compilazione gcc-3.4.3 [RISOLTO] Reply with quote

ciao... recentemente ho reinstallato Gentoo e sono partito da stage3 pensando di riaggiornare e riottimizzare tutto ricompilandolo, ma quando emergo ggc-3.4.3 ottengo questo errore:

Code:
Making all in testsuite
make[6]: Entering directory `/var/tmp/portage/gcc-3.4.3/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/testsuite'
/var/tmp/portage/gcc-3.4.3/work/build/gcc/g++ -shared-libgcc -B/var/tmp/portage/gcc-3.4.3/work/build/gcc/ -nostdinc++ -L/var/tmp/portage/gcc-3.4.3/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/src -L/var/tmp/portage/gcc-3.4.3/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/src/.libs -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 -DHAVE_CONFIG_H -I. -I/var/tmp/portage/gcc-3.4.3/work/gcc-3.4.3/libstdc++-v3/testsuite -I..  -I/var/tmp/portage/gcc-3.4.3/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/include/x86_64-pc-linux-gnu -I/var/tmp/portage/gcc-3.4.3/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/include -I/var/tmp/portage/gcc-3.4.3/work/gcc-3.4.3/libstdc++-v3/libsupc++ -I/var/tmp/portage/gcc-3.4.3/work/gcc-3.4.3/libstdc++-v3/../include -O2 -O2 -march=athlon64 -pipe -g -O2 -D_GLIBCXX_ASSERT -ffunction-sections -fdata-sections -fmessage-length=0 -DLOCALEDIR="/var/tmp/portage/gcc-3.4.3/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/po/share/locale" -O2 -march=athlon64 -pipe -D_GNU_SOURCE  -m32 -c -o testsuite_abi.o /var/tmp/portage/gcc-3.4.3/work/gcc-3.4.3/libstdc++-v3/testsuite/testsuite_abi.cc
make[6]: *** [testsuite_abi.o] Segmentation fault
make[6]: Leaving directory `/var/tmp/portage/gcc-3.4.3/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/testsuite'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/var/tmp/portage/gcc-3.4.3/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/var/tmp/portage/gcc-3.4.3/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3'
make[3]: *** [multi-do] Error 1
make[3]: Leaving directory `/var/tmp/portage/gcc-3.4.3/work/build/x86_64-pc-linux-gnu/libstdc++-v3'
make[2]: *** [all-multi] Error 2
make[2]: Leaving directory `/var/tmp/portage/gcc-3.4.3/work/build/x86_64-pc-linux-gnu/libstdc++-v3'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.3/work/build/x86_64-pc-linux-gnu/libstdc++-v3'
make: *** [all-target-libstdc++-v3] Error 2

!!! ERROR: sys-devel/gcc-3.4.3 failed.
!!! Function gcc_do_make, Line 1046, Exitcode 2
!!! (no error message)


questo è il make.conf che utilizzo:

Code:
bash-2.05b# 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 -march=athlon64 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.gentoo.no/"
#LDFLAGS="-W1,-O1 -W1,--relax -W1,--enable-new-dtags -W1,--sort-common -S"
USE="-gtk2 kde qt oss xmms"
bash-2.05b#


ho provato anche a cambiare le cflags (prima avevo O3) ma ovviamente non è cambiato un tubo
_________________
Как я рад!


Last edited by Tùrin_Mormegil on Tue Jan 11, 2005 7:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Tue Jan 11, 2005 3:04 pm    Post subject: Reply with quote

Hai dato un

Code:

# gcc-config -l

<>

# gcc-config <numero_della_versione_di_gcc_desiderata>


?

Oltra a questo... -fomit-frame-pointer non serve assolutamente a nulla su amd64

CYA
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
Tùrin_Mormegil
Guru
Guru


Joined: 21 Sep 2004
Posts: 478
Location: Gorizia - Milano

PostPosted: Tue Jan 11, 2005 7:38 pm    Post subject: Reply with quote

ottimo, ha compilato tutto perfettamente :D grazie ;)
_________________
Как я рад!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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