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

Combination of CROSS= and NOLOGPATH= breaks PATH #16

Open
natecain opened this issue May 11, 2022 · 0 comments
Open

Combination of CROSS= and NOLOGPATH= breaks PATH #16

natecain opened this issue May 11, 2022 · 0 comments

Comments

@natecain
Copy link

natecain commented May 11, 2022

Command: ./scripts/mkroot.sh dropbear CROSS=aarch64 NOLOGPATH=1 V=s

Expectation: Root is built with a cross-compiled dropbear, the same as if NOLOGPATH had not been specified

Result: cross compiler is not seen in path. Configure for dropbear detects and uses host compiler, resulting in a build with the host compiler. Then ${CROSS_COMPILE}strip dropbearmulti fails with /home/user/toybox/ccc/aarch64-linux-musleabi-cross/bin/aarch64-linux-musleabi-strip: Unable to recognise the format of the input file 'dropbearmulti'

Mitigation: compiling without NOLOGPATH specified seems to always work correctly

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

No branches or pull requests

1 participant