[#7162] ld weak symbols in linux-uclibc test fails

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

[#7162] ld weak symbols in linux-uclibc test fails

Submitted By: Mingquan Pan

Open Date

2012-06-15 03:09:20     Close Date

2012-06-28 05:38:11

Priority:

Medium     Assignee:

Stuart Henderson

Board:

STAMP     Silicon Revision:

Resolution:

Duplicate     Fixed In Release:

N/A

Processor:

ALL     

Host Operating System:

toolchain rev.:

    kernel rev.:

State:

Closed     Found In Release:

N/A

Is this bug repeatable?:

N/A     

Summary: ld weak symbols in linux-uclibc test fails

Details:

 

ld weak symbols fails in: toolchain-2012_Jun_14_19_09/tests/linux-uclibc/ld-2.21.log.

 

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

spawn [open ...]^M

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

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

spawn [open ...]^M

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

Executing on host: sh -c {bfin-linux-uclibc-ld   -o tmpdir/weak  -T /home/test/work/cruise/checkouts/toolchain/binutils-2.21/ld/testsuite/ld-scripts/weak.t tmpdir/weak1.o tmpdir/weak2.o 2>&1}  /dev/null ld.tmp (timeout = 300)

spawn [open ...]^M

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

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

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

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

FAIL: weak symbols

testcase /home/test/work/cruise/checkouts/toolchain/binutils-2.21/ld/testsuite/ld-scripts/weak.exp completed in 0 seconds

 

Follow-ups

 

--- Stuart Henderson                                         2012-06-28 06:38:48

this is a duplicate of:

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

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes