Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[info] gcc 4.1.1 è stabile
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
.:deadhead:.
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 2963
Location: Milano, Italy

PostPosted: Fri Sep 01, 2006 9:05 am    Post subject: Reply with quote

Un suggerimento che non mi sembra di aver visto riportato: cambiato gcc e glibc fatevi un giro con
Code:
fix_libtool_files.sh 3.4
Così da cambiare i riferimenti che puntano alla vecchia locazione della libreria.

E vi consiglio anche di non dare il benservito al buon vecchio gcc 3.4 : alcuni pacchetti si compilano solo con lui, vedi ad esempio qemu.
_________________
Proudly member of the Gentoo Documentation Project: the Italian Conspiracy ! ;)
Back to top
View user's profile Send private message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Fri Sep 01, 2006 9:25 am    Post subject: Reply with quote

.:deadhead:. wrote:

E vi consiglio anche di non dare il benservito al buon vecchio gcc 3.4 : alcuni pacchetti si compilano solo con lui, vedi ad esempio qemu.


troppo tardi... :) (anche se ho preparato un quickpkg se proprio mi servirà).
_________________
RTFM!!!!

e

http://www.comio.it
:)
Back to top
View user's profile Send private message
dark_knight
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2006
Posts: 112

PostPosted: Fri Sep 01, 2006 9:32 am    Post subject: Reply with quote

.:deadhead:. wrote:
Un suggerimento che non mi sembra di aver visto riportato: cambiato gcc e glibc fatevi un giro con
Code:
fix_libtool_files.sh 3.4
Così da cambiare i riferimenti che puntano alla vecchia locazione della libreria.

Putroppo questa indicazione è presente soltanto sulla guida in lingua inglese e non quella italiana :(
_________________
You can say that you are a true Gentoo-addicted when you type emerge --update --deep --newuse happiness.
Back to top
View user's profile Send private message
.:deadhead:.
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 2963
Location: Milano, Italy

PostPosted: Fri Sep 01, 2006 9:37 am    Post subject: Reply with quote

Come già osservato, la guida italiana NON E' AGGIORNATA! Controllate sempre la data di ultima modifica presente in alto a Dx e confrontate con la documentazione inglese se avete dubbi in merito.
_________________
Proudly member of the Gentoo Documentation Project: the Italian Conspiracy ! ;)
Back to top
View user's profile Send private message
ercoppa
Guru
Guru


Joined: 10 Dec 2005
Posts: 371
Location: roma

PostPosted: Fri Sep 01, 2006 10:30 am    Post subject: Reply with quote

Nulla, errore mio stupido

Last edited by ercoppa on Fri Sep 01, 2006 10:34 am; edited 1 time in total
Back to top
View user's profile Send private message
Luca89
Advocate
Advocate


Joined: 27 Apr 2005
Posts: 2107
Location: Agrigento (Italy)

PostPosted: Fri Sep 01, 2006 10:32 am    Post subject: Reply with quote

Seguendo la guida inglese sono riuscito a fare l'upgrade di gcc e glibc, ho saltato solo i vari "emerge -e", non mi va di riemergere tutto. Nel nuovo gcc ho disabilitato la flag use "fortran", visto che fino ad ora non ne ho usato programmi scritti in fortran. Speriamo bene. :)
_________________
Running Fast!
Back to top
View user's profile Send private message
comio
Advocate
Advocate


Joined: 03 Jul 2003
Posts: 2191
Location: Taranto

PostPosted: Fri Sep 01, 2006 10:34 am    Post subject: Reply with quote

ercoppa wrote:
Scusate ma non riesci a fare lo switch:
Code:

gentoo emilio # gcc-config x86_64-pc-linux-gnu-4.1.1
 * Switching native-compiler to x86_64-pc-linux-gnu-4.1.1 ...             [ ok ]
