* minimal version requirement for ld
@ 2019-01-23 9:23 Cao jin
0 siblings, 0 replies; only message in thread
From: Cao jin @ 2019-01-23 9:23 UTC (permalink / raw)
To: LKML, Linux Kbuild mailing list; +Cc: Masahiro Yamada, Nicholas Piggin
Hi,
(Not sure I am sending the right place)
Documentation/process/changes.rst says the minimal version for binutils
is 2.20. I am trying the binutils-2.20.51.0.2-5.48.el6.x86_64.rpm of
Centos6 on Fedora28, and it give me:
HOSTCC scripts/basic/fixdep
/usr/bin/ld: unrecognized option '-plugin'
/usr/bin/ld: use the --help option for usage information
collect2: error: ld returned 1 exit status
make[2]: *** [scripts/Makefile.host:90: scripts/basic/fixdep] Error 1
make[1]: *** [Makefile:464: scripts_basic] Error 2
make: *** No rule to make target 'include/config/auto.conf', needed by
'include/config/kernel.release'. Stop.
make: *** Waiting for unfinished jobs....
HOSTCC scripts/basic/fixdep
/usr/bin/ld: unrecognized option '-plugin'
/usr/bin/ld: use the --help option for usage information
collect2: error: ld returned 1 exit status
make[1]: *** [scripts/Makefile.host:90: scripts/basic/fixdep] Error 1
make: *** [Makefile:464: scripts_basic] Error 2
Then I tried adding:
HOSTCFLAGS_fixdep.o := -fno-use-linker-plugin
in scripts/basic/Makefile, and it give me:
HOSTCC scripts/basic/fixdep
/usr/bin/ld: BFD version 2.20.51.0.2-5.48.el6 20100205 internal error,
aborting at reloc.c line 443 in bfd_get_reloc_size
/usr/bin/ld: Please report this bug.
collect2: error: ld returned 1 exit status
make[2]: *** [scripts/Makefile.host:90: scripts/basic/fixdep] Error 1
make[1]: *** [Makefile:464: scripts_basic] Error 2
make: *** No rule to make target 'include/config/auto.conf', needed by
'include/config/kernel.release'. Stop.
Any idea on this problem? Or anyone has ever tried ld 2.20 successfully?
--
Sincerely,
Cao jin
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-01-23 9:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-23 9:23 minimal version requirement for ld Cao jin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).