Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#14118 closed defect (fixed)

Openswan fails to link with trunk r37893

Reported by: anonymous Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: openswan Cc:


At some point between r36542 and r37893 something changed that prevents the openswan package from linking when building firmware for the wndr3700:

make[7]: Entering directory `/home/user1/openwrt/trunk/build_dir/target-mips_r2_uClibc-'
mips-openwrt-linux-uclibc-gcc -o pluto -Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now connections.o initiate.o terminate.o pending.o cookie.o crypto.o defs.o dpd.o foodgroups.o log.o state.o plutomain.o plutoalg.o server.o timer.o hmac.o hostpair.o myid.o ipsec_doi.o ikev1.o ikev1_main.o ikev1_quick.o ikev2.o ikev2_parent.o ikev2_child.o spdb_v2_struct.o ikeping.o kernel.o kernel_netlink.o kernel_klips.o kernel_mast.o kernel_pfkey.o kernel_noklips.o rcv_whack.o demux.o msgdigest.o keys.o dnskey.o pluto_crypt.o crypt_utils.o crypt_ke.o crypt_dh.o crypt_start_dh.o ikev2_crypto.o ikev2_prfplus.o rnd.o spdb.o spdb_struct.o spdb_v1_struct.o spdb_print.o security_selinux.o vendor.o nat_traversal.o virtual.o ike_alg_aes.o ike_alginit.o ikev2_rsa.o ikev2_psk.o ikev2_x509.o ike_alg_sha2.o ike_alg.o ike_alg_status.o db_ops.o xauth.o ikev1_aggr.o ac.o x509.o ocsp.o x509keys.o sysdep_linux.o stubs.o /home/user1/openwrt/trunk/build_dir/target-mips_r2_uClibc- /home/user1/openwrt/trunk/build_dir/target-mips_r2_uClibc- /home/user1/openwrt/trunk/build_dir/target-mips_r2_uClibc- /home/user1/openwrt/trunk/build_dir/target-mips_r2_uClibc- /home/user1/openwrt/trunk/build_dir/target-mips_r2_uClibc- /home/user1/openwrt/trunk/build_dir/target-mips_r2_uClibc- /home/user1/openwrt/trunk/build_dir/target-mips_r2_uClibc- /home/user1/openwrt/trunk/build_dir/target-mips_r2_uClibc- /home/user1/openwrt/trunk/build_dir/target-mips_r2_uClibc- /home/user1/openwrt/trunk/build_dir/target-mips_r2_uClibc- -lcrypt -lgmp /home/user1/openwrt/trunk/build_dir/target-mips_r2_uClibc-
/home/user1/openwrt/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc- connections.o: relocation R_MIPS_26 against `subnetishost' can not be used when making a shared object; recompile with -fPIC
connections.o: could not read symbols: Bad value

I'm not sure of the best way to address this. If adding -fPIC is the correct approach, I don't know where the change to use that flag should be made.


Attachments (0)

Change History (1)

comment:1 Changed 4 years ago by hauke

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

This should be fixed in r40620, but your probably need to wait till #14662 is closed.

Last edited 4 years ago by hauke (previous) (diff)

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.