Can't build lang/gcc port on i386: segmentation fault

Jan Beich jbeich at vfemail.net
Fri Sep 12 19:31:02 UTC 2014


Lena at lena.kiev.ua writes:

>> With recent ports tree on stable-10 i386 attempting to build lang/gcc
>> always cause segfault at this place.
>
>> /usr/ports/lang/gcc/work/build/i386-portbld-freebsd10.1/libstdc++-v3/include/valarray:1233:1: internal compiler error: Segmentation fault
>>  } // namespace
>>  ^
>
> lang/gcc (4.8.3 and 4.8.3_1) successfully built under 8.4 i386, but
> using gcc-4.8.3_1 for building firefox-esr-24.7.0,1 also segfaults:
>
> dtrace -x nolibs -G -C -s ../../../js/src/devtools/javascript-trace.d -o mozjs-d
> trace.o ArgumentsObject.o ...
> gmake[3]: *** [mozjs-dtrace.o] Segmentation fault: 11 (core dumped)
> gmake[3]: Leaving
> `/usr/ports/www/firefox-esr/work/mozilla-esr24/obj-i386-portbld-freebsd8.4/js/src'

Not related to lang/gcc. Try poking on dtrace@ maillist to find out
which commits in /stable/10 fix C++ userland tracing.

  # from Mk/bsd.gecko.mk
  .if ${PORT_OPTIONS:MDTRACE}
  . if ${OSVERSION} < 1000510
  BROKEN=			dtrace -G crashes with C++ object files
  ...

> I know that firefox-esr in fresh ports tree is 31, but I don't want
> to upgrade firefox to Australis (29+). So, after upgrading lang/gcc
> to gcc-4.8.3_1 I installed also gcc47-4.7.4_1,1.

Partial updates are not supported. www/libxul still tracks esr24 until
esr31 is unbroken so you can copy patches from there like a fix for
--disable-dtrace in files/patch-bug1046224.

-------------------------------------------------

VFEmail.net - http://www.vfemail.net
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!  


More information about the freebsd-ports mailing list