Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#78457 - [ldc] wrong runtime used
Attached to Project:
Community Packages
Opened by rk (ryuukk_) - Tuesday, 09 May 2023, 17:26 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 23 May 2023, 21:58 GMT
Opened by rk (ryuukk_) - Tuesday, 09 May 2023, 17:26 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 23 May 2023, 21:58 GMT
|
DetailsDescription:
druntime was put inside the ldc repo, but the build script wasn't updated to reflect that change Additional info: * affected: ldc 3:1.32.1-1 * druntime new place: https://github.com/ldc-developers/ldc/tree/master/runtime My project failed to compile, i didn't understand why: ``` /usr/bin/ld: /usr/lib/ldc_rt.dso.o: in function `_D2rt3dso12register_dsoFZv': dso.d:(.text._D2rt3dso12register_dsoFZv+0x23): undefined reference to `__start___minfo' /usr/bin/ld: dso.d:(.text._D2rt3dso12register_dsoFZv+0x31): undefined reference to `__stop___minfo' /usr/bin/ld: bin/game: hidden symbol `__start___minfo' isn't defined /usr/bin/ld: final link failed: bad value collect2: error: ld returned 1 exit status ``` So i tried the official release of LDC, and my project could compile, so i looked at the PKGBUILD and noticed it uses old druntime, so this error now makes sense! |
This task depends upon
Closed by Toolybird (Toolybird)
Tuesday, 23 May 2023, 21:58 GMT
Reason for closing: Fixed
Additional comments about closing: ldc 3:1.32.2-1
Tuesday, 23 May 2023, 21:58 GMT
Reason for closing: Fixed
Additional comments about closing: ldc 3:1.32.2-1
But LDC isn't using that (old) runtime, so your error points to something else. I've also not been able to reproduce your error locally, so it might be something with your project?
Did you do a full rebuild of your project after updating ldc & liblphobos?