From patchwork Tue Jul 11 04:54:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 107334 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp4372064qge; Mon, 10 Jul 2017 21:54:47 -0700 (PDT) X-Received: by 10.98.13.219 with SMTP id 88mr49101160pfn.191.1499748887591; Mon, 10 Jul 2017 21:54:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499748887; cv=none; d=google.com; s=arc-20160816; b=CEMzBZR3GDLcKY065MfsJJEIA0EM6R6TNz1J2yJlFV+k/t4TbVB43uxy8cYoU7SG8f a7rWVtXvbp99ZVOpSNLpcP43IEHx8CWl+MftHqimGt+dRJuLibjQJKpJF1CLTEqdr+GQ C6ZzklvChPTcfZ+c1nLdMrngO64fvysCPvW3hTvV6lmGSIJ+J3LGPG4FGWpFJ5pcZWKG XPnX8dqdKriIXiQmnvwgB2w4gSwpn9oxJxP3XXgPZCHQlHfAJi7gt0gKHI3gV2nLFR7N c6xAivlaQn7oyoaDHl6/pBYR08JzgjNE+ETI6IahLQtTeOJ7z86inYCMAf9zZnys3y88 2CzA== 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=vfjh5rpx4R1livtvDtx25ZPf8uTIgQxvY2ky25bPF6E=; b=DwFmgXpKi21PGsiNrmUOKwVdvbJA4awNBHvHsL4KK8zSIphVsd2OsE25KWwFCca14J hdrS8e+WD0Obq1dN24cbEsmW/WqRaIgptPGzfNYuxHjysYaK4joeR28LnrkLIPOxac0L Dw1B6F/wi2FYx6Z+eQ2Ik/Fs8o0Mfw1absmQ4ddvjqFe/mVHF4F8/oIXdHx5yWsJ5eGa Bs/dJq0oaVLW1J56cjiQgLmiPFnbW7LYDa/yDa9FAtHrAUfvrvKUWBAji6Fh90WaP91k urjoxD7ZmGvVQyF664CxeYmoGZsGooLphgggvthv1pIAfXNurN0fSfU4tQ0aSR1qw5EM 1LZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=vRmOCOwW; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-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 i128si9383682pgc.400.2017.07.10.21.54.46; Mon, 10 Jul 2017 21:54:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-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.b=vRmOCOwW; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-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 D3DFA77E87; Tue, 11 Jul 2017 04:54:35 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg0-f66.google.com (mail-pg0-f66.google.com [74.125.83.66]) by mail.openembedded.org (Postfix) with ESMTP id 7D1B877E87 for ; Tue, 11 Jul 2017 04:54:32 +0000 (UTC) Received: by mail-pg0-f66.google.com with SMTP id j186so15194831pge.1 for ; Mon, 10 Jul 2017 21:54:34 -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=and5wzbPl7on5DUeILVeVwYIV4avmuPBWe35lJV/SE8=; b=vRmOCOwWyOaYSfslratNWf7o7vUX0uX9nT32t8x37BYIFwFyvNPdxVYtesKhibDWR3 s0Y4mvKNK5SKt7xdgfJYNRHhLTzmFsfN9Y7Pbxk16O7r41F0ymvRRllWQoTRshCA9E0h L3FVzu9kQDL9L8tEQN/tIYqK3dzRPD0TOtUxpbGo/jlu+5g3M6dpQ+7UlAP+nsVAtKbx 2Jhl01ndEx/FRX+xO8d09R/rqdRs9a1H9D2ye8Hd9MzPA7DqpVaoBacdKdqeCQqG7bsf SBXgf9RIQtc2PnnoInfMq2Pq0L7iK0cgSnKssCd/U9N53vg1ilY36oQtJpj67CGdORaD POww== 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=and5wzbPl7on5DUeILVeVwYIV4avmuPBWe35lJV/SE8=; b=h5eW2r+SESY5hkuwMVWJtCAQpzY8bIQ1WVZh9tvxz8jTKDxx5ndd1mkiTrJe/uuD6a kptavpXETYUqSR1p84YBkwHX57qbiL5X3GwKtXvmOKkkWKLnRq3EmuJUZGTfnXPj1eYL OB7O8nLn04RX7bbVsftrnEk0EUBP9IVJoN6D3eGC2L8D7yxsovh+5Orm9vW1Gc9y81NK thd5Od3rxDxKv6NPPeS78sBCjeIGqId9ZXm2js9TTv8ZEdOQBR9vhTmQGskxiE+fII9+ 80dfi6VrUyLw5S3eP0bFlTtV/Qd+1eIsQNOdTvhT3NSigAxTDYfe1zQhY6sXXfQyntWF 4MDw== X-Gm-Message-State: AIVw112AIzOuRABy0CWEituCDB6dSvFE9IFdJASre3NJzZbaAx8qyUdq IIu6vugylriEtPEb X-Received: by 10.98.109.194 with SMTP id i185mr48802200pfc.138.1499748873128; Mon, 10 Jul 2017 21:54:33 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::7028]) by smtp.gmail.com with ESMTPSA id l85sm24947833pfi.53.2017.07.10.21.54.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Jul 2017 21:54:32 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 10 Jul 2017 21:54:21 -0700 Message-Id: <20170711045423.21332-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.2 Subject: [oe] [meta-oe][PATCH 1/3] libdbus-c++: Add -pthread to linker flags X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org It uses symbols from libpthread e.g. pthread_mutexattr_init and pthread_mutexattr_settype but does not link with pthreads, gold is strict about it and calls out with an error ../src/.libs/libdbus-c++-1.so: error: undefined reference to 'pthread_mutexattr_init' ../src/.libs/libdbus-c++-1.so: error: undefined reference to 'pthread_mutexattr_settype' Therefore correct the linker cmdline Signed-off-by: Khem Raj --- meta-oe/recipes-core/dbus/libdbus-c++_0.9.0.bb | 1 + 1 file changed, 1 insertion(+) -- 2.13.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-core/dbus/libdbus-c++_0.9.0.bb b/meta-oe/recipes-core/dbus/libdbus-c++_0.9.0.bb index 4cc133301..a6d8b86ee 100644 --- a/meta-oe/recipes-core/dbus/libdbus-c++_0.9.0.bb +++ b/meta-oe/recipes-core/dbus/libdbus-c++_0.9.0.bb @@ -21,6 +21,7 @@ SRC_URI[sha256sum] = "bc11ac297b3cb010be904c72789695543ee3fdf3d75cdc8225fd371385 inherit autotools pkgconfig EXTRA_OECONF = "--disable-ecore --disable-examples --disable-tests" +LDFLAGS += "-pthread" PACKAGE_BEFORE_PN = "${PN}-tools" From patchwork Tue Jul 11 04:54:23 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 107336 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp4372918qge; Mon, 10 Jul 2017 21:55:49 -0700 (PDT) X-Received: by 10.99.55.10 with SMTP id e10mr18525187pga.176.1499748949474; Mon, 10 Jul 2017 21:55:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499748949; cv=none; d=google.com; s=arc-20160816; b=ZJcc2YpYY7crt9g1cDLZJIxkDMB/4ltwcyMPJjn2ctJ6wLm6nZ0095VnSx/KeNtUV/ rvPBfvwhsRbdmSDIthhnuENJsq7vqzU+maeKqzc+7RsEmPJFPKnAFUTkP/vPpwJ52HQp ErIare9yTW9B/am2quiHUWnT+U5JbwKkvHTRaF1XN01ekVer1BSN0UxWTWeVAMXzRd/P FmYCrXUFkr6pmHLoPGujxsXcrX/1J2/CvHpEJghr/7kFTYgiqj1+bw4liKgN7ox0TtBe jP0VUUmP3EBR9uPzh15ovDnbRrBjz6T/4hK7Q7lGFgsRKJDdVFtPamon1cxtPBKATGJH caXg== 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=LnKPbUWgEIuIjlcRYeALdtsb0bu53SIL9j0AUrkBzIU=; b=sHjyynSK7He4/3iluJlGri+1QB+eyQR5ZB37JOMM6peVmjDpKXtYAd3beiTaUQi6Gi KjyryMaxHp4I8HzbdmqXGPFA83Q5QqkKQnbrAQ76Kgt39HRYgwmhKrcihjQfTcpAq6Wr s6CRmBSlU/hLv0vqgC1eYZd9I0yA6jJCFfsI76QjsUT7koW22fvQhhSv/LbzR1ztiKcA KoYnWSnZDoH4b8eL4vxoQCMtrc24UsH95uk18oy3YW8sGsEwq8lxT1xisZQRTCloxsvY pQsYiHyU7/Mhxn0/8mcXnwPloP1vbdwKZZjROmw4sylooB3nEO0AMuRQ8HuYwfUm0rhu 6ADw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=tURFy2hU; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-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 6si4092741plf.518.2017.07.10.21.55.49; Mon, 10 Jul 2017 21:55:49 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-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.b=tURFy2hU; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-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 4089077F38; Tue, 11 Jul 2017 04:55:42 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f196.google.com (mail-pf0-f196.google.com [209.85.192.196]) by mail.openembedded.org (Postfix) with ESMTP id 1662E77E87 for ; Tue, 11 Jul 2017 04:54:34 +0000 (UTC) Received: by mail-pf0-f196.google.com with SMTP id c24so17271270pfe.1 for ; Mon, 10 Jul 2017 21:54:36 -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=12HmN0rOTvR2jScIQMfYPebbHnpYlM51RbunOKE+Kp8=; b=tURFy2hUI1ykn77VF4kW1dz+bOwdcEMGN+h+dIno/slQ2+8liCw1fH9bVO2NRLUlf8 bRYcRf5LQ9+yaI3Bl1KSoWJMUVmNDRs//EFxQanexhrSohFvZoOGrnZ1JX3dW3YQeMUs aqJnAQw2J2klX4rNz/qLCJba0qa+jxWeDqBxfC0aJnLUi64eI5YGhgyGHx/VaknY6DpP wgBL5Kr+f7apdk1OjpgusaZjj2pfJous5sUPCK/JFKXxMgYHzFSpXSKJb7q6xbKgUFw6 YZ+AN9EdPE6c1kYx6fi34pkRimX0H37RamLtDbdVeCAUMC5732elL5sa7VWXezlvTXCs 1HXQ== 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=12HmN0rOTvR2jScIQMfYPebbHnpYlM51RbunOKE+Kp8=; b=rhj1WKQ6+EqzdMJgVEFim3Fa72R3ezoBxzkH1kHHVV57vG1J5VgtZ4RxyawWgM8mlm OVfoCewx3C8ual7mJtgWl0AnzJtj4a7iqGoBhYA/uqnhIZeyXmaHuimp8fXeD8b2vqJq h2Ogd4T7Ff+BwYmdzn8nGE5Mh41TfZ8u40I0xavhkMeheogiWQNNm/BW1s5VwBctc+V5 JW3HJkwuVeDUNGh2/D8j53j+fgVauCMNHoJ0GR58gv9vCVIICo1UUeR4Spw8E1uuou6E Zoqs0ZBKzE9sEr3vIiX5Qu1WiO58/RPNm1lK8jupC1o2l95QkWgd9AAoNf2KCbNdMBjN zF2Q== X-Gm-Message-State: AIVw113hSQTPANDsuFqU5tnKxJWci7zwzHI67gBsPGZEfFhPrnjADBlN SffE7HlmXRUmoi1I X-Received: by 10.84.232.135 with SMTP id i7mr21791697plk.300.1499748875993; Mon, 10 Jul 2017 21:54:35 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::7028]) by smtp.gmail.com with ESMTPSA id l85sm24947833pfi.53.2017.07.10.21.54.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Jul 2017 21:54:35 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 10 Jul 2017 21:54:23 -0700 Message-Id: <20170711045423.21332-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170711045423.21332-1-raj.khem@gmail.com> References: <20170711045423.21332-1-raj.khem@gmail.com> Subject: [oe] [meta-initramfs][PATCH 3/3] ubi-utils-klibc: Pass TUNE_CCARGS into CFLAGS X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org This is needed for hard float ABI selection options Signed-off-by: Khem Raj Cc: Andrea Adami --- meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_1.5.1.bb | 1 + 1 file changed, 1 insertion(+) -- 2.13.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_1.5.1.bb b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_1.5.1.bb index 8ca1ca727..867407723 100644 --- a/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_1.5.1.bb +++ b/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc_1.5.1.bb @@ -21,6 +21,7 @@ SRC_URI = "git://git.infradead.org/mtd-utils.git;tag=b7455d847ab4f9eeeb6a729efc3 S = "${WORKDIR}/git/" EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} -I${S}include -DWITHOUT_XATTR' 'BUILDDIR=${S}'" +CFLAGS += "${TUNE_CCARGS}" do_install () {