Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GCC 4.6.x ETA in Gentoo ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
phalaxy
Tux's lil' helper
Tux's lil' helper


Joined: 12 Aug 2008
Posts: 120

PostPosted: Wed May 16, 2012 6:30 pm    Post subject: GCC 4.6.x ETA in Gentoo ? Reply with quote

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
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Wed May 16, 2012 6:44 pm    Post subject: Reply with quote

Well, it's already months past ETA.
See this bug for the showstopper.
Back to top
View user's profile Send private message
q-parser
n00b
n00b


Joined: 11 Jul 2006
Posts: 46
Location: Slovakia

PostPosted: Sun Aug 19, 2012 7:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54096
Location: 56N 3W

PostPosted: Sun Aug 19, 2012 8:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
loki_val
Retired Dev
Retired Dev


Joined: 13 Nov 2006
Posts: 418
Location: Denmark

PostPosted: Mon Aug 20, 2012 4:57 am    Post subject: Reply with quote

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
View user's profile Send private message
q-parser
n00b
n00b


Joined: 11 Jul 2006
Posts: 46
Location: Slovakia

PostPosted: Mon Aug 20, 2012 6:26 am    Post subject: Reply with quote

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
View user's profile Send private message
^marcs
Apprentice
Apprentice


Joined: 09 Mar 2005
Posts: 169

PostPosted: Mon Aug 20, 2012 8:27 am    Post subject: Reply with quote

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
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5909

PostPosted: Mon Aug 20, 2012 10:56 am    Post subject: Reply with quote

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
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6095
Location: Dallas area

PostPosted: Mon Aug 20, 2012 11:17 am    Post subject: Reply with quote

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
View user's profile Send private message
EatMeerkats
Apprentice
Apprentice


Joined: 15 Mar 2006
Posts: 234

PostPosted: Mon Aug 20, 2012 1:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
drhirsch
n00b
n00b


Joined: 08 May 2004
Posts: 66
Location: Germany

PostPosted: Mon Aug 20, 2012 1:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5909

PostPosted: Mon Aug 20, 2012 4:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
q-parser
n00b
n00b


Joined: 11 Jul 2006
Posts: 46
Location: Slovakia

PostPosted: Tue Aug 21, 2012 9:50 am    Post subject: Reply with quote

Thank you. I'll give it a shot.
Back to top
View user's profile Send private message
nihil39
Tux's lil' helper
Tux's lil' helper


Joined: 15 Nov 2005
Posts: 97
Location: Italy

PostPosted: Thu Oct 11, 2012 9:43 am    Post subject: Reply with quote

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
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8706
Location: ~Brussels - Belgique

PostPosted: Thu Oct 11, 2012 10:06 am    Post subject: Reply with quote

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
View user's profile Send private message
nihil39
Tux's lil' helper
Tux's lil' helper


Joined: 15 Nov 2005
Posts: 97
Location: Italy

PostPosted: Thu Oct 11, 2012 10:13 am    Post subject: Reply with quote

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
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8706
Location: ~Brussels - Belgique

PostPosted: Thu Oct 11, 2012 10:23 am    Post subject: Reply with quote

1) manpower problem: not enough people to fix the open bugs
2) use gcc-config
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
nihil39
Tux's lil' helper
Tux's lil' helper


Joined: 15 Nov 2005
Posts: 97
Location: Italy

PostPosted: Thu Oct 11, 2012 10:32 am    Post subject: Reply with quote

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
View user's profile Send private message
nihil39
Tux's lil' helper
Tux's lil' helper


Joined: 15 Nov 2005
Posts: 97
Location: Italy

PostPosted: Thu Oct 11, 2012 10:56 am    Post subject: Reply with quote

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
View user's profile Send private message
xaviermiller
Bodhisattva
Bodhisattva


Joined: 23 Jul 2004
Posts: 8706
Location: ~Brussels - Belgique

PostPosted: Thu Oct 11, 2012 11:03 am    Post subject: Reply with quote

I always use "native", it's too easy to configure ;)
_________________
Kind regards,
Xavier Miller
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
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