View previous topic :: View next topic |
Author |
Message |
hq4ever Apprentice
Joined: 15 Aug 2004 Posts: 167
|
Posted: Sun Jan 23, 2005 10:54 am Post subject: |
|
|
I see, well thank you for the information.
I have 2 more questions, If i may :
1. Say i decided for package XYZ to use gcc-3.3.x/
Ok, I did gcc-config i686-pc-linux-gnu-3.3.5 and the system now uses this profile, But what will happen with the libs i've "fixed" with fix_libtool_files.sh 3.3.5 when I merged gcc-3.4.x (which was an hour ago ) ?
2. "Gcc-3.3.* currently occupies its own slot" What is a slot in portage, where can i read further / view source to understand what it used for ?
thank you/ _________________ "God doesn't play dice with the universe",
Albert Einstein.
sig: http://www.jr.co.il/humor/signatur.txt
avatar: david lanham, http://www.dlanham.com/goodies.htm |
|
Back to top |
|
|
oberyno Guru
Joined: 15 Feb 2004 Posts: 467 Location: /bin/zsh
|
Posted: Sun Jan 23, 2005 11:47 am Post subject: |
|
|
1. I don't think fix_libtool_files.sh has been incorporated into gcc-config. So when switching gcc profiles with gcc-config, it might be necessary to run "fix_libtool_files.sh 3.4.3" if you want to go back to gcc-3.3.5. And then "gcc-config i686-pc-linux-gnu-3.4.3 && fix_libtool_files.sh 3.3.5 " to go back to 3.4.3. Sort of a pain, but switching profiles shouldn't be necessary very often.
2. Slots are very briefly described in the gentoo handbook here. Basically the SLOT mechanism allows multiple versions of a package to be installed. |
|
Back to top |
|
|
hq4ever Apprentice
Joined: 15 Aug 2004 Posts: 167
|
Posted: Sun Jan 23, 2005 12:11 pm Post subject: |
|
|
thnx, You've answered all my questions.
Quote: | Slots are very briefly described in the gentoo handbook |
Very very briefly, If someone mind spearing a few more words to explain this It would be nice. _________________ "God doesn't play dice with the universe",
Albert Einstein.
sig: http://www.jr.co.il/humor/signatur.txt
avatar: david lanham, http://www.dlanham.com/goodies.htm |
|
Back to top |
|
|
hiroki Guru
Joined: 29 Jul 2003 Posts: 327 Location: @home in germany
|
Posted: Thu Jan 27, 2005 12:20 am Post subject: |
|
|
anyone compiling the kernel with gcc-3.4.3(-20050110) ?
what are your experiences? |
|
Back to top |
|
|
MrApples Guru
Joined: 13 Dec 2002 Posts: 511
|
Posted: Thu Jan 27, 2005 12:54 am Post subject: |
|
|
ive compiled the latest nitro with it, works fine, havent noticed much in the way of improvements _________________ http://www.whatsinyourbox.org -- Technology discussion, news, and more. |
|
Back to top |
|
|
hiroki Guru
Joined: 29 Jul 2003 Posts: 327 Location: @home in germany
|
Posted: Thu Jan 27, 2005 12:52 pm Post subject: |
|
|
MrApples wrote: | ive compiled the latest nitro with it, works fine, havent noticed much in the way of improvements |
hi, thanks for the hint! [-> nitro]
I tried to compile gentoo-dev-sources-2.6.10-r6 with gcc-3.4.3-200500110, it compiled well. but booting was sooooo slow. it took more than 15 minutes to boot.
But nitro works perfectly. ah, well, there was one issue: when the line "Coldplugging pci..." appeared it took too much time, to I stopped it with Ctrl-C. Don't know what happened.
What improvements did you notice? i don't notice any...
not visibly faster... not more (un)stable...
[well, i never had even a single stability-problem/crash with my good-ol' gentoo-dev-sources + gcc-3.3] |
|
Back to top |
|
|
MrApples Guru
Joined: 13 Dec 2002 Posts: 511
|
Posted: Thu Jan 27, 2005 5:17 pm Post subject: |
|
|
i said i didnt really notice any improvements with the new gcc _________________ http://www.whatsinyourbox.org -- Technology discussion, news, and more. |
|
Back to top |
|
|
Bob P Advocate
Joined: 20 Oct 2004 Posts: 3355 Location: Jackass! Development Labs
|
Posted: Thu Jan 27, 2005 8:39 pm Post subject: |
|
|
hiroki wrote: | I tried to compile gentoo-dev-sources-2.6.10-r6 with gcc-3.4.3-200500110, it compiled well. but booting was sooooo slow. it took more than 15 minutes to boot. |
i've compiled gds-2.6.10-r6 with 3.4.3.20050110 and i've encountered no problems whatsoever. it sounds like a configuration problem at your end. _________________ .
Stage 1/3 | Jackass! | Rockhopper! | Thanks | Google Sucks |
|
Back to top |
|
|
hiroki Guru
Joined: 29 Jul 2003 Posts: 327 Location: @home in germany
|
Posted: Thu Jan 27, 2005 8:47 pm Post subject: |
|
|
Bob P wrote: | hiroki wrote: | I tried to compile gentoo-dev-sources-2.6.10-r6 with gcc-3.4.3-200500110, it compiled well. but booting was sooooo slow. it took more than 15 minutes to boot. |
i've compiled gds-2.6.10-r6 with 3.4.3.20050110 and i've encountered no problems whatsoever. it sounds like a configuration problem at your end. |
i just copied the config file from gds-2.6.10-r5 to r6... and for r5 everything worked fine. cannot imagine, that what was correct for -r5 was bad for -r6.
but i cannot understand, that nitro works while gds works so slowly, either |
|
Back to top |
|
|
wirwzd n00b
Joined: 03 Jul 2004 Posts: 68 Location: Leominster, Massachusetts USA
|
Posted: Sat Jan 29, 2005 3:07 am Post subject: Re: unstable gcc 3.4 test with hardened flag |
|
|
Tuttle wrote: |
so on all this pkgs, the error internal compiler error: in try_split, at emit-rtl.c:3314 remains... |
You may wish to track bug #79582 _________________ Keith Alan Landry
My Band: Twelfth of Never |
|
Back to top |
|
|
wirwzd n00b
Joined: 03 Jul 2004 Posts: 68 Location: Leominster, Massachusetts USA
|
Posted: Sat Jan 29, 2005 8:55 am Post subject: |
|
|
OK to fix the internal compiler error: in try_split, at emit-rtl.c:3314 errors I had to:
1) Switch to a vanilla profile with gcc-config. Otherwise I got:
Code: | /portage/gcc-3.4.3-r1/work/gcc-3.4.3/gcc/genmodes.c -o genmodes.o
cc1: stack smashing attack in function branch_prob()
xgcc: Internal error: Aborted (program cc1) |
2) Re-emerge gcc-3.4.3-r1 using the vanilla profile with:
Code: | STAGE1_CFLAGS="-O -funit-at-a-time" emerge -av =sys-devel/gcc-3.4.3-r1 |
3) I could then re-emerge gcc gcc-3.4.3-r1 with a hardened profile. I can also now compile perl et.al.
I can now also compile gcc-3.4.3.20050110 (I hit ^C before it installs for now as I need to sleep ).
Does this help you tuttle? _________________ Keith Alan Landry
My Band: Twelfth of Never |
|
Back to top |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Sun Jan 30, 2005 1:12 am Post subject: |
|
|
The 20050110 snapshot is back in ~x86. _________________ ~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF |
|
Back to top |
|
|
Lokheed Veteran
Joined: 12 Jul 2004 Posts: 1295 Location: /usr/src/linux
|
Posted: Sun Jan 30, 2005 1:24 am Post subject: |
|
|
codergeek42 wrote: | The 20050110 snapshot is back in ~x86. |
Been there for a few days. Redid my system with it, works just fine. |
|
Back to top |
|
|
wirwzd n00b
Joined: 03 Jul 2004 Posts: 68 Location: Leominster, Massachusetts USA
|
Posted: Sun Jan 30, 2005 1:38 am Post subject: |
|
|
Lokheed wrote: | codergeek42 wrote: | The 20050110 snapshot is back in ~x86. |
Been there for a few days. Redid my system with it, works just fine. |
Do you use hardened on a pentium4?
If so can you recompile gcc with itself and perl as well?
if so can you post an emerge info? _________________ Keith Alan Landry
My Band: Twelfth of Never |
|
Back to top |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Sun Jan 30, 2005 2:09 am Post subject: |
|
|
I've just re-done my kernel and a few packages with the 20050110 snapshot. No problems yet.
_________________ ~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF |
|
Back to top |
|
|
MrApples Guru
Joined: 13 Dec 2002 Posts: 511
|
Posted: Sun Jan 30, 2005 2:20 am Post subject: |
|
|
ive just done a emerge -e system && emerge -e system && emerge -e world && emerge -e world with 20050110 and my system seems to be flying, also stable _________________ http://www.whatsinyourbox.org -- Technology discussion, news, and more. |
|
Back to top |
|
|
PrakashP Veteran
Joined: 27 Oct 2003 Posts: 1249 Location: C.C.A.A., Germania
|
Posted: Mon Jan 31, 2005 10:17 pm Post subject: |
|
|
I found a case where gcc 3.4.x seems to be seriously broken:
Get aotuv's beta3 Vorbis version from here: http://www.geocities.jp/aoyoume/aotuv/
Then get the SSE patch from here http://homepage3.nifty.com/blacksword/
Patch abouve source and compile it.
In the examples dir you will find a simple encoder. Feed it with a WAV via stdin and write stdout to a file.ogg. Now try to play the file eg via mplayer. Either you'll get totally fsked up sound or just silence. I played a lot with Flags but couldn't get it to work (except if I disable SSE).
The homepage claims that it should work with gcc3.3.x. I don't have that compiler anymore on my system. So does anybody wants to test? Or could some pro disassemble the compiled files and try to find out whats breaks? Is a patch for gcc3.4.3 available which fixes it? |
|
Back to top |
|
|
Torangan Apprentice
Joined: 21 Mar 2003 Posts: 178
|
Posted: Tue Feb 01, 2005 12:11 pm Post subject: |
|
|
SSE2 is known to cause problems in GCC 3.4, the latest version in ~x86 should be better in this regard. SSE1 shouldn't cause problems. |
|
Back to top |
|
|
PrakashP Veteran
Joined: 27 Oct 2003 Posts: 1249 Location: C.C.A.A., Germania
|
Posted: Tue Feb 01, 2005 12:27 pm Post subject: |
|
|
It is SSE1 I am talking about. My Athlon XP has no SSE2. (And the patched encoder doesn't segfault but seems to run as it should, but just produces borked sound.)
I am using gcc sys-devel/gcc-3.4.3.20050110. |
|
Back to top |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Wed Feb 02, 2005 6:07 am Post subject: |
|
|
Is anyone crazy enough to try the GCC 4.0.0 alpha snapshot? _________________ ~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF |
|
Back to top |
|
|
John-Boy Guru
Joined: 23 Jun 2004 Posts: 442 Location: Desperately seeking moksha in all the wrong places
|
Posted: Wed Feb 02, 2005 4:28 pm Post subject: |
|
|
Is it my imagination or does GCC want to downgrade again to 3.4.3-r1 ? I'm sure that was the version before 3.4.3.20050110, if it does - rant cut - that feels better. I know, I know it's in ~x86, just feels a bit of a yo-yo compiling between this version and the other.
(more upset at myself - I held off with 3.4.3.20050110, finally I gave in and emerged it over the weekend). If there isn't a downgrade, it's my age, sorry.
GCC 4.0 hey ... hmmm ... |
|
Back to top |
|
|
barry Apprentice
Joined: 01 May 2002 Posts: 170 Location: UK
|
Posted: Wed Feb 02, 2005 5:05 pm Post subject: |
|
|
3.4.3.20050110 was taken out of ~x86 last night (it was masked for every platform), but there's nothing in the changelog to reflect that. I wouldn't downgrade until something appears, as it might go back into ~x86 later. |
|
Back to top |
|
|
hiroki Guru
Joined: 29 Jul 2003 Posts: 327 Location: @home in germany
|
Posted: Wed Feb 02, 2005 5:13 pm Post subject: |
|
|
barry wrote: | 3.4.3.20050110 was taken out of ~x86 last night (it was masked for every platform), but there's nothing in the changelog to reflect that. I wouldn't downgrade until something appears, as it might go back into ~x86 later. |
yeah, i also discovered gcc-3.4.3-20050110 to be masked and portage wanting to downgrade to 3.4.3-r1. but i also see no reason. as far as i have read in the forums some people even state, that 20050110 is more stable than 3.4.3-r1.
20050110 works fine for me. and i won't downgrade. especially not because i already made a similar experience, when 3.4.2 was available. i upgraded. then it was masked.. i downgraded to 3.4.1. then is was again unmasked... and i upgraded again to 3.4.2.... very weird. at least the changelogs should explain WHY it's masked... |
|
Back to top |
|
|
hiroki Guru
Joined: 29 Jul 2003 Posts: 327 Location: @home in germany
|
Posted: Wed Feb 02, 2005 7:35 pm Post subject: |
|
|
hi again.
is there anyone who has tried to compile the (new) ati-drivers with gcc-3.4.3 [20050110]
I've just compiled the newest nitro-sources with gcc-3.4.3-20050110 and it works fine [beside one aspect i'll mention later/below]
then i wanted to compile ati-drivers and ipw2100 with the same gcc, but ati-drivers does not compile well, so the main fglrx.ko module is missing! how come? has anyone made the same experience? any solutions to this? there seem to be quite a lot of compilation errors.
2.
my second problem. as already mentioned, i've compiled nitro-sources with the above mentioned GCC. but when i boot it everything works fine, but it hangs twice!
1) when "Loading key mappings" appears, then i need to hit ctrl-c
2) when "setting user font" appears, i again need to hit ctrl-c
how come? anyone out there with the same experience? any solution?
grtz & many thanks. |
|
Back to top |
|
|
barry Apprentice
Joined: 01 May 2002 Posts: 170 Location: UK
|
Posted: Wed Feb 02, 2005 7:43 pm Post subject: |
|
|
Well gcc-3.4.3-20050110 is back into ~x86 - again without any comment in the changelog, so who knows why it was taken out! |
|
Back to top |
|
|
|