Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Passare dal gcc 3.4.3-2005 al 3.4.4 [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
CarloJekko
Veteran
Veteran


Joined: 31 Mar 2005
Posts: 1315
Location: Baia Domizia :-)

PostPosted: Thu Jun 02, 2005 9:00 pm    Post subject: Passare dal gcc 3.4.3-2005 al 3.4.4 [Risolto] Reply with quote

Dopo la compilazione del gcc-3.4.4 qulcuno ha avuto dei problemi ?
Perchè alla fine della compilazione dice
Code:
 * Scanning libtool files for hardcoded gcc library paths...
/usr/bin/python: error while loading shared libraries: libstdc++.so.6: cannot op en shared object file: No such file or directory
:0: assertion failed: (/usr/bin/portageq envvar 'CHOST') | getline CHOST
 * Scanning libtool files for hardcoded gcc library paths...
/usr/bin/python: error while loading shared libraries: libstdc++.so.6: cannot op en shared object file: No such file or directory
:0: assertion failed: (/usr/bin/portageq envvar 'CHOST') | getline CHOST
>>> Regenerating /etc/ld.so.cache...
 * Caching service dependencies...

poi do
Code:
fix_libtool_files.sh 3.4.4
 * Scanning libtool files for hardcoded gcc library paths...

ed infine
Code:
gcc-config i686-pc-linux-gnu-3.4.4

e restituisce
Code:
 * Switching to i686-pc-linux-gnu-3.4.4 compiler...
/usr/bin/python: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
 * /usr/bin/gcc-config: Could not get portage CHOST!
/usr/bin/gcc-config: line 1: env: command not found
 * /usr/bin/gcc-config: Could not get portage CHOST!
/usr/bin/python: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
 * /usr/bin/gcc-config: Could not get portage CHOST!
/usr/bin/python: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
 * /usr/bin/gcc-config: Could not get portage CHOST!
/usr/bin/python: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
 * /usr/bin/gcc-config: Could not get portage CHOST!                                                                                                   [ ok ]
 * If you intend to use the gcc from the new profile in an already
 * running shell, please remember to do:

 *   # source /etc/profile

che posso fare? Devo passare alla versione 3.4.3 ?
_________________
C.


Last edited by CarloJekko on Fri Jun 03, 2005 9:58 am; edited 1 time in total
Back to top
View user's profile Send private message
GhePeU
Guru
Guru


Joined: 12 Aug 2003
Posts: 549
Location: Mestre, Italy

PostPosted: Thu Jun 02, 2005 9:04 pm    Post subject: Reply with quote

a me l'upgrade non ha dato nessun problema



EDIT:

Code:
fix_libtool_files.sh 3.4.4


non devi passargli la nuova versione ma la versione che avevi in precedenza
_________________
That is not dead which can eternal lie,
and with strange aeons even death may die.


Last edited by GhePeU on Thu Jun 02, 2005 9:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
Lucacri
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2005
Posts: 147
Location: 2a Curva di Lesmo!

PostPosted: Thu Jun 02, 2005 9:09 pm    Post subject: Reply with quote

Anche a me nessun problema, non ho dato nemmeno il fix_libtool!
Back to top
View user's profile Send private message
CarloJekko
Veteran
Veteran


Joined: 31 Mar 2005
Posts: 1315
Location: Baia Domizia :-)

PostPosted: Thu Jun 02, 2005 9:10 pm    Post subject: Reply with quote

visto che prima non dava problemi... che software installa questa libreria? forse libstdc++-3.4
ma hai dato solo emerge -u gcc ? o hai aggiornato pure qualcos'altro ?
_________________
C.


Last edited by CarloJekko on Thu Jun 02, 2005 9:13 pm; edited 1 time in total
Back to top
View user's profile Send private message
silian87
Advocate
Advocate


Joined: 06 Oct 2003
Posts: 2318
Location: Treviso, Italy

PostPosted: Thu Jun 02, 2005 9:12 pm    Post subject: Reply with quote

