-
Notifications
You must be signed in to change notification settings - Fork 11
Closed
Description
I have followed the instructions under Documentation/lto-build and I use/have packaged a binutils from the hjl branch
https://aur.archlinux.org/packages/binutils-hjl-git/
Trying to build branch lto-4.0 fails with ld giving the error message
"plugin needed to handle lto object"
I run "make AR=gcc-ar NM=gcc-nm" but this does not seem to help.
Any other ideas what I have to change? Do I need to re-build GCC with the new binutils?
stock GCC should be built with --enable-plugin and --enable-lto
https://projects.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/gcc-multilib
Should I explicitly give an absolute path to the plugin in CFLAGS or something?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels