nixpkgs/pkgs/development/compilers/gcc
Bastian Köcher 780592ca6e gcc7: Enable arm erratum 843419 on aarch64
This fix is required for the raspherry pi 3 with glibc 2.27,
otherwise the kernel panics in initrd with:
```
<<< NixOS Stage 1 >>>

loading module dm_mod...
running udev...
kbd_mode: KDSKBMODE: Inappropriate ioctl for device
Gstarting device mapper and LVM...
[    1.969164] Kernel panic - not syncing: Attempted to kill init!
exitcode=0x0000000b
[    1.969164]
[    1.978476] CPU: 0 PID: 1 Comm: init Not tainted 4.16.8 #1-NixOS
[    1.984580] Hardware name: Raspberry Pi 3 Model B (DT)
[    1.989801] Call trace:
[    1.992301]  dump_backtrace+0x0/0x1c8
[    1.996025]  show_stack+0x24/0x30
[    1.999396]  dump_stack+0x9c/0xc0
[    2.002766]  panic+0x124/0x294
[    2.005872]  complete_and_exit+0x0/0x30
[    2.009771]  do_group_exit+0x40/0xa8
[    2.013406]  get_signal+0x280/0x5b0
[    2.016954]  do_signal+0x88/0x240
[    2.020325]  do_notify_resume+0xd8/0x130
[    2.024311]  work_pending+0x8/0x10
[    2.027774] SMP: stopping secondary CPUs
[    2.031763] Kernel Offset: disabled
[    2.035308] CPU features: 0x0802004
[    2.038850] Memory Limit: none
[    2.041963] ---[ end Kernel panic - not syncing: Attempted to kill
init! exitcode=0x0000000b
[    2.041963]
[    2.865264] random: crng init done
```
Suse has done the same to circumvent crashes with hostname resolving in
glibc 2.27 on aarch64.
2018-05-16 03:04:29 +03:00
..
4.8 Merge remote-tracking branch 'upstream/master' into gcc-hurd-condition 2018-05-14 13:15:06 -04:00
4.9 Merge remote-tracking branch 'upstream/master' into gcc-hurd-condition 2018-05-14 13:15:06 -04:00
5 Merge remote-tracking branch 'upstream/master' into gcc-hurd-condition 2018-05-14 13:15:06 -04:00
6 Merge remote-tracking branch 'upstream/master' into gcc-hurd-condition 2018-05-14 13:15:06 -04:00
7 gcc7: Enable arm erratum 843419 on aarch64 2018-05-16 03:04:29 +03:00
8 Merge remote-tracking branch 'upstream/master' into gcc-hurd-condition 2018-05-14 13:15:06 -04:00
common lib: Fix float handling for Aarch32 2018-05-12 15:18:31 -04:00
snapshot Merge remote-tracking branch 'upstream/master' into gcc-hurd-condition 2018-05-14 13:15:06 -04:00
builder.sh treewide: Remove gnat support. 2018-03-08 13:56:36 -05:00
gfortran-darwin-NXConstStr.patch
gfortran-driving.patch
libstdc++-hook.sh Add space for NIX_CXXSTDLIB_COMPILE+=' ...' as NIX_CXXSTDLIB_COMPILE might not be empty. 2018-03-19 13:18:49 +01:00
libstdc++-target.patch
no-sys-dirs.patch
parallel-bconfig.patch
res_state-not-declared.patch gcc-4.8: fix with glibc-2.26 2017-11-07 14:53:10 +01:00
sigsegv-not-declared.patch gcc-4.8: fix with glibc-2.26 2017-11-07 14:53:10 +01:00
struct-sigaltstack-4.9.patch gcc-4.9: fixup build with glibc-2.26 2017-11-07 12:56:57 +01:00
struct-sigaltstack.patch gcc6: fix build with new glibc, by upstream patches 2017-11-05 19:09:53 +01:00
struct-ucontext-4.5.patch gcc-4.5: fixup build with glibc-2.26 2017-11-07 15:39:24 +01:00
struct-ucontext-4.8.patch gcc-4.8: fix with glibc-2.26 2017-11-07 14:53:10 +01:00
struct-ucontext-libjava.patch gcj: fix build with glibc 2.26 2017-11-09 20:50:21 +00:00
struct-ucontext.patch gcc6: fix build with new glibc, by upstream patches 2017-11-05 19:09:53 +01:00
use-source-date-epoch.patch