sys-devel/binutils-apple-4.3 fails to build with the following error:
In file included from /usr/include/servers/bootstrap.h:14,
/usr/include/xpc/base.h:64:20: error: missing binary operator before token "("
/usr/include/xpc/base.h:81:18: error: missing binary operator before token "("
Makefile:81: recipe for target 'libtool.o' failed
Created attachment 387916 [details]
Created attachment 387918 [details, diff]
This patch fixes build problems with gcc-apple.
Created attachment 387920 [details]
Ebuild that applies patch above.
this should be the same patch as I did to gcc, right?
I'm not sure, because I don't know what you did to GCC. Is there a bug for reference? The patch is quite simple if want to look at it.
Yes, I guess it's a minor variation of the same thing. Do you have a working prefix too at this point? I think this was the last fix I needed.
nope, I don't. I hope to find time to patch Clang so we can bootstrap with Clang and fix all these problems.
What do we need to do to be able to bootstrap with clang? I know we need to tweak the profile, and somehow use gcc-config to set clang as system compiler, but I'm not familiar enough with these things to know what to do yet. Maybe if you could give me some tips I could start working on it.
Fixed for now due to using clang for python.