Closed j-rivero closed 7 years ago
Just had the same problem and ran into https://bugs.archlinux.org/task/43367 - the last comment on that page seemed to help. On my system I used:
sudo ln -s /usr/lib/gcc/x86_64-linux-gnu/4.9.2/liblto_plugin.so /usr/lib/bfd-plugins/
Adjust accordingly for your gcc version and machine. After that, a make clean; make
worked just fine. Essentially it's a minor bug in binutils-2.25.
Oh, and you might have to create that directory first:
sudo mkdir -p /usr/lib/bfd-plugins
Nice ,it's helpful to me . thanks a million
I encounter the same issue on Ubuntu 16.04 Xenial with gcc 5.3.1, but the workaround to symlink liblto_plugin.so into bfd-plugins does not work. Any tips?
Confirmed with Debian, but really needs to make clean.
Same as #33, it's fixed
Trying to compile the openslice current master branch using a gcc 4.9 (default compiler in Ubuntu Vivid) ends up failing with the following message:
The same code can be compiled successfully with gcc 4.8. There is probably some object code missing in that compiler command that did not trigger a failure in 4.8 linker (probably it does not try to resolve references at linking time) but after some changes in linker in gcc version 4.9 now they need to be resolved at linking time.