[Buildroot] xserver_xorg-server-1.15.1 crash on RaspberryPi when compiled with gcc-4.9

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Jul 7 22:02:07 UTC 2014


Dear Peter Seiderer,

On Sat, 7 Jun 2014 23:58:58 +0200, Peter Seiderer wrote:

> running xserver (driver fbdev) on RaspberryPi crashes when compiled with gcc-4.9 (-Os).
> 
> Steps to reproduce (with buildroot-2014.05 release and additonal dillo package):

> Program received signal SIGSEGV, Segmentation fault.
> fbGlyphs (op=<optimized out>, pSrc=0x1, pDst=0x4, maskFormat=0x3b9d90, xSrc=0, ySrc=0, nlist=6, list=0xbefff490, glyphs=0x1)
>     at fbpict.c:140
> 140                 glyph = *glyphs++;
> (gdb) p glyphs
> $1 = (GlyphPtr *) 0x1

Thanks for the report. I wanted to let you know that I'm also seeing
the issue here, while testing the gtk-demo application under Xfbdev on
Qemu/ARM. I am also building with a gcc 4.9.x based toolchain, the
Linaro 14.05 toolchain. I haven't tested yet to rebuild with gcc 4.8.x
to see the difference.

Have you investigated the problem a bit more? Does it look like a
compiler issue?

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list