25204357 /usr/bin/dot is crashing on s12-114
authorNorm Jacobs <Norm.Jacobs@Oracle.COM>
Tue, 06 Dec 2016 16:01:32 -0800
changeset 7446 f420f2219a19
parent 7445 41ea11d1d1e5
child 7447 1c3fefbb8cf8
25204357 /usr/bin/dot is crashing on s12-114
components/gcc3/Makefile
components/gcc4/Makefile
--- a/components/gcc3/Makefile	Tue Dec 06 15:40:36 2016 -0800
+++ b/components/gcc3/Makefile	Tue Dec 06 16:01:32 2016 -0800
@@ -85,6 +85,9 @@
 CONFIGURE_OPTIONS.sparc +=	--without-gnu-as --with-as=$(USRBINDIR)/as
 CONFIGURE_OPTIONS.i386 +=	--with-gnu-as --with-as=$(GNUBIN)/as
 
+COMPONENT_BUILD_ENV +=	gcc_cv_as_ix86_gotoff_in_data=yes
+COMPONENT_BUILD_ENV +=	gcc_cv_as_tls=yes
+
 COMPONENT_BUILD_ENV += STAGE1_CFLAGS="$(CFLAGS)"
 COMPONENT_BUILD_ENV += CFLAGS_FOR_TARGET="$(CFLAGS)"
 COMPONENT_BUILD_ENV += SHELL=$(CONFIG_SHELL)
--- a/components/gcc4/Makefile	Tue Dec 06 15:40:36 2016 -0800
+++ b/components/gcc4/Makefile	Tue Dec 06 16:01:32 2016 -0800
@@ -101,6 +101,7 @@
 CONFIGURE_OPTIONS +=	--with-mpfr-include=$(USRINCDIR)/mpfr
 CONFIGURE_OPTIONS +=	--without-gnu-ld --with-ld=$(USRBINDIR)/ld
 CONFIGURE_OPTIONS +=	--with-gnu-as --with-as=$(GNUBIN)/as
+CONFIGURE_OPTIONS +=	--enable-tls
 
 # If the compiler used to build matches the compiler being built, there is no
 # need for a 3 stage build.