[#6124] Some ld tests fail for section error with bfin-linux-uclibc

Document created by Aaronwu Employee on Oct 17, 2013
Version 1Show Document
  • View in full screen mode

[#6124] Some ld tests fail for section error with bfin-linux-uclibc

Submitted By: Vivi Li

Open Date

2010-07-15 05:30:25    

Priority:

Medium     Assignee:

Nobody

Board:

N/A     Silicon Revision:

Resolution:

N/A     Fixed In Release:

N/A

Processor:

ALL     

Host Operating System:

toolchain rev.:

    kernel rev.:

State:

Open     Found In Release:

N/A

Is this bug repeatable?:

N/A     

Summary: Some ld tests fail for section error with bfin-linux-uclibc

Details:

 

Some ld tests fail for section error with bfin-linux-uclibc.

Not regression bug.

 

--

FAIL: ld-elf/warn1

FAIL: NOCROSSREFS 1

FAIL: NOCROSSREFS 3

FAIL: ld-scripts/empty-aligned

FAIL: weak symbols

--

 

 

Log for ld-elf/warn1:

--

bfin-linux-uclibc-as    -o tmpdir/dump0.o /home/test/work/cruise/checkouts/toolchain/binutils-2.17/ld/testsuite/ld-elf/unknown2.s

bfin-linux-uclibc-ld  -L/home/test/work/cruise/checkouts/toolchain/binutils-2.17/ld/testsuite/ld-elf  -shared -o tmpdir/dump tmpdir/dump0.o

bfin-linux-uclibc-readelf  -S tmpdir/dump > tmpdir/dump.out

PASS: ld-elf/unknown2

bfin-linux-uclibc-as    -o tmpdir/dump0.o /home/test/work/cruise/checkouts/toolchain/binutils-2.17/ld/testsuite/ld-elf/start.s

bfin-linux-uclibc-as    -o tmpdir/dump1.o /home/test/work/cruise/checkouts/toolchain/binutils-2.17/ld/testsuite/ld-elf/symbol1ref.s

bfin-linux-uclibc-as    -o tmpdir/dump2.o /home/test/work/cruise/checkouts/toolchain/binutils-2.17/ld/testsuite/ld-elf/symbol1w.s

bfin-linux-uclibc-ld  -L/home/test/work/cruise/checkouts/toolchain/binutils-2.17/ld/testsuite/ld-elf  -T group.ld -o tmpdir/dump tmpdir/dump0.o tmpdir/dump1.o tmpdir/dump2.o

failed with: <tmpdir/dump1.o:(.text+0x0): warning: witty one-liner

tmpdir/dump1.o:(.text+0x0): warning: cannot emit fixups in read-only section

bfin-linux-uclibc-ld: final link failed: Nonrepresentable section on output>, expected: <^[^\\n]*\): warning: witty one-liner$>

tmpdir/dump1.o:(.text+0x0): warning: witty one-liner

tmpdir/dump1.o:(.text+0x0): warning: cannot emit fixups in read-only section

bfin-linux-uclibc-ld: final link failed: Nonrepresentable section on output

failed with: <tmpdir/dump1.o:(.text+0x0): warning: witty one-liner

tmpdir/dump1.o:(.text+0x0): warning: cannot emit fixups in read-only section

bfin-linux-uclibc-ld: final link failed: Nonrepresentable section on output>, expected: <^[^\\n]*\): warning: witty one-liner$>

FAIL: ld-elf/warn1

--

 

Log for NOCROSSREFS 1:

--

Running /home/test/work/cruise/checkouts/toolchain/binutils-2.17/ld/testsuite/ld-scripts/crossref.exp ...

bfin-linux-uclibc-gcc -B/home/test/work/cruise/temp/regtest_build4.3/ld_build/testsuite/tmpdir/gas/ -I/home/test/work/cruise/checkouts/toolchain/binutils-2.17/ld/testsuite/ld-scripts -g -O2 -mcpu=bf537-0.2  -c /home/test/work/cruise/checkouts/toolchain/binutils-2.17/ld/testsuite/ld-scripts/cross1.c -o tmpdir/cross1.o

bfin-linux-uclibc-gcc -B/home/test/work/cruise/temp/regtest_build4.3/ld_build/testsuite/tmpdir/gas/ -I/home/test/work/cruise/checkouts/toolchain/binutils-2.17/ld/testsuite/ld-scripts -g -O2 -mcpu=bf537-0.2  -c /home/test/work/cruise/checkouts/toolchain/binutils-2.17/ld/testsuite/ld-scripts/cross2.c -o tmpdir/cross2.o

bfin-linux-uclibc-ld  -o tmpdir/cross1 -T /home/test/work/cruise/checkouts/toolchain/binutils-2.17/ld/testsuite/ld-scripts/cross1.t tmpdir/cross1.o tmpdir/cross2.o

