# HG changeset patch # User Norm Jacobs # Date 1481068892 28800 # Node ID f420f2219a199e2daee60cd4ca58e514465c598a # Parent 41ea11d1d1e50e4a02636fa56b0b22c8094d21ba 25204357 /usr/bin/dot is crashing on s12-114 diff -r 41ea11d1d1e5 -r f420f2219a19 components/gcc3/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) diff -r 41ea11d1d1e5 -r f420f2219a19 components/gcc4/Makefile --- 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.