Allora... ci sono diversi post a riguardo.. e' un vero problemaccio, ed a ogniuno da problemi diversi o non ne da. Da un mio amico non siamo riusciti a sistemarlo, sul mio pc e' bastat un gcc-config 1.

Cerca e smanetta :(

//EDIT: Io il problema pero' lo sapevo per il 3.3...
_________________
Musica che ascolto: http://www.last.fm/user/silian87/

Silian87 FAQs: http://marentax.homelinux.org/~silian87/silian87-faq.txt

GTalk: silian87@gmail.com
Back to top
View user's profile Send private message
fabius
Guru
Guru


Joined: 29 Nov 2004
Posts: 525

PostPosted: Thu Jun 02, 2005 9:51 pm    Post subject: Reply with quote

Lucacri wrote:
non ho dato nemmeno il fix_libtool!

In teoria dovrebbe essere lanciato in automatico alla fine dell'installazione :wink:
Back to top
View user's profile Send private message
Yoghi
Tux's lil' helper
Tux's lil' helper


Joined: 07 Mar 2004
Posts: 120
Location: Bologna - italy

PostPosted: Thu Jun 02, 2005 10:30 pm    Post subject: Reply with quote

Stesso problema avuto oggi ;)
io ho risolto cosi :
Code:

# ln -s /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.so.6 /lib/libstdc++.so.6

# env-update

# gcc-config 7 (ovviamente qui metti quello che ti serve)

# fix_libtool_files.sh 3.4.3

spero di esserti stato di aiuto! 8)
Back to top
View user's profile Send private message
federico
Advocate
Advocate


Joined: 18 Feb 2003
Posts: 3272
Location: Italy, Milano

PostPosted: Fri Jun 03, 2005 12:21 am    Post subject: Reply with quote

checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.


come mai mi salta fuori sta roba ? :/


EDIT:
RISOLTO:
La flag nel make.conf -march=pentium-m sembrava dare problemi, e il man del gcc non lo menziona +
E' stata tolta? Ho rimesso quella che utilizzavo prima, pentium4, e ora ha ripreso a compilare.

Fede
_________________
Sideralis www.sideralis.org
Pic http://blackman.amicofigo.com/gallery
Arduino http://www.arduino.cc
Chi aveva potuto aveva spaccato
2000 pezzi buttati là
Molti saluti,qualche domanda
Semplice come musica punk
Back to top
View user's profile Send private message
Lucacri
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2005
Posts: 147
Location: 2a Curva di Lesmo!

PostPosted: Fri Jun 03, 2005 6:55 am    Post subject: Reply with quote

No, non è stata tolta perche io compilo tranquillamente con il 3.4.4 e ho -march=pentium-m!
Back to top
View user's profile Send private message
Cazzantonio
Bodhisattva
Bodhisattva


Joined: 20 Mar 2004
Posts: 4514
Location: Somewere around the world

PostPosted: Fri Jun 03, 2005 8:00 am    Post subject: Re: Passare dal gcc 3.4.3-2005 al 3.4.4 Reply with quote

CarloJekko wrote:
Code:
fix_libtool_files.sh 3.4.4

Ma fix_libtool_files.sh non va dato sulla versione precedente? tipo fix_libtool_files.sh 3.4.3 ?
_________________
Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Fri Jun 03, 2005 8:25 am    Post subject: Re: Passare dal gcc 3.4.3-2005 al 3.4.4 Reply with quote

Cazzantonio wrote:
Ma fix_libtool_files.sh non va dato sulla versione precedente?


Esatto.
_________________
Ciao da me!
Back to top
View user's profile Send private message
CarloJekko
Veteran
Veteran


Joined: 31 Mar 2005
Posts: 1315
Location: Baia Domizia :-)

PostPosted: Fri Jun 03, 2005 9:58 am    Post subject: Reply with quote

