Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#1391 - lantiq: lib_ifxos fails to build with PIE with musl #6359

Closed
openwrt-bot opened this issue Feb 26, 2018 · 0 comments
Closed

FS#1391 - lantiq: lib_ifxos fails to build with PIE with musl #6359

openwrt-bot opened this issue Feb 26, 2018 · 0 comments
Labels

Comments

@openwrt-bot
Copy link

dreieck:

When I build OpenWRT with the options
CONFIG_PKG_ASLR_PIE=y
CONFIG_BUSYBOX_DEFAULT_PIE=y
CONFIG_BUSYBOX_CONFIG_PIE=y

build will fail after some time with
mips-openwrt-linux-musl-ld: unrecognized option '-specs=[...]/include/hardened-ld-pie.specs'

Disabling this options mitigates this build error.

The build was carried out on a git clone with latest commit from 2018-02-24T11:24:20+01:00, commit hash 9a0cc49.

To build, a git clone was used, then a previously generated config file by make menuconfig and ./scripts/diffconfig.sh was copied over to .config.

The commands used to build from there were:
make -j1 V=s defconfig
make -j1 V=s download
make -j1 V=s IGNORE_ERRORS=m 2>%1 | tee make.log

Attached you find:

  • The diffconfig file used,
  • the .config file used (generated after a make defconfig),
  • the last parts of the output of make -j1 V=s IGNORE_ERRORS=m 2>&1.

The hardware I tried to build for is
CONFIG_TARGET_lantiq=y
CONFIG_TARGET_lantiq_xway=y
CONFIG_TARGET_lantiq_xway_DEVICE_arcadyan_arv752dpw22=y

The toolchain (staging_dir/toolchain-*) is mips_24kc_gcc-5.5.0_musl.

Build is carried out on a x86_64 Arch Linux machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant