From patchwork Tue Dec 4 04:08:50 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthew Weber X-Patchwork-Id: 1007437 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=reject dis=none) header.from=collins.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=collins.com header.i=@collins.com header.b="BjQt3xxU"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4387gb6nPmz9s55 for ; Tue, 4 Dec 2018 15:10:19 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 41BD286E58; Tue, 4 Dec 2018 04:10:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Yzgy4EQDGvvk; Tue, 4 Dec 2018 04:10:14 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 338B2877A6; Tue, 4 Dec 2018 04:09:59 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id B676A1C2BE9 for ; Tue, 4 Dec 2018 04:09:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id B0510811D8 for ; Tue, 4 Dec 2018 04:09:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id w124uCHoKK7K for ; Tue, 4 Dec 2018 04:09:38 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mx0b-00105401.pphosted.com (mx0b-00105401.pphosted.com [67.231.152.184]) by whitealder.osuosl.org (Postfix) with ESMTPS id 5552D82C74 for ; Tue, 4 Dec 2018 04:08:57 +0000 (UTC) Received: from pps.filterd (m0074333.ppops.net [127.0.0.1]) by m0074333.ppops.net (8.16.0.22/8.16.0.22) with SMTP id wB4454fe016826; Mon, 3 Dec 2018 23:08:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=collins.com; h=from : to : cc : subject : date : message-id : in-reply-to : references; s=POD051818; bh=PCQ5eSDzajF9HXWy0zviNMe8KkIRi7u3iEBDULna1O4=; b=BjQt3xxUMSXbQ6+A+d0hWjWjYGeB2JULwVGOGROtxSo6rTpOZf/z5sMFN+bklZDx3/uc MJWkX9leFLJ0POXPSnDriZeLoqBRkLr7ma3nfuzxTrjfvXt+fyTPw6sdkyqzX551ilB+ QgS7/GSUPla/tsez8y2j41Ry1Ko9dAozMrQvYHbIMkooXbX27QUItBp/Fl7lshDXjM2H /W6lizZudX/LCGeXkYNgKjBsgKqY/vgqxa7zMhz/6gy69fM+DM+rGCmYZKyAWwzhyEBM KBm/nLc1KjJZBluPtJTWlGhZtII8lvkNtxxYske5pBnOqcjH78T5dEn46BSBlc0IrG7z qA== Received: from xmnpv38.utc.com ([167.17.255.18]) by m0074333.ppops.net with ESMTP id 2p5d39mqmg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 03 Dec 2018 23:08:55 -0500 Received: from uusmna21.corp.utc.com (uusmna21.corp.utc.com [159.82.227.11]) by xmnpv38.utc.com (8.16.0.21/8.16.0.21) with ESMTPS id wB448taV080628 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 3 Dec 2018 23:08:55 -0500 Received: from secvs01.rockwellcollins.com ([10.172.224.19]) by uusmna21.corp.utc.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id wB448qUr011047 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 3 Dec 2018 23:08:54 -0500 Received: from ofwgwc03.rockwellcollins.com (HELO ciulimr02.rockwellcollins.com) ([205.175.225.12]) by secvs01.rockwellcollins.com with ESMTP; 03 Dec 2018 22:08:52 -0600 X-Received: from largo.rockwellcollins.com (unknown [192.168.140.76]) by ciulimr02.rockwellcollins.com (Postfix) with ESMTP id D191D2007D; Mon, 3 Dec 2018 22:08:52 -0600 (CST) From: Matt Weber To: buildroot@buildroot.org Date: Mon, 3 Dec 2018 22:08:50 -0600 Message-Id: <1543896530-33550-7-git-send-email-matthew.weber@rockwellcollins.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1543896530-33550-1-git-send-email-matthew.weber@rockwellcollins.com> References: <1543896530-33550-1-git-send-email-matthew.weber@rockwellcollins.com> X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=748 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1812040034 Subject: [Buildroot] [PATCH v5 7/7] package/llvm: disable libxml2 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Romain Naour MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" libxml2 is needed during Windows builds to populate the COFF file manifest info If left enabled, a dependency would need to be added and paths set for libxml2 include and library paths. This isn't require at this point for Linux builds. Cc: Romain Naour Signed-off-by: Matthew Weber --- This change was discovered during testing of compiler-rt patchset. This patch could be independently applied. Romain, hopefully you are able to verify this resolves the path posioning you observed with the target build and libxml2. v4 - New patch v5 - Rebased post 2018.11 on master --- package/llvm/llvm.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/llvm/llvm.mk b/package/llvm/llvm.mk index 14f317d..ef54f10 100644 --- a/package/llvm/llvm.mk +++ b/package/llvm/llvm.mk @@ -123,6 +123,11 @@ HOST_LLVM_CONF_OPTS += -DLLVM_ENABLE_ZLIB=ON HOST_LLVM_DEPENDENCIES += host-zlib LLVM_CONF_OPTS += -DLLVM_ENABLE_ZLIB=OFF +# libxml2 can be disabled as it is used for LLVM Windows builds where COFF +# files include manifest info +HOST_LLVM_CONF_OPTS += -DLLVM_ENABLE_LIBXML2=OFF +LLVM_CONF_OPTS += -DLLVM_ENABLE_LIBXML2=OFF + # We don't use llvm for static only build, so enable PIC HOST_LLVM_CONF_OPTS += -DLLVM_ENABLE_PIC=ON LLVM_CONF_OPTS += -DLLVM_ENABLE_PIC=ON