Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 357479 (gcc-4.5-stable) - GCC 4.5 stabilization
Summary: GCC 4.5 stabilization
Status: RESOLVED FIXED
Alias: gcc-4.5-stable
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords: STABLEREQ, Tracker
Depends on: gcc-4.5 320337 322361 331181 335657 344677 351487 359657 360553 360563 360567 360571 360591 360597 360601 360605 360613 360621 360623 360625 368071
Blocks:
  Show dependency tree
 
Reported: 2011-03-05 04:11 UTC by Ryan Hill (RETIRED)
Modified: 2013-01-07 05:29 UTC (History)
18 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Hill (RETIRED) gentoo-dev 2011-03-05 04:11:23 UTC
This bug will be used to track all packages that must be stabilized before
GCC 4.5.  I'm not planning on working on this for a couple months but if anyone wants to get started, go nuts.

- Please file a NEW bug for each package that needs to be stabilized and have
it BLOCK this one.

- The bug should be assigned to the maintainer of the package.  Please do not CC gcc-porting - we get enough mail on these things.

- DO NOT use this bug for any problems with GCC itself.  Instead, file a
NEW bug describing your issue and it will be assigned by a bug wrangler.

Thanks.
Comment 1 Marcin Mirosław 2011-04-12 13:54:04 UTC
It looks bug #347782 is still valid, i can't reopen them. Should i create new bug? gcc-4.5.2 on hardened gives PAX: terminating task: /usr/sbin/apache2(apache2)
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-09-18 16:15:15 UTC
Team, the only open bugs left here are ones that no one cares about* or have multiple depending bugs that no one cares about. Let's make progress and move forward with the stabilization of gcc-4.5 (trickle effects are that new mozilla products can be stabilized, which is more of a win for our users than these random packages imo).

So, any thoughts or should I just mask the offending packages?

*My opinion, from reading the bugs.
Comment 3 Pacho Ramos gentoo-dev 2011-09-18 16:25:24 UTC
- bug 331181 -> a comments thinks bug 350059 should block that stabilization, but looks like it's not a regression over current stable (2.12.2) and, then, shouldn't block that.
- bug 360597 -> looks like -r1 can be stabilized
- bug 360601 -> bug 301625 contains a patch that should fix it, about bug 333877 it doesn't seem a regression and, then, shouldn't block stabilization
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-09-19 15:42:52 UTC
(In reply to comment #3)
> - bug 331181 -> a comments thinks bug 350059 should block that stabilization,
> but looks like it's not a regression over current stable (2.12.2) and, then,
> shouldn't block that.
> - bug 360597 -> looks like -r1 can be stabilized
> - bug 360601 -> bug 301625 contains a patch that should fix it, about bug
> 333877 it doesn't seem a regression and, then, shouldn't block stabilization

Nice analysis, now arch teams are called on all the remaining packages. If they find problems, we will drop the stable keywords on them.

@toolchain: Please nail down a specific gcc version and push this forward by calling arch teams, thanks!
Comment 5 SpanKY gentoo-dev 2011-09-19 16:14:46 UTC
let's roll with 4.5.3-r1 if no one has any new complaints
Comment 6 Agostino Sarubbo gentoo-dev 2011-09-19 21:59:12 UTC
Emerged @system ~450 packages no problem, and emerge world ~700 packages on other machine.

amd64 ok
( the bug depends on are already confirmed)
Comment 7 Tony Vroon (RETIRED) gentoo-dev 2011-09-20 13:50:22 UTC
+  20 Sep 2011; Tony Vroon <chainsaw@gentoo.org> gcc-4.5.3-r1.ebuild:
+  Marked stable on AMD64 based on arch testing by Agostino "ago" Sarubbo in bug
+  #357479.
Comment 8 Jeff (JD) Horelick (RETIRED) gentoo-dev 2011-09-21 20:40:26 UTC
Should GCC 4.5 be archtested even though there are 3 depends on this bug?
Comment 9 SpanKY gentoo-dev 2011-09-22 03:45:36 UTC
yes.  those maintainers might move faster if gcc-4.5 were in stable.  or they might not in which case we have packages to tree clean.
Comment 10 Jeff (JD) Horelick (RETIRED) gentoo-dev 2011-09-22 16:18:52 UTC
Archtested on x86 (i686): GCC tests failed, but emerge succeeded (only emerged GCC once with 4.4.5 and once with 4.5.3) and system rebuild succeeded (226 packages).
Comment 11 Myckel Habets 2011-09-22 17:39:52 UTC
I get C++ preprocessor sanity check errors here on x86. Need to investigate this a bit.
Comment 12 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2011-09-23 17:13:59 UTC
ppc/ppc64 stable
Comment 13 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-09-24 17:35:25 UTC
(In reply to comment #11)
> I get C++ preprocessor sanity check errors here on x86. Need to investigate
> this a bit.

I've seen no problems like that here. Could you post the actual error messages?

I've upgraded to gcc-4.5 on my stable x86 machine, rebuilt world, etc. I plan to soon mark it stable after looking at the bug dependencies.
Comment 14 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2011-09-25 01:53:36 UTC
x86 stable, thanks JD and Myckel
Comment 15 Anton Bolshakov 2011-09-28 00:41:49 UTC
I've hit bug #379421 and bug #384739 with gcc-4.5 stabilisation.
That breaks both vmware and virtualbox virtual software (with ~10 other OS images) for me.

I would really appreciate if someone could help to verify virtualbox patch and fix vmware.
Comment 16 Jeroen Roovers (RETIRED) gentoo-dev 2011-10-04 13:56:39 UTC
Stable for HPPA.
Comment 17 Markus Meier gentoo-dev 2011-10-09 16:59:35 UTC
arm stable
Comment 18 Raúl Porcel (RETIRED) gentoo-dev 2011-10-24 17:58:38 UTC
alpha/ia64/s390/sh/sparc stable
Comment 19 Samuli Suominen (RETIRED) gentoo-dev 2012-03-13 10:17:12 UTC
Only m68k missing here.
Comment 20 Steev Klimaszewski (RETIRED) gentoo-dev 2012-08-29 09:56:17 UTC
I'm running into an issue here with this stablization, and could use some guidance into how exactly to file the bug.  The easiest way to reproduce it is to grab the latest stage3 for ARM, (at the time of this writing, it's stage3-armv7a_hardfp-20120730.tar.bz2 ) - do the normal chroot fun times, and then emerge gcc - what I am seeing happen here is that it compiles just fine, fails during postrm:

<<<          dir /usr/lib/gcc/armv7a-hardfloat-linux-gnueabi/4.5.3
<<<          dir /usr/armv7a-hardfloat-linux-gnueabi/gcc-bin/4.5.3
[sys-devel/gcc-4.5.3-r2] bash: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such file or directory

This issue occurs on my MX6 board using SATA.

blueness: the build.log can be found on hardenedmx6 in /chroots/neon/var/tmp/portage/sys-devel/gcc-4.5.4/temp

This is the second time I've seen this occur, and the first time was in a softfp chroot, so I don't think it's hardfp specific.
Comment 21 Anthony Basile gentoo-dev 2012-08-29 10:18:45 UTC
(In reply to comment #20)
> I'm running into an issue here with this stablization, and could use some
> guidance into how exactly to file the bug.  The easiest way to reproduce it
> is to grab the latest stage3 for ARM, (at the time of this writing, it's
> stage3-armv7a_hardfp-20120730.tar.bz2 ) - do the normal chroot fun times,
> and then emerge gcc - what I am seeing happen here is that it compiles just
> fine, fails during postrm:
> 
> <<<          dir /usr/lib/gcc/armv7a-hardfloat-linux-gnueabi/4.5.3
> <<<          dir /usr/armv7a-hardfloat-linux-gnueabi/gcc-bin/4.5.3
> [sys-devel/gcc-4.5.3-r2] bash: error while loading shared libraries:
> libgcc_s.so.1: cannot open shared object file: No such file or directory
> 
> This issue occurs on my MX6 board using SATA.
> 
> blueness: the build.log can be found on hardenedmx6 in
> /chroots/neon/var/tmp/portage/sys-devel/gcc-4.5.4/temp
> 
> This is the second time I've seen this occur, and the first time was in a
> softfp chroot, so I don't think it's hardfp specific.

steev has this running on a board that I also have access too.  I looked at it and the problem is that 

  /etc/ld.so.conf.d/05gcc-armv7a-hardfloat-linux-gnueabi.conf

has

  /usr/lib/gcc/armv7a-hardfloat-linux-gnueabi/4.5.3

instead of

   /usr/lib/gcc/armv7a-hardfloat-linux-gnueabi/4.5.4

So the ld.so cache is looking in the wrong place for libgcc_s.so.1.  The fix is to add the last line to 05gcc-armv7a-hardfloat-linux-gnueabi.conf and then in the root of the chroot do

   chroot . /sbin/ldconfig

You should then be fine.  (This probalby should have been in a separate bug report.)
Comment 22 Ryan Hill (RETIRED) gentoo-dev 2013-01-07 05:29:21 UTC
Done.