View previous topic :: View next topic |
Author |
Message |
phalaxy Tux's lil' helper
Joined: 12 Aug 2008 Posts: 120
|
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? _________________ Gigabyte P43-ES3G Rev. 1.0 Mainboard Ver. F14 Bios
Intel Pentium E6300 (2x 2,8 Ghz)
8GB RAM (2x 4GB DDR2-800)
Sapphire AMD Radeon R7 240 PCIe 4GB VRAM
Gentoo Linux ~amd64 multilib
SWAP??? Are you kidding me? |
|
Back to top |
|
|
VoidMage Watchman
Joined: 14 Oct 2006 Posts: 6196
|
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: 46 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: 54232 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: 418 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: 46 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: 169
|
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 Watchman
Joined: 22 Mar 2006 Posts: 5909
|
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 |
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6098 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). _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
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: 66 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 Watchman
Joined: 22 Mar 2006 Posts: 5909
|
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 |
|
Back to top |
|
|
q-parser n00b
Joined: 11 Jul 2006 Posts: 46 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: 97 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 Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 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). _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
nihil39 Tux's lil' helper
Joined: 15 Nov 2005 Posts: 97 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 Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 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 _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
nihil39 Tux's lil' helper
Joined: 15 Nov 2005 Posts: 97 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: 97 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 Bodhisattva
Joined: 23 Jul 2004 Posts: 8708 Location: ~Brussels - Belgique
|
Posted: Thu Oct 11, 2012 11:03 am Post subject: |
|
|
I always use "native", it's too easy to configure _________________ Kind regards,
Xavier Miller |
|
Back to top |
|
|
|