Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GCC 11.4.0 fails to build #189

Open
krant opened this issue May 11, 2024 · 2 comments · May be fixed by #190
Open

GCC 11.4.0 fails to build #189

krant opened this issue May 11, 2024 · 2 comments · May be fixed by #190

Comments

@krant
Copy link

krant commented May 11, 2024

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 *’
@krant krant linked a pull request May 11, 2024 that will close this issue
@krant
Copy link
Author

krant commented May 11, 2024

It does indeed, thank you!
I've pushed a PR - #190

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants