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

Disable LTO when checking for fsin/fcos/fldln2/... #76

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kxxt
Copy link

@kxxt kxxt commented Jun 20, 2023

LTO might interfere with the instruction detection and produce false positives. (The conftest.c compiles with -flto=auto but fails without it)

The build for riscv64 arch linux fails because of this: https://archriscv.felixc.at/.status/log.htm?url=logs/libcaca/libcaca-0.99.beta20-2.log

This PR fixes it.

LTO might interfere with the instruction detection and produce false positives.
(The conftest.c compiles with `-flto=auto` but fails without it)

The build for riscv64 arch linux fails because of this:
https://archriscv.felixc.at/.status/log.htm?url=logs/libcaca/libcaca-0.99.beta20-2.log

This PR fixes it.
kxxt added a commit to kxxt/archriscv-packages that referenced this pull request Jun 21, 2023
Fix instruction detection.
The patch is upstreamed as cacalabs/libcaca#76.
felixonmars pushed a commit to felixonmars/archriscv-packages that referenced this pull request Jun 21, 2023
Fix instruction detection.
The patch is upstreamed as cacalabs/libcaca#76.
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 this pull request may close these issues.

1 participant