https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67710

--- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot 
Uni-Bielefeld.DE> ---
Unfortunately, it doesn't work on Mac OS X 10.11.2: every link test
FAILs with

FAIL: 17_intro/freestanding.cc (test for excess errors)
Excess errors:
ld: warning: object file
(/var/folders/1d/k16rgv6d5039jhvlj8_dzk4h00021y/T//cc0iIoOX.o) was built for
newer OSX version (10.11.2) than being linked (10.11)

I've found that while ld strips the micro version passed to
-mmacosx_version_min, clang does not, resulting in this mess.  Given
that ld(1) documents the version number format as <major>.<minor>, for
now it seems that gcc should only pass this to as and ld.

Looking...

        Rainer

Reply via email to