From patchwork Fri Aug 25 03:56:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 110968 Delivered-To: patch@linaro.org Received: by 10.140.95.78 with SMTP id h72csp400858qge; Thu, 24 Aug 2017 20:56:40 -0700 (PDT) X-Received: by 10.84.133.67 with SMTP id 61mr9248653plf.143.1503633400895; Thu, 24 Aug 2017 20:56:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503633400; cv=none; d=google.com; s=arc-20160816; b=DMLmQ7HEZaL2y1psA21L2NydQnwjBPsRNL5RUroRZrdxAyszKdJQ9lOKDQ1WdvNRDX Hg14YLNuQxCLCGCLsFESWWPmLb6lEUEEwhJoQil6BJQH3+LMxPi400FPPe1733gCF02D rENfN3xmGukbpcisyTIF+bGDzu1txzCbVWIsGzWtefJEHi6l3onnVhaDgMYhr8gVu2Iv HBzPFaDqOulbLzcuW7m5xKu0S2JiTxJENc57dBcAGA24q+iCPBofw8ITN5+EsWXafWJT m/eCOdv4D2zHJw0pXiQ6Sev72Hw2LUKiVDcpKHKSLlswMpYlPJBJfdN63S3d2KonEAz5 u7RA== 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=6/V4a8slJ8p1tjuMAigF34alDQJ2+9tG2Cpd5l7UWGU=; b=09Mpyd2NoRz74Hi8XQfiRROpdH4NDLlLpU9np3/rRwz+yQAZqf8XFyz+zGl1gFT0y1 nrqmw/57TYEeJQfJDdXtV5qwnXOD8ZJS2GRASeR39Kq2Iu+ghy43Q3tOEjV5RMF3BRnB FfcgXEMvnDk3c+0XSSaAqZcFXNDvK6xo0Ond0doY1Utp0s+hLUvTuIVmMZqlKa9zFStp H+ncmvx7kgyDK1Nf1vOZPOZxxMBs+OqDuSTRy09unlw7M/SG0YEdKKc3Rm9uJkFvPMf7 mxX3JJ37+v3UjnCiFDoTrhyFDyUc5okEQz4p2q6Vsjhvgfe0MdtHgY8oQU9tmuvjiI9S fX5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=A7PRb8kR; 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 y32si4225963plh.218.2017.08.24.20.56.40; Thu, 24 Aug 2017 20:56:40 -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.s=20161025 header.b=A7PRb8kR; 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 08FBE783A4; Fri, 25 Aug 2017 03:56:37 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg0-f65.google.com (mail-pg0-f65.google.com [74.125.83.65]) by mail.openembedded.org (Postfix) with ESMTP id 1A57478284 for ; Fri, 25 Aug 2017 03:56:34 +0000 (UTC) Received: by mail-pg0-f65.google.com with SMTP id a7so2068674pgn.4 for ; Thu, 24 Aug 2017 20:56: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; bh=qmj9fMIBvC1Lic5uBvLQKZtyvddicCTksu15Wq4BhcQ=; b=A7PRb8kRkRk9hX06k5WhfCFyeMe3YHhT1BnY9TlTp5zn0sQSfjwW5EZlCObc6nUyTW stc3OVJBj+Aeq5bn2iAPDRp7qFt8h6n1tBQe1GqPbLA2unBYEnTHIV0vcJsXVZR8n5Lp BeRwCMVBfMuLGAFF64IFPmFxmx4sdBDc6k2CohKugBrr1v8j8nTQleES4zfoI8682TUw 9cx12UsnRozsxyHB00sowBRginsasZwqWwYLUk9zCA6SlagYWzTtRQS7mm+DM6OsxVVF UvEKLQXfRS/P474taiftoPzvOetfn+HecwHFalwAeilKT67Mb8Htbji8yY/7MYMDdqzT SfRg== 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=qmj9fMIBvC1Lic5uBvLQKZtyvddicCTksu15Wq4BhcQ=; b=FL9b59L/aAdReG/hm8D9j5jD3r8yZSU2O1/dT5Pm7qCW4U8RfaFU1aLjyjgZAGtgP8 0VBdkCOyQc6RkFoDdVeA5bLn9CZaDuW6y78cwuGnDa/qeWBd2t4nkm6Fdv0MXbA6XINC OHhiWIrVD1T+2sGcMBoVg9HOUgXVltCBkBnvuQL/06fuXz57AU8ZFazs9ExIFR40kFy7 CNoE4krEsIYRa5azR94YjTLjFZUzT0BQU1v586et+E2qBsGGnn8YOEde8npMUyEVcxFl oq4knNODQnJKpC2F5XT+U65CpYEzcDWPMCl+1geZ7/0rwFR8sGMPENI4IDe6+2k9azSv l/fg== X-Gm-Message-State: AHYfb5jhmaMz5/OEmle59NTir39rIa1VvV9VD4BBMCfaSr148O8FFGr7 k8i2z1O0gS86M7uE X-Received: by 10.84.241.131 with SMTP id b3mr9373579pll.347.1503633396371; Thu, 24 Aug 2017 20:56:36 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::79ab]) by smtp.gmail.com with ESMTPSA id n19sm9591917pfi.35.2017.08.24.20.56.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 24 Aug 2017 20:56:35 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Thu, 24 Aug 2017 20:56:26 -0700 Message-Id: <20170825035628.7995-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.14.1 Subject: [oe] [meta-oe][PATCH 1/3] libhugetlbfs: Define HUGETLB_LDSCRIPT_PATH 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 When accessed relative to build dir it ends up using wrong relative paths and cant find the linker scripts when linked with clang Signed-off-by: Khem Raj --- meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb | 2 ++ 1 file changed, 2 insertions(+) -- 2.14.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb index 823e07c18..a63494a62 100644 --- a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb +++ b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb @@ -33,6 +33,8 @@ EXTRA_OEMAKE = "'ARCH=${LIBHUGETLBFS_ARCH}' 'OPT=${CFLAGS}' 'CC=${CC}' ${LIBARGS PARALLEL_MAKE = "" CFLAGS += "-fexpensive-optimizations -frename-registers -fomit-frame-pointer -g0" +export HUGETLB_LDSCRIPT_PATH="${S}/ldscripts" + TARGET_CC_ARCH += "${LDFLAGS}" #The CUSTOM_LDSCRIPTS doesn't work with the gold linker