On Tue, Sep 19, 2017 at 1:10 AM, Daniel Santos <daniel.san...@pobox.com> wrote: > Mike, can you take a look at this please? > > On 09/18/2017 10:17 AM, Dominique d'Humières wrote: >> This patch (r252896) breaks bootstrap on x86_64-apple-darwin10 configured >> with >> >> ../work/configure --prefix=/opt/gcc/gcc8w >> --enable-languages=c,c++,fortran,objc,obj-c++,ada,lto --with-gmp=/opt/mp-new >> --with-system-zlib --with-isl=/opt/mp-new --enable-lto --enable-plugin >> >> /opt/gcc/build_w/./gcc/xgcc -B/opt/gcc/build_w/./gcc/ >> -B/opt/gcc/gcc8w/x86_64-apple-darwin10.8.0/bin/ >> -B/opt/gcc/gcc8w/x86_64-apple-darwin10.8.0/lib/ -isystem >> /opt/gcc/gcc8w/x86_64-apple-darwin10.8.0/include -isystem >> /opt/gcc/gcc8w/x86_64-apple-darwin10.8.0/sys-include -g -O2 -O2 -g -O2 >> -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format >> -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem >> ./include -mmacosx-version-min=10.5 -pipe -fno-common -g -DIN_LIBGCC2 >> -fbuilding-libgcc -fno-stack-protector -mmacosx-version-min=10.5 -pipe >> -fno-common -I. -I. -I../.././gcc -I../../../work/libgcc >> -I../../../work/libgcc/. -I../../../work/libgcc/../gcc >> -I../../../work/libgcc/../include -DHAVE_CC_TLS -DUSE_EMUTLS -o >> avx_savms64_s.o -MT avx_savms64_s.o -MD -MP -MF avx_savms64_s.dep -DSHARED >> -c -xassembler-with-cpp ../../../work/libgcc/config/i386/avx_savms64.S >> ../../../work/libgcc/config/i386/savms64.h:47:no such instruction: `vmovaps >> %xmm15,-0x30(%rax)' >> ../../../work/libgcc/config/i386/savms64.h:47:no such instruction: `vmovaps >> %xmm14,-0x20(%rax)' >> ../../../work/libgcc/config/i386/savms64.h:47:no such instruction: `vmovaps >> %xmm13,-0x10(%rax)' >> ../../../work/libgcc/config/i386/savms64.h:47:no such instruction: `vmovaps >> %xmm12, (%rax)' >> ../../../work/libgcc/config/i386/savms64.h:47:no such instruction: `vmovaps >> %xmm11, 0x10(%rax)' >> ../../../work/libgcc/config/i386/savms64.h:47:no such instruction: `vmovaps >> %xmm10, 0x20(%rax)' >> ../../../work/libgcc/config/i386/savms64.h:47:no such instruction: `vmovaps >> %xmm9, 0x30(%rax)' >> ../../../work/libgcc/config/i386/savms64.h:47:no such instruction: `vmovaps >> %xmm8, 0x40(%rax)' >> ../../../work/libgcc/config/i386/savms64.h:47:no such instruction: `vmovaps >> %xmm7, 0x50(%rax)' >> ../../../work/libgcc/config/i386/savms64.h:47:no such instruction: `vmovaps >> %xmm6, 0x60(%rax)' >> make[3]: *** [avx_savms64_s.o] Error 1 >> >> Dominique > > Thanks for the report. AVX has been out since early 2011 and Wikipedia > claims that AVX support was added to OSX in version 10.6.8 in June 2011 > and you seem to be using 10.8.0. I would presume that also means that > the assembler supports it. So I'm going to guess that it's the > "-mmacosx-version-min=10.5" parameter. Can you please try setting that > to 10.6.8 and let me know the result? I don't know what the minimum > system requirements for GCC 8 are going to be, but if it includes these > older versions of OSX then I'll have to figure out how to cope with it > in the libgcc build.
Please look at how libitm handles this issue. Uros.