Community Packages

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!
Tasklist

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
Task Type Bug Report
Category Packages
Status Closed
Assigned To Dan Printzell (Wild)
Filipe LaĆ­ns (FFY00)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

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
Comment by Dan Printzell (Wild) - Thursday, 11 May 2023, 19:48 GMT
Hi, Thanks for notifying that the ldc PKGBUILD still had the old runtime listed under sources, forgot to remove those lines.
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?

Loading...