All of lore.kernel.org
 help / color / mirror / Atom feed
* issues with gcc 5 + mesa
@ 2015-10-08 16:11 Nicolas Dechesne
  2015-10-09  7:03 ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Dechesne @ 2015-10-08 16:11 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 1244 bytes --]

hi,

I am seeing this error on my board when compilng core-image-x11 based image:

root@ifc6410:~# glxgears
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
[   50.359341] Alignment trap: not handling instruction f4008a1f at
[<b6cf3f84>]
[   50.364408] Unhandled fault: alignment exception (0x801) at 0x000cd5bc
[   50.371419] pgd = ec024000
[   50.377885] [000cd5bc] *pgd=fb85f835
Bus error

While I initially thought it was something to do with my kernel or
firmware, I just thought about trying a build with GCCVERSION="4.9.3" and
the issue is gone.

I was having this issue as soon as EGL/GLES is being used, and I could get
it with both X11 or Weston/Wayland. This is running on IFC6410 (e.g. an
ARMv7 platform). The same images built for ARMv8 (DragonBoard 410c) work
fine.

I am using Mesa Gallium/freedreno for the GPU. I have tried armv7athf-neon
and armv7at-neon, and both show the same issue.

I would be curious to hear from others using similar platforms , though it
is likely something in mesa/gallium (so possibly in freedreno bits)..
Maybe someone using etnaviv ? Or is anyone building images for qemuarm v7?

cheers
nico

[-- Attachment #2: Type: text/html, Size: 1447 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: issues with gcc 5 + mesa
  2015-10-08 16:11 issues with gcc 5 + mesa Nicolas Dechesne
@ 2015-10-09  7:03 ` Khem Raj
  2016-02-10 12:51   ` Nicolas Dechesne
  0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2015-10-09  7:03 UTC (permalink / raw)
  To: Nicolas Dechesne; +Cc: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 1734 bytes --]


> On Oct 8, 2015, at 9:11 AM, Nicolas Dechesne <nicolas.dechesne@linaro.org> wrote:
> 
> hi,
> 
> I am seeing this error on my board when compilng core-image-x11 based image:
> 
> root@ifc6410:~# glxgears
> Running synchronized to the vertical refresh.  The framerate should be
> approximately the same as the monitor refresh rate.
> [   50.359341] Alignment trap: not handling instruction f4008a1f at [<b6cf3f84>]
> [   50.364408] Unhandled fault: alignment exception (0x801) at 0x000cd5bc

alignment exception, you say its armv7 which should support unaligned access, so why is this error showing up
do you have it disabled in kernel ?

> [   50.371419] pgd = ec024000
> [   50.377885] [000cd5bc] *pgd=fb85f835
> Bus error
> 
> While I initially thought it was something to do with my kernel or firmware, I just thought about trying a build with GCCVERSION="4.9.3" and the issue is gone.
> 
> I was having this issue as soon as EGL/GLES is being used, and I could get it with both X11 or Weston/Wayland. This is running on IFC6410 (e.g. an ARMv7 platform). The same images built for ARMv8 (DragonBoard 410c) work fine.
> 
> I am using Mesa Gallium/freedreno for the GPU. I have tried armv7athf-neon and armv7at-neon, and both show the same issue.
> 
> I would be curious to hear from others using similar platforms , though it is likely something in mesa/gallium (so possibly in freedreno bits)..  Maybe someone using etnaviv ? Or is anyone building images for qemuarm v7?
> 
> cheers
> nico
> 
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: issues with gcc 5 + mesa
  2015-10-09  7:03 ` Khem Raj
@ 2016-02-10 12:51   ` Nicolas Dechesne
  0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Dechesne @ 2016-02-10 12:51 UTC (permalink / raw)
  To: Khem Raj; +Cc: Patches and discussions about the oe-core layer

On Fri, Oct 9, 2015 at 9:03 AM, Khem Raj <raj.khem@gmail.com> wrote:
>> I am seeing this error on my board when compilng core-image-x11 based image:
>>
>> root@ifc6410:~# glxgears
>> Running synchronized to the vertical refresh.  The framerate should be
>> approximately the same as the monitor refresh rate.
>> [   50.359341] Alignment trap: not handling instruction f4008a1f at [<b6cf3f84>]
>> [   50.364408] Unhandled fault: alignment exception (0x801) at 0x000cd5bc
>
> alignment exception, you say its armv7 which should support unaligned access, so why is this error showing up
> do you have it disabled in kernel ?

fwiw.. and in case someone hits that too, gcc 5.2 + mesa 11.1 doesn't
exhibit the same issue, and everything works fine.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-02-10 12:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-08 16:11 issues with gcc 5 + mesa Nicolas Dechesne
2015-10-09  7:03 ` Khem Raj
2016-02-10 12:51   ` Nicolas Dechesne

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.