Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp249519lqp; Mon, 10 Jun 2024 02:56:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVtYJ/tGmWhWgkFaHPiUZbiKVLjIRnwQcvjPgaK4+zBXKEo4BIsCEJXRkKKRHOHcjmgdh8KqkQs9Pmna0+D8aPBgxH9bbPX85p7L5CbrA== X-Google-Smtp-Source: AGHT+IEKKee8QnxjETaCpDiUDaUqRcNVsKaQzkbpuJTAyK7UvaIVM5u4Gfz/yBb0wDy7clQQgXnO X-Received: by 2002:a05:6359:6484:b0:19f:2c7e:a215 with SMTP id e5c5f4694b2df-19f2c7ea9admr670249755d.27.1718013364543; Mon, 10 Jun 2024 02:56:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718013364; cv=pass; d=google.com; s=arc-20160816; b=aO5gveNBUAZrzLW0XaJvwIC6iKOhVlU/WQhlkofUYLpSLhjLx+bkCn5l68G39eUBwr 8N+gKrEouHPQbpY2EvoUh3i33lvmy0VM+v/xQpZ1AuPwjrvtaxQEe7tot9L84UsyKYgc mO+0wpdnIEdsdxaMfE2heRNUeV9b3g5pSmdDQ2M1B28QjEltR/ZwqtQtv3//2VWBLznd K5I+dQEF2SZJWCNTwtnA/nF8Fo9W7IBCDqEHo61Yl2DLqTWF5YtVu0uERvNLjZI4+0Vr GX2/zdAHXPZqV4RHo8SIQJGOZg+1xC+FGqKhi5oajsG9G8CLkZnru2pdR+QYuOEHa+bO n8Dg== 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=aK/NErQwcuw46VubEsOXTzows1h4g1K98RIvl/WUjVw=; fh=HpB/ghQ4qY+yqVacJINdcRXrsaCBAaUbGMhHL4opc+o=; b=TbbYbm11guOnOxX25BXdlX3uja0vj6l8ZKwA2dxeTNcZD8oT8T80CGLAou7/zn4eJX hZgdZwoBOg+2/OM3guJSCTdeqXZNze9WsfgYZpWsshxtLMWoydqIvzkVClYdd+u+arR5 wDHBTibCRhT26hiY1rVXluh8Bu94e8OihfZTfVqh7vw9r6LqtRq/qQple6jMa2tR+gJ2 ua0DYK/gi8XtNP1WEjRIIPyhKvP5uIs3QfunRCM/HGAwUCWXiFWYayC8GbitJ+cizrUn Y75pnKrRZoJ+033/ifD4lSLNxVojgkNlfx2mkMHFxagv9SdQ8lmStUVzv4184VqtPSp4 LByw==; 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-207972-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207972-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6de29abdeccsi4400332a12.765.2024.06.10.02.56.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 02:56:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-207972-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; 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-207972-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207972-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 04593286059 for ; Mon, 10 Jun 2024 09:56:04 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 168E575816; Mon, 10 Jun 2024 09:55:17 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4BFB178C71; Mon, 10 Jun 2024 09:55:15 +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=1718013316; cv=none; b=Iaqn9DtF4VFlkR5wnR8y28k19R1yVqDjN10nntaBcgbCiJIUOJr4dQYrJtSZlgjKGe/6z0SVOOOAIesY+PByiN+h+xWAjE7AoKPCaJVZAt4G8K0pj22DlVMnpvIpUfaNFdlmpe6YPjRdaxKO3Z/QvHO1gpxkNcxc9hWS+6/h6M0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718013316; c=relaxed/simple; bh=66m4mWoqQDyTgo08cySdR6zX8px99PeFOWizcje8QwQ=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=A5pea64j3ZleezdDb/+0grRf9SA7tYs0NzVgBBBDja8L68udMmElH8QoIxtb6LR5nfML7QWPs75dBYqmSuXA7TFiCLiwLIg4sEYjtDL9WIHjA+8uzVFZ39aVh4XFHKufmQ/RH6bRd6cdPAMI5wCYMBqzPwUt5HQk9VRwyZHyWdk= 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 359FB12FC; Mon, 10 Jun 2024 02:55:39 -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 5E7353F73B; Mon, 10 Jun 2024 02:55:12 -0700 (PDT) From: Leo Yan To: Arnaldo Carvalho de Melo , Namhyung Kim , Ian Rogers , James Clark , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Adrian Hunter , "Liang, Kan" , Nick Terrell , Thomas Richter , Quentin Monnet , Changbin Du , Fangrui Song , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Guilherme Amadio Cc: Leo Yan Subject: [PATCH v2 4/6] perf: build: Link lib 'lzma' for static build Date: Mon, 10 Jun 2024 10:54:31 +0100 Message-Id: <20240610095433.336295-5-leo.yan@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240610095433.336295-1-leo.yan@arm.com> References: <20240610095433.336295-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 b23b3e8ad5e4..9e5663eefc01 100644 --- a/tools/build/feature/Makefile +++ b/tools/build/feature/Makefile @@ -212,27 +212,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