TARGET is aarch64-linux-musl, 11.2.0 builds all right.
Host is Arch Linux with GCC 14.
../../src_gcc/libiberty/simple-object-mach-o.c: In function ‘simple_object_mach_o_write_segment’:
../../src_gcc/libiberty/simple-object-mach-o.c:1231:17: error: passing argument 1 of ‘set_32’ from incompatible pointer type [-Wincompatible-pointer-types]
1231 | set_32 (&index[i], index[i]);
| ^~~~~~~~~
| |
| unsigned int *
../../src_gcc/libiberty/simple-object-mach-o.c:1231:17: note: expected ‘unsigned char *’ but argument is of type ‘unsigned int *’
TARGET is aarch64-linux-musl, 11.2.0 builds all right. Host is Arch Linux with GCC 14.