iains / gcc-darwin-arm64

GCC master branch for Darwin with experimental support for Arm64. Currently GCC-15.0.0 [September 2024]
GNU General Public License v2.0
268 stars 33 forks source link

Error in Apple's "accelerate.h" #97

Open pkoning2 opened 2 years ago

pkoning2 commented 2 years ago

When trying to build tesseract 5.2.0, I ran into a build failure in one of its files. It turns out the reproduction takes just one line:

#include <Accelerate/Accelerate.h>

Compiling that like this:

aarch64-apple-darwin20-g++ -c foo.cc 2>foo.lis

produces the attached errors. foo.log

iains commented 2 years ago

what version of Xcode and SDK are in use here, please ?

pkoning2 commented 2 years ago

Xcode 13.2.1, Mac OS 11.6.8, SDK MacOSX12.1.sdk

fxcoudert commented 1 year ago

I see that with Xcode 14.1 and the macOS 13 SDK as well. It's an Apple SDK issue, I think. Have you reported it to them? If so, could you provide a feedback (FB) number for reference?