Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1472997lqj; Tue, 4 Jun 2024 02:37:52 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU3zdZ4iow9L6G3T6fdEDCfKCNBIlDmAYmbOTbVQWg2+9T1+JjzcBLWeuNiutwCCfeZ031Y4HURWLxKSsX4lqGSVpXDjUfzPwyUUq0nsg== X-Google-Smtp-Source: AGHT+IGujGDcaTn4M8wB64zx9nklTnZyNqVsrPB4StuVkxFfdPTcNYZkOEHyH8tPvQs6uFZBphzW X-Received: by 2002:a17:902:d548:b0:1f4:bcef:e940 with SMTP id d9443c01a7336-1f6370a0cbamr148179445ad.45.1717493871993; Tue, 04 Jun 2024 02:37:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717493871; cv=pass; d=google.com; s=arc-20160816; b=wZg4A7THaHw2f8CyX0FRB30MhwG3JJUDQd7W13LBFAcV/KdSfQKQmEQ8ubPmFvs35B psQ4SdwF3ugJjE1Cis3ZHJ8jt84r4Cy/9HB0TabBDk5/6G2fZCOpIC2Qdi7Uj7aOU5Vd cMe/Uyd+/I3rMVtnIX0snlQY+MKMo6HHBZXcxPmvd5YgAzPrLrPbASQtKIIKdwOfjwI5 VNIf9MOwrWGsu1tthXjZKraEtavoLe7T8EgNnuB5luyYhjhptP1SoPu4iY3hfQcSCALS DULr56neRR7stbBpR5qoIedWlM6S1bn2nmk9JIEpn+haa3l80l/wFw+5gA+83GYIx+gI m6eA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from; bh=2csmkm/f4ryKXV/CbNFKKS/cM6bKu3eFkUNfgGUnIhw=; fh=KSiWrCR7xjqa6nMnB8EyauKJbY8zFKZ3kSm6JhLxeok=; b=J37KybWQnHJqftuNhpJadYS2/oQxcxhssvrvl+71kuyYpm9XHge+YxJ+FDzYzFV8XE tV0Un8bCuZ9jlidEA3WRt0cTX1z6dK0YK/4531VlVD97479uj7ZIjYTTb9U+gao5Jni+ VDkNjrstotNU4im7U5hm9fzK3pJ+xGKd5XXqLfcpP4Bu+P/VDG04LJNojKpLdpO2fWnG aSUvj/IFfnUqZPz7o8XSDXPkGWrPFXVt6Xi5bgLQ7Q3xCLLwOdxCudFAEsRNS1E6Nkl6 cAQ4E+6T/L26+3I8u4hgF9aQ22Gr3lpTCgPt+eo4im+w1BUBBvfzW/SCwLyUZu1n9wDo nexQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-200360-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200360-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d9443c01a7336-1f680cdf0ffsi27335225ad.442.2024.06.04.02.37.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 02:37:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-200360-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=arm.com dmarc=pass fromdomain=arm.com); spf=pass (google.com: domain of linux-kernel+bounces-200360-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200360-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 2DD61B23B85 for ; Tue, 4 Jun 2024 09:34:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AE95A1459ED; Tue, 4 Jun 2024 09:32:51 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C0F7414534C; Tue, 4 Jun 2024 09:32:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.140.110.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717493571; cv=none; b=TL4Q7EOg/4WGAcI5qUKQYyL+RZX37tC0XV8BpK38fOsrl+sKA2gZzC6PK8yn10FCPiFlMyv2KTbrxYM+gVUagGFnuPE+zlOOqsMYN/F6f7vRt3J2ipEVQsjOTxTkJ7kURzkwuHOOlRH306ScEftucnDj4nQ4DidUPHY7YjlrIoI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717493571; c=relaxed/simple; bh=EzGLbDGq3jstPVn9G98FIOjt8qMcsCAL/4PAIvj0ZVU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=tiG1U+LmNG0VBopdoQ+EvvA6JJc7x3B7IvZzLQcPeuDgdO6BUGLEBbWz7s9aROzUikKruyLoMx6Yn8p3Jm/X0lEr6ediibjEl/7tuOAuYZq5x4LTKsGhigsvZObfJyVaEqI+1QtRrvq5f0JKF/QJA/Zj08bQOGv8fyyvw0vNtJw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com; spf=pass smtp.mailfrom=arm.com; arc=none smtp.client-ip=217.140.110.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 653BD1042; Tue, 4 Jun 2024 02:33:13 -0700 (PDT) Received: from e132581.cambridge.arm.com (e132581.arm.com [10.2.76.71]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 585E43F762; Tue, 4 Jun 2024 02:32:47 -0700 (PDT) From: Leo Yan To: Arnaldo Carvalho de Melo , Namhyung Kim , Mark Rutland , James Clark , Ian Rogers , "Liang, Kan" , Nick Terrell , Thomas Richter , Changbin Du , Fangrui Song , "Mateusz Kowalczyk" , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Cc: Leo Yan Subject: [PATCH v1 5/6] perf: build: Link lib 'lzma' for static build Date: Tue, 4 Jun 2024 10:32:22 +0100 Message-Id: <20240604093223.1934236-6-leo.yan@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240604093223.1934236-1-leo.yan@arm.com> References: <20240604093223.1934236-1-leo.yan@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit The libunwind feature test failed with the static linkage. This is due to the 'lzma' lib is missed, so link it to dismiss building failure. Signed-off-by: Leo Yan --- tools/build/feature/Makefile | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tools/build/feature/Makefile b/tools/build/feature/Makefile index 2f4cfb7b8c14..18aa6e654804 100644 --- a/tools/build/feature/Makefile +++ b/tools/build/feature/Makefile @@ -200,27 +200,27 @@ $(OUTPUT)test-numa_num_possible_cpus.bin: $(BUILD) -lnuma $(OUTPUT)test-libunwind.bin: - $(BUILD) -lelf + $(BUILD) -lelf -llzma $(OUTPUT)test-libunwind-debug-frame.bin: - $(BUILD) -lelf + $(BUILD) -lelf -llzma $(OUTPUT)test-libunwind-x86.bin: - $(BUILD) -lelf -lunwind-x86 + $(BUILD) -lelf -llzma -lunwind-x86 $(OUTPUT)test-libunwind-x86_64.bin: - $(BUILD) -lelf -lunwind-x86_64 + $(BUILD) -lelf -llzma -lunwind-x86_64 $(OUTPUT)test-libunwind-arm.bin: - $(BUILD) -lelf -lunwind-arm + $(BUILD) -lelf -llzma -lunwind-arm $(OUTPUT)test-libunwind-aarch64.bin: - $(BUILD) -lelf -lunwind-aarch64 + $(BUILD) -lelf -llzma -lunwind-aarch64 $(OUTPUT)test-libunwind-debug-frame-arm.bin: - $(BUILD) -lelf -lunwind-arm + $(BUILD) -lelf -llzma -lunwind-arm $(OUTPUT)test-libunwind-debug-frame-aarch64.bin: - $(BUILD) -lelf -lunwind-aarch64 + $(BUILD) -lelf -llzma -lunwind-aarch64 $(OUTPUT)test-libaudit.bin: $(BUILD) -laudit -- 2.34.1