https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107590
--- Comment #10 from Sergey Fedorov <vital.had at gmail dot com> --- Created attachment 53876 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53876&action=edit Preprocessed spinlock_test from 10.6 36-172% /opt/local/bin/g++-mp-11 --save-temps -v spinlock_test.cpp -I/opt/local/libexec/boost/1.79/include -L/opt/local/libexec/boost/1.79/lib -o spinlock_test Using built-in specs. COLLECT_GCC=/opt/local/bin/g++-mp-11 COLLECT_LTO_WRAPPER=/opt/local/libexec/gcc/ppc-apple-darwin10/11.3.0/lto-wrapper Target: ppc-apple-darwin10 Configured with: /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_gcc11/gcc11/work/gcc-11.3.0/configure --prefix=/opt/local --build=ppc-apple-darwin10 --enable-languages=c,c++,objc,obj-c++,lto,fortran,jit --libdir=/opt/local/lib/gcc11 --includedir=/opt/local/include/gcc11 --infodir=/opt/local/share/info --mandir=/opt/local/share/man --datarootdir=/opt/local/share/gcc-11 --with-local-prefix=/opt/local --with-system-zlib --disable-nls --program-suffix=-mp-11 --with-gxx-include-dir=/opt/local/include/gcc11/c++/ --with-gmp=/opt/local --with-mpfr=/opt/local --with-mpc=/opt/local --with-isl=/opt/local --with-zstd=/opt/local --enable-stage1-checking --disable-multilib --enable-lto --enable-libstdcxx-time --with-build-config=bootstrap-debug --with-bugurl=https://trac.macports.org/newticket --enable-host-shared --with-tune-cpu=G5 --disable-tls --with-as=/opt/local/bin/as --with-ld=/opt/local/bin/ld --with-ar=/opt/local/bin/ar --with-pkgversion='MacPorts gcc11 11.3.0_1' Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 11.3.0 (MacPorts gcc11 11.3.0_1) COLLECT_GCC_OPTIONS='-save-temps' '-v' '-I' '/opt/local/libexec/boost/1.79/include' '-L/opt/local/libexec/boost/1.79/lib' '-o' 'spinlock_test' '-mmacosx-version-min=10.6.0' '-asm_macosx_version_min=10.6' '-nodefaultexport' '-shared-libgcc' /opt/local/libexec/gcc/ppc-apple-darwin10/11.3.0/cc1plus -E -quiet -v -I /opt/local/libexec/boost/1.79/include -D__DYNAMIC__ spinlock_test.cpp -fPIC -mmacosx-version-min=10.6.0 -fpch-preprocess -o spinlock_test.ii ignoring nonexistent directory "/opt/local/lib/gcc11/gcc/ppc-apple-darwin10/11.3.0/../../../../../ppc-apple-darwin10/include" #include "..." search starts here: #include <...> search starts here: /opt/local/libexec/boost/1.79/include /opt/local/include/gcc11/c++/ /opt/local/include/gcc11/c++//ppc-apple-darwin10 /opt/local/include/gcc11/c++//backward /opt/local/lib/gcc11/gcc/ppc-apple-darwin10/11.3.0/include /opt/local/include /opt/local/lib/gcc11/gcc/ppc-apple-darwin10/11.3.0/include-fixed /usr/include /System/Library/Frameworks /Library/Frameworks End of search list. COLLECT_GCC_OPTIONS='-save-temps' '-v' '-I' '/opt/local/libexec/boost/1.79/include' '-L/opt/local/libexec/boost/1.79/lib' '-o' 'spinlock_test' '-mmacosx-version-min=10.6.0' '-asm_macosx_version_min=10.6' '-nodefaultexport' '-shared-libgcc' /opt/local/libexec/gcc/ppc-apple-darwin10/11.3.0/cc1plus -fpreprocessed spinlock_test.ii -fPIC -quiet -dumpbase spinlock_test.cpp -dumpbase-ext .cpp -mmacosx-version-min=10.6.0 -version -o spinlock_test.s GNU C++17 (MacPorts gcc11 11.3.0_1) version 11.3.0 (ppc-apple-darwin10) compiled by GNU C version 11.3.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.25-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU C++17 (MacPorts gcc11 11.3.0_1) version 11.3.0 (ppc-apple-darwin10) compiled by GNU C version 11.3.0, GMP version 6.2.1, MPFR version 4.1.0, MPC version 1.2.1, isl version isl-0.25-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: bb9117971f7aa7e0fe2b40679b3b256c COLLECT_GCC_OPTIONS='-save-temps' '-v' '-I' '/opt/local/libexec/boost/1.79/include' '-L/opt/local/libexec/boost/1.79/lib' '-o' 'spinlock_test' '-mmacosx-version-min=10.6.0' '-nodefaultexport' '-shared-libgcc' /opt/local/bin/as -v -I /opt/local/libexec/boost/1.79/include -arch ppc -o spinlock_test.o spinlock_test.s Apple Inc version cctools-localbuild, GNU assembler version 1.38 COMPILER_PATH=/opt/local/libexec/gcc/ppc-apple-darwin10/11.3.0/:/opt/local/libexec/gcc/ppc-apple-darwin10/11.3.0/:/opt/local/libexec/gcc/ppc-apple-darwin10/:/opt/local/lib/gcc11/gcc/ppc-apple-darwin10/11.3.0/:/opt/local/lib/gcc11/gcc/ppc-apple-darwin10/ LIBRARY_PATH=/opt/local/lib/gcc11/gcc/ppc-apple-darwin10/11.3.0/:/opt/local/lib/gcc11/gcc/ppc-apple-darwin10/11.3.0/../../../ COLLECT_GCC_OPTIONS='-save-temps' '-v' '-I' '/opt/local/libexec/boost/1.79/include' '-L/opt/local/libexec/boost/1.79/lib' '-o' 'spinlock_test' '-mmacosx-version-min=10.6.0' '-nodefaultexport' '-shared-libgcc' '-dumpdir' 'spinlock_test.' /opt/local/libexec/gcc/ppc-apple-darwin10/11.3.0/collect2 -dynamic -arch ppc -macosx_version_min 10.6.0 -o spinlock_test -lcrt1.10.5.o -L/opt/local/libexec/boost/1.79/lib -L/opt/local/lib/gcc11/gcc/ppc-apple-darwin10/11.3.0 -L/opt/local/lib/gcc11/gcc/ppc-apple-darwin10/11.3.0/../../.. spinlock_test.o -lstdc++ -lgcc_s.1.1 -lgcc_s.10.5 -lgcc -lSystem -lef_ppc 36-172% /Users/svacchanda/Dev/boost/spinlock_test zsh: bus error /Users/svacchanda/Dev/boost/spinlock_test