[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#799872: gcc-5-arm-linux-gnueabihf: when compiling Linux Kernel's rcutiny.h, GCC-5 segfaults



Package: gcc-5-arm-linux-gnueabihf
Version: 5.2.1-16cross1
Severity: grave
Justification: causes non-serious data loss

Dear Maintainer,

In order to reproduce the problem, I have a .config which I tried to
build my v4.3-rc1-based kernel tree. I'm cross-compiling kernel with
ARMHF GCC-5 and this specific defconfig, but when trying to compile
rcutiny.h, GCC segfaults with error below:

In file included from include/linux/rcupdate.h:429:0,
                 from include/linux/srcu.h:33,
                 from include/linux/notifier.h:15,
                 from include/linux/memory_hotplug.h:6,
                 from include/linux/mmzone.h:812,
                 from include/linux/gfp.h:5,
                 from include/linux/kmod.h:22,
                 from include/linux/module.h:13,
                 from kernel/rcu/rcutorture.c:28:
include/linux/rcutiny.h: In function ‘rcu_barrier_sched’:
include/linux/rcutiny.h:55:91: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
scripts/Makefile.build:258: recipe for target 'kernel/rcu/rcutorture.o' failed
make[2]: *** [kernel/rcu/rcutorture.o] Error 1
scripts/Makefile.build:403: recipe for target 'kernel/rcu' failed
make[1]: *** [kernel/rcu] Error 2
Makefile:941: recipe for target 'kernel' failed
make: *** [kernel] Error 2
make: *** Waiting for unfinished jobs....

regards

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf

Kernel: Linux 4.2.0-trunk-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gcc-5-arm-linux-gnueabihf depends on:
ii  binutils-arm-linux-gnueabihf    2.25.1-3
ii  cpp-5-arm-linux-gnueabihf       5.2.1-16cross1
ii  gcc-5-arm-linux-gnueabihf-base  5.2.1-16cross1
ii  libc6                           2.19-22
ii  libcc1-0                        5.2.1-17
ii  libgcc-5-dev-armhf-cross        5.2.1-16cross1
ii  libgcc1                         1:5.2.1-17
ii  libgmp10                        2:6.0.0+dfsg-7
ii  libisl13                        0.14-2
ii  libmpc3                         1.0.3-1
ii  libmpfr4                        3.1.3-1
ii  libstdc++6                      5.2.1-17
ii  zlib1g                          1:1.2.8.dfsg-2+b1

Versions of packages gcc-5-arm-linux-gnueabihf recommends:
ii  libc6-dev-armhf-cross  2.19-19cross1

Versions of packages gcc-5-arm-linux-gnueabihf suggests:
pn  gcc-5-doc                    <none>
pn  gcc-5-locales                <none>
pn  libasan2-dbg-armhf-cross     <none>
pn  libatomic1-dbg-armhf-cross   <none>
pn  libcilkrts5-dbg-armhf-cross  <none>
pn  libgcc1-dbg-armhf-cross      <none>
pn  libgomp1-dbg-armhf-cross     <none>
pn  libitm1-dbg-armhf-cross      <none>
pn  liblsan0-dbg-armhf-cross     <none>
pn  libmpx0-dbg-armhf-cross      <none>
pn  libquadmath-dbg-armhf-cross  <none>
pn  libtsan0-dbg-armhf-cross     <none>
pn  libubsan0-dbg-armhf-cross    <none>

-- no debconf information


Reply to: