Bug 3801 - ld failures for iq2000-elf on HEAD
Summary: ld failures for iq2000-elf on HEAD
Status: RESOLVED OBSOLETE
Alias: None
Product: binutils
Classification: Unclassified
Component: ld (show other bugs)
Version: 2.18
: P2 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-27 06:38 UTC by Hans-Peter Nilsson
Modified: 2021-06-03 10:39 UTC (History)
1 user (show)

See Also:
Host: i686-pc-linux-gnu
Target: iq2000-elf
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans-Peter Nilsson 2006-12-27 06:38:29 UTC
With HEAD binutils checked out as of Wed, 27 Dec 2006 06:05:09 UTC, I get these
failures for "make check-ld" for --target=iq2000-elf:

Running /mnt/test1/hp/axis/binutils/src/ld/testsuite/ld-checks/checks.exp ...
FAIL: check sections 1
...
Running /mnt/test1/hp/axis/binutils/src/ld/testsuite/ld-elf/elf.exp ...
FAIL: ld-elf/empty
FAIL: ld-elf/empty2
FAIL: ld-elf/group2
FAIL: ld-elf/orphan
FAIL: ld-elf/stab
FAIL: ld-elf/warn2
...
Running /mnt/test1/hp/axis/binutils/src/ld/testsuite/ld-elf/sec64k.exp ...
FAIL: ld-elf/64ksec-r
FAIL: ld-elf/64ksec

