View previous topic :: View next topic |
Author |
Message |
jfave Tux's lil' helper
Joined: 28 Jul 2004 Posts: 96 Location: Jacksonville, FL
|
Posted: Sun Dec 04, 2005 7:03 am Post subject: |
|
|
I am glad to see (most) everyone is making out well with the upgrade. I on the other hand am going to hold off for a bit. I know something will break for me |
|
Back to top |
|
|
4andrew4 n00b
Joined: 19 May 2004 Posts: 7 Location: Prague, Czech Republic
|
Posted: Sun Dec 04, 2005 11:27 am Post subject: golden middle way |
|
|
St. Joe wrote: | Yeah, I did a hybrid of the two methods and all went fine without clearing the ccache.
Nice to see a transition like that go so smoothly. |
I am also trying to mix both of the methods which i find as the best solution.
I am doing this:
Code: | # emerge -uav gcc
# gcc-config i686-pc-linux-gnu-3.4.4
# source /etc/profile
# emerge -1av sys-libs/libstdc++-v3
# emerge -eav system
# revdep-rebuild --library libstdc++.so.5 -- -pv
# revdep-rebuild --library libstdc++.so.5
# emerge -avC =sys-devel/gcc-3.3* |
I simply don't want to rebuild system twice and build all applications in the world...
Can there be any problems with this?
Ondrej
EDIT: Thanks amne. I have added switching to gcc3.4.4 to code section.
Last edited by 4andrew4 on Sun Dec 04, 2005 3:28 pm; edited 1 time in total |
|
Back to top |
|
|
amne Bodhisattva
Joined: 17 Nov 2002 Posts: 6378 Location: Graz / EU
|
Posted: Sun Dec 04, 2005 12:36 pm Post subject: Re: golden middle way |
|
|
4andrew4 wrote: |
I simply don't want to rebuild system twice and build all applications in the world...
Can there be any problems with this?
|
This should work as well, just don't forget to switch to gcc 3.4.4 after emerging it or you will rebuild your system with 3.3.6. _________________ Dinosaur week! (Ok, this thread is so last week) |
|
Back to top |
|
|
Orific n00b
Joined: 14 Oct 2005 Posts: 67
|
Posted: Sun Dec 04, 2005 2:11 pm Post subject: |
|
|
Wouldn't it be still better to bootstrap in addition of the instructions given in the upgrading guide ?
Last edited by Orific on Mon Dec 05, 2005 11:52 am; edited 1 time in total |
|
Back to top |
|
|
eweneb n00b
Joined: 23 Jun 2005 Posts: 39
|
Posted: Sun Dec 04, 2005 2:44 pm Post subject: |
|
|
W00T _________________ "Any sufficiently advanced technology is indistinguishable from magic." -- Arthur C. Clark
"Any unnecessarily advanced technology is indistiguishable from masochism." -- Eric B. Ewen |
|
Back to top |
|
|
nagoola n00b
Joined: 29 Dec 2003 Posts: 47 Location: Germany
|
Posted: Sun Dec 04, 2005 4:54 pm Post subject: |
|
|
How important is it to upgrade to GCC 3.4? What are the benefits? I heard that GCC 3.3.x produces more RAM friendly code - is that true and should I not upgrade on a system with little RAM (256MB)? Hope these are not too many questions _________________ Took me a while to be okay with compiling everything on a desktop system - but it was worth it
---
PIIIm-1GHz ' 1024MB RAM ' Trident Chipset / GPU ' 20 GB HDD ' Laptop |
|
Back to top |
|
|
feiticeir0 Apprentice
Joined: 13 Jul 2005 Posts: 288 Location: Castelo Branco, Portugal
|
Posted: Sun Dec 04, 2005 4:59 pm Post subject: Problem when emerging |
|
|
Hello Guys.
I've tried to emerge to gcc-3.4, following the upgrade guide..
in the guide i decided to go by the safe way (just in case) but the things dindn't went well...
during the merge (emerge -e system) i get a following error:
File "/usr/bin/emerge", line 3112, in ?
if not mydepgraph.xcreate(myaction):
File "/usr/bin/emerge", line 1424, in xcreate
if not self.select_dep(myk,myuse=binpkguseflags):
and so on...
and it finish with
OSError: [Errno 30] Read-only file system: ' /var/cache/edb/dep/aux_db_key_temp.portage_lockfile'
and i cant do anything more...
what went wrong ???
do i need to install again my whole system???
cheers, _________________ Do It With Rhythm |
|
Back to top |
|
|
azwr n00b
Joined: 06 Aug 2004 Posts: 49
|
Posted: Sun Dec 04, 2005 5:57 pm Post subject: |
|
|
My main gentoo box is a 966 pIII with 384megs of RAM. I also have an AMD 2400+ with 512megs RAM that still only has windows (I use it for audio recording with windows only apps). I want to harness the more powerful computer to do all the compiling for the gcc update, and I was wondering if this idea would work.
1) export my / on my gentoo box as an NFS share (need to learn how to do that too, but i'll search around)
2) boot a liveCD on my more powerful computer and mount the NFS share.
3) chroot to the NFS share
4) do all the compiling/etc using the more powerful processor, but chrooted into the other box, so the correct compilers will be used.
Will compiling on the wrong CPU but for the correct CPU work?
EDIT: found https://forums.gentoo.org/viewtopic-t-407866.html , looks like i'm off to look at how to do nfs.
Last edited by azwr on Sun Dec 04, 2005 7:10 pm; edited 1 time in total |
|
Back to top |
|
|
pv Tux's lil' helper
Joined: 25 Mar 2005 Posts: 103 Location: Russia, Yaroslavl
|
Posted: Sun Dec 04, 2005 6:24 pm Post subject: |
|
|
I'm very happy to use both the stable branch and gcc-3.4.4!!! I've been waiting for this so long...
Thanks to Gentoo developers!!! _________________ Nothing but perfection. |
|
Back to top |
|
|
Q-collective Advocate
Joined: 22 Mar 2004 Posts: 2071
|
Posted: Sun Dec 04, 2005 6:52 pm Post subject: |
|
|
pv wrote: | I'm very happy to use both the stable branch and gcc-3.4.4!!! I've been waiting for this so long...
Thanks to Gentoo developers!!! |
You could aswell just use gcc 4.1 if you wanted, nothing stopping you |
|
Back to top |
|
|
pv Tux's lil' helper
Joined: 25 Mar 2005 Posts: 103 Location: Russia, Yaroslavl
|
Posted: Sun Dec 04, 2005 7:19 pm Post subject: |
|
|
Q-collective wrote: | You could aswell just use gcc 4.1 if you wanted, nothing stopping you |
It's my wish to (at least) hope my system is stable.
It's my wish to be sure my system is stable. _________________ Nothing but perfection. |
|
Back to top |
|
|
depontius Advocate
Joined: 05 May 2004 Posts: 3509
|
Posted: Sun Dec 04, 2005 7:21 pm Post subject: Just upgraded, looks like I've already been switched to 3.4 |
|
|
I got the new gcc in yesterday's upgrade, then I glanced at the website, and saw the news about it, including the migration guide. The funny thing is this:
Code: | user@host ~ $ gcc-config -l
[1] i686-pc-linux-gnu-3.3.6
[2] i686-pc-linux-gnu-3.3.6-hardened
[3] i686-pc-linux-gnu-3.3.6-hardenednopie
[4] i686-pc-linux-gnu-3.3.6-hardenednopiessp
[5] i686-pc-linux-gnu-3.3.6-hardenednossp
[6] i686-pc-linux-gnu-3.4.4 *
[7] i686-pc-linux-gnu-3.4.4-hardened
[8] i686-pc-linux-gnu-3.4.4-hardenednopie
[9] i686-pc-linux-gnu-3.4.4-hardenednopiessp
[10] i686-pc-linux-gnu-3.4.4-hardenednossp
user@host ~ $ |
It sure looks to me as if gcc has already been switched on me, and I haven't done anything to make it so. To add to that impression:
Code: | user@host ~ $ gcc -v
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/specs
Configured with: /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.4 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/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-libmudflap --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.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)
user@host ~ $ |
Any idea what gives? To add to the potential dismay, gcc was the first package in the day's upgrades, so everything later may well have been done with 3.4. I need to check my logs to know what that entails. (I know that includes perl on at least 2 systems.) All of my systems still boot, but I'd like to know what gives. Until I'm ready to follow the guide, should I manually switch back to 3.3.6 and use it to recompile everything compiled with 3.4? _________________ .sigs waste space and bandwidth |
|
Back to top |
|
|
Ateo Advocate
Joined: 02 Jun 2003 Posts: 2021 Location: Republic of California
|
Posted: Sun Dec 04, 2005 10:18 pm Post subject: |
|
|
YAY!. Thanks devs! |
|
Back to top |
|
|
nc n00b
Joined: 16 Jan 2005 Posts: 11
|
Posted: Mon Dec 05, 2005 6:00 am Post subject: |
|
|
I just noticed that gcc changed when suddenly the OpenGL programs I am working on stopped compiling. Thank you Devs!
Guess maybe I should be more careful with updating packages.
Followed the guide and got them working, but didnt feal like this.
I wonder why a major upgrade like this isn't incorporated into a version change, like putting it in 2005.2 or something like that.
NC |
|
Back to top |
|
|
/dev/random l33t
Joined: 26 Nov 2004 Posts: 704 Location: Austin, Texas, USA
|
Posted: Mon Dec 05, 2005 6:13 am Post subject: |
|
|
nc wrote: | I just noticed that gcc changed when suddenly the OpenGL programs I am working on stopped compiling. Thank you Devs!
Guess maybe I should be more careful with updating packages.
Followed the guide and got them working, but didnt feal like this.
I wonder why a major upgrade like this isn't incorporated into a version change, like putting it in 2005.2 or something like that.
NC |
Because Gentoo is a meta-distro that is ALWAYS changing. The only thing 2006.0 (there is no 2005.2) is for is updating the stage tarballs and making new livecds. |
|
Back to top |
|
|
nc n00b
Joined: 16 Jan 2005 Posts: 11
|
Posted: Mon Dec 05, 2005 7:01 am Post subject: |
|
|
/dev/random wrote: | nc wrote: | I just noticed that gcc changed when suddenly the OpenGL programs I am working on stopped compiling. Thank you Devs!
Guess maybe I should be more careful with updating packages.
Followed the guide and got them working, but didnt feal like this.
I wonder why a major upgrade like this isn't incorporated into a version change, like putting it in 2005.2 or something like that.
NC |
Because Gentoo is a meta-distro that is ALWAYS changing. The only thing 2006.0 (there is no 2005.2) is for is updating the stage tarballs and making new livecds. |
I know Gentoo changes often, but a change that may or may not force an Code: | emerge -e system && emerge -e world | could arguably be put into a new release.
I know when changing the link to make.profile I may need to do the empty-tree emerge, but it would be nice if it didn't come up after an emerge -uDN
Perhaps I should use a different emerge update parameters... |
|
Back to top |
|
|
/dev/random l33t
Joined: 26 Nov 2004 Posts: 704 Location: Austin, Texas, USA
|
Posted: Mon Dec 05, 2005 7:22 am Post subject: |
|
|
There are no new releases
All the so-called releases are just updates to the LiveCD and new stage tarballs.
Last edited by /dev/random on Mon Dec 05, 2005 8:10 am; edited 1 time in total |
|
Back to top |
|
|
Q-collective Advocate
Joined: 22 Mar 2004 Posts: 2071
|
Posted: Mon Dec 05, 2005 7:37 am Post subject: |
|
|
Stop whining or stop upgrading, or both. |
|
Back to top |
|
|
/dev/random l33t
Joined: 26 Nov 2004 Posts: 704 Location: Austin, Texas, USA
|
Posted: Mon Dec 05, 2005 8:11 am Post subject: |
|
|
Q-collective wrote: | Stop whining or stop upgrading, or both. |
Yes that too. It's not like gcc 3.4 requires you to dump gcc 3.3 |
|
Back to top |
|
|
gschinkel n00b
Joined: 08 Apr 2005 Posts: 14
|
Posted: Mon Dec 05, 2005 11:39 am Post subject: |
|
|
Yay... Just finished a two day compile of emerge -e world and everything is just peaches. The only gripe I have is that the compile stopped three times and I had to emerge --resume to get the show on the road again. Which is a damn waste of processor cycles if it happens when you've JUST gone to bed.
Packages it failed on: nget, php5 (recode and mysql use flag conflict) and another one which I can't remember.
Thanks devs! Great job. |
|
Back to top |
|
|
big_gie Apprentice
Joined: 31 Aug 2004 Posts: 158
|
Posted: Mon Dec 05, 2005 1:56 pm Post subject: |
|
|
allucid wrote: | big_gie wrote: | Time to get that cpu some work!
Is it safe to upgrade via a ssh connection? Since I'm not at work right now, I could use the weekend to upgrade. But I won't be able to be next to the machine. What do you think? |
use gnu screen (emerge screen). |
Thanx for the suggestion. Screen is really usefull.
I'm encountering some errors using the "3. Using emerge -e (Safer method)" guide. I've done, as stated by the guide:
Quote: | # emerge -uav gcc
# gcc-config i686-pc-linux-gnu-3.4.4
# source /etc/profile
# emerge -1 sys-libs/libstdc++-v3
# emerge -e system
# etc-update (Because it told it was necessary...)
# emerge -e world |
But saddly it fails. It seems that it is caused by "net-misc/rfb-0.6.1". Here is the logs:
Quote: | /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_bvector.h:823: erreur: expected unqualified-id avant un élément lexical « ( »
In file included from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/vector:75,
from /usr/include/xclass/OXItemView.h:25,
from /usr/include/xclass/OXListView.h:32,
from /usr/include/xclass/OXFileDialog.h:26,
from xrfbviewer.cc:55:
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/vector.tcc: In member function `void std::vector<_Tp, _Alloc>::_M_fill_insert(__gnu_cxx::__normal_iterator<typename _Alloc::pointer, std::vector<_Tp, _Alloc> >, size_t, const _Tp&)':
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/vector.tcc:307: erreur: expected unqualified-id avant un élément lexical « ( »
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/vector.tcc: In member function `void std::vector<_Tp, _Alloc>::_M_range_insert(__gnu_cxx::__normal_iterator<typename _Alloc::pointer, std::vector<_Tp, _Alloc> >, _ForwardIterator, _ForwardIterator, std::forward_iterator_tag)':
/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/vector.tcc:384: erreur: expected unqualified-id avant un élément lexical « ( »
xrfbviewer.cc:783:10: attention : éléments lexicaux superflus à la fin de la directive #endif
make[1]: *** [xrfbviewer.o] Erreur 1
make[1]: Leaving directory `/var/tmp/portage/rfb-0.6.1/work/rfb-0.6.1/xrfbviewer'
make: *** [xrfbviewer] Erreur 2
!!! ERROR: net-misc/rfb-0.6.1 failed.
!!! Function src_compile, Line 22, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message. |
I try to resume, as stated in the "4. Hints and problems" section of the guide, but it fails:
Quote: | # emerge --resume
* --verbose is currently broken with --resume. Disabling...
These are the packages that I would merge, in order:
Traceback (most recent call last):
File "/usr/bin/emerge", line 3140, in ?
mydepgraph.display(portage.mtimedb["resume"]["mergelist"])
File "/usr/bin/emerge", line 1585, in display
now_use=self.applied_useflags[x[2]]
KeyError: 'net-misc/rfb-0.6.1'
|
Then if I try to skip:
Quote: | # emerge --resume --skipfirst
* --verbose is currently broken with --resume. Disabling...
These are the packages that I would merge, in order:
Traceback (most recent call last):
File "/usr/bin/emerge", line 3140, in ?
mydepgraph.display(portage.mtimedb["resume"]["mergelist"])
File "/usr/bin/emerge", line 1585, in display
now_use=self.applied_useflags[x[2]]
KeyError: 'net-misc/rfb-0.6.1'
# |
Whats wrong?
Thanx... |
|
Back to top |
|
|
mikegpitt Advocate
Joined: 22 May 2004 Posts: 3224
|
Posted: Mon Dec 05, 2005 6:23 pm Post subject: |
|
|
novazur wrote: |
start with festival compiling, but very quickly a lot of errors and finishes with :
Code: | /usr/share/speech-tools/include/EST_TNamedEnum.h:153: error: there are no arguments to `initialise' that depend on a template parameter, so a declaration of `initialise' must be available
In file included from /usr/share/speech-tools/include/ling_class/EST_item_aux.h:46,
from /usr/share/speech-tools/include/EST_ling_class.h:52,
from /usr/share/speech-tools/include/EST.h:63,
from ../../../src/include/festival.h:44,
from festival.cc:44:
/usr/share/speech-tools/include/EST_features_aux.h: At global scope:
/usr/share/speech-tools/include/EST_features_aux.h:99: error: `void* pointer(const EST_Val&)' used prior to declaration |
|
Novazur, did you find a solution to this? I'm having the same problem compiling festival also. |
|
Back to top |
|
|
eelke Guru
Joined: 17 May 2004 Posts: 406 Location: Earth, Netherlands, Friesland
|
Posted: Mon Dec 05, 2005 7:12 pm Post subject: |
|
|
Quote: | The only gripe I have is that the compile stopped three times and I had to emerge --resume to get the show on the road again. Which is a damn waste of processor cycles if it happens when you've JUST gone to bed. |
Yeah I had it happen two times on saturday and sunday both times I had taken a peek at the progress before going to bed to discover the next morning it had stopped within the hour after I checked. With a little luck it will finish tonight (28 packages left). I had to skip nine packages upto now,
libexif-gtk
anjuta
pgadmin3
gtkglext
cinepaint
xmms-goom
dbus
hal
xmovie
When the compile of other packages have finished I shall try to solve the issues with the above packages. Atleast for xmovie I know from the compiler error message and reading the gcc changelog that it is caused by a non ansi-C++ feature which has been removed from gcc. |
|
Back to top |
|
|
/dev/random l33t
Joined: 26 Nov 2004 Posts: 704 Location: Austin, Texas, USA
|
Posted: Mon Dec 05, 2005 9:08 pm Post subject: |
|
|
gtkhtml and vlc were the only packages that I had to use emerge --resume --skipfirst with (one other died but when I did emerge --resume it went on just fine). It ran from 2 PM on Saturday to 4:30 AM this morning. The two stopped compilations other than vlc happened while I was asleep so it set me back about 8 hours.
Everything is running great now though. |
|
Back to top |
|
|
ellotheth Tux's lil' helper
Joined: 30 Aug 2005 Posts: 123
|
Posted: Tue Dec 06, 2005 12:42 am Post subject: |
|
|
Just adding another success story. Upgrade came off on my HP zt1000-ic P4-M lappy, using the "safe method," with no troubles. Thanks, devs! _________________ monjoy |
|
Back to top |
|
|
|