From patchwork Tue Aug 14 16:32:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 144199 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp4571019ljj; Tue, 14 Aug 2018 09:32:54 -0700 (PDT) X-Google-Smtp-Source: AA+uWPw2gSVFCXtPv8XXWW2CDEQsWkM2FQU0r4ivr2+bct1E+f8No1RN2ptNj9j0bb2aP4VvqbfI X-Received: by 2002:a63:81c3:: with SMTP id t186-v6mr22204057pgd.413.1534264374352; Tue, 14 Aug 2018 09:32:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534264374; cv=none; d=google.com; s=arc-20160816; b=q9SESl7Rv/QyOfaVxSghRVTx+y9L3pneVoBptSW8LAdouMK/+dc7q9MYwZvigTzlcG 11n/4qB9urBurH+5rkEEcSU1qUKRCB4z2MtYPdSlMNX2G4kuNySjHfHfp151vwyMqRL2 rmaAOMF85vfb6ITNxRftF0YFBUuKcegiJFtA/eV5vUD97DeRH+ynsz8678E4uxzVJffg ZfIc46fkCJiKNeK0i7VUsOBjn27ICoaqLfMMYMQGQXY0znJMMfK+CwS+GFdFFlFq5mPc 8tai4UjdlJaXHw257RT5G5/tj2MHqJzeulEt44O/q6xkMqlZkbrWnn45rlXAiZoUO2gI a3tQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=SsZwtW8VLUC9NQIUSuD3S4li5UVXkzDqSwX8ya+OO4Y=; b=CfGDtp185ZWu8mv62BLevv7kF0ODJ03zLMFVLrI6h2yJPiQWTsxQ2mvTU4fV+AoS++ TwYsOCA6TkpWS84W0JGQjTJSaOAX4noIrlduQPn6RCt3M67Yfq2HzYF6YuixjSUZiRgk 0gthaCxlnvfG0moMJtc6C7kel1IXsCQ8KclUTzIvG/c+A0CYv/SDnU/prdw5P5fFJlgR IAoIVpBrdJDhOYwOO/TVHHYLdhx+kMZFN8y3CdMfIp1M1h/pTXR4c4tWqa+aoN8WFO/E JCi1gvbcYNLySad0ON2YHOp0VyntmboI3pRK4auzqfQ6GS56ZpF/FSvm1QUIXd9JhGna cmPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=IoBeGvNX; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 6-v6si22333940pgg.366.2018.08.14.09.32.53; Tue, 14 Aug 2018 09:32:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=IoBeGvNX; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 3B1F47904D; Tue, 14 Aug 2018 16:32:52 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pl0-f50.google.com (mail-pl0-f50.google.com [209.85.160.50]) by mail.openembedded.org (Postfix) with ESMTP id 3DF4A79029 for ; Tue, 14 Aug 2018 16:32:51 +0000 (UTC) Received: by mail-pl0-f50.google.com with SMTP id w14-v6so8523075plp.6 for ; Tue, 14 Aug 2018 09:32:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=droCivGEqKmogyNEOqR5rSfjanR3M13EO1/d+OM4zA4=; b=IoBeGvNXmnnl+h/3AFeOcaW7C4C4XbKiDZg55Mkx1ILd1tc2tU22+m5cVk7XJWndrM hoDaTVztZJ7IlazGlL1jaHjCw4WhQ7CuCMSnVH5funz2UoK2ab/jv3aDLuEbTqWdZvmE e3RC7j3LdK0oyv/fFt3JT4Q8mH19Cx9u7GJ/oSyzobCHwit43e6EuxLTL95JI/RT+9bu 8EasPMgSgry1OMEe9ZL2aNnB6ZNx3NNzD3eAeHL29IBEFzkKl0L9CcdY3KJEfEuBmrzX 7HaSbjA6VseJpyQYVTOGPJ6jPEasWjWDCKVzO0VktWSrrdDO8OgR4eVVcFaaD+ekuwI4 025g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=droCivGEqKmogyNEOqR5rSfjanR3M13EO1/d+OM4zA4=; b=bq1w7jJFqjxz8reiXM7AEd+4hR88X7BLMNV5nzd1HfgMjhErSlFlO2tbnCcL4GgR63 KXEhePxR5KpE5LNPu3Jjo1p9+5ixCu3xeYyuwdgRsm9WGQVgwK1ePxwYQmQi2vm04YmG bq/W85NpXx4+GeeXxSXnmp5st4HEeNyF3qx9TxF9s3IhtJ71wcwBkSOuu8Pkt0NpwUMJ EmJ8bHLL8H9cEpJPjBw2F52ZLpn4qRsg6w6m1pkI6B4s+KQBUNcO2VBHyJkbpYok/SVj MEpq3YMD2n1BB0QiQZKD6kJUi8ZslSvHntTnrgYsenYKDLSr29J9idcDODfQZN+pkWaw dvBg== X-Gm-Message-State: AOUpUlHLMi44RI2ktTb/B1lDSdww24PuxyGxXoGgUkOfCIhB4hx/2XYT baMrNYJkiQb+xvQVWy5nvcYXzhXY X-Received: by 2002:a17:902:70cc:: with SMTP id l12-v6mr21215979plt.132.1534264371899; Tue, 14 Aug 2018 09:32:51 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::f217]) by smtp.gmail.com with ESMTPSA id v6-v6sm41075345pfa.28.2018.08.14.09.32.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Aug 2018 09:32:50 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Tue, 14 Aug 2018 09:32:42 -0700 Message-Id: <20180814163243.24088-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 Subject: [OE-core] [PATCH V4 1/2] musl: Fix dirent struct alignment issue seen on armv5te X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org - its a general problem however observed on armv5te based boards in OE other arches either have ways to compensate for misaligned access in hardware or compiler does not use 8byte alignment - fix internal linux headers Full logs https://git.musl-libc.org/cgit/musl/log/?qt=range&q=9cad27a3dc1a4eb349b6591e4dc8cc89dce32277..1ad8138819ced49851e618c9c063aa0ffc86718c Signed-off-by: Khem Raj --- v4: Update to latest upstream master meta/recipes-core/musl/musl_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.18.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-core/musl/musl_git.bb b/meta/recipes-core/musl/musl_git.bb index b56870cb3f..c13371014a 100644 --- a/meta/recipes-core/musl/musl_git.bb +++ b/meta/recipes-core/musl/musl_git.bb @@ -3,7 +3,7 @@ require musl.inc -SRCREV = "9cad27a3dc1a4eb349b6591e4dc8cc89dce32277" +SRCREV = "1ad8138819ced49851e618c9c063aa0ffc86718c" PV = "1.1.19+git${SRCPV}" From patchwork Tue Aug 14 16:32:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 144200 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp4571088ljj; Tue, 14 Aug 2018 09:32:58 -0700 (PDT) X-Google-Smtp-Source: AA+uWPwI3yKboT0t2AQAw5BXPTZ4/Qdr6sEwLC2+B1i669dwpjxiHgXvPJycTZ1ipBp/Iu/+fMzM X-Received: by 2002:a62:c410:: with SMTP id y16-v6mr24083751pff.161.1534264378390; Tue, 14 Aug 2018 09:32:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534264378; cv=none; d=google.com; s=arc-20160816; b=mGqsuk5Yd/fGDjkMZBFPqFU7c+YcoJJkzY555HWmVgjB/hCxOV25aiNtursfNCL5Wx 3xvelc77G0AlbJa8ELs4W3jXB2ONCtwAjDCHM9Cvs3RhUk0XxYO4lc44qQcXgP2OKOMi WiLNsl4GopFiSVtZRJf1O2J8GNJAGA5Ws1qqji0ChaRW174Oa4ed/0i6F6SmXaH5Qw7c fYRk4Hdc2AKzUkgw3RSqnEyDXskffmapezkU1ulzvTRjVRgiUX0IB2StR5/6n0KTiI+V h1acqijBipqYQ5cJWtLcJKBWGcf7nt6pTbfqHbfHjUYTzHKw9EzhjSHa8N8RYczqS1iK /l9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=LZjdM36CvA9EjK+ymkobNFchWE4Kav1Ja73eV1XS5es=; b=Flvp3fd2ilJUyns4LKHf3sh+xceb5CXWyZqYO+Y+jhUASaOzvL/y57AFYdd0Rb0I+Y DkTf6boiIkrEUx8OggqEPLEve9NnAr9WDGhVzcz1KD5xW9GntyVM0TUET0+ZNt5Rx0be lTvU444AUFc3MU4JsbH5yoyT65lmB2VP11Q1i+fQOf/fOp/xf5TMPlqEthfzAu1wcm+q TmgI3RhoP0oJSyWfxrnL6/msy4fAUbR1pGaWiTZ6sn6RSZbQYq+Nakhs6m/qXNwaDiFe A7SQAvGfhYQ7Lu+14q5RUrLgEVtG7T34jc3rnNwP/UQNovrz91hEe55W2Y6Onva5JDdR qrBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=fVB6BD9N; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 13-v6si20968741pgt.638.2018.08.14.09.32.58; Tue, 14 Aug 2018 09:32:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=fVB6BD9N; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 8656B7905E; Tue, 14 Aug 2018 16:32:53 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pl0-f53.google.com (mail-pl0-f53.google.com [209.85.160.53]) by mail.openembedded.org (Postfix) with ESMTP id DA2ED79029 for ; Tue, 14 Aug 2018 16:32:51 +0000 (UTC) Received: by mail-pl0-f53.google.com with SMTP id g6-v6so8516634plq.9 for ; Tue, 14 Aug 2018 09:32:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=E9g64zqCggKgjWVrXQgXb38Bdya+7kMi6UwU+NGH7PA=; b=fVB6BD9NCm5ct2XXcniJHq0oteBCydDYS88h0zcIyky3r9BuMC5jgPoHKrsUZX0NeA k5nNixzygeoy868c17hR83LrH0u+Ww84SZCJrI5M0XT8nEixKpqv8tNv/hMGLAq0ctHT mkQGDZYtrjLIR9kMlEOhqbqMb3Y5YX1auBPpYhBGhQUze8tTIktstT8wpxHEJeFxsGTF i9agGYNQB+i18qv2m+H5zUt53ezgryzlPOR34ln6V2IwSpzCbLQ4zYom3d753lhBtoTS 50Pa5JZ6N5x8d0zlHALgNI04ZOCeBFL9y2v0TWJ93SIvMPT9e8JCJWvgOtZ2S6WXX7Ox ktkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=E9g64zqCggKgjWVrXQgXb38Bdya+7kMi6UwU+NGH7PA=; b=lr/unHAq3PpIXRXz5AcSnkznZfOjqk8OOX7GYcXGoJERaZPZ154+XSjSwsjQ4jC7bp PPJpqJjRaXB89GwFlJc6Pqna/5GKF9/p6A1liyI5UUchr4nCrdy+yNvIGMkMYpQDDqa7 lLyL001rBoa1Bgpj22Wce0aSfdgkS4GaFKVuYlUWCcu3d0TA2xb33lnpRmr7eQtrXHIg CLrdRVvseN7Jwm0R92XZ3yc3yGe7SmjPpXaQGDWuMQPZAoTeYg9BYqBrl6runMWQ7Kbn I86bMz2/vyASvg0QbEbCk34WJl3g00FAHxEfHkXTXpap4HokP6PlGNqgG5M6ZGAO8FRq rdrw== X-Gm-Message-State: AOUpUlF42qI2crnixRwJicLIxCho7LblkwDyW9CLMxh9opD4hkWx2tVq n3CSqVXl91rOebrOhgdXsxL/4xeo X-Received: by 2002:a17:902:20e3:: with SMTP id v32-v6mr21260326plg.232.1534264372589; Tue, 14 Aug 2018 09:32:52 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::f217]) by smtp.gmail.com with ESMTPSA id v6-v6sm41075345pfa.28.2018.08.14.09.32.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 14 Aug 2018 09:32:52 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Tue, 14 Aug 2018 09:32:43 -0700 Message-Id: <20180814163243.24088-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180814163243.24088-1-raj.khem@gmail.com> References: <20180814163243.24088-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH 2/2] eglinfo: Fix build with raspberrypi with userland graphics driver X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Let pkgconfig figure out headers and libraries instead of manually forcing waf to do it. Signed-off-by: Khem Raj --- meta/recipes-graphics/eglinfo/eglinfo.inc | 3 +- ...01-Check-for-libegl-using-pkg-config.patch | 31 +++++++++++++++++++ 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-graphics/eglinfo/files/0001-Check-for-libegl-using-pkg-config.patch -- 2.18.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-graphics/eglinfo/eglinfo.inc b/meta/recipes-graphics/eglinfo/eglinfo.inc index 8e7d9bddda..c8f0e897bf 100644 --- a/meta/recipes-graphics/eglinfo/eglinfo.inc +++ b/meta/recipes-graphics/eglinfo/eglinfo.inc @@ -8,6 +8,7 @@ DEPENDS = "virtual/egl" SRC_URI = "git://github.com/dv1/eglinfo.git;branch=master \ file://0001-Add-STAGING_INCDIR-to-searchpath-for-egl-headers.patch \ + file://0001-Check-for-libegl-using-pkg-config.patch \ " SRCREV = "4b317648ec6cf39556a9e5d8078f605bc0edd5de" @@ -15,7 +16,7 @@ CVE_PRODUCT = "eglinfo" S = "${WORKDIR}/git" -inherit waf distro_features_check +inherit waf distro_features_check pkgconfig # depends on virtual/egl REQUIRED_DISTRO_FEATURES ?= "opengl" diff --git a/meta/recipes-graphics/eglinfo/files/0001-Check-for-libegl-using-pkg-config.patch b/meta/recipes-graphics/eglinfo/files/0001-Check-for-libegl-using-pkg-config.patch new file mode 100644 index 0000000000..0289ac228c --- /dev/null +++ b/meta/recipes-graphics/eglinfo/files/0001-Check-for-libegl-using-pkg-config.patch @@ -0,0 +1,31 @@ +From 58d51d941d3f4dfa38be18282d3e285d76d9020d Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 13 Aug 2018 15:46:53 -0700 +Subject: [PATCH] Check for libegl using pkg-config + +Upstream-Status: Pending +Signed-off-by: Khem Raj +--- + wscript | 1 + + 1 file changed, 1 insertion(+) + +Index: git/wscript +=================================================================== +--- git.orig/wscript ++++ git/wscript +@@ -160,14 +160,9 @@ def configure_raspberrypi_device(conf, p + conf.env['PLATFORM_USELIBS'] += ["X11"] + elif platform == "fb": + conf.env['PLATFORM_SOURCE'] = ['src/platform_fb_raspberrypi.cpp'] +- conf.check_cxx(mandatory = 1, lib = ['GLESv2', 'EGL', 'bcm_host'], uselib_store = 'EGL') ++ conf.check_cfg(package='egl', args='--libs --cflags') + import os + sysroot = conf.options.sysroot + conf.options.prefix +- std_include_path = os.path.join(sysroot, 'include') +- vcos_pthread_path = os.path.join(sysroot, 'include/interface/vcos/pthreads') +- vcms_host_path = os.path.join(sysroot, 'include/interface/vmcs_host/linux') +- if not conf.check_cxx(mandatory = 0, header_name = ['vcos_platform_types.h', 'EGL/egl.h', 'bcm_host.h'], includes = [vcos_pthread_path, vcms_host_path, std_include_path], uselib_store = 'EGL'): +- conf.fatal('Check if --prefix and --sysroot are set correctly.') + conf.env['WITH_APIS'] = [] + if check_gles2(conf): + conf.env['WITH_APIS'] += ['GLES1', 'GLES2']