gcc-darwin-arm64 icon indicating copy to clipboard operation
gcc-darwin-arm64 copied to clipboard

GCC master branch for Darwin with experimental support for Arm64. Currently GCC-14.0.0 [November 2023]

Results 36 gcc-darwin-arm64 issues
Sort by recently updated
recently updated
newest added

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 ``` Compiling...

This is with commit 31499d1 of 2023-11-22. Build compiler: GCC 13.1.0, aarch64-apple-darwin21 ``` ld: address=0x0 points to section(3) with no content in '/Volumes/Miscellaneous3/aarch64/14.0.0/gcc/aarch64-apple-darwin21/libgomp/.libs/target-indirect.o' ``` Configure script, with `$BUILD=aarch64-apple-darwin21` `$SDKROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk` where...

At [gcc/ada/adaint.c:611](https://github.com/gcc-mirror/gcc/blob/master/gcc/ada/adaint.c#L611) we have ``` /* By default, we suppose filesystems aren't case sensitive on Windows and Darwin (but they are on arm-darwin). */ #if defined (WINNT) || defined (__DJGPP__)...

Here's a first attempt calling `sysctlbyname("hw.cpufamily", …)` At some point, we might want to fill in the blanks for older models, but definitely no hurry :)

This patch skips building `libemutls_w.a` if shared libraries are disabled, because `libemutls_w.a` depends on `emutls_s.o`.

The current code assumes Linux and uses /proc/cpuinfo and/or a CPUINFO env var (but again parsing for Linux-specific content)

From OpenBLAS https://github.com/xianyi/OpenBLAS/issues/4212 We want to compile SVE-enabled code with `gcc -march=armv8.4-a+sve -mtune=neoverse-v1`. The full compilation line is: `gcc-13 -O2 -DMAX_STACK_ALLOC=2048 -fopenmp -Wall -DF_INTERFACE_GFORT -fPIC -DDYNAMIC_ARCH -DSMP_SERVER -DUSE_OPENMP -DNO_WARMUP -DMAX_CPU_NUMBER=56...

This is related to [GCC PR 110467](https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110467). That PR says that the problem only arises when Ada is enabled, which might explain why it's not been seen already. I found...