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
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.
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.
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
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
hmmm, could it be the libffi perhaps?
--- 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*
don't think we can do much here