| View previous topic :: View next topic |
| Author |
Message |
phalaxy Tux's lil' helper


Joined: 12 Aug 2008 Posts: 109
|
Posted: Wed May 16, 2012 6:30 pm Post subject: GCC 4.6.x ETA in Gentoo ? |
|
|
i am curious about the missing keywords in the gcc-4.6 packages in the portage tree.
will they become available soon? _________________ Acer Aspire 7745G Notebook 1.15 Bios
Intel Core-i7 720QM
8 GB RAM
ATI Mobility Radeon 5850 1GB VRAM
Gentoo Linux ~amd64 non-multilib
SWAP ??? Deprecated now ...  |
|
| Back to top |
|
 |
VoidMage Advocate


Joined: 14 Oct 2006 Posts: 4812
|
Posted: Wed May 16, 2012 6:44 pm Post subject: |
|
|
Well, it's already months past ETA.
See this bug for the showstopper. |
|
| Back to top |
|
 |
q-parser n00b


Joined: 11 Jul 2006 Posts: 33 Location: Slovakia
|
Posted: Sun Aug 19, 2012 7:11 pm Post subject: |
|
|
Is there any news on this one? I checked the bug report, some guys confirmed that grub:0 works with gcc 4.6 on ~amd64 (last comment on 2012-06-01)
Can we safely keyword gcc 4.6? |
|
| Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 29996 Location: 56N 3W
|
Posted: Sun Aug 19, 2012 8:10 pm Post subject: |
|
|
q-parser,
If your boot loader works, why do you want to update it?
Mask grub at the version you have today and keyword gcc-4.6.x. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
| Back to top |
|
 |
loki_val Retired Dev

Joined: 13 Nov 2006 Posts: 399 Location: Denmark
|
Posted: Mon Aug 20, 2012 4:57 am Post subject: |
|
|
| The bug report indicates that masking your grub:0 at installed version would be potentially bad. Specifically, <grub-0.97-r12:0 willl eat your kittens if you run grub-install and you're compiling grub on x86_64. |
|
| Back to top |
|
 |
q-parser n00b


