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

Cross-compilation build with -march=znver3 fails due to problems in the simde_xx functions #646

Open
yurivict opened this issue Apr 14, 2024 · 2 comments

Comments

@yurivict
Copy link

Version

24.04

Plugin type

Native / JACK

OS

FreeBSD 14.0

DAW / Host (if applicable)

n/a

Description

It looks like Eigen3 calls the bundled simde library, which fails in the case of cross-compilation for some other, in this case znver3, flavor of the processor.
See the log.

The regular build succeeds.

@falkTX
Copy link
Contributor

falkTX commented May 19, 2024

Cardinal is built with the idea to support SSE3 as the minimum, everything else being emulated on top (so any SSE4 calls are done with SSE3 methods)

Specifying a custom -march flag breaks this assumption.
See if removing the line at https://github.com/DISTRHO/Cardinal/blob/main/Makefile.base.mk#L62 makes any difference (starting with a clean build)
Basically on such custom builds we need to remove the use of simde entirely.

@falkTX
Copy link
Contributor

falkTX commented May 19, 2024

oh also remove the whole block at https://github.com/DISTRHO/Cardinal/blob/main/Makefile.base.mk#L109

let me know how it goes for you, if it builds ok then I can consider some new makefile option to deal with this case

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

No branches or pull requests

2 participants