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 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
gamberetto
Apprentice
Apprentice


Joined: 29 Mar 2005
Posts: 210
Location: Camisano Vicentino (VI)

PostPosted: Wed Aug 30, 2006 11:33 pm    Post subject: [info] gcc 4.1.1 è stabile Reply with quote

Ciao a tutti,
come da oggetto, gcc è stabile su architetture x86, amd64, hppa e ppc.
Io provo ad aggiornare... 8)

Edit: già che ci sono posto il link della guida sull'aggiornamento di gcc.
La versione in inglese è aggiornata per il passaggio 3.4 :arrow: 4.1.
EDIT: la guida in italiano adesso è aggiornata
_________________
Andre!
http://www.antimafiaduemila.com


Last edited by gamberetto on Mon Sep 04, 2006 6:54 am; edited 3 times in total
Back to top
View user's profile Send private message
Deus Ex
Guru
Guru


Joined: 16 Nov 2005
Posts: 489
Location: Patavium

PostPosted: Wed Aug 30, 2006 11:51 pm    Post subject: Reply with quote

Sono migrato da 3.4.4-r1 a 4.1.1 un paio di settimane fa. Tutto ok ;)
_________________
Deus Ex
--
L’inflazione che caccia nelle mani dell’individuo, in un gesto solo, miliardi di marchi, lasciandolo più miserabile di prima, dimostra punto per punto che il denaro è un’allucinazione collettiva.
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Thu Aug 31, 2006 1:50 am    Post subject: Reply with quote

Spostato da Forum di discussione italiano a Forum italiano (Italian) e messo sticky ;)
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


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

PostPosted: Thu Aug 31, 2006 7:51 am    Post subject: Reply with quote

lavish wrote:
Spostato da Forum di discussione italiano a Forum italiano (Italian) e messo sticky ;)


Proprio per questo siete tutti invitati a postare qui per problemi dubbi e/o perplessita' esistenziali sul nuovo gcc.
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
darkmanPPT
Veteran
Veteran


Joined: 13 Apr 2006
Posts: 1069
Location: vi/bo

PostPosted: Thu Aug 31, 2006 8:16 am    Post subject: Reply with quote

giusto per sapere, visto che sto installandolo.
ma devo fare tutti i casini di configurazione come se cambiassi le flag??
aaaaaaaaaaaaaaaaaaaaaaaaaaaa :?: :roll: :roll: spero di no. l'ultima volta son diventato matto.

cioè questo:
http://www.gentoo.org/doc/it/gcc-upgrading.xml
_________________
Darkman
Back to top
View user's profile Send private message
devilheart
l33t
l33t


Joined: 17 Mar 2005
Posts: 848
Location: Villach, Austria

PostPosted: Thu Aug 31, 2006 8:41 am    Post subject: Reply with quote

io lo uso senza problemi già dal 26 maggio
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Thu Aug 31, 2006 8:50 am    Post subject: Reply with quote

io sto ricompilando... *tutto* :?
Fortuna che il sistema è snello ... (auguri a chi ha KDE + OO + firefox :mrgreen: )
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
GiRa
l33t
l33t


Joined: 07 Apr 2005
Posts: 717

PostPosted: Thu Aug 31, 2006 8:51 am    Post subject: Reply with quote

darkmanPPT wrote:
giusto per sapere, visto che sto installandolo.
ma devo fare tutti i casini di configurazione come se cambiassi le flag??
aaaaaaaaaaaaaaaaaaaaaaaaaaaa :?: :roll: :roll: spero di no. l'ultima volta son diventato matto.

cioè questo:
http://www.gentoo.org/doc/it/gcc-upgrading.xml


Credo vada seguito solo il passaggio
Quote:
2. Istruzioni per un aggiornamento generale
se parti già da un 3.4*.

In ogni caso prima di aggiornare vorrei una conferma da qualcuno di più esperto di me, la cosa mi spaventa un po' :)
Back to top
View user's profile Send private message
darkmanPPT
Veteran
Veteran


Joined: 13 Apr 2006
Posts: 1069
Location: vi/bo

PostPosted: Thu Aug 31, 2006 9:28 am    Post subject: Reply with quote

nn so se è normale. ma le glibc allegate mi hanno chiesto di essere compilate con delle nuove flag.
Code:
!!! please add USE='nptl nptlonly' to make.conf
!!! If you need support, post the topmost build error, and the call stack if relevant.

