1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 05:58:53 +02:00
openwrt/package/libs
Petr Štetiar 12494f5b8a
pcre2: fix host compilation of libselinux by enabling PIC
libselinux-3.5 fails to compile in Fedora 38 container due to the
following:

 cc -O2 -I/openwrt/staging_dir/host/include -I/openwrt/staging_dir/hostpkg/include -I/openwrt/staging_dir/target-x86_64_musl/host/include -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -DUSE_PCRE2 -DPCRE2_CODE_UNIT_WIDTH=8 -I/openwrt/staging_dir/hostpkg/include -L/openwrt/staging_dir/host/lib -L/openwrt/staging_dir/hostpkg/lib -L/openwrt/staging_dir/target-x86_64_musl/host/lib -Wl,-rpath=/openwrt/staging_dir/hostpkg/lib -shared -o libselinux.so.1 avc.lo avc_internal.lo avc_sidtab.lo booleans.lo callbacks.lo canonicalize_context.lo checkAccess.lo check_context.lo checkreqprot.lo compute_av.lo compute_create.lo compute_member.lo compute_relabel.lo compute_user.lo context.lo deny_unknown.lo disable.lo enabled.lo fgetfilecon.lo freecon.lo freeconary.lo fsetfilecon.lo get_context_list.lo get_default_type.lo get_initial_context.lo getenforce.lo getfilecon.lo getpeercon.lo init.lo is_customizable_type.lo label.lo label_db.lo label_file.lo label_media.lo label_support.lo label_x.lo lgetfilecon.lo load_policy.lo lsetfilecon.lo mapping.lo matchmediacon.lo matchpathcon.lo policyvers.lo procattr.lo query_user_context.lo regex.lo reject_unknown.lo selinux_check_securetty_context.lo selinux_config.lo selinux_internal.lo selinux_restorecon.lo sestatus.lo setenforce.lo setexecfilecon.lo setfilecon.lo setrans_client.lo seusers.lo sha1.lo stringrep.lo validatetrans.lo -L/openwrt/staging_dir/hostpkg/lib -lpcre2-8 -lfts -ldl -Wl,-soname,libselinux.so.1,--version-script=libselinux.map,-z,defs,-z,relro
 /usr/bin/ld: /openwrt/staging_dir/hostpkg/lib/libpcre2-8.a(pcre2_compile.c.o): relocation R_X86_64_32S against symbol `_pcre2_ucd_stage1_8' can not be used when making a shared object; recompile with -fPIC
 /usr/bin/ld: failed to set dynamic section sizes: bad value

So lets fix it by enabling build of host static library with the
position independent code option enabled.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
2023-05-28 08:58:07 +02:00
..
argp-standalone treewide: opt-out of tree-wide LTO usage 2023-03-21 18:28:23 +01:00
elfutils treewide: replace PKG_USE_MIPS16:=0 with PKG_BUILD_FLAGS:=no-mips16 2023-03-21 18:28:22 +01:00
gettext-full gettext-full: link to local libunistring 2023-05-15 16:14:44 +02:00
gmp treewide: replace PKG_USE_MIPS16:=0 with PKG_BUILD_FLAGS:=no-mips16 2023-03-21 18:28:22 +01:00
jansson treewide: add support for "lto" in PKG_BUILD_FLAGS 2023-03-21 18:28:22 +01:00
libaudit treewide: replace PKG_USE_MIPS16:=0 with PKG_BUILD_FLAGS:=no-mips16 2023-03-21 18:28:22 +01:00
libbpf bpftools: update, split off bpftool and libbpf packages 2023-05-24 21:17:20 +02:00
libbsd libbsd: fix compilation with musl 1.2.4 2023-05-16 14:31:14 +02:00
libcap libcap: update to 2.69 2023-05-22 18:51:31 +02:00
libevent2 treewide: add support for "lto" in PKG_BUILD_FLAGS 2023-03-21 18:28:22 +01:00
libiconv-full
libjson-c libjson-c: import patch to fix compilation on macos 2023-05-19 13:43:18 +02:00
libmd libmd: add library providing message digest functions 2022-09-11 01:30:11 +02:00
libmnl libmnl: add PKG_CPE_ID 2022-09-06 16:36:44 +01:00
libnetfilter-conntrack
libnfnetlink libnfnetlink: add PKG_CPE_ID 2022-09-06 16:36:45 +01:00
libnftnl treewide: replace AUTORELEASE with real PKG_RELEASE 2023-05-18 11:35:29 +02:00
libnl treewide: add support for "gc-sections" in PKG_BUILD_FLAGS 2023-03-21 18:28:22 +01:00
libnl-tiny libnl-tiny: update to the latest version 2023-04-02 02:25:16 +02:00
libpcap libpcap: update to 1.10.4 2023-04-22 02:35:19 +02:00
libselinux libselinux: update to 3.5 2023-05-18 10:14:13 +02:00
libsemanage libsemanage: update to 3.5 2023-05-18 10:14:13 +02:00
libsepol libsepol: update to 3.5 2023-05-18 10:14:13 +02:00
libtool
libtraceevent libtraceevent: update to 1.7.2 2023-04-01 22:02:24 +02:00
libtracefs libtracefs: update to 1.6.4 2023-01-13 22:02:20 +01:00
libubox libubox: update to the latest version 2022-10-14 13:12:23 +02:00
libunistring libunistring: add from packages feed 2023-05-15 16:14:41 +02:00
libunwind libunwind: update to 1.6.2 2022-09-07 04:22:40 +01:00
libusb treewide: replace AUTORELEASE with real PKG_RELEASE 2023-05-18 11:35:29 +02:00
libxml2 libxml2: update to 2.11.4 2023-05-22 18:52:59 +02:00
mbedtls mbedtls: Update to version 2.28.3 2023-04-10 13:36:26 +02:00
musl-fts
ncurses ncurses: add alacritty terminfo 2023-02-26 01:12:02 +01:00
nettle nettle: update to 3.9 2023-05-20 21:02:18 +02:00
openssl openssl: add linux-riscv64 into the targets list 2023-05-28 13:19:11 +02:00
pcre2 pcre2: fix host compilation of libselinux by enabling PIC 2023-05-28 08:58:07 +02:00
popt popt: update to 1.19 2022-10-02 20:22:54 +02:00
readline readline: update to 8.2 2022-10-23 18:16:22 +02:00
sysfsutils sysfsutils: Define START early in file 2022-09-26 17:58:32 +01:00
toolchain
uclient uclient: update to Git version 2023-04-13 2023-04-13 20:51:05 +02:00
ustream-ssl ustream-ssl: update to Git version 2023-02-25 2023-02-25 18:37:26 +01:00
wolfssl treewide: replace AUTORELEASE with real PKG_RELEASE 2023-05-18 11:35:29 +02:00
zlib treewide: replace AUTORELEASE with real PKG_RELEASE 2023-05-18 11:35:29 +02:00