FS#59968 - GDC 8.2.0 broken ~ cannot find liblto_plugin.so due to path mismatches

Attached to Project: Community Packages
Opened by Kyle Devir (QuartzDragon) - Friday, 07 September 2018, 11:19 GMT
Last edited by Filipe Laíns (FFY00) - Sunday, 09 September 2018, 15:48 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To 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:

Every time:

"[valmar@valmar-desktop Engine]$ gdc main.d
gdc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found
compilation terminated."

Additional info:
* package version(s)

gcc 8.2.1+20180831-1
gdc 8.2.0+2.068.2-6
libgphobos 8.2.0+2.068.2-6

Steps to reproduce:

Install latest GDC and try to compile a .d file.

GDC is trying to look in `/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0` while GCC is installed in `/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.1`.

Alternatively, is there a GDC 8.2.1 release?
This task depends upon

Closed by  Filipe Laíns (FFY00)
Sunday, 09 September 2018, 15:48 GMT
Reason for closing:  Fixed
Additional comments about closing:  gdc 8.2.1+2.068.2-2
Comment by Filipe Laíns (FFY00) - Sunday, 09 September 2018, 15:34 GMT
Can you confirm me that `gdc 8.2.1+2.068.2-2` fixes the problem?
Comment by Kyle Devir (QuartzDragon) - Sunday, 09 September 2018, 15:42 GMT
Fixed now! Thanks Filipe. :)

I noticed the changes as I was syncing the community repo, and built it to see if it worked, and it did, so that's good. :)
Comment by Filipe Laíns (FFY00) - Sunday, 09 September 2018, 15:48 GMT
It actually worked for me in `gdc 8.2.1+2.068.2-1` but then a few hours later when I was testing a project it didn't. No clue why :/

At least the issue described should be fixed by compiling against GCC 8.2.1 so I am gonna close this.

If it fails again, it *shouldn't* be for this reason.

Feel free to open a new bug if you have any problems :)
Next time just remember to open it in the "Community Packages" project ;)

Loading...