Opened 9 years ago

Closed 9 years ago

#4492 closed defect (worksforme)


Reported by: dwrobel@… Owned by: nico
Priority: normal Milestone:
Component: toolchain Version:
Keywords: mipsel, R_MIPS_HI16, uclibc, 0.9.30 Cc:


An attempt to compile revision 14167 with the following configuration:
platform: wgt634u (bcrm47xx ), kernel: 2.6.28, uclibc: 0.9.30, gcc: 4.3.2 failed at linking dbus:

...mipsel-openwrt-linux-uclibc/lib/Scrt1.o: relocation R_MIPS_HI16 against `__gnu_local_gp' can not be used when making a shared object; recompile with -fPIC

regenerating the Scrt1.o object with the -fpic option fixes the problem.

Attachments (1)

binutils-2.19.1.patch (6.6 KB) - added by d.wrobel@… 9 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 9 years ago by nico

  • Component changed from packages to toolchain
  • Owner changed from developers to nico
  • Status changed from new to assigned

Confirmed with the following:

  • arch: mipsel
  • linux:
  • binutils: 2.19
  • gcc: 4.3.2
  • uclibc: 0.9.30

Worked with earlier versions of binutils

Changed 9 years ago by d.wrobel@…


comment:2 Changed 9 years ago by d.wrobel@…

BTW: If it would be possible to update the binutils to the version 2.19.1, please find attached appropriate patch.

comment:3 Changed 9 years ago by nico

Update applied in [14393], thanks! The bug is still present though :(

comment:4 Changed 9 years ago by nico

  • Resolution set to worksforme
  • Status changed from assigned to closed

Working now with recent trunk [15014] and the following:

  • binutils: 2.19.1
  • gcc: 4.3.3
  • uclibc:

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.