ok Raga, Yoghi oggi è stato il mio angelo custode...
Grazie a tutti ho risolto
(il fatto bello è che l'avevo fatto anche io qual link ieri notte ma sbagliavo il nome del link)
p.s. : l'emerge si può dimenticare? no perchè a me si è dimenticato di rifare il link alla libreria 8O
_________________
C.
Back to top
View user's profile Send private message
fabius
Guru
Guru


Joined: 29 Nov 2004
Posts: 525

PostPosted: Fri Jun 03, 2005 10:12 am    Post subject: Reply with quote

Secondo me non è il modo più pulito per risolvere il problema: se tu avevi installato la versione 3.4.3.20050110 del gcc allora prova a dare
Code:
fix_libtool_files.sh 3.4.3.20050110

o
Code:
fix_libtool_files.sh 3.4.3-20050110

In /usr/lib vanno solo le versioni vecchie della libstdc++ e nessun link alla versione 5 o 6 presenti nelle rispettive directory del gcc 3.3.x o 3.4.x
Back to top
View user's profile Send private message
CarloJekko
Veteran
Veteran


Joined: 31 Mar 2005
Posts: 1315
Location: Baia Domizia :-)

PostPosted: Fri Jun 03, 2005 11:01 am    Post subject: Reply with quote

fatto ... ha fissato un casino di cose ed è uscito senza errori...
thx!
_________________
C.
Back to top
View user's profile Send private message
federico
Advocate
Advocate


Joined: 18 Feb 2003
Posts: 3272
Location: Italy, Milano

PostPosted: Fri Jun 03, 2005 4:12 pm    Post subject: Reply with quote

man gcc wrote:

-mcpu=cpu-type
Tune to cpu-type everything applicable about the generated code, except for the ABI and the
set of available instructions. The choices for cpu-type are i386, i486, i586, i686, pentium,
pentium-mmx, pentiumpro, pentium2, pentium3, pentium4, prescott, nocona, k6, k6-2, k6-3,
athlon, athlon-tbird, athlon-4, athlon-xp, athlon-mp, winchip-c6, winchip2 and c3.


Non e' che me lo sono inventato io che non c'e' + la flag pentium-m e quindi non mi andava nulla, neanche il man la riporta + ... Il tuo man la riporta ?

Fede
_________________
Sideralis www.sideralis.org
Pic http://blackman.amicofigo.com/gallery
Arduino http://www.arduino.cc
Chi aveva potuto aveva spaccato
2000 pezzi buttati là
Molti saluti,qualche domanda
Semplice come musica punk
Back to top
View user's profile Send private message
cagnaluia
l33t
l33t


Joined: 01 Sep 2004
Posts: 998
Location: Treviso

PostPosted: Fri Jun 03, 2005 4:18 pm    Post subject: Reply with quote

ho fatto come fate voi.. ma continua a scrivere:

quando facci un emerge

Code:
/usr/bin/python: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory



mentre quando faccio un gcc-config

Code:

gcc-config i686-pc-linux-gnu-3.4.4 * Switching to i686-pc-linux-gnu-3.4.4 compiler...
/usr/bin/python: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
 * /usr/bin/gcc-config: Could not get portage CHOST!
/usr/bin/gcc-config: line 1: env: command not found
 * /usr/bin/gcc-config: Could not get portage CHOST!
/usr/bin/python: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
 * /usr/bin/gcc-config: Could not get portage CHOST!
/usr/bin/python: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
 * /usr/bin/gcc-config: Could not get portage CHOST!
/usr/bin/python: error while loading shared libraries: libstdc++.so.5: cannot open shared object file: No such file or directory
 * /usr/bin/gcc-config: Could not get portage CHOST!                      [ ok ]
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Sun Jun 05, 2005 8:39 am    Post subject: Reply with quote

federico wrote:

Non e' che me lo sono inventato io che non c'e' + la flag pentium-m e quindi non mi andava nulla, neanche il man la riporta + ... Il tuo man la riporta ?


I man in genere non sono aggiornati, conviene riferirsi alle pagine info.
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
CarloJekko
Veteran
Veteran


Joined: 31 Mar 2005
Posts: 1315
Location: Baia Domizia :-)

PostPosted: Sun Jun 05, 2005 9:40 am    Post subject: Reply with quote

Ora dovrei mettere gentoo ad un amico con centrino... pentium-m non c'è più?
_________________
C.
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