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

Call undeclared function vaeseq_u8 on ARM arch #53

Open
alexandrkirilov opened this issue May 30, 2023 · 6 comments
Open

Call undeclared function vaeseq_u8 on ARM arch #53

alexandrkirilov opened this issue May 30, 2023 · 6 comments

Comments

@alexandrkirilov
Copy link

alexandrkirilov commented May 30, 2023

The Qt version is 6.2.8. On MacOS Ventura with XCode 14.3 not working. But On MacOS Monterey with XCode 14.2 all is working.

Screen Shot 2023-05-30 at 18 53 02
@alexandrkirilov
Copy link
Author

alexandrkirilov commented May 30, 2023

This trouble is more fundamental. Somehow it's related to ARM decryption. It's happening on Android too. It's about SQLite3.

@alexandrkirilov alexandrkirilov changed the title Can't build on MacOS Ventura with XCode 14.3 Call undeclared function vaeseq_u8 May 30, 2023
@alexandrkirilov
Copy link
Author

This is logs from Android
Screen Shot 2023-05-30 at 20 27 25

@alexandrkirilov alexandrkirilov changed the title Call undeclared function vaeseq_u8 Call undeclared function vaeseq_u8 on ARM arch May 30, 2023
@alexandrkirilov
Copy link
Author

alexandrkirilov commented May 31, 2023

This trouble not appearing with Qt 6.2.8 and XCode 13.3.1 For everything higher - not working. There are troubles with building SQLite3. Already tried to find solution https://forum.qt.io/topic/145462/iso-c99-and-later-do-not-support-implicit-function-declarations-on-macos-how-to-fix

@alexandrkirilov
Copy link
Author

alexandrkirilov commented Jun 2, 2023

New update.
This trouble happening with Qt 6.2.8 arm64_v8 arch for Android with any version of Qt. All other archs is working. Tested with ndk 22.1 and 25.1 (Qt Creator defaults) and with Qt 6.2.8 and 6.5.0 and 6.5.1 on MacOS with XCode 13.3.1 and 14.2 and 14.3 on Intel and M1 devices.

@alexandrkirilov
Copy link
Author

Could someone write something where to find solution for it?

@realericzh
Copy link

try this:

macos {
    contains(QMAKE_HOST.arch, "arm64") {
        QMAKE_CFLAGS += -mcpu=apple-m1
    } else {
        QMAKE_CFLAGS += -march=native
    }
}

it works for me,Apple M2

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