Date: Fri, 12 Sep 2014 17:26:24 +0400 From: Andrey Chernov <ache@freebsd.org> To: Gerald Pfeifer <gerald@pfeifer.com> Cc: ports@FreeBSD.org Subject: Re: Can't build lang/gcc port on i386: segmentation fault Message-ID: <5412F480.8070100@freebsd.org> In-Reply-To: <5412EFED.9000100@freebsd.org> References: <5412D743.70005@freebsd.org> <alpine.LSU.2.11.1409121400460.2669@tuna.site> <5412E4A1.7040101@freebsd.org> <5412E64E.7050701@freebsd.org> <alpine.LSU.2.11.1409121436401.2669@tuna.site> <5412EFED.9000100@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12.09.2014 17:06, Andrey Chernov wrote: > On 12.09.2014 16:42, Gerald Pfeifer wrote: >> On Fri, 12 Sep 2014, Andrey Chernov wrote: >>>> As I just found, it builds with BOOTSTRAP nice, so apparently clang >>>> makes some damage. You can see CFLAGS in the log. Swap is 4GB I think it >>>> is large enough. Nothing special otherwise. >>> BTW, previous 4.7* as lang/gcc build fine even without BOOTSTRAP. >> >> I am curious, what happens when you try lang/gcc48? >> >> My expectation would be both lang/gcc and lang/gcc48 to behave >> the same, since it's a very similar codebase, gcc48 just a bit >> newer on the same branch. >> >> We could make BOOTSTRAP the default for lang/gcc, though not >> doing that and thus building a lot faster has been one of the >> features of lang/gcc. -- Since it does not reproduce for me, >> do others see the same failure? > > Segfault is exact the same but comes from strange place - in the middle > of configure check. I will try with MAKE_JOBS_UNSAFE=yes > With MAKE_JOBS_UNSAFE error finally shown in proper place, but remains (it was misplaces in original lang/gcc report too, different file compiled in the log, not O2g.gch): mkdir -p ./i386-portbld-freebsd10.1/bits/stdc++.h.gch /usr/ports/lang/gcc48/work/build/./gcc/xgcc -shared-libgcc -B/usr/ports/lang/gcc48/work/build/./gcc -nostdinc++ -L/usr/ports/lang/gcc48/work/build/i386-portbld-freebsd10.1/libstdc++-v3/src -L/usr/ports/lang/gcc48/work/build/i386-portbld-freebsd10.1/libstdc++-v3/src/.libs -B/usr/local/i386-portbld-freebsd10.1/bin/ -B/usr/local/i386-portbld-freebsd10.1/lib/ -isystem /usr/local/i386-portbld-freebsd10.1/include -isystem /usr/local/i386-portbld-freebsd10.1/sys-include -x c++-header -nostdinc++ -g -O2 -pipe -march=core2 -DLIBICONV_PLUG -fno-strict-aliasing -DLIBICONV_PLUG -I/usr/ports/lang/gcc48/work/build/i386-portbld-freebsd10.1/libstdc++-v3/include/i386-portbld-freebsd10.1 -I/usr/ports/lang/gcc48/work/build/i386-portbld-freebsd10.1/libstdc++-v3/include -I/usr/ports/lang/gcc48/work/gcc-4.8-20140904/libstdc++-v3/libsupc++ -O2 -g /usr/ports/lang/gcc48/work/gcc-4.8-20140904/libstdc++-v3/include/precompiled/stdc++.h -o i386-portbld-freebsd10.1/bits/stdc++.h.gch/O2g.gch In file included from /usr/ports/lang/gcc48/work/gcc-4.8-20140904/libstdc++-v3/include/precompiled/stdc++.h:94:0: /usr/ports/lang/gcc48/work/build/i386-portbld-freebsd10.1/libstdc++-v3/include/valarray:1233:1: internal compiler error: Segmentation fault } // namespace ^ no stack trace because unwind library not available Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. gmake[6]: *** [i386-portbld-freebsd10.1/bits/stdc++.h.gch/O2g.gch] Error 1 -- http://ache.vniz.net/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5412F480.8070100>