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/
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to