Bug 11466 - gold fails to build Linux kernel
Summary: gold fails to build Linux kernel
Status: ASSIGNED
Alias: None
Product: binutils
Classification: Unclassified
Component: gold (show other bugs)
Version: 2.21
: P2 normal
Target Milestone: ---
Assignee: Ian Lance Taylor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-02 06:11 UTC by Felix von Leitner
Modified: 2023-01-12 07:17 UTC (History)
3 users (show)

See Also:
Host: x86_64-linux
Target: x86_64-linux
Build: x86_64-linux
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix von Leitner 2010-04-02 06:11:53 UTC
LD      drivers/char/pcmcia/built-in.o
ld: internal error in queue_middle_tasks, at gold.cc:540
make[3]: *** [drivers/char/pcmcia/built-in.o] Error 1
make[2]: *** [drivers/char/pcmcia] Error 2
make[1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2

From a cursory glance it appears that gold fails because it is given an empty 
list of input files...?  Please chance this to return exit code 0.
Comment 1 Ian Lance Taylor 2010-04-02 17:40:10 UTC
Which version of gold?  Which version of the Linux kernel?  Which target?
Comment 2 Felix von Leitner 2010-04-02 17:58:29 UTC
not that it matters, since the error message contains the line number of the 
assert that triggers although it can happen in practice, but here you go:

binutils from cvs head as of yesterday, as I already wrote in the bug report.
target x86_64-linux, as I already wrote in the bug report.
linux kernel 2.6.34-rc3.
Comment 3 Ian Lance Taylor 2010-04-08 00:38:11 UTC
This may have been fixed by a checkin earlier today.  Can you give it another 
try?  Thanks.
Comment 4 Török Edwin 2010-04-10 12:25:39 UTC
I encountered this bug with GNU gold (GNU Binutils for Debian
2.20.51-system.20100405) 1.9, after a 'cvs up' the internal error went away,
with this version: GNU gold (GNU Binutils 2.20.51.20100410) 1.9