-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
'undefined reference' after autofilereloader commit #13755
Comments
Looks like the signal symbol is not autogen correctly. What's strange is your are using 45363b7 but the QML file loader (introducing the |
thats, weird. I'll try to look into it. |
Actually, this is failing to link I think I figured it out. 707a08f Shouldn't this have been caught by the CI though? |
This doesn't seem to occur on Qt 6.2.4 with |
I don't think the qt version matters much. The problem is simply that qmlfilereloader depends on autoreloader, but the latter was not getting linked to the former because the former is part of a different target. I didn't catch this at that time because due to the packaging issues, I'm currently not building the qml target, but those linker errors should've been caught by CI which does build it. |
As I said I cannot reproduce it either, so I don't think it's fair to expect the CI to catch those either. This means that there is something else that seems to come in the equation. |
Hello, |
Thank you for confirming. |
Launchpad has also caught the issue: I was pinged by it but have not instantly found the failing error message which is on line 9523 of 9685. We have also the issue that Launchpad build fails now and then because of stalled tests. So I did a rebuild as a first try. Unlike on Launchpad we use mold as linker on GitHub? This probably manage to find the missing reference in the final link stage. @Swiftb0y I think you can in addition remove src/util/autofilereloader.cpp from mixxx-lib |
Ran into the same issue with my mostly static Linux build, but wasn't sure if this was some issue with my unusual build environment. CI seems to have reproduced it reliably for the past few days: https://github.com/fwcd/m1xxx/actions/runs/11310446122/job/31455509966 |
I could in theory, though the purpose of the |
I don't agree. We should only add currently required link scripts to libraries to avoid to have two time the same function in the linker resources. I think this debacle is an indicator that our library structure is not yet correct. We have a criss cross dependency between mixxx-lib and mixxx-qml-lib which need to be solved. |
I agree that we should start separating mixxx into smaller modules.
I think this is technically more similar to a diamond dependency problem. Why is this a problem? I would expect the linker to deduplicate symbols used multiple times. |
If we still have a way of building the GUI without QML it would be really useful to keep that flag IMO, if only for testing purposes. |
I agree, especially since its currently broken (for me) on fedora 40. |
Bug Description
Hello,
After 45363b7 builds no longer work against main, failing when linking the mixxx executable with the errors below.
Fresh builds (on Gentoo x86, QT 6.7.2) on prior commits run to completion.
Unfortunately I don't have the Qt skills to attempt a patch.
Many thanks for a great piece of software
Matt
Version
34dde6f
OS
gentoo
The text was updated successfully, but these errors were encountered: