[#6813] new ld case fail when running on bfin-linux-uclibc-gcc

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

[#6813] new ld case fail when running on bfin-linux-uclibc-gcc

Submitted By: Mingquan Pan

Open Date

2011-10-13 01:52:07     Close Date

2011-10-13 06:15:42

Priority:

Medium     Assignee:

Nobody

Board:

N/A     Silicon Revision:

Resolution:

Duplicate     Fixed In Release:

N/A

Processor:

BF561     

Host Operating System:

toolchain rev.:

    kernel rev.:

State:

Closed     Found In Release:

N/A

Is this bug repeatable?:

N/A     

Summary: new ld case fail when running on bfin-linux-uclibc-gcc

Details:

 

new ld case fail when running on bfin-linux-uclibc-gcc.

 

New tests that FAIL:

 

bfin-linux-uclibc: --gc-sections with __start_

bfin-linux-uclibc: ld-scripts/empty-address-1

bfin-linux-uclibc: ld-scripts/empty-address-2a

bfin-linux-uclibc: ld-scripts/empty-address-2b

 

 

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

Executing on host: sh -c {bfin-linux-uclibc-as    -o tmpdir/dump0.o /home/test/work/cruise/checkouts/toolchain/binutils-2.21/ld/testsuite/ld-gc/start.s 2>&1}  /dev/null ld.tmp (timeout = 300)

bfin-linux-uclibc-ld  -L/home/test/work/cruise/checkouts/toolchain/binutils-2.21/ld/testsuite/ld-gc  --gc-sections -e _start -o tmpdir/dump tmpdir/dump0.o

Executing on host: sh -c {bfin-linux-uclibc-ld  -L/home/test/work/cruise/checkouts/toolchain/binutils-2.21/ld/testsuite/ld-gc  --gc-sections -e _start -o tmpdir/dump tmpdir/dump0.o  2>&1}  /dev/null ld.tmp (timeout = 300)

tmpdir/dump0.o: In function `start':

(.text+0x0): undefined reference to `_start__foo'

tmpdir/dump0.o: In function `start':

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

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

failed with: <tmpdir/dump0.o: In function `start':

(.text+0x0): undefined reference to `_start__foo'

tmpdir/dump0.o: In function `start':

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

bfin-linux-uclibc-ld: final link failed: Nonrepresentable section on output>, expected: <>

tmpdir/dump0.o: In function `start':

(.text+0x0): undefined reference to `_start__foo'

tmpdir/dump0.o: In function `start':

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

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

failed with: <tmpdir/dump0.o: In function `start':

(.text+0x0): undefined reference to `_start__foo'

tmpdir/dump0.o: In function `start':

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

bfin-linux-uclibc-ld: final link failed: Nonrepresentable section on output>, expected: <>

FAIL: --gc-sections with __start_

Executing on host: sh -c {bfin-linux-uclibc-as    -o tmpdir/dump0.o /home/test/work/cruise/checkouts/toolchain/binutils-2.21/ld/testsuite/ld-scripts/empty-address-2.s 2>&1}  /dev/null ld.tmp (timeout = 300)

bfin-linux-uclibc-ld  -L/home/test/work/cruise/checkouts/toolchain/binutils-2.21/ld/testsuite/ld-scripts  -Ttext 0x0000000 -Tdata 0x2000000 -T empty-address-2a.t -o tmpdir/dump tmpdir/dump0.o

Executing on host: sh -c {bfin-linux-uclibc-ld  -L/home/test/work/cruise/checkouts/toolchain/binutils-2.21/ld/testsuite/ld-scripts  -Ttext 0x0000000 -Tdata 0x2000000 -T empty-address-2a.t -o tmpdir/dump tmpdir/dump0.o  2>&1}  /dev/null ld.tmp (timeout = 300)

tmpdir/dump0.o: In function `start':

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

failed with: <tmpdir/dump0.o: In function `start':

(.text+0x0): warning: cannot emit fixups in read-only section>, expected: <>

tmpdir/dump0.o: In function `start':

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

failed with: <tmpdir/dump0.o: In function `start':

(.text+0x0): warning: cannot emit fixups in reaExecuting on host: sh -c {bfin-linux-uclibc-as    -o tmpdir/dump0.o /home/test/work/cruise/checkouts/toolchain/binutils-2.21/ld/testsuite/ld-scripts/empty-address-2.s 2>&1}  /dev/null ld.tmp (timeout = 300)

bfin-linux-uclibc-ld  -L/home/test/work/cruise/checkouts/toolchain/binutils-2.21/ld/testsuite/ld-scripts  -Ttext 0x0000000 -Tdata 0x2000000 -T empty-address-2a.t -o tmpdir/dump tmpdir/dump0.o

Executing on host: sh -c {bfin-linux-uclibc-ld  -L/home/test/work/cruise/checkouts/toolchain/binutils-2.21/ld/testsuite/ld-scripts  -Ttext 0x0000000 -Tdata 0x2000000 -T empty-address-2a.t -o tmpdir/dump tmpdir/dump0.o  2>&1}  /dev/null ld.tmp (timeout = 300)

tmpdir/dump0.o: In function `start':

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

failed with: <tmpdir/dump0.o: In function `start':

(.text+0x0): warning: cannot emit fixups in read-only section>, expected: <>

tmpdir/dump0.o: In function `start':

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

failed with: <tmpdir/dump0.o: In function `start':

(.text+0x0): warning: cannot emit fixups in read-only section>, expected: <>

FAIL: ld-scripts/empty-address-2a

d-only section>, expected: <>

FAIL: ld-scripts/empty-address-2a

 

 

Follow-ups

 

--- Stuart Henderson                                         2011-10-13 06:19:31

is this not the same as [#6588]?  which was a dupe of [#4238].

 

--- Mingquan Pan                                             2011-10-14 04:19:45

Yeah,it truly is. Since the search tool on gforge page sucks, it can't be

found at the first glance. sorry for the annoyance.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes