Bug 10862 - gold fails to link qemu - error: address of section '.tbss' moves backward
Summary: gold fails to link qemu - error: address of section '.tbss' moves backward
Status: RESOLVED INVALID
Alias: None
Product: binutils
Classification: Unclassified
Component: gold (show other bugs)
Version: 2.20
: P2 normal
Target Milestone: ---
Assignee: Ian Lance Taylor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-28 15:03 UTC by Priit Laes
Modified: 2009-11-07 05:00 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Priit Laes 2009-10-28 15:03:24 UTC
I'm seeing following errors when trying to build qemu:

[snip]
  LINK  cris-linux-user/qemu-cris
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../x86_64-pc-linux-gnu/bin/ld:
error: address of section '.tbss' moves backward from 0x6017d080 to 0x6017cee0
  LINK  arm-linux-user/qemu-arm
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../x86_64-pc-linux-gnu/bin/ld:
error: address of section '.tbss' moves backward from 0x601e1248 to 0x601e10a8
[/snip]
Comment 1 Ian Lance Taylor 2009-10-29 04:20:00 UTC
It would be very helpful if you could pull together a self-contained test case.
 Thanks.
Comment 2 Priit Laes 2009-11-04 15:40:57 UTC
This seems to be actually parallel-build issue - I cannot reproduce it during `make -j1` build.
Comment 3 Ian Lance Taylor 2009-11-07 02:29:15 UTC
Closing as unrepeatable.  Let me know if you find a test case.
Comment 4 Priit Laes 2009-11-07 04:16:53 UTC
Well, I didn't say it isn't unrepeatable: `make -jN` when N > 1, this issue is reproducable...
Comment 5 Ian Lance Taylor 2009-11-07 05:00:47 UTC
The linker is not affected passing -j2 to make, so I don't see how it could be a
linker problem.  If it is a linker problem, I will need to see a test case which
I can repeat--a command line and a set of input files.