#19771: buildroot/strongswan: 5.3.0 regression - ipsec won't start when build
with
CONFIG_USE_STRIP=y
--------------------------------+----------------------------------
Reporter: Damian Kaczkowski | Owner: developers
Type: defect | Status: closed
Priority: normal | Milestone: Chaos Calmer (trunk)
Component: base system | Version: Trunk
Resolution: moved_to_github | Keywords:
--------------------------------+----------------------------------
Comment (by jow):
The path cleanup explicitely retains stuff beneath /usr/lib, so
/usr/lib/ipsec is not cleared out. I also test-compiled strongswan here
and didn't notice any "removing rpath /usr/lib/ipsec" in the build log.
And indeed, its not an rstrip issue:
{{{
$ ./staging_dir/toolchain-
arm_cortex-a9+vfpv3_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/bin/arm-openwrt-
linux-readelf -d ./build_dir/target-
arm_cortex-a9+vfpv3_uClibc-0.9.33.2_eabi/strongswan-5.3.0/ipkg-
install/usr/lib/ipsec/stroke | grep RPATH
0x0000000f (RPATH) Library rpath: [/usr/lib/ipsec]
}}}
It also ends up in the .ipk:
{{{
$ tar -Oxzf bin/omap/packages/packages/strongswan-mod-
stroke_5.3.0-1_omap.ipk ./data.tar.gz | tar -Oxz ./usr/lib/ipsec/starter >
starter.elf
$ ./staging_dir/toolchain-
arm_cortex-a9+vfpv3_gcc-4.8-linaro_uClibc-0.9.33.2_eabi/bin/arm-openwrt-
linux-readelf -d starter.elf | grep RPATH
0x0000000f (RPATH) Library rpath: [/usr/lib/ipsec]
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/19771#comment:3>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets