Skip to contentSkip to conversation

packagegroup-core-sdk: Disable sanitizers on musl

PATCH In review Khem Raj 2 participants 4 messages Aug 7, 2015 – Aug 10, 2015

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/2 packagegroup-core-sdk: Disable sanitizers on musl

sanitizers assume linux == glibc :(

---
 meta/recipes-core/packagegroups/packagegroup-core-sdk.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-core/packagegroups/packagegroup-core-sdk.bb +1 -0
index 5b11861..3badd0e 100644
@@ -34,6 +34,7 @@ SANITIZERS_mips64 = ""
 SANITIZERS_mips64n32 = ""
 SANITIZERS_powerpc64 = ""
 SANITIZERS_sparc = ""
+SANITIZERS_libc-musl = ""
 
 RRECOMMENDS_packagegroup-core-sdk = "\
     libgomp \
Signature · 1 line
2.1.4
author
#1 lore raw

PATCH 2/2 gnu-config: Update git version to latest and use it

latest gnu-config code has all the patches to support musl/uclibc upstreamed so lets use it after upgrading to latest its GPLv3 with autoconf exception but the GPLv2 copy of recipe is left in as well to not break non-GPLv3 builds

---
 meta/recipes-devtools/gnu-config/gnu-config_git.bb | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)
meta/recipes-devtools/gnu-config/gnu-config_git.bb +6 -9
index 754a99a..3d5f2b8 100644
@@ -1,27 +1,24 @@
 SUMMARY = "gnu-configize"
 DESCRIPTION = "Tool that installs the GNU config.guess / config.sub into a directory tree"
 SECTION = "devel"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://config.guess;endline=39;md5=0e6ca0501b27177f3bc640f7225e3ead"
+LICENSE = "GPL-3.0-with-autoconf-exception"
+LIC_FILES_CHKSUM = "file://config.guess;beginline=7;endline=27;md5=9bac8b1743c2240ae07cce6e546ac2f2"
 
 DEPENDS_class-native = "perl-native-runtime"
 
 INHIBIT_DEFAULT_DEPS = "1"
 
-SRCREV = "a47f842264fc19837f8a00eb1d2d254a4c527334"
-PV = "1.0+git${SRCPV}"
+SRCREV = "b576fa87c140b824466ef1638e945e87dc5c0343"
+PV = "20150728+git${SRCPV}"
 
 SRC_URI = "git://git.sv.gnu.org/config.git \
-	   file://config-guess-uclibc.patch \
            file://gnu-configize.in"
 
 S = "${WORKDIR}/git"
 
 CLEANBROKEN = "1"
 
-do_compile() {
-	:
-}
+do_compile[noexec] = "1"
 
 do_install () {
 	install -d ${D}${datadir}/gnu-config \
@@ -40,4 +37,4 @@ do_install () {
 PACKAGES = "${PN}"
 FILES_${PN} = "${bindir} ${datadir}/gnu-config"
 
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.1.4
#2 lore raw

Re: [PATCH 2/2] gnu-config: Update git version to latest and use it

Quoted 3 lines · Khem Raj

its GPLv3 with autoconf exception but the GPLv2 copy of recipe is left in as well to not break non-GPLv3 builds

As the files in this are only used to configure the build, could it be whitelisted to allow it to be used in a no-GPLv3 build?

Ross

author
#3 lore raw

Re: [PATCH 2/2] gnu-config: Update git version to latest and use it

Quoted 10 lines · Ross

On 7 August 2015 at 21:18, Khem Raj <[email protected] <mailto:[email protected]>> wrote:
its GPLv3 with autoconf exception but the GPLv2 copy of recipe
is left in as well to not break non-GPLv3 builds

As the files in this are only used to configure the build, could it be whitelisted to allow it to be used in a no-GPLv3 build?

it could be. Remember its GPLv3 with autoconf exception but still its a new license for folks to use

Quoted 1 line

Ross