Modify

Opened 8 years ago

Closed 8 years ago

#6930 closed defect (fixed)

[packages] lvm2 needs to be built with -fPIC

Reported by: nico Owned by: developers
Priority: normal Milestone: Backfire 10.03
Component: packages Version: backfire 10.03 RC1
Keywords: Cc:

Description

make -C libdm device-mapper
make[5]: Entering directory `/home/openwrt/backfire/build/ar71xx/build_dir/target-mips_r2_uClibc-0.9.30.1/LVM2.2.02.60/libdm'
mips-openwrt-linux-uclibc-gcc -shared -Wl,-soname,libdevmapper.so.1.02 \
        -Os -pipe -mips32r2 -mtune=mips32r2 -funit-at-a-time -fhonour-copts -msoft-float -I/home/openwrt/backfire/build/ar71xx/staging_dir/target-mips_r2_uClibc-0.9.30.1/usr/include -I/home/openwrt/backfire/build/ar71xx/staging_dir/target-mips_r2_uClibc-0.9.30.1/include -I/home/openwrt/backfire/build/ar71xx/staging_dir/toolchain-mips_r2_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/include -I/home/openwrt/backfire/build/ar71xx/staging_dir/toolchain-mips_r2_gcc-4.3.3+cs_uClibc-0.9.30.1/include -Wl,--version-script,.export.sym -L/home/openwrt/backfire/build/ar71xx/staging_dir/target-mips_r2_uClibc-0.9.30.1/usr/lib -L/home/openwrt/backfire/build/ar71xx/staging_dir/target-mips_r2_uClibc-0.9.30.1/lib -L/home/openwrt/backfire/build/ar71xx/staging_dir/toolchain-mips_r2_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/lib -L/home/openwrt/backfire/build/ar71xx/staging_dir/toolchain-mips_r2_gcc-4.3.3+cs_uClibc-0.9.30.1/lib  -Wl,--export-dynamic -L../libdm -L../lib datastruct/bitset.o datastruct/hash.o datastruct/list.o libdm-common.o libdm-file.o libdm-deptree.o libdm-string.o libdm-report.o mm/dbg_malloc.o mm/pool.o regex/matcher.o regex/parse_rx.o regex/ttree.o ioctl/libdm-iface.o -lreadline  -ldl -lncurses  -o ioctl/libdevmapper.so
/home/openwrt/backfire/build/ar71xx/staging_dir/toolchain-mips_r2_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/lib/gcc/mips-openwrt-linux-uclibc/4.3.3/../../../../mips-openwrt-linux-uclibc/bin/ld: datastruct/bitset.o: relocation R_MIPS_26 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
datastruct/bitset.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[5]: *** [ioctl/libdevmapper.so] Error 1
make[5]: Leaving directory `/home/openwrt/backfire/build/ar71xx/build_dir/target-mips_r2_uClibc-0.9.30.1/LVM2.2.02.60/libdm'

Attachments (0)

Change History (1)

comment:1 Changed 8 years ago by florian

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

Fixed with r20423.

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.