Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 465622 - sys-devel/gcc-4.7.3 version bump
Summary: sys-devel/gcc-4.7.3 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal enhancement with 1 vote (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords: EBUILD, PATCH
Depends on:
Blocks:
 
Reported: 2013-04-12 05:42 UTC by brankob
Modified: 2013-05-16 17:29 UTC (History)
11 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
whole patches tarbzip... (gcc-4.7.3-patches-1.5.tar.bz2,36.08 KB, text/plain)
2013-04-12 05:42 UTC, brankob
Details
gcc-4.7.3.ebuild (gcc-4.7.3.ebuild,2.12 KB, application/octet-stream)
2013-05-12 16:33 UTC, Robert Cabrera
Details
gcc-4.7.3.ebuild (gcc-4.7.3.ebuild,2.12 KB, text/plain)
2013-05-12 16:35 UTC, Robert Cabrera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description brankob 2013-04-12 05:42:58 UTC
Created attachment 345316 [details]
whole patches tarbzip...

I have tweaked ebuild and patches for existing gcc-4.7.2-r1 to accomodate fresh gcc-4.7.3. Since I am not gcc maintainer and do not have deep insight into gcc's inner workings, I might fucked up something.

I did:

1. copied gcc-4.7.2-r1 ebuild into my repository as gcc-4.7.3.ebuild

2. within distfiles directory 
    a.copied existing gcc-4.7.2-piepatches-v0.5.5.tar.bz2 as gcc-4.7.2-piepatches...tar.bz2 ( I changed only "2" to "3" in the name )
    b. ditto with gcc-4.7.2-uclibc-patches-1.0.tar.bz2

3.    a. untarbzipped gcc-4.7.2-patches-1.5.tar.bz2 into /usr/src/patch
      b. deleted:
          82_all_alpha_4.6.4_pr56023_bootstrap.patch
          93_all_pr33763_4.7.3_extern-inline.patch
          94_all_pr53708_4.7.3_user-alignment.patch
          95_all_pr55940_4.7.3_x86-stack-parameters.patch
          96_all_pr56125_4.7.3_ffast-math-pow.patch
      
      c. made minor change to 90_all_gcc-4.7-x32.patch ( basically deleted one of the last diffs, pertaining to libstdc++-v3/configure as this was already applied)

4.  tarbzipped remaining files in the patch map back to gcc-4.7.3-patches-1.5.tar.bz2 and copied it to distfiles map

5. made ebuild my_new_gcc-4.7.3.ebuid manifest

6. emerged new gcc

I took all patches from existing gcc-4.7.2-r1 ebuild, so if you are starting from different gcc, you might want to unmask it and do an emerge -F =gcc-4.7.2-r1" so that you get starting patches.

I have attached whole gcc-4.7.3-patches-1.5.tar.bz2 for reference.
Comment 1 Ulenrich 2013-04-13 13:55:26 UTC
Above recipe is missing to copy also
$portdir/sys-devel/gcc/files

I have recompiled a lot with this new gcc-4.7.3
(unmasked ffmpeg-1.2 and USE=-aac)
And rebooted to see if all went well.

Confirming!
I didn't expect any other result though :)
Many thanks Branko!
Comment 2 theodor 2013-04-23 12:23:22 UTC
Please add the 4.7.3 ebuild to the portage tree soon.
Comment 3 Ulenrich 2013-04-24 14:17:12 UTC
I can confirm running gcc-4.7.3
without issues since ten days.

@theodor,
can be that Gentoo maintainers had added all the bug fix packages on the way to gcc-4.7.3 already?! And they think this would be a pointless version bump therefore (I can tell you I hadn't had an issue with gcc-4.7.2 either).
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2013-04-26 03:48:24 UTC
It'll get bumped when it's ready.  I'm working on it.
Comment 5 theodor 2013-04-26 17:28:12 UTC
(In reply to comment #3)
> @theodor,
> can be that Gentoo maintainers had added all the bug fix packages on the way
> to gcc-4.7.3 already?!

Please refrain from speculative rhetorical questions and inform yourself instead.


@Ryan
Thank you for taking care of it!
Comment 6 theodor 2013-05-08 09:59:06 UTC
(In reply to comment #4)
> It'll get bumped when it's ready.  I'm working on it.

Out of curiosity, what does it need to get ready? I expect that adding it (as unstable) to the tree will show any problems quicker than holding it back without doing much damage or am I mistaken?
Comment 7 Ryan Hill (RETIRED) gentoo-dev 2013-05-09 02:48:34 UTC
I have a bunch of eclass changes I need to make, plus go through all the open 4.7 bugs.  It'll be done by this weekend for sure.
Comment 8 Robert Cabrera 2013-05-12 16:31:40 UTC
In the meantime for those like me who would like to try this new version out. I've written this ebuild that I began using last week. Basically it does what the OP did without the pain of extracting the unneeded patches from the latest 4.7.2 1.6-patch tarball. Instead it just excludes installing the unneeded patches. Because of this I don't advise anyone using x32 to try since it doesn't modify the 90_all_gcc-4.7-x32.patch.

All one needs to do is put this ebuild in their overlay and install. So far it works like a charm. Enjoy

Ciao
Comment 9 Robert Cabrera 2013-05-12 16:33:45 UTC
Created attachment 348094 [details]
gcc-4.7.3.ebuild

Updated ebuild for sys-devel/gcc-4.7.3.ebuild
Comment 10 Robert Cabrera 2013-05-12 16:35:54 UTC
Created attachment 348098 [details]
gcc-4.7.3.ebuild

I uploaded the previous ebuild with the wrong mime-type so it was unreadable in my browser.
Comment 11 Denis M. (Phr33d0m) 2013-05-12 19:04:41 UTC
Good to have working ebuild(s) lying around. 

Altough, as ryao said, I'd recommend waiting a little longer until it's certain there won't be any problems for anyone after bumping 4.7.3 into portage.
Comment 12 Ryan Hill (RETIRED) gentoo-dev 2013-05-15 01:09:09 UTC
Had a last minute fix to make.  Bumped.
Comment 13 brankob 2013-05-16 04:56:18 UTC
So, where is it ?

It's not in main tree yet. Should we look in some overlay ?
Comment 14 Ryan Hill (RETIRED) gentoo-dev 2013-05-16 05:33:15 UTC
It's in the tree.  Try again.
Comment 15 brankob 2013-05-16 17:13:29 UTC
True. I emerged it. I couldn't see it in the first place because I had gcc-4.7.3.ebuild in my overlay and until I renamed it to some¸thing else, "equery list -i -p gcc" wouldn't show it, even though it was there.

Thanks...