Am 04/29/12 14:18, schrieb Dimitry Andric: > On 2012-04-29 12:54, O. Hartmann wrote: >> On a FreeBSD 10-CURRENT/amd64 box the compilation/update of the port >> lang/gcc46 fails with the below shown error. >> >> Since the port compiles well on FreeBSD 9 and another FreeBSD 10 box >> (all amd64, CLANG built), I feel a bit confused since the setup is >> almost the same on all boxes. The machine in question is the most modern >> box, equipted with a Core i7-3930K: > ... > ... >> gmake[3]: *** [s-tm-texi] Segmentation fault: 11 (core dumped) >> gmake[3]: *** Waiting for unfinished jobs.... > > What happens if you simply repeat the build? If the segfault occurs at > different stages every time, you might simply have bad RAM. Another > possibility is that the build is out of memory, in that case you could > try running it without multiple make jobs (e.g. set DISABLE_MAKE_JOBS).
Repeating the build ends up at the same "stage" as it stopped when
building on regular basis - for my understanding.
I also disabled building with parallel make jobs as recommended - with
no effect.
Also, I tried to build lang/gcc46 with "portmaster -f lang/gcc46", with
the same result - bad.
Maybe I should recompile texinfo or whatever this core-dumping *.texi
triggers?
Regards,
Oliver
[...]
--no-split -I . -I .././../gcc-4.6-20120420/gcc/doc \
-I .././../gcc-4.6-20120420/gcc/doc/include -o
doc/gcc.info .././../gcc-4.6-20120420/gcc/doc/gcc.texi; \
fi
build/genhooks \
.././../gcc-4.6-20120420/gcc/doc/tm.texi.in > tmp-tm.texi
gmake[3]: *** [s-tm-texi] Segmentation fault: 11 (core dumped)
gmake[3]: Leaving directory `/usr/ports/lang/gcc46/work/build/gcc'
gmake[2]: *** [all-stage1-gcc] Error 2
gmake[2]: Leaving directory `/usr/ports/lang/gcc46/work/build'
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory `/usr/ports/lang/gcc46/work/build'
gmake: *** [bootstrap-lean] Error 2
*** [do-build] Error code 1
Stop in /usr/ports/lang/gcc46.
*** [build] Error code 1
Stop in /usr/ports/lang/gcc46.
===>>> make failed for lang/gcc46
===>>> Aborting update
signature.asc
Description: OpenPGP digital signature
