All of lore.kernel.org
 help / color / mirror / Atom feed
* mesa-gl build failing for RPi0
@ 2017-10-27 11:43 Scott Ellis
  2017-10-27 21:47 ` Khem Raj
  0 siblings, 1 reply; 2+ messages in thread
From: Scott Ellis @ 2017-10-27 11:43 UTC (permalink / raw)
  To: openembedded-devel

Using rocko

...
| glsl/.libs/libstandalone.a(libmesautil_la-disk_cache.o): In function `evict_lru_item':
| /usr/src/debug/mesa-gl/2_17.1.7-r0/mesa-17.1.7/src/util/disk_cache.c:615: undefined reference to `__atomic_fetch_add_8'
| glsl/.libs/libstandalone.a(libmesautil_la-disk_cache.o): In function `cache_put':
| /usr/src/debug/mesa-gl/2_17.1.7-r0/mesa-17.1.7/src/util/disk_cache.c:886: undefined reference to `__atomic_fetch_add_8'
| glsl/.libs/libstandalone.a(libmesautil_la-disk_cache.o): In function `disk_cache_remove':
| /usr/src/debug/mesa-gl/2_17.1.7-r0/mesa-17.1.7/src/util/disk_cache.c:637: undefined reference to `__atomic_fetch_add_8'
| collect2: error: ld returned 1 exit status
| Makefile:2076: recipe for target 'glsl_compiler' failed
| make[4]: *** [glsl_compiler] Error 1
| make[4]: Leaving directory '/oe4/rocko/tmp-rocko/work/arm1176jzfshf-vfp-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/build/src/compiler'
| Makefile:1528: recipe for target 'all' failed
| make[3]: *** [all] Error 2
| make[3]: Leaving directory '/oe4/rocko/tmp-rocko/work/arm1176jzfshf-vfp-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/build/src/compiler'
| Makefile:840: recipe for target 'all-recursive' failed
| make[2]: *** [all-recursive] Error 1
| make[2]: Leaving directory '/oe4/rocko/tmp-rocko/work/arm1176jzfshf-vfp-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/build/src'
| Makefile:631: recipe for target 'all' failed
| make[1]: *** [all] Error 2
| make[1]: Leaving directory '/oe4/rocko/tmp-rocko/work/arm1176jzfshf-vfp-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/build/src'
| Makefile:631: recipe for target 'all-recursive' failed
| make: *** [all-recursive] Error 1
| ERROR: oe_runmake failed


The solution used for armv5 boards in mesa.inc works for armv6

  CFLAGS_append_armv6 = " -DMISSING_64BIT_ATOMICS"


I'm using it in a private layer bbappend, but might belong
in mesa.inc alongside the armv5 line.


Some discussion of the bug here

  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=874531




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

* Re: mesa-gl build failing for RPi0
  2017-10-27 11:43 mesa-gl build failing for RPi0 Scott Ellis
@ 2017-10-27 21:47 ` Khem Raj
  0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2017-10-27 21:47 UTC (permalink / raw)
  To: Scott Ellis; +Cc: openembeded-devel

On Fri, Oct 27, 2017 at 4:43 AM, Scott Ellis <scott@jumpnowtek.com> wrote:
> Using rocko
>
> ...
> | glsl/.libs/libstandalone.a(libmesautil_la-disk_cache.o): In function `evict_lru_item':
> | /usr/src/debug/mesa-gl/2_17.1.7-r0/mesa-17.1.7/src/util/disk_cache.c:615: undefined reference to `__atomic_fetch_add_8'
> | glsl/.libs/libstandalone.a(libmesautil_la-disk_cache.o): In function `cache_put':
> | /usr/src/debug/mesa-gl/2_17.1.7-r0/mesa-17.1.7/src/util/disk_cache.c:886: undefined reference to `__atomic_fetch_add_8'
> | glsl/.libs/libstandalone.a(libmesautil_la-disk_cache.o): In function `disk_cache_remove':
> | /usr/src/debug/mesa-gl/2_17.1.7-r0/mesa-17.1.7/src/util/disk_cache.c:637: undefined reference to `__atomic_fetch_add_8'
> | collect2: error: ld returned 1 exit status
> | Makefile:2076: recipe for target 'glsl_compiler' failed
> | make[4]: *** [glsl_compiler] Error 1
> | make[4]: Leaving directory '/oe4/rocko/tmp-rocko/work/arm1176jzfshf-vfp-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/build/src/compiler'
> | Makefile:1528: recipe for target 'all' failed
> | make[3]: *** [all] Error 2
> | make[3]: Leaving directory '/oe4/rocko/tmp-rocko/work/arm1176jzfshf-vfp-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/build/src/compiler'
> | Makefile:840: recipe for target 'all-recursive' failed
> | make[2]: *** [all-recursive] Error 1
> | make[2]: Leaving directory '/oe4/rocko/tmp-rocko/work/arm1176jzfshf-vfp-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/build/src'
> | Makefile:631: recipe for target 'all' failed
> | make[1]: *** [all] Error 2
> | make[1]: Leaving directory '/oe4/rocko/tmp-rocko/work/arm1176jzfshf-vfp-poky-linux-gnueabi/mesa-gl/2_17.1.7-r0/build/src'
> | Makefile:631: recipe for target 'all-recursive' failed
> | make: *** [all-recursive] Error 1
> | ERROR: oe_runmake failed
>
>
> The solution used for armv5 boards in mesa.inc works for armv6
>
>   CFLAGS_append_armv6 = " -DMISSING_64BIT_ATOMICS"
>

isn't rpi0 based on armv6k for which 64bit atomics should be fine.
are we using wrong tune files ?

>
> I'm using it in a private layer bbappend, but might belong
> in mesa.inc alongside the armv5 line.
>
>
> Some discussion of the bug here
>
>   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=874531
>
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


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

end of thread, other threads:[~2017-10-27 21:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-27 11:43 mesa-gl build failing for RPi0 Scott Ellis
2017-10-27 21:47 ` Khem Raj

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.