Package: gcc-arm-none-eabi Version: 15:5.4.1+svn241155-1 Severity: normal Dear Maintainer,
Building the 3.0-based smdk4412 kernel[1] with the arm-none-eabi toolchain from Stretch fails with an internal compiler error: /home/wolfi/6.0-romsrc/kernel/samsung/smdk4412/mm/vmscan.c: In function 'shrink_page_list': /home/wolfi/6.0-romsrc/kernel/samsung/smdk4412/mm/vmscan.c:1019:1: error: insn does not satisfy its constraints: } ^ (insn 1111 1814 1112 116 (parallel [ (set (reg/v:SI 3 r3 [orig:111 nr_dirty ] [111]) (and:SI (ne:SI (reg/v:SI 3 r3 [orig:111 nr_dirty ] [111]) (const_int 0 [0])) (eq:SI (reg/v:SI 3 r3 [orig:111 nr_dirty ] [111]) (reg/v:SI 2 r2 [orig:112 nr_congested ] [112])))) (clobber (reg:CC 100 cc)) ]) /home/wolfi/6.0-romsrc/kernel/samsung/smdk4412/mm/vmscan.c:1011 256 {*and_scc_scc_nodom} (nil)) /home/wolfi/6.0-romsrc/kernel/samsung/smdk4412/mm/vmscan.c:1019:1: internal compiler error: in extract_constrain_insn, at recog.c:2246 /home/wolfi/6.0-romsrc/kernel/samsung/smdk4412/mm/vmscan.c:1019:1: internal compiler error: Segmentation fault arm-none-eabi-gcc: internal compiler error: Segmentation fault (program cc1) The kernel builds fine using the gcc-arm-none-eabi version from Jessie. A workaround is to disable optimization for the function the compiler fails to optimize[2]. Thanks, Wolfgang Wiedmeyer [1] kernel for some Samsung Galaxy devices, error occurs with this kernel version: https://code.fossencdi.org/kernel_samsung_smdk4412.git/ [2] https://code.fossencdi.org/kernel_samsung_smdk4412.git/commit/?h=replicant-6.0&id=698f3e8de2f0104dc80402ea151aae73b946a2d9 -- System Information: Debian Release: 9.0 APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: unable to detect Versions of packages gcc-arm-none-eabi depends on: ii binutils-arm-none-eabi 2.27-9+9 ii libc6 2.24-9 ii libgcc1 1:6.3.0-6 ii libgmp10 2:6.1.2+dfsg-1 ii libisl15 0.18-1 ii libmpc3 1.0.3-1 ii libmpfr4 3.1.5-1 ii libstdc++6 6.3.0-6 ii zlib1g 1:1.2.8.dfsg-5 Versions of packages gcc-arm-none-eabi recommends: ii libnewlib-arm-none-eabi 2.4.0.20160527-2 gcc-arm-none-eabi suggests no packages. -- no debconf information