[nix-shell:~/rpi/linux]$ export ARCH=arm
CC fs/namei.o
fs/namei.c: In function 'vfs_link':
fs/namei.c:4045:1: error: insn does not satisfy its constraints:
}
^
(insn 86 312 87 12 (parallel [
(set (reg/v:SI 1 r1 [orig:114 max_links ] [114])
(and:SI (ne:SI (reg/v:SI 1 r1 [orig:114 max_links ] [114])
(const_int 0 [0]))
(leu:SI (reg/v:SI 1 r1 [orig:114 max_links ] [114])
(reg:SI 2 r2 [orig:126 D.41446 ] [126]))))
(clobber (reg:CC 100 cc))
]) fs/namei.c:4028 256 {*and_scc_scc_nodom}
(nil))
fs/namei.c:4045:1: internal compiler error: in extract_constrain_insn, at recog.c:2246
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make[1]: *** [scripts/Makefile.build:259: fs/namei.o] Error 1
make: *** [Makefile:961: fs] Error 2
[clever@amd-nixos:~/rpi/linux]$ git rev-parse HEAD
c6d86f7aa554854b04614ebb4d394766081fb41f
[clever@amd-nixos:~/rpi/linux]$ git remote -v
origin https://github.com/raspberrypi/linux (fetch)
origin https://github.com/raspberrypi/linux (push)
[nix-shell:~/rpi/linux]$ time make CROSS_COMPILE=arm-none-eabi-
gcc-arm-embedded-5.4-2016q2-20160622