bfin-linux-uclibc-ld: BFD 2.17 assertion fail /home/test/work/cruise/checkouts/toolchain/binutils-2.17/bfd/elf32-bfin.c:2104

bfin-linux-uclibc-ld: BFD 2.17 assertion fail /home/test/work/cruise/checkouts/toolchain/binutils-2.17/bfd/elf32-bfin.c:2095

bfin-linux-uclibc-ld: BFD 2.17 assertion fail /home/test/work/cruise/checkouts/toolchain/binutils-2.17/bfd/elf32-bfin.c:2104

bfin-linux-uclibc-ld: BFD 2.17 assertion fail /home/test/work/cruise/checkouts/toolchain/binutils-2.17/bfd/elf32-bfin.c:2095

...

bfin-linux-uclibc-ld: BFD 2.17 assertion fail /home/test/work/cruise/checkouts/toolchain/binutils-2.17/bfd/elf32-bfin.c:2095

bfin-linux-uclibc-ld: LINKER BUG: .rofixup section size mismatch

bfin-linux-uclibc-ld: final link failed: Nonrepresentable section on output

FAIL: NOCROSSREFS 1

--

 

 

Log for NOCROSSREFS 3:

--

bfin-linux-uclibc-gcc -B/home/test/work/cruise/temp/regtest_build4.3/ld_build/testsuite/tmpdir/gas/ -I/home/test/work/cruise/checkouts/toolchain/binutils-2.17/ld/testsuite/ld-scripts -g -O2 -mcpu=bf537-0.2  -c /home/test/work/cruise/checkouts/toolchain/binutils-2.17/ld/testsuite/ld-scripts/cross4.c -o tmpdir/cross4.o

bfin-linux-uclibc-ld -m elf32bfinfd -o tmpdir/cross3-partial.o -r tmpdir/cross1.o tmpdir/cross4.o

bfin-linux-uclibc-ld  -o tmpdir/cross3 -T /home/test/work/cruise/checkouts/toolchain/binutils-2.17/ld/testsuite/ld-scripts/cross3.t tmpdir/cross3-partial.o tmpdir/cross2.o

bfin-linux-uclibc-ld: LINKER BUG: .rofixup section size mismatch

FAIL: NOCROSSREFS 3

--

 

 

Log for weak symbols:

--

Running /home/test/work/cruise/checkouts/toolchain/binutils-2.17/ld/testsuite/ld-scripts/weak.exp ...

bfin-linux-uclibc-as   -o tmpdir/weak1.o /home/test/work/cruise/checkouts/toolchain/binutils-2.17/ld/testsuite/ld-scripts/weak1.s

bfin-linux-uclibc-as   -o tmpdir/weak2.o /home/test/work/cruise/checkouts/toolchain/binutils-2.17/ld/testsuite/ld-scripts/weak2.s

bfin-linux-uclibc-ld  -o tmpdir/weak  -T /home/test/work/cruise/checkouts/toolchain/binutils-2.17/ld/testsuite/ld-scripts/weak.t tmpdir/weak1.o tmpdir/weak2.o

tmpdir/weak1.o: In function `foo1':

(.data+0x0): warning: cannot emit fixups in read-only section

FAIL: weak symbols

--

 

 

Log for ld-scripts/empty-aligned:

--

Running /home/test/work/cruise/checkouts/toolchain/binutils-2.17/ld/testsuite/ld-scripts/empty-aligned.exp ...

bfin-linux-uclibc-as    -o tmpdir/dump0.o /home/test/work/cruise/checkouts/toolchain/binutils-2.17/ld/testsuite/ld-scripts/empty-aligned.s

bfin-linux-uclibc-ld  -L/home/test/work/cruise/checkouts/toolchain/binutils-2.17/ld/testsuite/ld-scripts  -T empty-aligned.t -o tmpdir/dump tmpdir/dump0.o

bfin-linux-uclibc-readelf  -l --wide tmpdir/dump > tmpdir/dump.out

regexp_diff match failure

regexp "^ Section to Segment mapping:$"

line   "  GNU_STACK      0x000000 0x00000000 0x00000000 0x00000 0x20000 RWE 0x8"

regexp_diff match failure

regexp "^ +Segment Sections\.\.\.$"

line   " Section to Segment mapping:"

regexp_diff match failure

regexp "^ +00 +.text $"

line   "  Segment Sections..."

extra lines in tmpdir/dump.out starting with "^   00     .text $"

EOF from /home/test/work/cruise/checkouts/toolchain/binutils-2.17/ld/testsuite/ld-scripts/empty-aligned.d

FAIL: ld-scripts/empty-aligned

--

 

Follow-ups

No Messages Were Found

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes