Modify

Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#9335 closed defect (fixed)

lvm2 fails to compile due to missing -fPIC

Reported by: ddxx0n Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

In /changeset/26754.html -fPIC was removed from the compiler options for lvm2 for one reason or another, and this is what breaks my build. Simply re-adding $(FPIC) solves it.

/build/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-linaro_uClibc-0.9.32/lib/gcc/mips-openwrt-linux-uclibc/4.5.2/../../../../mips-openwrt-linux-uclibc/bin/ld:
/datastruct/bitset.o: relocation R_MIPS_26 against `dm_pool_zalloc' can not be used when making a shared object; recompile with -fPIC
datastruct/bitset.o: could not read symbols: Bad value

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by jow

  • Resolution set to fixed
  • Status changed from new to closed

Fixed with r26793, thanks.

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

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


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

 
Note: See TracTickets for help on using tickets.