[OE-core] [PATCH v2 5/9] libgpg-error: Add ARC support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ross,

On Fri, 2018-09-21 at 13:53 +0100, Burton, Ross wrote:
> Can you check that v3 works with x86-64 targets?
> 
> ERROR: libgpg-error-1.32-r0 do_compile: Function failed: do_compile
> (log file is located at
> /data/poky-tmp/master/work/corei7-64-poky-linux/libgpg-error/1.32-r0/temp/log.do_compile.13345)
> ERROR: Logfile of failure stored in:
> /data/poky-tmp/master/work/corei7-64-poky-linux/libgpg-error/1.32-r0/temp/log.do_compile.13345
> Log data follows:
> > DEBUG: SITE files ['endian-little', 'common-linux', 'common-glibc',
> 
> 'bit-64', 'x86_64-linux', 'common']
> > DEBUG: Executing shell function do_compile
> > cp: cannot stat
> 
> '/data/poky-tmp/master/work/corei7-64-poky-linux/libgpg-error/1.32-r0/libgpg-error-1.32/src/syscfg/lock-obj-pub.x86_64-pc-linux-gnu.h':
> No such file or directory
> > WARNING: exit code 1 from a shell command.
> > ERROR: Function failed: do_compile (log file is located at
> 
> /data/poky-tmp/master/work/corei7-64-poky-linux/libgpg-error/1.32-r0/temp/log.do_compile.13345)

Yeah that's pretty unfortunate that "simple addition of ARC"
broke anther arch :(

What happened is in the same one commit that adds ARC quite a few
headers for other arches get renamed, see:
http://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgpg-error.git;a=commit;h=48c8f8ddfc80551db7615e1eb3555c1dc3f6a657

And "lock-obj-pub.x86_64-pc-linux-gnu.h" is one of them.
So I'll update libgpg-error_1.32.bb with:
-------------------------->8-----------------------
--- a/meta/recipes-support/libgpg-error/libgpg-error_1.32.bb
+++ b/meta/recipes-support/libgpg-error/libgpg-error_1.32.bb
@@ -44,7 +44,7 @@ do_compile_prepend() {
          mips64*)    TUPLE=mips64el-unknown-linux-gnuabi64 ;;
          mips*el)    TUPLE=mipsel-unknown-linux-gnu ;;
          mips*)      TUPLE=mips-unknown-linux-gnu ;;
-         x86_64)     TUPLE=x86_64-pc-linux-gnu ;;
+         x86_64)     TUPLE=x86_64-unknown-linux-gnu ;;
          *)          TUPLE=${TARGET_ARCH}-unknown-linux-gnu ;;
        esac
-------------------------->8-----------------------

Care to try that change in your setup once you have eveything else built for x86_64?

-Alexey


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux