When trying to emerge texlive-core on either amd64 or ppc64, both with 64-bit userland, the build process crashes with the following messages (example from amd64): creating dvips x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -DUNIX -DKPATHSEA -DNeedFunctionPrototypes -DSHIFTLOWCHARS -march=athlon64 -O3 -pipe -funroll-loops -fomit-frame-pointer -c squeeze.c x86_64-pc-linux-gnu-gcc -o squeeze -Wl,-O1 squeeze.o ./squeeze <tex.lpro >t-tex.pro mv t-tex.pro tex.pro ./squeeze <texps.lpro >t-texps.pro mv t-texps.pro texps.pro /bin/sh ./texc.script ./tex.lpro texc.lpro ./texc.script: line 12: 7382 Segmentation fault ed $1 <<edscriptend /% begin code for uncompressed fonts only/d .,/% end code for uncompressed fonts only/d .,/% end of code for unpacking compressed fonts/s/% // w $2 edscriptend make[2]: *** [texc.lpro] Error 139 make[2]: Leaving directory `/var/tmp/portage/app-text/texlive-core-2008-r4/work/texlive-20080816-source/texk/dvipsk' make[1]: *** [all] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-text/texlive-core-2008-r4/work/texlive-20080816-source/texk' make: *** [all] Error 1 Reproducible: Always Steps to Reproduce: 1. Have 64-bit userland. 2. Emerge app-text/texlive-core-2008-r4. Or any of the myriad packages that depend on it somehow. 3. There is no step 3. Actual Results: Something segfaults in the build process, halting it. Expected Results: Texlive, and all the gunge that depends on it as of last week, installing successfully. The ptex ebuild dies with the same messages, if I hack my useflags and keywords far enough to make it the default dependency for tex stuff. Since it appears to be 'ed' that actually crashes, I tried upgrading ed from 1.0 to 1.3. This had no effect. Building texlive-core works fine on a ppc32 machine. Haven't tried it on x86 yet, but I think you'd hear about it if that had broken. I don't even use tetex myself - this is just pulled in by other stuff!
Created attachment 188000 [details] emerge --info from amd64
Created attachment 188002 [details] emerge --info from ppc64
I installed texlive-core-2008-r4 four days ago without problems on amd64. You should try again with -O2.
Tried it with -O3 and works for me. Maybe it's your gcc. Try again with the stable version.
(In reply to comment #4) > Tried it with -O3 and works for me. Maybe it's your gcc. Try again with the > stable version. Okay, I do seem to have a keyworded gcc on the amd64 box. I'll try the older version. But that doesn't explain the identical failure on ppc64, as that machine is still running gcc 4.1.2. Or maybe that is *too* old?
Could you please attach the full build.log? If it is really ed that crashes, try rebuilding it with -O2.
(In reply to comment #6) > Could you please attach the full build.log? If it is really ed that crashes, > try rebuilding it with -O2. On both machines, rebuilding sys-apps/ed with more conservative CFLAGS (basically, CPU -O2 -pipe) allowed texlive-core to compile successfully. Which means I now have to file a bug against *ed* of all things.
(In reply to comment #7) > (In reply to comment #6) > > Could you please attach the full build.log? If it is really ed that crashes, > > try rebuilding it with -O2. > > On both machines, rebuilding sys-apps/ed with more conservative CFLAGS > (basically, CPU -O2 -pipe) allowed texlive-core to compile successfully. Marking this bug as INVALID then.