All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Scott Ellis" <scott@jumpnowtek.com>
To: openembedded-devel@lists.openembedded.org
Subject: mesa-gl build failing for RPi0
Date: Fri, 27 Oct 2017 07:43:45 -0400 (EDT)	[thread overview]
Message-ID: <1509104625.420326963@apps.rackspace.com> (raw)

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




             reply	other threads:[~2017-10-27 11:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-27 11:43 Scott Ellis [this message]
2017-10-27 21:47 ` mesa-gl build failing for RPi0 Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1509104625.420326963@apps.rackspace.com \
    --to=scott@jumpnowtek.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.