gentoo emilio # gcc-config -l
 [1] x86_64-pc-linux-gnu-3.4.6
 [2] x86_64-pc-linux-gnu-3.4.6-hardened
 [3] x86_64-pc-linux-gnu-3.4.6-hardenednopie
 [4] x86_64-pc-linux-gnu-3.4.6-hardenednopiessp
 [5] x86_64-pc-linux-gnu-3.4.6-hardenednossp
 [6] x86_64-pc-linux-gnu-4.1.1 *

eppure:
Code:
entoo emilio # gcc -v
Using built-in specs.
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.1 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/4.1.1/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include/g++-v4 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --enable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 4.1.1 (Gentoo 4.1.1)

??? quale sto usando?


non capisco dove è il tuo problema... mi pare ok...

ciao
_________________
RTFM!!!!

e

http://www.comio.it
:)
Back to top
View user's profile Send private message
dark_knight
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2006
Posts: 112

PostPosted: Fri Sep 01, 2006 10:40 am    Post subject: Reply with quote

Luca89 wrote:
Nel nuovo gcc ho disabilitato la flag use "fortran", visto che fino ad ora non ne ho usato programmi scritti in fortran. Speriamo bene. :)

Nella mia limitata esperienza tra i pacchetti, tra quelli che ho incontrato solo octave necessita di un compilatore con fortran abilitato...
_________________
You can say that you are a true Gentoo-addicted when you type emerge --update --deep --newuse happiness.
Back to top
View user's profile Send private message
makoomba
Bodhisattva
Bodhisattva


Joined: 03 Jun 2004
Posts: 1856

PostPosted: Fri Sep 01, 2006 10:41 am    Post subject: Reply with quote

visto che a fondo pagina ha poca visibiltà, riposto l'intervento di Chris Gianelloni (Release Engineering Strategic Lead)

wolf31o2 wrote:
Here's the thing... revdep-rebuild will *not* work because they changed the ABI in subtle ways without a .so bump. This means that things will break, though only a few things. The only truly *safe* method is to use emerge -e system to upgrade your toolchain, then emerge -e world, to update your userland. You *could* skip the emerge -e world and just let things recompile on their own, but there's still the possibility of bugs being introduced because of this. To be honest, the revdep-rebuild option should have never been mentioned for the 3.3->3.4 upgrade, except that it is actually valid in that case. Preferable, would have been to force a complete recompile, like for 4.1, with 3.3->3.4 also.

The only real safe option is a rebuild of system, then world. Feel free to ignore me, though. It's your system. However, we don't just make these recommendations to make them. We have good reason.

_________________
When all else fails, read the instructions.
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 Sep 01, 2006 11:19 am    Post subject: Reply with quote

sto ricompilando tutto ma già dopo l'emerge -e system ho tolto il vecchio gcc (dopo aver generato un simpatico pacchetto binario :wink: ) e mi funziona tutto
_________________
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
gutter
Bodhisattva
Bodhisattva


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

PostPosted: Fri Sep 01, 2006 1:18 pm    Post subject: Reply with quote

Io posticipo tutto alla prossima settimana :wink:

Nel frattempo vediamo i problemi che si incontrano :D
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Fri Sep 01, 2006 1:38 pm    Post subject: Reply with quote

Code:
# emerge -eav system

orka vacca.. mi si blocca su baselayout!
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
tizio
Guru
Guru


Joined: 22 Mar 2005
Posts: 365

PostPosted: Fri Sep 01, 2006 1:55 pm    Post subject: Reply with quote

in attesa che si capisca se il sistema vada ricompilato o no da zero... (intanto io non ricompilo visto che funziona tutto)
come posso capire se il mio sistema utilizza nptl?
in /etc/make.profile/make.defaults nelle USE ho -nptl... ma anche se metto nptl un --newuse non mi cambia nulla
e glibc è fermo alla 2.3.6-r4...
dove sbaglio? e soprattutto... sbaglio? mi conviene mettere nptl? o usando un sistema stabile mi farà fare lui il passaggio quando meglio crede?
scusate ma non ne so mezza.. grazie a chiunque mi dia delucidazioni..
_________________
ci son 10 tipi di persone al mondo..
chi capisce il binario e chi no
Back to top
View user's profile Send private message
makami
Guru
Guru


