Skip to content

Combination of CROSS= and NOLOGPATH= breaks PATH #16

@natecain

Description

@natecain

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions