[#6798] LINKER BUG: .rofixup section size mismatch

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

[#6798] LINKER BUG: .rofixup section size mismatch

Submitted By: Stuart Henderson

Open Date

2011-09-20 10:26:31     Close Date

2012-06-08 11:23:03

Priority:

Medium High     Assignee:

Stuart Henderson

Board:

N/A     Silicon Revision:

Resolution:

Fixed     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?:

yes     

Summary: LINKER BUG: .rofixup section size mismatch

Details:

 

The attached test case causes an error when compiled optimised and debug:

shender ~/t/a> cat ../rofixup.c

static int CallFunctionRec(int (*fun)()) {

  CallFunctionRec(fun);

  return 1;

}

 

static int CallFunction(int (*fun)()) {

  return CallFunctionRec(fun);

}

 

static int callback() {

  return 0;

}

 

int main() {

  CallFunction(callback);

  return 0;

}

shender ~/t/a> bfin-linux-uclibc-gcc ../rofixup.c -O3 -g

/home/shender/gnu/toolchain/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.5.3/../../../../bfin-linux-uclibc/bin/ld: LINKER BUG: .rofixup section size mismatch

/home/shender/gnu/toolchain/bfin-linux-uclibc/lib/gcc/bfin-linux-uclibc/4.5.3/../../../../bfin-linux-uclibc/bin/ld: final link failed: Nonrepresentable section on output

collect2: ld returned 1 exit status

 

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