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

./configure --enable-frame-pointers fails if CC contains an absolute path #10677

Closed
copy opened this issue Oct 4, 2021 · 0 comments · Fixed by #10679
Closed

./configure --enable-frame-pointers fails if CC contains an absolute path #10677

copy opened this issue Oct 4, 2021 · 0 comments · Fixed by #10679

Comments

@copy
Copy link
Contributor

copy commented Oct 4, 2021

For example:

$ CC=/opt/x86_64-linux-musl-native/bin/gcc ./configure --enable-frame-pointers
configure: Configuring OCaml version 4.13.1
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for ld... ld
checking how to print strings... printf
checking for gcc... /opt/x86_64-linux-musl-native/bin/gcc
checking whether the C compiler works... yes
…
checking for sigwait... yes
checking whether the assembler supports --debug-prefix-map... yes
checking whether the assembler supports CFI directives... yes
configure: error: frame pointers not supported on this platform

I believe this configure script is at fault, which should check for CC containing "gcc", not starting with it (as is done in other places, although not everywhere).

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.

1 participant