During the fixupPhase, we can see that patchelf complains that it's not finding a dynamic section:
Running phase: fixupPhase
shrinking RPATHs of ELF executables and libraries in /nix/store/jaw6zd4z8fdh98i029dmv59lsx27nxc2-includeos_example-static-x86_64-unknown-linux-musl-dev
shrinking /nix/store/jaw6zd4z8fdh98i029dmv59lsx27nxc2-includeos_example-static-x86_64-unknown-linux-musl-dev/net_slaac.elf.bin
patchelf: cannot find section '.dynamic'. The input file is most likely statically linked
Our builds are always statically built, this is correct.
The fix for this is most likely just enabling a flag to inform patchelf that its input is a static file. I assume this is not harmful in anyway, but it'd be nice to get rid of the warning.
During the fixupPhase, we can see that
patchelfcomplains that it's not finding a dynamic section:Our builds are always statically built, this is correct.
The fix for this is most likely just enabling a flag to inform patchelf that its input is a static file. I assume this is not harmful in anyway, but it'd be nice to get rid of the warning.