From patchwork Fri Jun 9 03:41:34 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 103440 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp25969qgd; Thu, 8 Jun 2017 20:43:22 -0700 (PDT) X-Received: by 10.98.139.66 with SMTP id j63mr11976108pfe.183.1496979802624; Thu, 08 Jun 2017 20:43:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496979802; cv=none; d=google.com; s=arc-20160816; b=at6o1qpXp3x2NzHF3K8UaIr+fQyDMHmjYsPc8sEe1mnDLB9mfgURjpgjzMZtdRWE5E p00qJcVDTqxxsXH4txs05yVu3Z74z8bOUHQU4c6PmTyxfO1UnRI5g0vsVa1OdxwE/Fv5 8VqozhEPvvpcYOIxka2gjoek4cBCDKbe3eStYBaPAJRyMMMBH2kVS4maVEVast4JU2jB g+zT/wva0PhXN31Nx4UsZWvxH1WbQ0EevtwX+niPSZB1FLH40dtlOq8NoamWXz0mQ6C0 CMfSW6Zr9WUH08W+PInwDC0KoVSiN/1ogVeCUOYe0wolPHfE8cMeUs6Uft/5Zm5oIUpg UsVA== 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=tAXKydQFW/69m7l09mnQ7WzAmJO68UvSBTVLo3RhXKQ=; b=tt/BcmpYfA27RDny2koBJylFKG0U5hxD1sfmY2lU4UP2L6/ymYqLKP6ukvJ2wlWBLM Y380XQka/yydcl9PeYc8bNy0FTOgqsig8nPjfRSKuNVIEOnqSLFpBZSG+lhrKN4b0Fz8 wFotlSWxV/61/TelgjCIHtxUowHInZNreHZ9aLGQLKLk5z0ooZtwVAtqvvYqEpV42Ky6 zHtySxzSAfXxqQktLfGK/8PJKDabFCnycBgbUNvp2vlB3zEfra4omrhkyhBONr9LR2gz 5vaAOzVahJ0wU3+9o1aKKGoFap2gUlg45BH8eyYF8yiHLLJ1xWZL5ExFsjlR3K0tv4M4 Lmyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com; 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=NONE 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 l62si5955600pfk.80.2017.06.08.20.43.22; Thu, 08 Jun 2017 20:43:22 -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; 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=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 5E55578285; Fri, 9 Jun 2017 03:43:17 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg0-f68.google.com (mail-pg0-f68.google.com [74.125.83.68]) by mail.openembedded.org (Postfix) with ESMTP id 9DABC78267 for ; Fri, 9 Jun 2017 03:41:47 +0000 (UTC) Received: by mail-pg0-f68.google.com with SMTP id v14so6456671pgn.1 for ; Thu, 08 Jun 2017 20:41:49 -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=fF0Yz8Rhz17lha3vXPqyumuR5qGesiSbp/3ShpTAjZA=; b=LEeSuEyHbuahHoUYVBbUBJlZQHrnsnkEJ+Ppez6xrYeyZvNLUYV5tvMmDc1Os1bSga 8qTNyhti3mFgS72TmK+2OzXWqv5/jl/FkHo+53U5oH3ZvNEZ+kGOwF7Xhts7aOmEqeik IENdDpyPJq7U91jkuVswCHW4+lea1v2TrZK8DkEd/4CvHrqAdiqJWAonamYwfBwTlTae 1G0FGg0agXRuxnXFJImj0K97TP2yI5HWheI+vueIN9VO4+4x1rU/21BiJFFkCUG5eYxI ya2Nq7YAuvPYB0E7CvdTW7rpo7hRKDrs+/WyAA7ee+r9zaQEKgy6s2j9VYCULrcFNEoN uCzQ== 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=fF0Yz8Rhz17lha3vXPqyumuR5qGesiSbp/3ShpTAjZA=; b=o78C/g/alFX+5gX2NgqKKnR/YEOGzZqc/Pq57mZ9tTknoSKv7/WoW/Fu8g3G1TQ+DP IepDw134v2D6TmPvDE2GM0qn5FiY86sHju1wdXFZw0nAmD6GbsgYXLTtyBXJVZ0IycQ/ j1ypk+80JlkRo5mU5w91bXZvE0lKHUg93rxPCIO7u+R+6rLvnS1qKRD+bencAfO1wK4z rJuibYAjv3YG77j6X22uzLbOzGTM81iXshaYWRHcAYYAJ0+4DVeSpoE8xGPw6IgJ0idF Rv5DcobWJtTc7FPrTKt2HKG0FFEO8l+Ka5/eZkSUqmJUZouaRw7eEaZroBaxPTUk5XVB B59w== X-Gm-Message-State: AODbwcBgJFgnBYPBOQN+dYT6BtnfSBFeRoAnvozOqLHmhxeJnX3WylcW 41F1arsqsGwHAVz2 X-Received: by 10.84.174.131 with SMTP id r3mr22802975plb.90.1496979708551; Thu, 08 Jun 2017 20:41:48 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::264a]) by smtp.gmail.com with ESMTPSA id z64sm12587357pfd.20.2017.06.08.20.41.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Jun 2017 20:41:47 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Thu, 8 Jun 2017 20:41:34 -0700 Message-Id: X-Mailer: git-send-email 2.13.1 In-Reply-To: References: Subject: [OE-core] [PATCH 2/3] pulseaudio: disable PIE flags when hardened flags are enabled 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 Fixes WARNING: pulseaudio-10.0-r0 do_package_qa: QA Issue: ELF binary '/mnt/a/oe/build/tmp/work/i586-bec-linux-musl/pulseaudio/10.0-r0/packages-split/pulseaudio-server/usr/bin/pulseaudio' has relocations in .text [textrel] This also makes bitbake -c testimage core-image-sato (hardened) build to pass all tests Fixes AssertionError: 1 != 0 : Log: /mnt/a/oe/build/tmp/work/qemux86-bec-linux-musl/core-image-sato/1.0-r0/dmesg_output.log ----------------------- Central error: [ 20.726960] pulseaudio[729]: segfault at 80052b6c ip b771b4fc sp bfc97940 error 7 in libc.so[b76b6000+97000] Signed-off-by: Khem Raj --- meta/recipes-multimedia/pulseaudio/pulseaudio_10.0.bb | 2 ++ 1 file changed, 2 insertions(+) -- 2.13.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-multimedia/pulseaudio/pulseaudio_10.0.bb b/meta/recipes-multimedia/pulseaudio/pulseaudio_10.0.bb index f3a85737fc..3ea35e592a 100644 --- a/meta/recipes-multimedia/pulseaudio/pulseaudio_10.0.bb +++ b/meta/recipes-multimedia/pulseaudio/pulseaudio_10.0.bb @@ -8,6 +8,8 @@ SRC_URI = "http://freedesktop.org/software/pulseaudio/releases/${BP}.tar.xz \ SRC_URI[md5sum] = "4950d2799bf55ab91f6b7f990b7f0971" SRC_URI[sha256sum] = "a3186824de9f0d2095ded5d0d0db0405dc73133983c2fbb37291547e37462f57" +SECURITY_CFLAGS = "${SECURITY_NO_PIE_CFLAGS}" + do_compile_prepend() { mkdir -p ${S}/libltdl cp ${STAGING_LIBDIR}/libltdl* ${S}/libltdl