Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1553120
| From | Kees Cook <keescook@chromium.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: next: s390 allyesconfig fails to compile samples/seccomp |
| Date | 2017-01-06 22:00 +0100 |
| Message-ID | <sWJMe-7eR-29@gated-at.bofh.it> (permalink) |
| References | <sWEjw-3EM-35@gated-at.bofh.it> <sWJ9v-6Xm-19@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, Jan 6, 2017 at 12:18 PM, Kees Cook <keescook@chromium.org> wrote: > On Fri, Jan 6, 2017 at 7:04 AM, Michal Hocko <mhocko@kernel.org> wrote: >> Hi, >> I am not relly sure what went wrong, but I've noticed that allyesconfig >> doesn't compile with my s390 crosscompiler with a strange error >> messages for linux-next (next-20170106). Linus' tree compiles just fine. >> It smells like some headers include problems because >> $ git diff origin/master..next/master -- samples/seccomp/ >> doesn't show anything... > > Oh, how strange. Did __BITS_PER_LONG move around? That's part of uapi... > > >> >> samples/seccomp/bpf-helper.h:134:2: error: #error __BITS_PER_LONG value unusable. >> #error __BITS_PER_LONG value unusable. >> ^ > > #include <asm/bitsperlong.h> /* for __BITS_PER_LONG */ > > Hm, maybe this should be uapi/asm/bitsperlong.h ? > > Let me see if I can reproduce this... I don't see the samples error. :( I do get this, though: OBJCOPY arch/s390/boot/compressed/vmlinux.bin GZIP arch/s390/boot/compressed/vmlinux.bin.gz AS arch/s390/boot/compressed/head.o CC arch/s390/boot/compressed/misc.o LD arch/s390/boot/compressed/piggy.o s390x-linux-gnu-ld: arch/s390/boot/compressed/vmlinux.bin.gz: not in ELF format arch/s390/boot/compressed/Makefile:71: recipe for target 'arch/s390/boot/compressed/piggy.o' failed make[2]: *** [arch/s390/boot/compressed/piggy.o] Error 1 arch/s390/boot/Makefile:22: recipe for target 'arch/s390/boot/compressed/vmlinux' failed make[1]: *** [arch/s390/boot/compressed/vmlinux] Error 2 arch/s390/Makefile:119: recipe for target 'bzImage' failed I'm using: $ s390x-linux-gnu-gcc --version s390x-linux-gnu-gcc (Ubuntu 5.4.0-6ubuntu1~16.04.1) 5.4.0 20160609 -Kees -- Kees Cook Nexus Security
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
next: s390 allyesconfig fails to compile samples/seccomp Michal Hocko <mhocko@kernel.org> - 2017-01-06 16:10 +0100
Re: next: s390 allyesconfig fails to compile samples/seccomp Kees Cook <keescook@chromium.org> - 2017-01-06 21:20 +0100
Re: next: s390 allyesconfig fails to compile samples/seccomp Kees Cook <keescook@chromium.org> - 2017-01-06 22:00 +0100
Re: next: s390 allyesconfig fails to compile samples/seccomp Michal Hocko <mhocko@kernel.org> - 2017-01-07 11:30 +0100
csiph-web