[OE-core] [PATCH][morty] gcc6: Upgrade to 6.4.0 (latest stable series release)

Andre McCurdy armccurdy at gmail.com
Mon Mar 5 09:51:59 UTC 2018


On Mon, Mar 5, 2018 at 1:19 AM, Martin Jansa <martin.jansa at gmail.com> wrote:
> Thanks Andre!
>
> I've seen another failure probably caused by this gcc upgrade in morty-next:
>
> python-matplotlib triggers ICE:
>
> src/_png.cpp: In function 'void init_png()':
> src/_png.cpp:497:25: warning: variable '_png' set but not used
> [-Wunused-but-set-variable]
>      static _png_module* _png = NULL;
>                          ^~~~
> src/_png.cpp: In member function 'Py::Object _png_module::read_png(const
> Py::Tuple&)':
> src/_png.cpp:272:1: internal compiler error: Segmentation fault
>  _png_module::read_png(const Py::Tuple& args)
>  ^~~~~~~~~~~
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <http://gcc.gnu.org/bugs.html> for instructions.
> error: command 'i586-oe-linux-gcc' failed with exit status 1
> ERROR: Function failed: do_compile (log file is located at
> python-matplotlib/1.1.0-r1/temp/log.do_compile.15213)
>
> I'll try to build it with Khem's and Andre's patches only to eliminate
> hjl/indirect/gcc-6-branch/master changes.
>

FWIW, I see the same error with my OE 2.2 + gcc 6.4.0 based distro.
The ICE only happens if I build with -O2 though (the build is clean
with -Os, which I use by default).

In case it's useful to anyone, my branch of morty with a gcc 6.4.0 backport is:

  git clone https://github.com/lgirdk/openembedded-core.git --branch oe22b



More information about the Openembedded-core mailing list