with the ld.log file containing:
/mnt/test1/hp/axis/binutils/iq2000/ld/../gas/as-new   -o tmpdir/asm.o
/mnt/test1/hp/axis/binutils/src/ld/testsuite/ld-checks/asm.\
s
/mnt/test1/hp/axis/binutils/iq2000/ld/ld-new  -o tmpdir/asm.x --check-sections
tmpdir/asm.o
/mnt/test1/hp/axis/binutils/iq2000/ld/ld-new: warning: dot moved backwards
before `.data'
/mnt/test1/hp/axis/binutils/iq2000/ld/ld-new: warning: dot moved backwards
before `.data'
/mnt/test1/hp/axis/binutils/iq2000/ld/ld-new: warning: dot moved backwards
before `.data'

FAIL: check sections 1
...
./ld-new  -L/mnt/test1/hp/axis/binutils/src/ld/testsuite/ld-elf   -o tmpdir/dump
tmpdir/dump0.o
succeeded with: <./ld-new: warning: dot moved backwards before `.data'
./ld-new: warning: dot moved backwards before `.data'
./ld-new: warning: dot moved backwards before `.eh_frame'
./ld-new: warning: dot moved backwards before `.data'
./ld-new: warning: dot moved backwards before `.eh_frame'>, expected: <>
./ld-new: warning: dot moved backwards before `.data'
./ld-new: warning: dot moved backwards before `.data'
./ld-new: warning: dot moved backwards before `.eh_frame'
./ld-new: warning: dot moved backwards before `.data'
./ld-new: warning: dot moved backwards before `.eh_frame'
succeeded with: <./ld-new: warning: dot moved backwards before `.data'
./ld-new: warning: dot moved backwards before `.data'
./ld-new: warning: dot moved backwards before `.eh_frame'
./ld-new: warning: dot moved backwards before `.data'
./ld-new: warning: dot moved backwards before `.eh_frame'>, expected: <>
FAIL: ld-elf/empty
/mnt/test1/hp/axis/binutils/iq2000/ld/../gas/as-new    -o tmpdir/dump0.o
/mnt/test1/hp/axis/binutils/src/ld/testsuite/ld-elf/empt\
y2.s
./ld-new  -L/mnt/test1/hp/axis/binutils/src/ld/testsuite/ld-elf   -o tmpdir/dump
tmpdir/dump0.o
succeeded with: <./ld-new: warning: dot moved backwards before `.data'
./ld-new: warning: dot moved backwards before `.data'
./ld-new: warning: dot moved backwards before `.eh_frame'
./ld-new: warning: dot moved backwards before `.data'
./ld-new: warning: dot moved backwards before `.eh_frame'>, expected: <>
./ld-new: warning: dot moved backwards before `.data'
./ld-new: warning: dot moved backwards before `.data'
./ld-new: warning: dot moved backwards before `.eh_frame'
./ld-new: warning: dot moved backwards before `.data'
./ld-new: warning: dot moved backwards before `.eh_frame'
succeeded with: <./ld-new: warning: dot moved backwards before `.data'
./ld-new: warning: dot moved backwards before `.data'
./ld-new: warning: dot moved backwards before `.eh_frame'
./ld-new: warning: dot moved backwards before `.data'
./ld-new: warning: dot moved backwards before `.eh_frame'>, expected: <>
FAIL: ld-elf/empty2
...
./ld-new  -L/mnt/test1/hp/axis/binutils/src/ld/testsuite/ld-elf  -r -o
tmpdir/dump tmpdir/dump0.o
/mnt/test1/hp/axis/binutils/iq2000/ld/../binutils/readelf  -Sg --wide
tmpdir/dump > tmpdir/dump.out
extra regexps in /mnt/test1/hp/axis/binutils/src/ld/testsuite/ld-elf/group2.d
starting with "^  \[[ 0-9]+\] \.text.*[ \t]+PROGBIT\
S[ \t0-9a-f]+AXG.*$"
EOF from tmpdir/dump.out
FAIL: ld-elf/group2
...
./ld-new  -L/mnt/test1/hp/axis/binutils/src/ld/testsuite/ld-elf  -T orphan.ld -o
tmpdir/dump tmpdir/dump0.o
/mnt/test1/hp/axis/binutils/iq2000/ld/../binutils/readelf  -S --wide tmpdir/dump
> tmpdir/dump.out
regexp_diff match failure
regexp "^  \[[ 0-9]+\] \.data[ \t]+PROGBITS[ \t0-9a-f]+WA.*$"
line   "  [ 5] .note.bar         NOTE            00000010 001010 000004 00   A 
0   0  1"
extra regexps in /mnt/test1/hp/axis/binutils/src/ld/testsuite/ld-elf/orphan.d
starting with "^  \[[ 0-9]+\] \.note[ \t]+NOTE[ \t0\
-9a-f]+A.*$"
EOF from tmpdir/dump.out
FAIL: ld-elf/orphan
...
/mnt/test1/hp/axis/binutils/iq2000/ld/../gas/as-new  -gstabs  -o tmpdir/dump0.o
/mnt/test1/hp/axis/binutils/src/ld/testsuite/ld-e\
lf/start.s
./ld-new  -L/mnt/test1/hp/axis/binutils/src/ld/testsuite/ld-elf   -o tmpdir/dump
tmpdir/dump0.o
succeeded with: <./ld-new: warning: dot moved backwards before `.data'
./ld-new: warning: dot moved backwards before `.data'
./ld-new: warning: dot moved backwards before `.eh_frame'
./ld-new: warning: dot moved backwards before `.data'
./ld-new: warning: dot moved backwards before `.eh_frame'>, expected: <>
./ld-new: warning: dot moved backwards before `.data'
./ld-new: warning: dot moved backwards before `.data'
./ld-new: warning: dot moved backwards before `.eh_frame'
./ld-new: warning: dot moved backwards before `.data'
./ld-new: warning: dot moved backwards before `.eh_frame'
succeeded with: <./ld-new: warning: dot moved backwards before `.data'
./ld-new: warning: dot moved backwards before `.data'
./ld-new: warning: dot moved backwards before `.eh_frame'
./ld-new: warning: dot moved backwards before `.data'
./ld-new: warning: dot moved backwards before `.eh_frame'>, expected: <>
FAIL: ld-elf/stab
...
./ld-new  -L/mnt/test1/hp/axis/binutils/src/ld/testsuite/ld-elf  -T group.ld -o
tmpdir/dump tmpdir/dump0.o tmpdir/dump1.o tmpdir/\
dump2.o
succeeded with: <>, expected: <^[^\\n]*\.[obj]+: warning: function 'Foo' used$>