Joined: 10 Jul 2005
Posts: 321

PostPosted: Fri Sep 01, 2006 3:23 pm    Post subject: Reply with quote

Io sono passato a gcc 4 già da giugno, non ho ricompilato il system e tantomeno il world.

Posso dire che non ha mai cannato nessun pacchetto fino ad oggi, tutto funziona per bene..

questo è il mio caso..
Back to top
View user's profile Send private message
btbbass
Apprentice
Apprentice


Joined: 15 Feb 2005
Posts: 287
Location: Asti o Torino

PostPosted: Fri Sep 01, 2006 5:02 pm    Post subject: Problema Aggiornamento gcc-4.1 Reply with quote

Era ora, finora nn avevo ancora visto nessun thread di problemi, cominciavo a preoccuparmi :-)))


Praticamente ho aggiornato da gcc-4.0.3 a gcc-4.1.1 seguendo la guida e cambiando il profilo al 2006.1.
poi ho dato il fatidico
Code:
emerge -e system

ottnendo però, durante la compilazione del primo pacchetto -sys-libs/zlib-1.2.3 -
Code:


i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -fomit-frame-pointer -DNO_vsnprintf -DUSE_MMAP -o example example.o -Wl,-O1 libz.a
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld:/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libc.so: file format not recognized; treating as linker script
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld:/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libc.so:5: syntax error
collect2: ld returned 1 exit status
make: *** [example] Error 1



cavolo, mi sono detto, ettepareva...
Notare che avevo già installato le glibc-2.4.
Notando che libc.so appartiene alle glibc, ho provato ad emergerle una seconda volta, ma questa volta l'emerge fallisce dandomi come errore:

Code:

checking for unistd.h... yes
checking for long double... yes
checking size of long double... configure: error: cannot compute sizeof (long double), 77
See `config.log' for more details.




che fare????
Praticamente non posso installare più nulla, neanche con il vecchio gcc...
_________________
Chi dice che è impossibile non interrompa chi lo sta facendo

-Proverbio Cinese -
___________________________________
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Fri Sep 01, 2006 5:24 pm    Post subject: Re: GCC-4.1 e glibc-2.4 Reply with quote

makoomba wrote:
k.gothmog wrote:
l'interfaccia ABI (Application Binary Interface) non cambia. un suo cambiamento è l'unico motivo che mi viene in mente per cui uno dovrebbe ricompilare tutto il sistema.
oltretutto il problema non è nemmeno il compilatore, perché quello è assolutamente ininfluente, da quel punto di vista.

https://forums.gentoo.org/viewtopic-p-3541436.html#3541436

questa l'ho già spiegata.
volendo ben vedere quel cambio di ABI non c'è stato, in realtà

inutile che stia a ripetermi, è tutto nei post indietro
Back to top
View user's profile Send private message
.:chrome:.
Advocate
Advocate


Joined: 19 Feb 2005
Posts: 4588
Location: Brescia, Italy

PostPosted: Fri Sep 01, 2006 5:26 pm    Post subject: Re: Problema Aggiornamento gcc-4.1 Reply with quote

la configurazione del linker è ancora quella vecchia
verifica di:
- avere usato gcc-config nel modo opportuno
- avere lanciato eventuali etc-update e simili
- avere ricompilato quantomeno libtool
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Fri Sep 01, 2006 5:31 pm    Post subject: Reply with quote

Fatto il merge del thread aperto da btbbass
Per favore... diamo un occhio che discussioni simili non siano già state aperte prima di postare, soprattuto se sono sticky :roll:
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
mrfree
Veteran
Veteran


Joined: 15 Mar 2003
Posts: 1303
Location: Europe.Italy.Sulmona

PostPosted: Sat Sep 02, 2006 2:30 pm    Post subject: Reply with quote

Non per fare pubblicità gratuita... durante l'emerge -e world ho avuto qualche problemino il che mi ha portato a scrivere questo piccolo tool per evitare di buttare alle ortiche il lavoro di ricompilazione già svolto.
Spero sia utile
_________________
Please EU, pimp my country!

ICE: /etc/init.d/iptables panic
Back to top
View user's profile Send private message
inspiron
Guru
Guru


Joined: 08 Nov 2004
Posts: 559

PostPosted: Sun Sep 03, 2006 3:10 pm    Post subject: Reply with quote

per fare emerge -e system e emerge -e world mi bastano 900mb liberi su disco?
poi se emerge -e world si blocca per qualche motivo a meta dell'opera che devo fare? ricompilare tutto quello che avevo gia compilato?
Back to top
View user's profile Send private message
geps2
Apprentice
Apprentice


Joined: 12 Jul 2006
Posts: 267

PostPosted: Sun Sep 03, 2006 3:20 pm    Post subject: Reply with quote

Perché a me a questo punto
dark_knight wrote:
Due annotazioni:
Code:

(Rebuilding libtool)
# emerge --oneshot -av libtool


da questo errore? Puoi aiutarmi per favore?
Code:

.....
checking build system type... Invalid configuration `i386-pc-linux-gnu-4.1.1': machine `i386-pc-linux-gnu' not recognized
configure: error: /bin/sh ./config.sub i386-pc-linux-gnu-4.1.1 failed

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/libtool-1.5.22/work/libtool-1.5.22/config.log