Joined: 11 Jul 2006 Posts: 33 Location: Slovakia
|
Posted: Mon Aug 20, 2012 6:26 am Post subject: |
|
|
This is what I'm afraid of. I'd like to migrate to gcc 4.6.x to use optimizations for my i5 processor. On the other hand, I don't want to make the system unbootable.
It appears that I will have to stick with 4.5.x for the time being or move to other boot loader (which I'd rather not).
This must be one hell of an issue since a lot of great minds have not been able to crack it for more than a year. |
|
| Back to top |
|
 |
^marcs Apprentice


Joined: 09 Mar 2005 Posts: 163 Location: Poland
|
Posted: Mon Aug 20, 2012 8:27 am Post subject: |
|
|
I switched back to LILO and I'm perfectly happy with it - and with gcc-4.6 for few months now.
GRUB have it long coming, caused me too much headache in the past. |
|
| Back to top |
|
 |
DaggyStyle Advocate


Joined: 22 Mar 2006 Posts: 4735
|
Posted: Mon Aug 20, 2012 10:56 am Post subject: |
|
|
frankly, I don't understand what is the problem, I use gcc 4.6 with at least 0.97-r12 without any problems. _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
ProjectFootball |
|
| Back to top |
|
 |
Anon-E-moose Veteran


Joined: 23 May 2008 Posts: 1370 Location: Dallas area
|
Posted: Mon Aug 20, 2012 11:17 am Post subject: |
|
|
I don't understand why optimizations aren't just turned off for grub. It's only used once (at each boot). _________________ Asus m5a99fx, Phenom II X6 - X64-multilib, glibc-2.15-r3, 3.9.1-zen
xorg-server-1.14 - lxde - nouveau
wine-1.5.30, oss4
gcc-4.7.3 CFLAGS="-march=native -O2 -floop-interchange -floop-strip-mine -floop-block -pipe" |
|
| Back to top |
|
 |
EatMeerkats Apprentice


Joined: 15 Mar 2006 Posts: 234
|
Posted: Mon Aug 20, 2012 1:02 pm Post subject: |
|
|
| q-parser wrote: | This is what I'm afraid of. I'd like to migrate to gcc 4.6.x to use optimizations for my i5 processor. On the other hand, I don't want to make the system unbootable.
It appears that I will have to stick with 4.5.x for the time being or move to other boot loader (which I'd rather not).
This must be one hell of an issue since a lot of great minds have not been able to crack it for more than a year. |
The bug's status is marked as "RESOLVED FIXED". |
|
| Back to top |
|
 |
drhirsch n00b

Joined: 08 May 2004 Posts: 60 Location: Germany
|
Posted: Mon Aug 20, 2012 1:37 pm Post subject: |
|
|
gcc-4.6 works perfectly as long as you don't compile an old version of grub with it. As long as the bootloader works just keep it - I made sure that an update never would touch the old grub (version no longer in portage) on my harddrive with some hard masks. I don't remember which compiler compiled it some years ago, probably gcc-4.3 or something, its long gone anyway.
When the time came and I migrated to a new SSD, I used grub-2.0 with gcc-4.7, it worked like a charm. And again this grub will not change in any way until a new boot hard drive is needed. |
|
| Back to top |
|
 |
DaggyStyle Advocate


Joined: 22 Mar 2006 Posts: 4735
|
Posted: Mon Aug 20, 2012 4:56 pm Post subject: |
|
|
lets stop saying wrong things, the mentioned bug is fixed.
more over, on my setup, amd64 + gcc 4.6.3 + grub legacy, all works ok. _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
ProjectFootball |
|
| Back to top |
|
 |
q-parser n00b


Joined: 11 Jul 2006 Posts: 33 Location: Slovakia
|
Posted: Tue Aug 21, 2012 9:50 am Post subject: |
|
|
| Thank you. I'll give it a shot. |
|
| Back to top |
|
 |
nihil39 Tux's lil' helper

Joined: 15 Nov 2005 Posts: 77 Location: Italy
|
Posted: Thu Oct 11, 2012 9:43 am Post subject: |
|
|
So, why is gcc 4.6 still keyworded if this infamous bug with grub appears to be solved?
Gcc is slotted, how can I select gcc 4.6 to compile my packages without unmerging the 4.5 version?
Thanks |
|
| Back to top |
|
 |
XavierMiller Moderator


Joined: 23 Jul 2004 Posts: 4625 Location: ~Brussels - Belgique
|
Posted: Thu Oct 11, 2012 10:06 am Post subject: |
|
|
Use GRUB2, grub-static, or an other boot loader (I switched to syslinux, simple, easy, stable, and working). _________________ Xavier Miller
(FR) Merci de respecter les règles du forum.
http://www.xaviermiller.be |
|
| Back to top |
|
 |
nihil39 Tux's lil' helper

Joined: 15 Nov 2005 Posts: 77 Location: Italy
|
Posted: Thu Oct 11, 2012 10:13 am Post subject: |
|
|
| XavierMiller wrote: | | Use GRUB2, grub-static, or an other boot loader (I switched to syslinux, simple, easy, stable, and working). |
Ok, but my questions are:
1. Since even grub 0.97-r12 seems to have been fixed with gcc 4.6.3 why is the famous compiler still keyworded and not stable?
2. How can I tell my gentoo system to use gcc 4.6? I mean, tell it to use the slot with gcc 4.6 and not the one with gcc 4.5? I have not merged gcc 4.6 yet. |
|
| Back to top |
|
 |
XavierMiller Moderator


Joined: 23 Jul 2004 Posts: 4625 Location: ~Brussels - Belgique
|
Posted: Thu Oct 11, 2012 10:23 am Post subject: |
|
|
1) manpower problem: not enough people to fix the open bugs
2) use gcc-config _________________ Xavier Miller
(FR) Merci de respecter les règles du forum.
http://www.xaviermiller.be |
|
| Back to top |
|
 |
nihil39 Tux's lil' helper

Joined: 15 Nov 2005 Posts: 77 Location: Italy
|
Posted: Thu Oct 11, 2012 10:32 am Post subject: |
|
|
1. Mmhh, it looked like the only open bug was the one with grub. Any further news on that?
2. Thanks, so the migration should be painless, i guess. No critical packages to recompile |
|
| Back to top |
|
 |
nihil39 Tux's lil' helper

Joined: 15 Nov 2005 Posts: 77 Location: Italy
|
Posted: Thu Oct 11, 2012 10:56 am Post subject: |
|
|
Other question:
Is the flag -march=native the best possible? Is it in my case (core i3 2310M) equivalent to -march=corei7? |
|
| Back to top |
|
 |
XavierMiller Moderator


Joined: 23 Jul 2004 Posts: 4625 Location: ~Brussels - Belgique
|
|
| Back to top |
|
 |
|