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#45123 - [gdc] fails compilation of valid source code with fatal error

Attached to Project: Community Packages
Opened by Antonio Corbi bellot (acorbi) - Thursday, 28 May 2015, 17:40 GMT
Last edited by Mihails Strasuns (Dicebot) - Thursday, 24 December 2015, 15:06 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Mihails Strasuns (Dicebot)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Trying to compile valid D source code files with gdc (4.9.2-2, x86_64) always renders this error:

gdc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found

Additional info:
* package version(s): 4.9.2-2 x86_64
* config and/or log files etc.: none


Steps to reproduce:

Try to compile a simple D source code file with this single line: void main () {}

And you'll get this error:
gdc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
This task depends upon

Closed by  Mihails Strasuns (Dicebot)
Thursday, 24 December 2015, 15:06 GMT
Reason for closing:  Fixed
Comment by Mihails Strasuns (Dicebot) - Friday, 29 May 2015, 15:29 GMT
This was an issue of mismatch between gcc version (5.1) and gdc (4.9.2) - gdc package has been updated yesterday to match 5.1
Please upgrade and test again
Comment by Daniel Kozák (kozzi) - Wednesday, 23 December 2015, 09:09 GMT
There is same issue again
Comment by Mihails Strasuns (Dicebot) - Wednesday, 23 December 2015, 16:04 GMT
Same reason (gcc 5.3 was propagated to repo recently). I have asked GDC upstream about proper branch/tag to use with gcc 5.3 base, will update the package after that.
Comment by Daniel Kozák (kozzi) - Wednesday, 23 December 2015, 22:40 GMT
It works OK for me when I change version to 5.3 and rebuild.
Comment by Mihails Strasuns (Dicebot) - Thursday, 24 December 2015, 15:06 GMT
GDC upstream says there will be another stable version for 5.x branch soon but old release for 5.1 will work too. Have uploaded simple 5.3 rebuild just now.

Loading...