ho dovuto aggiungere queste flag per compilarli.

ps: penso di dover postare qui visto che le glibc sono allegate al gcc... cmq era solo per mettere un avviso per chi dovrà installarle.
ciao
_________________
Darkman
Back to top
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Thu Aug 31, 2006 10:00 am    Post subject: Reply with quote

darkmanPPT wrote:
nn so se è normale. ma le glibc allegate mi hanno chiesto di essere compilate con delle nuove flag
[...]

GWN wrote:
GCC 4.1.1 and glibc 2.4 stable

Initially reported last week, the x86 and AMD64 architectures have marked sys-devel/gcc-4.1.1 and sys-libs/glibc-2.4-r3 stable to coincide with the 2006.1 release. The new GCC and GNU C library (glibc) versions mark a transition in Gentoo's supported configurations. Starting with glibc 2.4, the LinuxThreads threading library is no longer supported in the default configuration. LinuxThreads is replaced with NPTL, or the Native POSIX Thread Library. Support for the older versions of glibc with LinuxThreads will remain for x86 in a limited fashion for an undetermined time. This is primarily due to a shift in support from the upstream glibc developers.

Users on x86 wishing to continue using LinuxThreads are asked to switch to using the "no-nptl" profile for default-linux, or to switch to using a hardened profile.
[...]

http://www.gentoo.org/news/en/gwn/20060828-newsletter.xml
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
ercoppa
Guru
Guru


Joined: 10 Dec 2005
Posts: 371
Location: roma

PostPosted: Thu Aug 31, 2006 11:40 am    Post subject: Reply with quote

Scusat non ho capito questo fatte delle glibc. Bisogna aggiungere quelle due use (nptl nptlonly)?
Sono diperato a ricompilare tutto il sistem ci metterò 3 giorni, forse aspetto bo :?
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: Thu Aug 31, 2006 11:52 am    Post subject: Reply with quote

Due annotazioni:
1) per chi aggiorna dalla 3.4 alla 4.1 (pacchetti stabili), la versione italiana dell'HOWTO NON E' AGGIORNATA
Quote:
Aggiornato il 26 maggio 2006

contro
Quote:
Updated August 30, 2006

quindi fate riferimento a quella inglese (http://www.gentoo.org/doc/en/gcc-upgrading.xml), seguendo soltanto i passi della sezione "2. General Upgrade Instructions". In altre parole:
Code:
# emerge -uav gcc

(Please substitute "i686-pc-linux-gnu-4.1.1" with the GCC
version and CHOST settings you've upgraded to:)
# gcc-config i686-pc-linux-gnu-4.1.1
# source /etc/profile

If you upgraded from gcc 3 to 4 (e.g. from 3.4.6 to 4.1.1 in this
example) you will have to run fix_libtool_files.sh manually
# fix_libtool_files.sh 3.4.6

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

# emerge -eav system
# emerge -eav world

più, opzionalmente...
Code:
emerge -aC =sys-devel/gcc-3.4*

Se si decide di passare alla versione 4.1 di gcc, ricompilare tutto il sistema è necessario è NON va usato revdep-rebuild (fonte: https://forums.gentoo.org/viewtopic-p-3541436.html#3541436),

2) è necessario aggiungere nptl e nptlonly alle flag use, altrimenti fallirebbe la recompilazione di glibc (fonte: https://forums.gentoo.org/viewtopic-p-3544180.html#3544180)
Confermo: provato sulla mia pelle :)
Code:
>>> Emerging (4 of 5) sys-libs/glibc-2.4-r3 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking glibc-2.4.tar.bz2 ;-)
>>> checking glibc-ports-2.4.tar.bz2 ;-)
>>> checking glibc-libidn-2.4.tar.bz2 ;-)
>>> checking glibc-2.4-patches-1.17.tar.bz2 ;-)
>>> checking glibc-linuxthreads-20060605.tar.bz2 ;-)
>>> checking glibc-powerpc-cpu-addon-v0.01.tgz ;-)
 * glibc-2.4 is nptl-only!

!!! ERROR: sys-libs/glibc-2.4-r3 failed.
Call stack:
  ebuild.sh, line 1555:   Called dyn_setup
  ebuild.sh, line 668:   Called pkg_setup
  glibc-2.4-r3.ebuild, line 1079:   Called die

!!! please add USE='nptl nptlonly' to make.conf
!!! If you need support, post the topmost build error, and the call stack if relevant.

Prima avevo solo nptl e non nptlonly, ed emerge si è bloccato. Aggiungendo nptlonly, tutto compila a meraviglia ;)
_________________
You can say that you are a true Gentoo-addicted when you type emerge --update --deep --newuse happiness.


Last edited by dark_knight on Thu Aug 31, 2006 12:28 pm; edited 3 times in total
Back to top
View user's profile Send private message
Dece
Apprentice
Apprentice


Joined: 23 Nov 2004
Posts: 291
Location: Bologna/Rimini Italy

PostPosted: Thu Aug 31, 2006 11:55 am    Post subject: Reply with quote

ercoppa wrote:
Scusat non ho capito questo fatte delle glibc. Bisogna aggiungere quelle due use (nptl nptlonly)?
Sono diperato a ricompilare tutto il sistem ci metterò 3 giorni, forse aspetto bo :?

in teoria basta cambiare profilo e passare al 2006.1 e le trovi gia attive
Back to top
View user's profile Send private message
bandreabis
Advocate
Advocate


Joined: 18 Feb 2005
Posts: 2490
Location: イタリアのロディで

PostPosted: Thu Aug 31, 2006 12:07 pm    Post subject: Reply with quote

Ricompilare TUTTO :?: :?: :?:

:cry: :cry: :cry:
_________________
Il numero di post non fa di me un esperto! Anzi!
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: Thu Aug 31, 2006 12:13 pm    Post subject: Reply with quote

bandreabis wrote:
Ricompilare TUTTO :?: :?: :?:


man emerge wrote:
--emptytree (-e)
Reinstalls all world packages and their dependencies to the current USE specifications while differing from the installed set of packages as little as possible. You should run with --pretend first to make sure the result is what you expect.


E cambiando compilatore credo 'qualcosina' cambi :P
_________________
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
tizio
Guru
Guru


Joined: 22 Mar 2005
Posts: 365

PostPosted: Thu Aug 31, 2006 12:14 pm    Post subject: Reply with quote

scusate ma non capisco...
io avevo già seguito la guida gcc-upgrading per passare dalla 3.3 alla 3.4...
ora ho aggiornato alla 4.1 e forzato l'utilizzo con gcc-config... non ho aggiunto nessuna flag e ricompilato nulla, eppure tutto sembra funzionare...
ho anche emerso per prova vim e sembra vada tutto ok...
dovrei comunque lanciare "emerge -e world" ???? (ditemi di no vi prego)
revdep-rebuild non trova incosistenze e anche se aggiungo le due flag al make.conf non mi richiede di riemergere nulla (con un --newuse world)
non son già a posto così?
(e se son già a posto... posso togliere il gcc 3.4.6 ?)
grazie a tutti
_________________
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
Peach
Advocate
Advocate


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

PostPosted: Thu Aug 31, 2006 12:51 pm    Post subject: Reply with quote

allora: finito l'aggiornamento di gcc:
Code:
 * The current gcc config appears valid, so it will not be
 * automatically switched for you.  If you would like to
 * switch to the newly installed gcc version, do the
 * following:

 * gcc-config i686-pc-linux-gnu-4.1.1
 * source /etc/profile

 * Switching native-compiler to i686-pc-linux-gnu-3.4.6 ...
>>> Regenerating /etc/ld.so.cache...                                                         [ ok ]

ma...
Code:
# gcc-config -l
 [1] i686-pc-linux-gnu-3.4.6 *
 [2] i686-pc-linux-gnu-3.4.6-hardened
 [3] i686-pc-linux-gnu-3.4.6-hardenednopie
 [4] i686-pc-linux-gnu-3.4.6-hardenednopiessp
 [5] i686-pc-linux-gnu-3.4.6-hardenednossp
 [6] i686-pc-linux-gnu-4.1.1

e
Code:
# gcc -v
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/specs
Configured with: /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.6 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include/g++-v3 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libgcj --enable-languages=c,c++,f77 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)


sbaglio o non ha switchato realmente?
bug :?:
_________________
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
gutter
Bodhisattva
Bodhisattva


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

PostPosted: Thu Aug 31, 2006 12:52 pm    Post subject: Reply with quote

ercoppa wrote:
Scusat non ho capito questo fatte delle glibc. Bisogna aggiungere quelle due use (nptl nptlonly)?


In pratica i Linux Thread sono deprecati.

@Peach:

Code:
 * The current gcc config appears valid, so it will not be
 * automatically switched for you.  If you would like to
 * switch to the newly installed gcc version, do the
 * following:

 * gcc-config i686-pc-linux-gnu-4.1.1
 * source /etc/profile


sottolineo:
Quote:


so it will not be
* automatically switched for you.

_________________
Registered as User #281564 and Machines #163761
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: Thu Aug 31, 2006 12:58 pm    Post subject: Reply with quote

...per questo serve digitare manualmente:
Code:
# gcc-config i686-pc-linux-gnu-4.1.1
# source /etc/profile

;)
_________________
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
Gremo
Guru
Guru


Joined: 27 Feb 2006
Posts: 450

PostPosted: Thu Aug 31, 2006 1:04 pm    Post subject: Reply with quote

lo uso da mesi!

consiglierei:

Code:

# emerge -e system && emerge -e world
# emerge -P gcc


ciao!
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


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

PostPosted: Thu Aug 31, 2006 1:10 pm    Post subject: Reply with quote

gutter wrote:
sottolineo:
Quote:


so it will not be
* automatically switched for you.


OH MERD!
avevo tralasciato il NOT nella lettura, chiedo perdono!!!!
madoooo
_________________
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
dark_knight
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2006
Posts: 112

PostPosted: Thu Aug 31, 2006 1:16 pm    Post subject: Reply with quote

tizio wrote:
dovrei comunque lanciare "emerge -e world" ???? (ditemi di no vi prego)

Nel thread inglese viene ripetutamente affermato che è necessario (un messaggio d'esempio: https://forums.gentoo.org/viewtopic-p-3544936.html#3544936) :)
_________________
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
Gremo
Guru
Guru


Joined: 27 Feb 2006
Posts: 450

PostPosted: Thu Aug 31, 2006 1:18 pm    Post subject: Reply with quote

dark_knight wrote:
tizio wrote:
dovrei comunque lanciare "emerge -e world" ???? (ditemi di no vi prego)

Nel thread inglese viene ripetutamente affermato che è necessario (un messaggio d'esempio: https://forums.gentoo.org/viewtopic-p-3544936.html#3544936) :)


veramente avevo leggo (ora non ricordo dove...ma sto cercando) che era necessario emerge -e system && emerge -e world...
non ne ho idea perchè questa doppia compilazione di system..

edit
https://forums.gentoo.org/viewtopic-t-469335-highlight-.html
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: Thu Aug 31, 2006 1:23 pm    Post subject: Reply with quote

Sì, sarebbe meglio aggiornare prima system e poi world: questo perchè, al momento della ricompilazione dei pacchetti in world, è necessario che le librerie e tutti gli altri "tool" di sistema siano già a posto, compilati con il nuovo gcc. Hai ragione, questo è spiegato da qualche parte nel thread inglese (in "Portage and Programming": "GCC 4.1.1 and glibc 2.4 stable on x86 and amd64" --> https://forums.gentoo.org/viewtopic-t-493662.html)

Edit: oppure nel link che hai appena postato ;)
_________________
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
Gremo
Guru
Guru


Joined: 27 Feb 2006
Posts: 450

PostPosted: Thu Aug 31, 2006 1:28 pm    Post subject: Reply with quote

dark_knight wrote:
Sì, sarebbe meglio aggiornare prima system e poi world: questo perchè, al momento della ricompilazione dei pacchetti in world, è necessario che le librerie e tutti gli altri "tool" di sistema siano già a posto, compilati con il nuovo gcc. Hai ragione, questo è spiegato da qualche parte nel thread inglese (in "Portage and Programming": "GCC 4.1.1 and glibc 2.4 stable on x86 and amd64" --> https://forums.gentoo.org/viewtopic-t-493662.html)

Edit: oppure nel link che hai appena postato ;)


lol, allora preparatevi a una 10 di ore se va bene :lol: (io già l'ho fatto :P)
alla fine, con ccache alla seconda "passata" si guadagna davvero molto...
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 1, 2, 3, 4, 5, 6, 7  Next
Page 1 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