[Bug target/61407] Build errors on latest OS X 10.10 Yosemite with Xcode 6 on GCC 4.8.3

2014-07-20 Thread dominyktiller at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61407

Dominyk Tiller  changed:

   What|Removed |Added

 CC||dominyktiller at gmail dot com

--- Comment #13 from Dominyk Tiller  ---
This remains an issue on the latest release of 4.9.1 - 



xgcc: warning: couldn’t understand kern.osversion ‘14.0.0
In file included from /usr/include/stdio.h:65:0,
 from ../../.././libgcc/../gcc/tsystem.h:87,
 from ../../.././libgcc/libgcc2.c:27:
/usr/include/Availability.h:174:44: error: missing binary operator before token
"("
 #if defined(__has_feature) &&
__has_feature(attribute_availability_with_message)
^
In file included from /usr/include/stdio.h:65:0,
 from ../../.././libgcc/../gcc/tsystem.h:87,
 from ../../.././libgcc/libgcc2.c:27:
/usr/include/Availability.h:184:44: error: missing binary operator before token
"("
 #if defined(__has_feature) &&
__has_feature(attribute_availability_app_extension)
^
make[5]: *** [_muldi3.o] Error 1
make[4]: *** [multi-do] Error 1
make[3]: *** [all-multi] Error 2
make[2]: *** [all-stage1-target-libgcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [all] Error 2



The patch provided on 4.8.3 also doesn't apply to 4.9.1, which was pretty much
expected. Is there status/timeline for folding in 10.10 support?

[Bug target/61407] Build errors on latest OS X 10.10 Yosemite with Xcode 6 on GCC 4.8.3

2014-08-22 Thread dominyktiller at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61407

--- Comment #24 from Dominyk Tiller  ---
(In reply to James Clarke from comment #16)
> Created attachment 33180 [details]
> Patch For GCC 4.9.1 On Yosemite
> 
> Requires DP 4 (or above), as I have also removed the fix for Availability.h
> which was only needed in DP 3 and below.

It looks like gcc are gonna require someone to submit this patch to their
mailing list before we see any further activity on this. Could you possibly do
that? Would massively appreciate it. More details are here:
https://gcc.gnu.org/contribute.html