-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Fail to build on aarch64 Linux #18353
Comments
@cbjeukendrup @shoogle when you have the opportunity could you please see if you can assist here? |
@hfiguiere If you could submit this patch as a pull request, that would be great! (Especially since we don't really have arm64 Linux machines ready to test) |
I can't because if I do you'll ask me to sign a CLA. |
Okay, that's a pity. (The CLA is not such a big deal in my view, but I respect your choice of course.) For the And for the |
@hfiguiere just drop the .patch file here so we understand what you are talking about. I think you intended to link multiple lines of code https://github.com/musescore/MuseScore/blob/master/src/framework/audio/internal/fx/reverb/simdtypes_neon.h#L61C1-L61C60 but this link is broken and only shows one |
Hi all, yesterday I was trying to build Musescore from the master branch in a Debian based system (Raspberry Pi OS Bullseye for RPi4, aarch64) following the instructions in the Wiki:
I got the same error messages posted here so I went ahead with the solution given, replacing line 73 in simdtypes_neon.h
The "operator[]" errors disappeared, but the ‘float32x4_t’ assignment error was still there. Then I found this PR https://github.com/audacity/audacity/pull/5503/files/4f165d7afcbb7cb2bb9769b02b460d8a2994afc9 in the audacity repository, which fixes the ‘float32x4_t’ assignment error. After a succesful build, I got Musescore to run, being able to create a new score. Nevertheless I couldn't open an existing project because the dialog wouldn't appear, so I installed the "qml-module-qt-labs-platform" package mentioned before (saw something in the debug info about it). Now, despite many warnings and errors in the debug info, I can use it properly. |
The flatpak is built using that patch: |
It'd be quite usefull if package maintainers would send their patches upstream |
|
Not a valid reason IMHO |
IMHO due to the simplicity and only one way of solving the problem the original creator of the patch does not hold any copyright to it and anyone could reasonably PR it to the repo. I will just add to to my open PR as its own commit once I get it in a workable state. |
Issue type
Other type of issue
Bug description
MuseScore 4.1.0-beta fails to build on aarch64 Linux.
Steps to reproduce
Build Linux aarch64 with gcc 12.2.0
Screenshots/Screen recordings
No response
MuseScore Version
4.1.0-beta
Regression
Yes, this used to work in a previous version of MuseScore 4.x
Operating system
Linux aarch64
Additional context
It all in src/framework/audio/internal/fx/reverb/simdtypes_neon.h
https://github.com/musescore/MuseScore/blob/master/src/framework/audio/internal/fx/reverb/simdtypes_neon.h#L73
You need to add GNUC to the #if so that the helper is built with gcc.
https://github.com/musescore/MuseScore/blob/master/src/framework/audio/internal/fx/reverb/simdtypes_neon.h#L61C1-L61C60
the initialization with an initializer list is not allowed in gcc 12.2.0, using simd intrinsics shall be used.
(I do have a working patch)
The text was updated successfully, but these errors were encountered: