Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1571659

Re: initify plugin crashes on arm allmodconfig

From "PaX Team" <pageexec@freemail.hu>
Newsgroups linux.kernel
Subject Re: initify plugin crashes on arm allmodconfig
Date 2017-02-01 16:20 +0100
Message-ID <t64Rs-7At-11@gated-at.bofh.it> (permalink)
References <t63C2-6Ew-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 1 Feb 2017 at 14:52, Arnd Bergmann wrote:

> On my ARM test builds (using a recent gcc-7 snapshot), allmodconfig failed with a compiler
> crash, I have managed to minimize the test case to this:
> 
> /home/arnd/cross-gcc/bin/arm-linux-gnueabi-gcc-7.0.1 -O2 -Wall -fplugin=/home/arnd/arm-soc/build/tmp/scripts/gcc-plugins/initify_plugin.so -DINITIFY_PLUGIN
> -fplugin-arg-initify_plugin-search_init_exit_functions  -fno-inline-functions-called-once -S atmel_lcdfb.i arm-linux-gnueabi-gcc-7.0.1: internal compiler error: Segmentation fault (program cc1)
> 
[...]
> 
> While trying to reproduce it, one time I ended up killing the gcc task when it
> used more than 80 gigabytes (!) of memory after around six minutes of compiling
> the same file (drivers/video/fbdev/atmel_lcdfb.c), but other times it just crashed
> as above using various ARM cross compilers (4.9.3, 5.3, 6.1.1).

i tried to reproduce it with 5.4 and 6.3 to no avail (arm64->arm cross compiler)
so some more information will be needed. first, which plugin version did you try?
second, if you build your own gcc, can you configure one with this additional
option:

  --enable-checking=assert,df,gimple,misc,rtl,rtlflag,runtime,tree,types

this will enable lots of compile time self-checking in gcc and may pinpoint the
problem sooner (it also increases compile time so you probably want to keep this
gcc as a separate build from your main one).

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

initify plugin crashes on arm allmodconfig Arnd Bergmann <arnd@arndb.de> - 2017-02-01 15:00 +0100
  Re: initify plugin crashes on arm allmodconfig "PaX Team" <pageexec@freemail.hu> - 2017-02-01 16:20 +0100
    Re: initify plugin crashes on arm allmodconfig Arnd Bergmann <arnd@arndb.de> - 2017-02-01 16:30 +0100
      Re: initify plugin crashes on arm allmodconfig "PaX Team" <pageexec@freemail.hu> - 2017-02-01 17:10 +0100
        Re: initify plugin crashes on arm allmodconfig Arnd Bergmann <arnd@arndb.de> - 2017-02-01 22:50 +0100
          Re: initify plugin crashes on arm allmodconfig Arnd Bergmann <arnd@arndb.de> - 2017-02-01 22:50 +0100

csiph-web