From patchwork Wed May 22 07:02:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dario Binacchi X-Patchwork-Id: 3118 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 606833F9F8 for ; Wed, 22 May 2024 09:03:01 +0200 (CEST) Received: by mail-ed1-f71.google.com with SMTP id 4fb4d7f45d1cf-574f2799c18sf285620a12.0 for ; Wed, 22 May 2024 00:03:01 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716361381; cv=pass; d=google.com; s=arc-20160816; b=SpTkqbZS9uDWe2LVKgIse5W0wGWiLhzOWrj9eeu/YXNiCty2vdqylGhW080UUWu5AX TyvCXk1VmwEuj1cLgASCTcys5VVpVX/VjtLqSYmD9j/5tw0ctkJRlraiKHghEYUMFz22 H3zHNkt69w+JUT3Ew5z4ZWW8l4Tl6mMRjc6fcUuTY9/wCTZledIgdej1WSGYP0YjaFTz GySBziTPhPbscQoB7lVJt0aWQH5QqWCFG9vqqsHJ4/UeaJ36Ek+XZGLjmfT8EcT7ttqD BRqYPOVDn54RhcXsMSqd5EyMaMbrnkTI/7ucGbTSAOLs9/Xcq28mlPSdMeuUxXnjkMKJ +7MQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=tDIZd+2jgygs6NKQp/SdHV9VqnzDziP6cL+MSXmjJNQ=; fh=XFLjm3PaQQjbdHvylUTp3fP4VpQPsF14qkIRj7uref8=; b=NBTSLyYPg8paM+qOLCyTbjOw8L/uzOLnxhLSBA/93sGsyLw3rB8ls6f2FFW+q1amCF b2+elAFqJrdhxnX6zwbLQM3VvzP0QJQctFJA3GF/SkNrr4DDEroGqnBZWfGLeyowzGkn Tot7LkFO6MBpnMSMDhc1PCMqCGpVV7Ua3k0uVIcglq1O6FXgUIFMgU6OZPS1mqG3qE22 z9gWjPYpxsWkoDYnTkir3G2QNccryXA99uegyWKlkkHUy2PV2bA+DEQkDyk8pURWmz1v WqADFrn7K2kP8YIDh9SWmZkVcjShDEociXSdOfcJpwLi/47OyqcrY+UqGZUwUlv0XZO9 Qu9w==; darn=patchwork.amarulasolutions.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=PplqJhBD; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1716361381; x=1716966181; darn=patchwork.amarulasolutions.com; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=tDIZd+2jgygs6NKQp/SdHV9VqnzDziP6cL+MSXmjJNQ=; b=ZrmCrC1knP6iR1xFKxuZLOSNahM2/8KB/TC98GUCnQu6uR3f+5tB3S+CDKJiZg/vZn nL5U/pu+4H8somTw+FcP142/Jz/NStOUmvWlzH/KGWJ1ZZ289z6z8eUE5dXSQDTNGgIg icsd6A5+mojnhWx7gQ378D91uHp/CJGjnkBU8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716361381; x=1716966181; h=list-unsubscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :x-beenthere:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=tDIZd+2jgygs6NKQp/SdHV9VqnzDziP6cL+MSXmjJNQ=; b=WCHlN3oWV320k0hg+mQ+YnxweNBT+W63IF9MWIAxjsZUlb9IUnKzX6eeIvtNbzQ4al cHr0glWjJ0UNTdmmMvJl+8GNaZbon0K/2M4d57JVQWRoqfyb37aHU21cfpFls551U4mO YEYbCVjOn8fo+0H07824DRWGSDLOuXR22/1lCJ69tkUJJyk2ZRDbMNJI6oQl2xmT1pVD Vzu4535R8braJcSBO1r8HY3P0UIP/a/5bh6gn4HFeEKbdGuX9IR88T5C1DgstzN8d/ZT yJnNjhm05SVonxLumGMy4VneG50QB3fW0diU2e9xVmto1yNnUiafw2y+hU7M7K0Kx0Mn NR/Q== X-Forwarded-Encrypted: i=2; AJvYcCW+XtWzEFTTE/3jp/ph7ArKagIQT4Bfdsnf13Vv0/ddgu4IEcWHSE014/r27v/8S3miCeEnqMx6LpsjhcgnGWG3pVATB8fDNFqxx3DzHNMMq26UqewvpRIK58W46w== X-Gm-Message-State: AOJu0YywnwjpiD3kfcIMbnf/fJwJ78UdL0gseKgeoZCE7PjtrHmMCJli 2lQuPjV+qMtTQnBPaGOKB9oBTMuF/4QxoiDFrTmO1foUq56lgKmq70pkgcQsc1fU4g== X-Google-Smtp-Source: AGHT+IFE8hanVDRaM9rn1iMDAgVfDrT5MOgHuuOgliQLORDOTGo06Z1WckI5HnZcWWeRhQ5y1Q/f5A== X-Received: by 2002:a50:c049:0:b0:574:ecc4:6b4e with SMTP id 4fb4d7f45d1cf-57832a4ca84mr803155a12.18.1716361381073; Wed, 22 May 2024 00:03:01 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a05:6402:320f:b0:578:3499:fc12 with SMTP id 4fb4d7f45d1cf-5783499fcdals53931a12.2.-pod-prod-05-eu; Wed, 22 May 2024 00:02:59 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVfZnBBjWYVLyrSLOzQYc6HpNlPq8892FczuhfjXSWMiGO84S1HxZbB9NPNk6VEDdRunLO6t7auwEUJDBxJ6mrm3rTpivBgC1BUNU1OZNm2YpI4 X-Received: by 2002:a50:9302:0:b0:572:9dc3:ce38 with SMTP id 4fb4d7f45d1cf-57832a81350mr763201a12.19.1716361379217; Wed, 22 May 2024 00:02:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1716361379; cv=none; d=google.com; s=arc-20160816; b=j/u5PMVnUTL/kIytIaU0iZOGKVQuYTcewWxfXQNmElHIIpJSFT+f/JETZsU3sNOpoc nO6VyW/dIZibihEgqr2050clPixjLFb2ohX1j+qoiiyJlEd3z1jIIIYcPSydFyUi7DnV DyylqQUpZdig4UeeO0oRiitay0l20g5MwZ2/3En4nYHfjQRN37R14hRjfTUnzFHIQI3e r2R3P+ImMwFuPt0guXGzBQIyL03H8Wvy1uXCDXR21g+VGXS7ElBgNX/3ZHxwv/LT6+gZ hkz845zFruR7GwdCXhFt9QnD8CnwRhToYEfThZJgIB14DdvvLwzLayq5Ng0BsUZaUb1G 0aQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=utvnmglmgmSzdarlYtYnxejlDZopVmdJkuJT1/OqgMQ=; fh=QRtjAassVkOGaDY/3Ttfe5vN4okaSdbvNlKcdySTweQ=; b=OJpjpBczqD4mms+sNXkXtGaoaP7ICGTJdRnsE6bUd8zh/eyOLjQqe4Pl9apkjLRvXk TcpyUb+akurlGgdV2iXmwmLzVR+EWr4IjQZkDwm3VWVb18EPExrOlKGg48cymAZJPOBD 4dYqB1AqPjP9TZ57XvXKU4vxrAWyirH06qPLHgFcSLlodNC8RHigAyqg2pvxTrnowdhA lNYfDZRNpZxuZ/iDQaEW0m3d2cv6vbiT1pkcq1NIrMj5HgAX35qRJV0xI9+dYNj3WnJo ZstT0Vi6hFhrOghI4khI8tUJmi0GsFHLtpBC4GL554IzeVmId7QbDE5PU0Nnmq4Vz+hX gBKQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=PplqJhBD; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41]) by mx.google.com with SMTPS id 4fb4d7f45d1cf-5733c2cdd1asor3318047a12.11.2024.05.22.00.02.59 for (Google Transport Security); Wed, 22 May 2024 00:02:59 -0700 (PDT) Received-SPF: pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41; X-Forwarded-Encrypted: i=1; AJvYcCVw4eoHLbT4XvMbjpv3EhoYtCvWHLxOrOxoNxnu+v7SWMrwUziFv3i5REqRqfvdc2IhBg4e6jXkWrrqeYTxXDoZqH4ckrQW4nVYJ6l38716WW3D X-Received: by 2002:a05:6402:358b:b0:578:3420:4ed6 with SMTP id 4fb4d7f45d1cf-578342052d6mr715397a12.1.1716361378773; Wed, 22 May 2024 00:02:58 -0700 (PDT) Received: from dario-ThinkPad-T14s-Gen-2i.amarulasolutions.com ([2.196.40.196]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-574d738c80csm12028365a12.81.2024.05.22.00.02.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 00:02:58 -0700 (PDT) From: Dario Binacchi To: buildroot@buildroot.org Cc: "Yann E . MORIN" , Jagan Teki , Romain Naour , Fabrice Fontaine , Mahyar Koshkouei , Giulio Benetti , Michael Nosthoff , Alex Suykov , =?utf-8?b?TWljaGHFgiDFgXlzemN6?= =?utf-8?q?ek?= , Bernd Kuhls , Peter Korsgaard , Julien Corjon , Sergey Matyukevich , linux-amarula@amarulasolutions.com, michael@amarulasolutions.com, Dario Binacchi Subject: [PATCH v2 09/18] package/libabseil-cpp: update the patch to be applied with fuzz 0 Date: Wed, 22 May 2024 09:02:28 +0200 Message-ID: <20240522070238.3282121-10-dario.binacchi@amarulasolutions.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240522070238.3282121-1-dario.binacchi@amarulasolutions.com> References: <20240522070238.3282121-1-dario.binacchi@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: dario.binacchi@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=PplqJhBD; spf=pass (google.com: domain of dario.binacchi@amarulasolutions.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=dario.binacchi@amarulasolutions.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , This commit allows the package patch to be applied with fuzz factor 0. The fuzz factor specifies how many lines of the patch can be inexactly matched, so the value 0 requires all lines to be exactly matched. Signed-off-by: Dario Binacchi --- .../0001-force-position-independent-code.patch | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/package/libabseil-cpp/0001-force-position-independent-code.patch b/package/libabseil-cpp/0001-force-position-independent-code.patch index 6bf46bf0cb1b..a6ca9c0f0e9e 100644 --- a/package/libabseil-cpp/0001-force-position-independent-code.patch +++ b/package/libabseil-cpp/0001-force-position-independent-code.patch @@ -1,4 +1,4 @@ -From d170b19e500d85381369e379771be8d7816bcc92 Mon Sep 17 00:00:00 2001 +From 832765d12879fabf799dd80af6e8fee9cd298934 Mon Sep 17 00:00:00 2001 From: Adam Duskett Date: Tue, 21 Jul 2020 13:08:50 -0700 Subject: [PATCH] force position independent code @@ -16,17 +16,19 @@ cause relocation errors when shared libraries link against the built static libraries. Signed-off-by: Adam Duskett +[Dario: make the patch to be applied with fuzz factor 0] +Signed-off-by: Dario Binacchi --- CMake/AbseilHelpers.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMake/AbseilHelpers.cmake b/CMake/AbseilHelpers.cmake -index 86ff9eb..bdb7a89 100644 +index 3bd33ce8718d..7f269bd20c21 100644 --- a/CMake/AbseilHelpers.cmake +++ b/CMake/AbseilHelpers.cmake -@@ -209,6 +209,8 @@ function(absl_cc_library) - set_property(TARGET ${_NAME} PROPERTY CXX_STANDARD ${ABSL_CXX_STANDARD}) - set_property(TARGET ${_NAME} PROPERTY CXX_STANDARD_REQUIRED ON) +@@ -292,6 +292,8 @@ Cflags: -I\${includedir}${PC_CFLAGS}\n") + target_compile_features(${_NAME} PUBLIC ${ABSL_INTERNAL_CXX_STD_FEATURE}) + endif() + # Without this setting, other programs such as GRPC will fail when linking. + set_property(TARGET ${_NAME} PROPERTY POSITION_INDEPENDENT_CODE ON) @@ -34,5 +36,5 @@ index 86ff9eb..bdb7a89 100644 # to have properly named lib files. This is a no-op when we are not being # installed. -- -2.26.2 +2.43.0