Hi

I got a build error:

https://buildd.debian.org/status/fetch.php?pkg=nsd&arch=mips64el&ver=4.13.0-4&stamp=1757621538&raw=0

This builds fine on several other archs.

Is there something special about the interaction between clang and linux
headers on mips64el?  The #include path in the *.c file is:

#include <linux/bpf.h>      /* must be before include bpf/... */
#include <bpf/bpf_endian.h>
#include <bpf/bpf_helpers.h>
#include <linux/if_ether.h> /* for struct ethhdr   */
#include <linux/in.h>       /* for IPPROTO_UDP     */

The error is triggered via the final #include.

Maybe adding some additional #include before the final linux/in.h fixes
this (ideas on which header to include welcome), but it is curious that
mips64el is special here.

Also discussed upstream: https://github.com/NLnetLabs/nsd/issues/461

/Simon

Attachment: signature.asc
Description: PGP signature

Reply via email to