Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 311239 - sys-devel/gcc-4.4.3 causes many issues on ia64-hpux platforms
Summary: sys-devel/gcc-4.4.3 causes many issues on ia64-hpux platforms
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All HPUX
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-24 21:59 UTC by Jeremy Olexa (darkside) (RETIRED)
Modified: 2011-04-06 17:55 UTC (History)
0 users

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


Attachments
gcc-4.4.3/temp/build.log (build.log,1.20 MB, text/plain)
2010-03-26 16:30 UTC, Jeremy Olexa (darkside) (RETIRED)
Details
"build.log" sorta (python.output,6.81 KB, text/plain)
2010-03-26 18:17 UTC, Jeremy Olexa (darkside) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-03-24 21:59:01 UTC
Man, this is a fun one.

I have gcc-4.4.3 installed. It cannot compile itself because of some segf. Then when it goes to compile python, it breaks python in some weird way such that emerge is non-functional. I realize that I am short of details here but I don't know what else to provide at the moment. I am locally masking >4.2.4
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-03-25 14:16:43 UTC
I'm not quite sure it is a gcc-4.4.3 issue. Here is why:

To workaround my broken python, I did the following steps:
% rm usr/bin/python
% # Note the gcc version was 4.4.3
% ./bootstrap-prefix.sh $EPREFIX/tmp python
% gcc-config ia64-hp-hpux11.23-4.2.4
% emerge python
% emerge portage

I'll get a build.log from the python explosion soon.
Comment 2 Michael Haubenwallner (RETIRED) gentoo-dev 2010-03-25 14:55:14 UTC
I've discovered same problems on hppa-hpux too:
Compiling gcc-4.3/4.4 using gcc-4.2 works, but 4.3/4.4 cannot rebuild themselve.
But didn't really dig into it.
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-03-26 16:30:34 UTC
Created attachment 225341 [details]
gcc-4.4.3/temp/build.log

For the record, here is the gcc-4.4.3 build.log, looks similar to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31379 but I am not sure how to troubleshoot it anymore.

[ebuild   R   ] sys-devel/gcc-4.4.3  USE="(-altivec) -bootstrap -build -doc (-fixed-point) -fortran -gcj -graphite -gtk (-hardened) (-libffi) -mudflap (-multilib) -multislot (-n32) (-n64) -nls -nocxx -nptl -objc -objc++ -objc-gc -openmp -test -vanilla" 0 kB
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-03-26 18:17:24 UTC
Created attachment 225351 [details]
"build.log" sorta

Here is python exploding at me. There is no build.log because portage removed it, or it wasn't created. After portage "finishes" installing python, my python installation is useless and none of it works. Then, I have to recover python with ./bootstrap-prefix.sh and this works regardless of gcc version!

gcc-4.2.4 with python-2.6.4-r1 from the tree = works
gcc-4.4.3 with python-2.6.4-r1 from the tree = broken
gcc-4.4.3 with python-2.6.4 from ./bootstrap-prefix.sh = works
Comment 5 Fabian Groffen gentoo-dev 2010-03-26 18:19:58 UTC
hmmm, could it be the libffi perhaps?
Comment 6 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-03-26 21:30:21 UTC
--- package.mask        5 Aug 2009 09:48:43 -0000       1.3
+++ package.mask        26 Mar 2010 21:29:40 -0000
@@ -4,5 +4,5 @@
 
 # Michael Haubenwallner <haubi@gentoo.org> (16 Jul 2009)
 # Is blocked by QA check 'implicit pointer usage warnings' on ia64-hpux.
-# Cannot recompile itself on hppa-hpux.
-=sys-devel/gcc-4.3*
+# Cannot recompile itself on hppa-hpux and ia64-hpux. bug 311239
+>=sys-devel/gcc-4.3*
Comment 7 Fabian Groffen gentoo-dev 2011-04-06 17:55:58 UTC
don't think we can do much here