!!! ERROR: sys-devel/libtool-1.5.22 failed.?
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  libtool-1.5.22.ebuild, line 128:   Called econf
  ebuild.sh, line 541:   Called die

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if relevant.


Mi sembra di aver fatto correttamete tutti i passi precedenti...


PS: Ho capito dove ho sbagliato: non ho dato il comando
Code:
# fix_libtool_files.sh 3.4.6
prima di
Code:
# emerge --oneshot -av libtool
. ora se faccio
Code:
# gcc -v
ho questo output:
Code:
fix_libtool_files.sh 3.4.6
Ho provato a tornare indietro, ma non cambia nulla. E' grave? Si può rimediare? Sono abbastanza nel panico...

Last edited by geps2 on Sun Sep 03, 2006 3:39 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: Sun Sep 03, 2006 3:21 pm    Post subject: Reply with quote

inspiron wrote:
per fare emerge -e system e emerge -e world mi bastano 900mb liberi su disco?

Boh, dipende da che programmi hai insallato.. sicuramente a me, con una periodica pulizia di distfiles, basterebbero
inspiron wrote:
poi se emerge -e world si blocca per qualche motivo a meta dell'opera che devo fare? ricompilare tutto quello che avevo gia compilato?

Leggi il post che precede il tuo ;)
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
Luca89
Advocate
Advocate


Joined: 27 Apr 2005
Posts: 2107
Location: Agrigento (Italy)

PostPosted: Sun Sep 03, 2006 3:22 pm    Post subject: Reply with quote

inspiron wrote:
per fare emerge -e system e emerge -e world mi bastano 900mb liberi su disco?

dipende dai pacchetti, i più esosi sono openoffice, mozilla-firefox e mozilla-thunderbird
Quote:
poi se emerge -e world si blocca per qualche motivo a meta dell'opera che devo fare? ricompilare tutto quello che avevo gia compilato?

vedi post prima del tuo
_________________
Running Fast!
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Sun Sep 03, 2006 3:22 pm    Post subject: Reply with quote

@geps2: come mai compili per i386?
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
inspiron
Guru
Guru


Joined: 08 Nov 2004
Posts: 559

PostPosted: Sun Sep 03, 2006 3:26 pm    Post subject: Reply with quote

emerge -eav world mi devo che deve scaricare e compilare 1,1gb.
mi bastano 900mb di spazio libero?
un ultima cosa: attualmente il mio profilo è il 2006.0.
Devo passare al 2006.1?
in caso come si fa?
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
Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
Page 3 of 7

 
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