succeeded with: <>, expected: <^[^\\n]*\.[obj]+: warning: function 'Foo' used$>
FAIL: ld-elf/warn2
...
./ld-new  -L/mnt/test1/hp/axis/binutils/src/ld/testsuite/ld-elf  -r -o
tmpdir/dump tmpdir/dump0.o tmpdir/dump1.o tmpdir/dump2.o t\
mpdir/dump3.o tmpdir/dump4.o tmpdir/dump5.o tmpdir/dump6.o tmpdir/dump7.o
tmpdir/dump8.o tmpdir/dump9.o tmpdir/dump10.o tmpdir/du\
mp11.o tmpdir/dump12.o tmpdir/dump13.o tmpdir/dump14.o tmpdir/dump15.o
tmpdir/dump16.o tmpdir/dump17.o tmpdir/dump18.o tmpdir/dum\
p19.o tmpdir/dump20.o tmpdir/dump21.o tmpdir/dump22.o tmpdir/dump23.o
tmpdir/dump24.o tmpdir/dump25.o tmpdir/dump26.o tmpdir/dump\
27.o tmpdir/dump28.o tmpdir/dump29.o tmpdir/dump30.o tmpdir/dump31.o
tmpdir/dump32.o tmpdir/dump33.o
/mnt/test1/hp/axis/binutils/iq2000/ld/../binutils/readelf  -W -Ss tmpdir/dump >
tmpdir/dump.out
extra regexps in tmpdir/64ksec-r.d starting with "^ 340..: 0+(2|4|8)[ ]+0[
]+NOTYPE[ ]+LOCAL[ ]+DEFAULT[ ]+[23] bar_1$$"
EOF from tmpdir/dump.out
FAIL: ld-elf/64ksec-r
...
/mnt/test1/hp/axis/binutils/iq2000/ld/../gas/as-new    -o tmpdir/dump65.o
/mnt/test1/hp/axis/binutils/iq2000/ld/tmpdir/sec64-65.s
./ld-new  -L/mnt/test1/hp/axis/binutils/src/ld/testsuite/ld-elf   -o tmpdir/dump
tmpdir/dump0.o tmpdir/dump1.o tmpdir/dump2.o tmp\
dir/dump3.o tmpdir/dump4.o tmpdir/dump5.o tmpdir/dump6.o tmpdir/dump7.o
tmpdir/dump8.o tmpdir/dump9.o tmpdir/dump10.o tmpdir/dump\
11.o tmpdir/dump12.o tmpdir/dump13.o tmpdir/dump14.o tmpdir/dump15.o
tmpdir/dump16.o tmpdir/dump17.o tmpdir/dump18.o tmpdir/dump1\
9.o tmpdir/dump20.o tmpdir/dump21.o tmpdir/dump22.o tmpdir/dump23.o
tmpdir/dump24.o tmpdir/dump25.o tmpdir/dump26.o tmpdir/dump27\
.o tmpdir/dump28.o tmpdir/dump29.o tmpdir/dump30.o tmpdir/dump31.o
tmpdir/dump32.o tmpdir/dump33.o tmpdir/dump34.o tmpdir/dump35.\
o tmpdir/dump36.o tmpdir/dump37.o tmpdir/dump38.o tmpdir/dump39.o
tmpdir/dump40.o tmpdir/dump41.o tmpdir/dump42.o tmpdir/dump43.o\
 tmpdir/dump44.o tmpdir/dump45.o tmpdir/dump46.o tmpdir/dump47.o tmpdir/dump48.o
tmpdir/dump49.o tmpdir/dump50.o tmpdir/dump51.o \
tmpdir/dump52.o tmpdir/dump53.o tmpdir/dump54.o tmpdir/dump55.o tmpdir/dump56.o
tmpdir/dump57.o tmpdir/dump58.o tmpdir/dump59.o t\
mpdir/dump60.o tmpdir/dump61.o tmpdir/dump62.o tmpdir/dump63.o tmpdir/dump64.o
tmpdir/dump65.o
failed with: <./ld-new: warning: dot moved backwards before `.data'
./ld-new: warning: dot moved backwards before `.foo.1'
./ld-new: warning: dot moved backwards before `.data'
./ld-new: warning: dot moved backwards before `.eh_frame'
./ld-new: warning: dot moved backwards before `.foo.1'
./ld-new: warning: dot moved backwards before `.data'
./ld-new: warning: dot moved backwards before `.eh_frame'
./ld-new: warning: dot moved backwards before `.foo.1'
./ld-new: section .foo.513 [00001000 -> 00001007] overlaps section .eh_frame
[00001000 -> 00001003]
./ld-new: tmpdir/dump: section .foo.513 lma 0x1000 overlaps previous sections
./ld-new: tmpdir/dump: section .foo.514 lma 0x1008 overlaps previous sections
(many more similar, pruned for brevity)
./ld-new: tmpdir/dump: section .foo.66000 lma 0x80e78 overlaps previous sections
/mnt/test1/hp/axis/binutils/iq2000/ld/../binutils/readelf  -W -Ss tmpdir/dump >
tmpdir/dump.out
readelf: Error: 'tmpdir/dump': No such file
FAIL: ld-elf/64ksec
Comment 1 Alan Modra 2021-06-03 10:39:08 UTC
iq2000 looks good currently