4b7165722c
Recent versions (> 5.33) of `file` report liblto_plugin.so as executable: $ file liblto_plugin.so liblto_plugin.so.0.0.0: ELF 64-bit LSB pie executable ... Which then leads to improper packaging of the plugin, resulting in the broken compiler: configure: checking whether the C compiler works mips-openwrt-linux-musl/bin/ld: liblto_plugin.so: error loading plugin: liblto_plugin.so: invalid ELF header As the LTO compiler plugin library is incorrectly packaged as SDK executable: $ head -1 ~/staging_dir/toolchain...libexec/gcc/.../liblto_plugin.so #!/usr/bin/env bash Fix this by filtering out shared libraries from the patching. Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1296868 Acked-by: Jo-Philipp Wich <jo@mein.io> Signed-off-by: Petr Štetiar <ynezz@true.cz> |
||
---|---|---|
.. | ||
config | ||
flashing | ||
arm-magic.sh | ||
brcmImage.pl | ||
bundle-libraries.sh | ||
cfe-bin-header.py | ||
cfe-partition-tag.py | ||
cfe-wfi-tag.py | ||
checkpatch.pl | ||
clang-gcc-wrapper | ||
clean-package.sh | ||
cleanfile | ||
cleanpatch | ||
combined-ext-image.sh | ||
combined-image.sh | ||
config.guess | ||
config.rpath | ||
config.sub | ||
deptest.sh | ||
diffconfig.sh | ||
dl_cleanup.py | ||
dl_github_archive.py | ||
download.pl | ||
dump-target-info.pl | ||
env | ||
ext-toolchain.sh | ||
feeds | ||
fixup-makefile.pl | ||
functions.sh | ||
gen_image_generic.sh | ||
gen-dependencies.sh | ||
get_source_date_epoch.sh | ||
getver.sh | ||
ipkg-build | ||
ipkg-make-index.sh | ||
ipkg-remove | ||
json_add_image_info.py | ||
json_overview_image_info.py | ||
kconfig.pl | ||
linksys-image.sh | ||
make-ipkg-dir.sh | ||
md5sum | ||
metadata.pm | ||
mkhash.c | ||
mkits-qsdk-ipq-image.sh | ||
mkits.sh | ||
om-fwupgradecfg-gen.sh | ||
package-metadata.pl | ||
pad_image | ||
patch-kernel.sh | ||
patch-specs.sh | ||
portable_date.sh | ||
qemustart | ||
redboot-script.pl | ||
relink-lib.sh | ||
remote-gdb | ||
rstrip.sh | ||
sercomm-crypto.py | ||
sercomm-partition-tag.py | ||
sercomm-payload.py | ||
sign_images.sh | ||
slugimage.pl | ||
srecimage.pl | ||
strip-kmod.sh | ||
symlink-tree.sh | ||
sysupgrade-tar.sh | ||
target-metadata.pl | ||
time.pl | ||
timestamp.pl | ||
ubinize-image.sh |