https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80204
Eric Gallager <egallager at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #7 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to simon from comment #6) > Selected output from "gcc empty.c -v -Wl,-v" on macOS 10.14.1 (darwin > 18.2.0), > with gcc 9.0.0 20181103 built on x86_64-apple-darwin15, correctly showing > -mmacosx-version-min=10.14.0 & equivalents throughout. > > Equivalent success with 8.1.0. > > -------------------------------------------------------- > > Target: x86_64-apple-darwin15 > Configured with: /Volumes/Miscellaneous/tmp/gcc/configure > --prefix=/Volumes/Miscellaneous/tmp/opt/gcc-9.0.0 > --without-libiconv-prefix --disable-libmudflap --disable-libstdcxx-pch > --disable-libsanitizer --disable-libcc1 --disable-libcilkrts > --disable-multilib --disable-nls --enable-languages=c,c++,ada > --disable-bootstrap --host=x86_64-apple-darwin15 > --target=x86_64-apple-darwin15 --build=x86_64-apple-darwin15 > --with-boot-ldflags='-static-libstdc++ -static-libgcc > -Wl,-headerpad_max_install_names' > Thread model: posix > gcc version 9.0.0 20181103 (experimental) (GCC) > COLLECT_GCC_OPTIONS='-v' '-mmacosx-version-min=10.14.0' > '-asm_macosx_version_min=10.14' '-mtune=core2' > /opt/gcc-9.0.0/bin/../libexec/gcc/x86_64-apple-darwin15/9.0.0/cc1 > -quiet -v -iprefix > /opt/gcc-9.0.0/bin/../lib/gcc/x86_64-apple-darwin15/9.0.0/ > -D__DYNAMIC__ empty.c -fPIC -quiet -dumpbase empty.c > -mmacosx-version-min=10.14.0 -mtune=core2 -auxbase empty -version > -o /var/folders/_q/fvnxz46903z9hjh38fz0lyhm0000gs/T//cc2Zzpgh.s > > -------------------------------------------------------- > > as -arch x86_64 -v -force_cpusubtype_ALL -mmacosx-version-min=10.14 > -o /var/folders/_q/fvnxz46903z9hjh38fz0lyhm0000gs/T//cc9YzAyh.o > /var/folders/_q/fvnxz46903z9hjh38fz0lyhm0000gs/T//cc2Zzpgh.s > Apple LLVM version 10.0.0 (clang-1000.10.44.4) > Target: x86_64-apple-darwin18.2.0 > Thread model: posix > InstalledDir: /Library/Developer/CommandLineTools/usr/bin > "/Library/Developer/CommandLineTools/usr/bin/clang" -cc1as > -triple x86_64-apple-macosx10.14.0 -filetype obj > -main-file-name cc2Zzpgh.s -target-cpu penryn -fdebug-compilation-dir > /Users/simon/tmp -dwarf-debug-producer Apple LLVM version 10.0.0 > (clang-1000.10.44.4) -dwarf-version=4 -mrelocation-model pic -o > /var/folders/_q/fvnxz46903z9hjh38fz0lyhm0000gs/T//cc9YzAyh.o > /var/folders/_q/fvnxz46903z9hjh38fz0lyhm0000gs/T//cc2Zzpgh.s > > -------------------------------------------------------- > > /usr/bin/ld -dynamic -arch x86_64 -macosx_version_min 10.14.0 > -weak_reference_mismatches non-weak -o a.out > -L/opt/gcc-9.0.0/bin/../lib/gcc/x86_64-apple-darwin15/9.0.0 > -L/opt/gcc-9.0.0/bin/../lib/gcc > -L/opt/gcc-9.0.0/bin/../lib/gcc/x86_64-apple-darwin15/9.0.0/../../.. > -v /var/folders/_q/fvnxz46903z9hjh38fz0lyhm0000gs/T//cc9YzAyh.o > -no_compact_unwind -lSystem -lgcc_ext.10.5 -lgcc -lSystem -v So, that sounds like a "yes, this can be closed"