Groups | Search | Server Info | Keyboard shortcuts | Login | Register
Groups > linux.debian.ports.mips > #3213
| From | Simon Josefsson <simon@josefsson.org> |
|---|---|
| Newsgroups | linux.debian.ports.mips |
| Subject | clang and linux headers on mips64el: /usr/include/mips64el-linux-gnuabi64/asm/byteorder.h:17:3: error: "MIPS, but neither __MIPSEB__, nor __MIPSEL__???" |
| Date | 2025-09-12 09:00 +0200 |
| Message-ID | <Lu5Vf-eHId-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
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
Back to linux.debian.ports.mips | Previous | Next | Find similar
clang and linux headers on mips64el: /usr/include/mips64el-linux-gnuabi64/asm/byteorder.h:17:3: error: "MIPS, but neither __MIPSEB__, nor __MIPSEL__???" Simon Josefsson <simon@josefsson.org> - 2025-09-12 09:00 +0200
csiph-web