llvm: Update to 6.0.1
PATCH 1/3 llvm: Update to 6.0.1
Signed-off-by Khem Raj <[email protected]>
--- meta/recipes-devtools/llvm/llvm_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/llvm/llvm_git.bb +2 -2
@@ -19,10 +19,10 @@ PROVIDES += "llvm${PV}" LLVM_RELEASE = "${PV}" LLVM_DIR = "llvm${LLVM_RELEASE}" -SRCREV = "089d4c0c490687db6c75f1d074e99c4d42936a50" +SRCREV = "5136df4d089a086b70d452160ad5451861269498" PV = "6.0" BRANCH = "release_60" -PATCH_VERSION = "0" +PATCH_VERSION = "1" SRC_URI = "git://github.com/llvm-mirror/llvm.git;branch=${BRANCH};protocol=http \ file://0001-llvm-TargetLibraryInfo-Undefine-libc-functions-if-th.patch \ file://0002-llvm-allow-env-override-of-exe-path.patch \
Signature · 1 line
2.18.0
PATCH 2/3 mpfr: Upgrade to 4.0.1
Drop patch present in 4.0.1 already
Depend on autoconf-archive to fix
| configure:14652: error: possibly undefined macro: AX_PTHREAD
Signed-off-by Khem Raj <[email protected]>
---
.../mpfr/mpfr/long-long-thumb.patch | 39 -------------------
.../mpfr/{mpfr_3.1.5.bb => mpfr_4.0.1.bb} | 10 ++---
2 files changed, 4 insertions(+), 45 deletions(-)
delete mode 100644 meta/recipes-support/mpfr/mpfr/long-long-thumb.patch
rename meta/recipes-support/mpfr/{mpfr_3.1.5.bb => mpfr_4.0.1.bb} (60%)meta/recipes-support/mpfr/mpfr/long-long-thumb.patch deleted +0 -39
@@ -1,39 +0,0 @@ -From 84021b1e236508169be65e802a9c0a25fc9a8827 Mon Sep 17 00:00:00 2001 -From: Phil Blundell <[email protected]> -Date: Mon, 27 Oct 2008 22:26:35 +0000 -Subject: [PATCH] mpfr: crusade against inline assembler - -Without this, build fails for thumb: -| {standard input}: Assembler messages: -| {standard input}:199: Error: selected processor does not support Thumb mode `umull sl,r0,r2,r1' -| {standard input}:214: Error: selected processor does not support Thumb mode `umull sl,r2,r1,fp' -| {standard input}:219: Error: instruction not supported in Thumb16 mode -- `adds fp,r0,sl' -| {standard input}:220: Error: unshifted register required -- `adc r2,r2,#0' -| {standard input}:235: Error: selected processor does not support Thumb mode `umull r0,sl,r1,r3' -| {standard input}:244: Error: selected processor does not support Thumb mode `umull fp,ip,r1,r3' -| {standard input}:253: Error: instruction not supported in Thumb16 mode -- `adds r3,sl,fp' -| {standard input}:254: Error: unshifted register required -- `adc ip,ip,#0' -| {standard input}:259: Error: instruction not supported in Thumb16 mode -- `adds sl,r1,r0' -| {standard input}:642: Error: selected processor does not support Thumb mode `umull r0,r2,r3,r1' -| ../arm-oe-linux-gnueabi-libtool --tag=CC --mode=compile arm-oe-linux-gnueabi-gcc -march=armv5te -mthumb -mthumb-interwork -mtune=xscale --sysroot=/OE/shr-core/tmp-eglibc/sysroots/spitz -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_LOCALE_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_STDINT_H=1 -DHAVE_VA_COPY=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_LONG_LONG=1 -DHAVE_INTMAX_T=1 -DMPFR_HAVE_INTMAX_MAX=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_ROUND=1 -DHAVE_TRUNC=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1 -DHAVE_NEARBYINT=1 -DLT_OBJDIR=\".libs/\" -DHAVE_ATTRIBUTE_MODE=1 -DHAVE___GMPN_ROOTREM=1 -DHAVE___GMPN_SBPI1_DIVAPPR_Q=1 -I. -O2 -pipe -g -feliminate-unused-debug-types -ffloat-store -c -o pow.lo pow.c -| {standard input}:1154: Error: selected processor does not support Thumb mode `umull r0,r1,sl,ip' -| {standard input}:1166: Error: selected processor does not support Thumb mode `umull r3,r2,ip,r0' -| {standard input}:1171: Error: instruction not supported in Thumb16 mode -- `adds r0,r1,r3' -| {standard input}:1172: Error: unshifted register required -- `adc r2,r2,#0' -| make[2]: *** [mul.lo] Error 1 - -Signed-off-by: Martin Jansa <[email protected]> - -Upstream-Status: Pending - ---- mpfr.old/src/mpfr-longlong.h 2008-01-01 03:29:09.000000000 +0000 -+++ mpfr/src/mpfr-longlong.h 2008-10-27 21:46:44.000000000 +0000 -@@ -406,7 +406,7 @@ - "rIJ" ((USItype) (bl))) - #endif - --#if defined (__arm__) && W_TYPE_SIZE == 32 -+#if defined (__arm__) && W_TYPE_SIZE == 32 && !defined(__thumb__) - #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ - __asm__ ("adds\t%1, %4, %5\n\tadc\t%0, %2, %3" \ - : "=r" (sh), "=&r" (sl) \
meta/recipes-support/mpfr/mpfr_4.0.1.bb renamed from meta/recipes-support/mpfr/mpfr_3.1.5.bb +4 -6
@@ -7,13 +7,11 @@ inherit autotools texinfo LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ file://COPYING.LESSER;md5=6a6a8e020838b23406c81b19c1d46df6" -DEPENDS = "gmp" +DEPENDS = "gmp autoconf-archive" -SRC_URI = "http://www.mpfr.org/mpfr-${PV}/mpfr-${PV}.tar.xz \ - file://long-long-thumb.patch \ - " -SRC_URI[md5sum] = "c4ac246cf9795a4491e7766002cd528f" -SRC_URI[sha256sum] = "015fde82b3979fbe5f83501986d328331ba8ddf008c1ff3da3c238f49ca062bc" +SRC_URI = "http://www.mpfr.org/mpfr-${PV}/mpfr-${PV}.tar.xz" +SRC_URI[md5sum] = "b8dd19bd9bb1ec8831a6a582a7308073" +SRC_URI[sha256sum] = "67874a60826303ee2fb6affc6dc0ddd3e749e9bfcb4c8655e3953d0458a6e16e" UPSTREAM_CHECK_URI = "http://www.mpfr.org/mpfr-current/"
Signature · 1 line
2.18.0
PATCH 3/3 re2c: Update to 1.0.1
In reply to Khem RajDrop upstreamed patch
Signed-off-by Khem Raj <[email protected]>
---
meta/recipes-support/re2c/re2c/mkdir.patch | 36 -------------------
.../re2c/{re2c_0.16.bb => re2c_1.0.1.bb} | 7 ++--
2 files changed, 3 insertions(+), 40 deletions(-)
delete mode 100644 meta/recipes-support/re2c/re2c/mkdir.patch
rename meta/recipes-support/re2c/{re2c_0.16.bb => re2c_1.0.1.bb} (58%)meta/recipes-support/re2c/re2c/mkdir.patch deleted +0 -36
@@ -1,36 +0,0 @@ -Upstream-Status: Submitted (https://github.com/skvadrik/re2c/pull/191) -Signed-off-by: Ross Burton <[email protected]> - -From bccc10c60523f88c8f81413151cdcd612eb16198 Mon Sep 17 00:00:00 2001 -From: Ross Burton <[email protected]> -Date: Mon, 31 Jul 2017 15:43:41 +0100 -Subject: [PATCH] Makefile.am: create target directory before writing into it - -In some situations src/parse/ may not exist before a file is copied into the -directory. Ensure that this doesn't happen by creating the directory first. ---- - re2c/Makefile.am | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/re2c/Makefile.am b/re2c/Makefile.am -index 3b3b2c5e..0707fc5a 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -187,6 +187,7 @@ CLEANFILES = \ - $(DOC) - - $(AUTOGEN_PARSER): $(CUSTOM_PARSER) -+ $(AM_V_at)$(MKDIR_P) $(dir $@) - $(AM_V_GEN) if test $(BISON) = "no"; \ - then \ - cp $(top_srcdir)/$(BOOTSTRAP_PARSER) $@ && \ -@@ -211,6 +212,7 @@ $(BOOTSTRAP_PARSER): $(CUSTOM_PARSER) - $(top_srcdir)/$(CUSTOM_PARSER); - - .re.cc: -+ $(AM_V_at)$(MKDIR_P) $(dir $@) - $(AM_V_GEN) if test -x $(RE2C); \ - then \ - $(top_builddir)/$(RE2C) $(RE2CFLAGS) -o $@ $< && \ --- -2.11.0
meta/recipes-support/re2c/re2c_1.0.1.bb renamed from meta/recipes-support/re2c/re2c_0.16.bb +3 -4
@@ -5,10 +5,9 @@ SECTION = "devel" LICENSE = "PD" LIC_FILES_CHKSUM = "file://README;beginline=146;md5=881056c9add17f8019ccd8c382ba963a" -SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz \ - file://mkdir.patch" -SRC_URI[md5sum] = "3bf508fabd52ed7334647d0ccb956e8d" -SRC_URI[sha256sum] = "48c12564297641cceb5ff05aead57f28118db6277f31e2262437feba89069e84" +SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz" +SRC_URI[md5sum] = "e2c6cf52fc6a21595f21bc82db5324f8" +SRC_URI[sha256sum] = "605058d18a00e01bfc32aebf83af35ed5b13180b4e9f279c90843afab2c66c7c" BBCLASSEXTEND = "native"
Signature · 1 line
2.18.0