This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/63810] gcc sets incorrect macro for OS X deployment targets


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

--- Comment #6 from howarth at bromo dot med.uc.edu ---
The proposed patch for gcc trunk fails to build here against r217590

/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/./prev-gcc/xg++
-B/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/./prev-gcc/
-B/sw/lib/gcc5.0/x86_64-apple-darwin14.0.0/bin/ -nostdinc++
-B/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/prev-x86_64-apple-darwin14.0.0/libstdc++-v3/src/.libs
-B/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/prev-x86_64-apple-darwin14.0.0/libstdc++-v3/libsupc++/.libs

-I/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/prev-x86_64-apple-darwin14.0.0/libstdc++-v3/include/x86_64-apple-darwin14.0.0

-I/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/prev-x86_64-apple-darwin14.0.0/libstdc++-v3/include
 -I/sw/src/fink.build/gcc50-5.0.0-1000/gcc-5-20141114/libstdc++-v3/libsupc++
-L/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/prev-x86_64-apple-darwin14.0.0/libstdc++-v3/src/.libs
-L/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/prev-x86_64-apple-darwin14.0.0/libstdc++-v3/libsupc++/.libs
-c  -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g -O2  -gtoggle
-DIN_GCC    -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall
-Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Werror -fno-common  -DHAVE_CONFIG_H -I. -I.
-I../../gcc-5-20141114/gcc -I../../gcc-5-20141114/gcc/.
-I../../gcc-5-20141114/gcc/../include
-I../../gcc-5-20141114/gcc/../libcpp/include -I/sw/include -I/sw/include 
-I../../gcc-5-20141114/gcc/../libdecnumber
-I../../gcc-5-20141114/gcc/../libdecnumber/dpd -I../libdecnumber
-I../../gcc-5-20141114/gcc/../libbacktrace  -DCLOOG_INT_GMP -I/sw/include
-I/sw/include -o darwin-c.o -MT darwin-c.o -MMD -MP -MF ./.deps/darwin-c.TPo
-DGCC_INCLUDE_DIR=\"/sw/lib/gcc5.0/lib/gcc/x86_64-apple-darwin14.0.0/5.0.0/include\"
-DFIXED_INCLUDE_DIR=\"/sw/lib/gcc5.0/lib/gcc/x86_64-apple-darwin14.0.0/5.0.0/include-fixed\"
-DGPLUSPLUS_INCLUDE_DIR=\"/sw/lib/gcc5.0/lib/gcc/x86_64-apple-darwin14.0.0/5.0.0/../../../../include/c++/5.0.0\"
-DGPLUSPLUS_INCLUDE_DIR_ADD_SYSROOT=0
-DGPLUSPLUS_TOOL_INCLUDE_DIR=\"/sw/lib/gcc5.0/lib/gcc/x86_64-apple-darwin14.0.0/5.0.0/../../../../include/c++/5.0.0/x86_64-apple-darwin14.0.0\"
-DGPLUSPLUS_BACKWARD_INCLUDE_DIR=\"/sw/lib/gcc5.0/lib/gcc/x86_64-apple-darwin14.0.0/5.0.0/../../../../include/c++/5.0.0/backward\"
-DLOCAL_INCLUDE_DIR=\"/usr/local/include\"
-DCROSS_INCLUDE_DIR=\"/sw/lib/gcc5.0/lib/gcc/x86_64-apple-darwin14.0.0/5.0.0/../../../../x86_64-apple-darwin14.0.0/sys-include\"
-DTOOL_INCLUDE_DIR=\"/sw/lib/gcc5.0/lib/gcc/x86_64-apple-darwin14.0.0/5.0.0/../../../../x86_64-apple-darwin14.0.0/include\"
-DNATIVE_SYSTEM_HEADER_DIR=\"/usr/include\" -DPREFIX=\"/sw/lib/gcc5.0/\"
-DSTANDARD_EXEC_PREFIX=\"/sw/lib/gcc5.0/lib/gcc/\" 
../../gcc-5-20141114/gcc/config/darwin-c.c
../../gcc-5-20141114/gcc/config/darwin-c.c: In function âconst char*
version_as_modern_macro(const long unsigned int*)â:
../../gcc-5-20141114/gcc/config/darwin-c.c:711:7: error: comparison between
signed and unsigned integer expressions [-Werror=sign-compare]
       != ((major > 9) ? sizeof "999999" : sizeof "99999") - 1)
       ^
cc1plus: all warnings being treated as errors
../../gcc-5-20141114/gcc/config/t-darwin:26: recipe for target 'darwin-c.o'
failed
make[3]: *** [darwin-c.o] Error 1
make[3]: Leaving directory
'/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir/gcc'
Makefile:4368: recipe for target 'all-stage2-gcc' failed
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory '/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir'
Makefile:20616: recipe for target 'stage2-bubble' failed
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory '/sw/src/fink.build/gcc50-5.0.0-1000/darwin_objdir'
Makefile:906: recipe for target 'all' failed
make: *** [all] Error 2

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]