From patchwork Sun Feb 18 18:45:29 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giulio Benetti X-Patchwork-Id: 1900684 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TdF4F1Xbfz20Qg for ; Mon, 19 Feb 2024 05:46:05 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 3DB1A82051; Sun, 18 Feb 2024 18:46:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Sd3HXCxtDzBI; Sun, 18 Feb 2024 18:46:01 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org E18E9820A9 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id E18E9820A9; Sun, 18 Feb 2024 18:46:00 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 279251BF41F for ; Sun, 18 Feb 2024 18:45:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 83809405DF for ; Sun, 18 Feb 2024 18:45:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 845LKuBIimFw for ; Sun, 18 Feb 2024 18:45:43 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=62.149.156.117; helo=smtpcmd11117.aruba.it; envelope-from=giulio.benetti@benettiengineering.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp4.osuosl.org 3493A405BD DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 3493A405BD Received: from smtpcmd11117.aruba.it (smtpcmd11117.aruba.it [62.149.156.117]) by smtp4.osuosl.org (Postfix) with ESMTPS id 3493A405BD for ; Sun, 18 Feb 2024 18:45:40 +0000 (UTC) Received: from localhost.localdomain ([84.33.84.190]) by Aruba Outgoing Smtp with ESMTPSA id bmASrFAK1ce1vbmATrHZIY; Sun, 18 Feb 2024 19:45:38 +0100 From: Giulio Benetti To: buildroot@buildroot.org Date: Sun, 18 Feb 2024 19:45:29 +0100 Message-Id: <20240218184536.1922309-2-giulio.benetti@benettiengineering.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240218184536.1922309-1-giulio.benetti@benettiengineering.com> References: <20240218184536.1922309-1-giulio.benetti@benettiengineering.com> MIME-Version: 1.0 X-CMAE-Envelope: MS4xfKoj9QbZm3o7ZFS7LiFVcAudpdw8zZ6vQIcsYnRdNqyQbLvWRBkN//Z/eq2ZkLkNfCHbYPDazvD1l/kMetz7vXWet7y5HRSCPBnXW3iHjTgxjyqE8kQE N0xCdAQQjuIKkbxDT/2oeiB21wdFvZrfdYSgioVqTe5psCLKt4YIh1bpd5uKjPf7HvEDQ9pfTxORNmxC/VxYrQEgQvNXoGHeyB3Rv4UzHEOqVMaatSS7btsV qsUW+cduvxAEmBR9/TX6KOw9DWxami75tIa8yLv0ajYZaNyL30a5xpOc1I5bnM/Azx645VCo6H9soR/0tKbtqz9J97wXLgqU2rp/UUrga2ZhQ/sFMz2gTOtN uTK7vKwz1ypQNSd1qiMBHqSaynGNIxmbZqBXIM6/MqUfu9zCC1BjoM2Oujy1S7gKDC5Atb8Rei0fm2hzhUaGoHmd5V/E920QC4vd0U5l+bGJXjABnNogbEtc k8t+3czUijbBeyCwjUIuS85cWc2cv42rFaKcx3Hu+rdWIyZ99e8PbVFz0A5x3kzv83gYITzhDapFANCd7VsQcbzd56rBlsZ7JaitX7F667zEACTt2kfvyRVX PAA= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1708281938; bh=C2OSljav9qv45yZoaia/5ZC+6Du5cmlm9gE1Ek47UrQ=; h=From:To:Subject:Date:MIME-Version; b=Q71Brdq5+8pJ7DnEqBRlAkm7Q1hgwHJydtlPcKujgU04NXMk8lT5hQ8wB0lUucM27 BBMJWeDj19a2BaSktRb3RJ+LgdZiOr+hW49P0f3RTP/sLNpNHN3NlP2LJgiUZp55PY gn37bknWI5fld7wOJUDwFSbKceg3P6AHx1soKmWj1S5zjd0BT2yQYYGav3MCn+G4zV AOKp28kDW58WmXVGgtLhXFI32Ntpdw5uLu649XNGraItCSI4PyQtBNoKQNiDBOkNo9 WdEsAiD8SSpavCYR7YhJUQDYJI7E1uwwS5g8Yc/bC76zMfyPmIqtQ6tL7e1QCsekUN ajqfLD5MXUCdA== X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dmarc=pass (p=none dis=none) header.from=benettiengineering.com X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key) header.d=aruba.it header.i=@aruba.it header.a=rsa-sha256 header.s=a1 header.b=Q71Brdq5 Subject: [Buildroot] [PATCH 1/8] package/binutils: add local patches to fix Nios2 bug 27597 X-BeenThere: buildroot@buildroot.org 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: Marcus Folkesson , Pierre Ducroquet , Kieran Bingham , Dominik Michael Rauh , Maxim Kochetkov , Thomas Petazzoni , Giulio Benetti , Romain Naour , Thomas De Schampheleire Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" These backported patches fix Nios2 linker bug 27597 that affects packages gdal, kf5-kcoreaddons, libgeos, libcamera, pistache. Signed-off-by: Giulio Benetti --- ...ertion-fail-in-nios2_elf32_install_i.patch | 125 ++++++++++++++++++ ...ertion-fail-in-nios2_elf32_install_i.patch | 125 ++++++++++++++++++ ...ertion-fail-in-nios2_elf32_install_i.patch | 125 ++++++++++++++++++ 3 files changed, 375 insertions(+) create mode 100644 package/binutils/2.39/0004-PR27597-nios-assertion-fail-in-nios2_elf32_install_i.patch create mode 100644 package/binutils/2.40/0003-PR27597-nios-assertion-fail-in-nios2_elf32_install_i.patch create mode 100644 package/binutils/2.41/0003-PR27597-nios-assertion-fail-in-nios2_elf32_install_i.patch diff --git a/package/binutils/2.39/0004-PR27597-nios-assertion-fail-in-nios2_elf32_install_i.patch b/package/binutils/2.39/0004-PR27597-nios-assertion-fail-in-nios2_elf32_install_i.patch new file mode 100644 index 0000000000..4753ae13c4 --- /dev/null +++ b/package/binutils/2.39/0004-PR27597-nios-assertion-fail-in-nios2_elf32_install_i.patch @@ -0,0 +1,125 @@ +From 900c0f0aa3d78cd9e67ccd26fbc86224cef4c5b1 Mon Sep 17 00:00:00 2001 +From: Alan Modra +Date: Fri, 16 Feb 2024 22:33:29 +1030 +Subject: [PATCH] PR27597, nios: assertion fail in nios2_elf32_install_imm16 + +The assertion in nios2_elf32_install_imm16 triggers when the PLT is +twice the maximum allowable size for a branch from PLTn to reach +.PLTresolve, and on no other call to nios2_elf32_install_imm16. That +makes the assertion completely useless. We can handle a PIC PLT +exceeding 0x8000 in size by bouncing branches that won't reach through +previous branches. + + PR 27597 + * elf32-nios2.c (nios2_elf32_install_imm16): Delete BFD_ASSERT. + (nios2_build_one_stub): Don't bother masking value passed to + nios2_elf32_install_imm16. + (nios2_elf32_finish_dynamic_symbol): Likewise. Handle overflow + of PLTn branch to .PLTresolve by bouncing through prior branches. + +Upstream: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=900c0f0aa3d78cd9e67ccd26fbc86224cef4c5b1 + +Signed-off-by: Giulio Benetti +--- + bfd/elf32-nios2.c | 40 ++++++++++++++++++++++++---------------- + 1 file changed, 24 insertions(+), 16 deletions(-) + +diff --git a/bfd/elf32-nios2.c b/bfd/elf32-nios2.c +index bebf4239958..7f61e2f8507 100644 +--- a/bfd/elf32-nios2.c ++++ b/bfd/elf32-nios2.c +@@ -1878,8 +1878,6 @@ nios2_elf32_install_imm16 (asection *sec, bfd_vma offset, bfd_vma value) + { + bfd_vma word = bfd_get_32 (sec->owner, sec->contents + offset); + +- BFD_ASSERT (value <= 0xffff || ((bfd_signed_vma) value) >= -0xffff); +- + bfd_put_32 (sec->owner, word | ((value & 0xffff) << 6), + sec->contents + offset); + } +@@ -2518,7 +2516,7 @@ nios2_build_one_stub (struct bfd_hash_entry *gen_entry, void *in_arg ATTRIBUTE_U + nios2_elf32_install_imm16 (stub_sec, hsh->stub_offset, + hiadj (sym_value)); + nios2_elf32_install_imm16 (stub_sec, hsh->stub_offset + 4, +- (sym_value & 0xffff)); ++ sym_value); + stub_sec->size += 12; + break; + default: +@@ -4986,16 +4984,28 @@ nios2_elf32_finish_dynamic_symbol (bfd *output_bfd, + /* Emit the PLT entry. */ + if (bfd_link_pic (info)) + { ++ bfd_vma br_offset; ++ + nios2_elf32_install_data (splt, nios2_so_plt_entry, h->plt.offset, + 3); + plt_index = (h->plt.offset - 24) / 12; + got_offset = (plt_index + 3) * 4; + nios2_elf32_install_imm16 (splt, h->plt.offset, +- hiadj(plt_index * 4)); ++ hiadj (plt_index * 4)); + nios2_elf32_install_imm16 (splt, h->plt.offset + 4, +- (plt_index * 4) & 0xffff); +- nios2_elf32_install_imm16 (splt, h->plt.offset + 8, +- 0xfff4 - h->plt.offset); ++ plt_index * 4); ++ br_offset = -(h->plt.offset + 12); ++ /* If this plt entry is too far away from the start of .plt ++ for the "br" to reach .PLTresolve, bounce through one or ++ more of the previous "br" instructions. */ ++ if (br_offset < (bfd_vma) -32768) ++ { ++ br_offset += 32768 / 12 * 12 - 4; ++ while (br_offset < (bfd_vma) -32768) ++ br_offset += 32768 / 12 * 12; ++ } ++ nios2_elf32_install_imm16 (splt, h->plt.offset + 8, br_offset); ++ + got_address = (sgotplt->output_section->vma + sgotplt->output_offset + + got_offset); + +@@ -5014,9 +5024,8 @@ nios2_elf32_finish_dynamic_symbol (bfd *output_bfd, + nios2_elf32_install_data (splt, nios2_plt_entry, h->plt.offset, 3); + got_address = (sgotplt->output_section->vma + sgotplt->output_offset + + got_offset); +- nios2_elf32_install_imm16 (splt, h->plt.offset, hiadj(got_address)); +- nios2_elf32_install_imm16 (splt, h->plt.offset + 4, +- got_address & 0xffff); ++ nios2_elf32_install_imm16 (splt, h->plt.offset, hiadj (got_address)); ++ nios2_elf32_install_imm16 (splt, h->plt.offset + 4, got_address); + + /* Fill in the entry in the global offset table. */ + bfd_put_32 (output_bfd, +@@ -5217,8 +5226,8 @@ nios2_elf32_finish_dynamic_sections (bfd *output_bfd, + BFD_ASSERT ((got_pcrel & 0xf) == 0); + nios2_elf32_install_data (splt, nios2_so_plt0_entry, 0, 6); + nios2_elf32_install_imm16 (splt, 4, hiadj (got_pcrel)); +- nios2_elf32_install_imm16 (splt, 12, got_pcrel & 0xffff); +- nios2_elf32_install_imm16 (splt, 16, (got_pcrel + 4) & 0xffff); ++ nios2_elf32_install_imm16 (splt, 12, got_pcrel); ++ nios2_elf32_install_imm16 (splt, 16, got_pcrel + 4); + } + else + { +@@ -5240,14 +5249,13 @@ nios2_elf32_finish_dynamic_sections (bfd *output_bfd, + + nios2_elf32_install_data (splt, nios2_plt0_entry, res_size, 7); + nios2_elf32_install_imm16 (splt, res_size, hiadj (res_start)); +- nios2_elf32_install_imm16 (splt, res_size + 4, +- res_start & 0xffff); ++ nios2_elf32_install_imm16 (splt, res_size + 4, res_start); + nios2_elf32_install_imm16 (splt, res_size + 12, + hiadj (got_address)); + nios2_elf32_install_imm16 (splt, res_size + 16, +- (got_address + 4) & 0xffff); ++ got_address + 4); + nios2_elf32_install_imm16 (splt, res_size + 20, +- (got_address + 8) & 0xffff); ++ got_address + 8); + } + } + } +-- +2.34.1 + diff --git a/package/binutils/2.40/0003-PR27597-nios-assertion-fail-in-nios2_elf32_install_i.patch b/package/binutils/2.40/0003-PR27597-nios-assertion-fail-in-nios2_elf32_install_i.patch new file mode 100644 index 0000000000..4753ae13c4 --- /dev/null +++ b/package/binutils/2.40/0003-PR27597-nios-assertion-fail-in-nios2_elf32_install_i.patch @@ -0,0 +1,125 @@ +From 900c0f0aa3d78cd9e67ccd26fbc86224cef4c5b1 Mon Sep 17 00:00:00 2001 +From: Alan Modra +Date: Fri, 16 Feb 2024 22:33:29 +1030 +Subject: [PATCH] PR27597, nios: assertion fail in nios2_elf32_install_imm16 + +The assertion in nios2_elf32_install_imm16 triggers when the PLT is +twice the maximum allowable size for a branch from PLTn to reach +.PLTresolve, and on no other call to nios2_elf32_install_imm16. That +makes the assertion completely useless. We can handle a PIC PLT +exceeding 0x8000 in size by bouncing branches that won't reach through +previous branches. + + PR 27597 + * elf32-nios2.c (nios2_elf32_install_imm16): Delete BFD_ASSERT. + (nios2_build_one_stub): Don't bother masking value passed to + nios2_elf32_install_imm16. + (nios2_elf32_finish_dynamic_symbol): Likewise. Handle overflow + of PLTn branch to .PLTresolve by bouncing through prior branches. + +Upstream: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=900c0f0aa3d78cd9e67ccd26fbc86224cef4c5b1 + +Signed-off-by: Giulio Benetti +--- + bfd/elf32-nios2.c | 40 ++++++++++++++++++++++++---------------- + 1 file changed, 24 insertions(+), 16 deletions(-) + +diff --git a/bfd/elf32-nios2.c b/bfd/elf32-nios2.c +index bebf4239958..7f61e2f8507 100644 +--- a/bfd/elf32-nios2.c ++++ b/bfd/elf32-nios2.c +@@ -1878,8 +1878,6 @@ nios2_elf32_install_imm16 (asection *sec, bfd_vma offset, bfd_vma value) + { + bfd_vma word = bfd_get_32 (sec->owner, sec->contents + offset); + +- BFD_ASSERT (value <= 0xffff || ((bfd_signed_vma) value) >= -0xffff); +- + bfd_put_32 (sec->owner, word | ((value & 0xffff) << 6), + sec->contents + offset); + } +@@ -2518,7 +2516,7 @@ nios2_build_one_stub (struct bfd_hash_entry *gen_entry, void *in_arg ATTRIBUTE_U + nios2_elf32_install_imm16 (stub_sec, hsh->stub_offset, + hiadj (sym_value)); + nios2_elf32_install_imm16 (stub_sec, hsh->stub_offset + 4, +- (sym_value & 0xffff)); ++ sym_value); + stub_sec->size += 12; + break; + default: +@@ -4986,16 +4984,28 @@ nios2_elf32_finish_dynamic_symbol (bfd *output_bfd, + /* Emit the PLT entry. */ + if (bfd_link_pic (info)) + { ++ bfd_vma br_offset; ++ + nios2_elf32_install_data (splt, nios2_so_plt_entry, h->plt.offset, + 3); + plt_index = (h->plt.offset - 24) / 12; + got_offset = (plt_index + 3) * 4; + nios2_elf32_install_imm16 (splt, h->plt.offset, +- hiadj(plt_index * 4)); ++ hiadj (plt_index * 4)); + nios2_elf32_install_imm16 (splt, h->plt.offset + 4, +- (plt_index * 4) & 0xffff); +- nios2_elf32_install_imm16 (splt, h->plt.offset + 8, +- 0xfff4 - h->plt.offset); ++ plt_index * 4); ++ br_offset = -(h->plt.offset + 12); ++ /* If this plt entry is too far away from the start of .plt ++ for the "br" to reach .PLTresolve, bounce through one or ++ more of the previous "br" instructions. */ ++ if (br_offset < (bfd_vma) -32768) ++ { ++ br_offset += 32768 / 12 * 12 - 4; ++ while (br_offset < (bfd_vma) -32768) ++ br_offset += 32768 / 12 * 12; ++ } ++ nios2_elf32_install_imm16 (splt, h->plt.offset + 8, br_offset); ++ + got_address = (sgotplt->output_section->vma + sgotplt->output_offset + + got_offset); + +@@ -5014,9 +5024,8 @@ nios2_elf32_finish_dynamic_symbol (bfd *output_bfd, + nios2_elf32_install_data (splt, nios2_plt_entry, h->plt.offset, 3); + got_address = (sgotplt->output_section->vma + sgotplt->output_offset + + got_offset); +- nios2_elf32_install_imm16 (splt, h->plt.offset, hiadj(got_address)); +- nios2_elf32_install_imm16 (splt, h->plt.offset + 4, +- got_address & 0xffff); ++ nios2_elf32_install_imm16 (splt, h->plt.offset, hiadj (got_address)); ++ nios2_elf32_install_imm16 (splt, h->plt.offset + 4, got_address); + + /* Fill in the entry in the global offset table. */ + bfd_put_32 (output_bfd, +@@ -5217,8 +5226,8 @@ nios2_elf32_finish_dynamic_sections (bfd *output_bfd, + BFD_ASSERT ((got_pcrel & 0xf) == 0); + nios2_elf32_install_data (splt, nios2_so_plt0_entry, 0, 6); + nios2_elf32_install_imm16 (splt, 4, hiadj (got_pcrel)); +- nios2_elf32_install_imm16 (splt, 12, got_pcrel & 0xffff); +- nios2_elf32_install_imm16 (splt, 16, (got_pcrel + 4) & 0xffff); ++ nios2_elf32_install_imm16 (splt, 12, got_pcrel); ++ nios2_elf32_install_imm16 (splt, 16, got_pcrel + 4); + } + else + { +@@ -5240,14 +5249,13 @@ nios2_elf32_finish_dynamic_sections (bfd *output_bfd, + + nios2_elf32_install_data (splt, nios2_plt0_entry, res_size, 7); + nios2_elf32_install_imm16 (splt, res_size, hiadj (res_start)); +- nios2_elf32_install_imm16 (splt, res_size + 4, +- res_start & 0xffff); ++ nios2_elf32_install_imm16 (splt, res_size + 4, res_start); + nios2_elf32_install_imm16 (splt, res_size + 12, + hiadj (got_address)); + nios2_elf32_install_imm16 (splt, res_size + 16, +- (got_address + 4) & 0xffff); ++ got_address + 4); + nios2_elf32_install_imm16 (splt, res_size + 20, +- (got_address + 8) & 0xffff); ++ got_address + 8); + } + } + } +-- +2.34.1 + diff --git a/package/binutils/2.41/0003-PR27597-nios-assertion-fail-in-nios2_elf32_install_i.patch b/package/binutils/2.41/0003-PR27597-nios-assertion-fail-in-nios2_elf32_install_i.patch new file mode 100644 index 0000000000..4753ae13c4 --- /dev/null +++ b/package/binutils/2.41/0003-PR27597-nios-assertion-fail-in-nios2_elf32_install_i.patch @@ -0,0 +1,125 @@ +From 900c0f0aa3d78cd9e67ccd26fbc86224cef4c5b1 Mon Sep 17 00:00:00 2001 +From: Alan Modra +Date: Fri, 16 Feb 2024 22:33:29 +1030 +Subject: [PATCH] PR27597, nios: assertion fail in nios2_elf32_install_imm16 + +The assertion in nios2_elf32_install_imm16 triggers when the PLT is +twice the maximum allowable size for a branch from PLTn to reach +.PLTresolve, and on no other call to nios2_elf32_install_imm16. That +makes the assertion completely useless. We can handle a PIC PLT +exceeding 0x8000 in size by bouncing branches that won't reach through +previous branches. + + PR 27597 + * elf32-nios2.c (nios2_elf32_install_imm16): Delete BFD_ASSERT. + (nios2_build_one_stub): Don't bother masking value passed to + nios2_elf32_install_imm16. + (nios2_elf32_finish_dynamic_symbol): Likewise. Handle overflow + of PLTn branch to .PLTresolve by bouncing through prior branches. + +Upstream: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=900c0f0aa3d78cd9e67ccd26fbc86224cef4c5b1 + +Signed-off-by: Giulio Benetti +--- + bfd/elf32-nios2.c | 40 ++++++++++++++++++++++++---------------- + 1 file changed, 24 insertions(+), 16 deletions(-) + +diff --git a/bfd/elf32-nios2.c b/bfd/elf32-nios2.c +index bebf4239958..7f61e2f8507 100644 +--- a/bfd/elf32-nios2.c ++++ b/bfd/elf32-nios2.c +@@ -1878,8 +1878,6 @@ nios2_elf32_install_imm16 (asection *sec, bfd_vma offset, bfd_vma value) + { + bfd_vma word = bfd_get_32 (sec->owner, sec->contents + offset); + +- BFD_ASSERT (value <= 0xffff || ((bfd_signed_vma) value) >= -0xffff); +- + bfd_put_32 (sec->owner, word | ((value & 0xffff) << 6), + sec->contents + offset); + } +@@ -2518,7 +2516,7 @@ nios2_build_one_stub (struct bfd_hash_entry *gen_entry, void *in_arg ATTRIBUTE_U + nios2_elf32_install_imm16 (stub_sec, hsh->stub_offset, + hiadj (sym_value)); + nios2_elf32_install_imm16 (stub_sec, hsh->stub_offset + 4, +- (sym_value & 0xffff)); ++ sym_value); + stub_sec->size += 12; + break; + default: +@@ -4986,16 +4984,28 @@ nios2_elf32_finish_dynamic_symbol (bfd *output_bfd, + /* Emit the PLT entry. */ + if (bfd_link_pic (info)) + { ++ bfd_vma br_offset; ++ + nios2_elf32_install_data (splt, nios2_so_plt_entry, h->plt.offset, + 3); + plt_index = (h->plt.offset - 24) / 12; + got_offset = (plt_index + 3) * 4; + nios2_elf32_install_imm16 (splt, h->plt.offset, +- hiadj(plt_index * 4)); ++ hiadj (plt_index * 4)); + nios2_elf32_install_imm16 (splt, h->plt.offset + 4, +- (plt_index * 4) & 0xffff); +- nios2_elf32_install_imm16 (splt, h->plt.offset + 8, +- 0xfff4 - h->plt.offset); ++ plt_index * 4); ++ br_offset = -(h->plt.offset + 12); ++ /* If this plt entry is too far away from the start of .plt ++ for the "br" to reach .PLTresolve, bounce through one or ++ more of the previous "br" instructions. */ ++ if (br_offset < (bfd_vma) -32768) ++ { ++ br_offset += 32768 / 12 * 12 - 4; ++ while (br_offset < (bfd_vma) -32768) ++ br_offset += 32768 / 12 * 12; ++ } ++ nios2_elf32_install_imm16 (splt, h->plt.offset + 8, br_offset); ++ + got_address = (sgotplt->output_section->vma + sgotplt->output_offset + + got_offset); + +@@ -5014,9 +5024,8 @@ nios2_elf32_finish_dynamic_symbol (bfd *output_bfd, + nios2_elf32_install_data (splt, nios2_plt_entry, h->plt.offset, 3); + got_address = (sgotplt->output_section->vma + sgotplt->output_offset + + got_offset); +- nios2_elf32_install_imm16 (splt, h->plt.offset, hiadj(got_address)); +- nios2_elf32_install_imm16 (splt, h->plt.offset + 4, +- got_address & 0xffff); ++ nios2_elf32_install_imm16 (splt, h->plt.offset, hiadj (got_address)); ++ nios2_elf32_install_imm16 (splt, h->plt.offset + 4, got_address); + + /* Fill in the entry in the global offset table. */ + bfd_put_32 (output_bfd, +@@ -5217,8 +5226,8 @@ nios2_elf32_finish_dynamic_sections (bfd *output_bfd, + BFD_ASSERT ((got_pcrel & 0xf) == 0); + nios2_elf32_install_data (splt, nios2_so_plt0_entry, 0, 6); + nios2_elf32_install_imm16 (splt, 4, hiadj (got_pcrel)); +- nios2_elf32_install_imm16 (splt, 12, got_pcrel & 0xffff); +- nios2_elf32_install_imm16 (splt, 16, (got_pcrel + 4) & 0xffff); ++ nios2_elf32_install_imm16 (splt, 12, got_pcrel); ++ nios2_elf32_install_imm16 (splt, 16, got_pcrel + 4); + } + else + { +@@ -5240,14 +5249,13 @@ nios2_elf32_finish_dynamic_sections (bfd *output_bfd, + + nios2_elf32_install_data (splt, nios2_plt0_entry, res_size, 7); + nios2_elf32_install_imm16 (splt, res_size, hiadj (res_start)); +- nios2_elf32_install_imm16 (splt, res_size + 4, +- res_start & 0xffff); ++ nios2_elf32_install_imm16 (splt, res_size + 4, res_start); + nios2_elf32_install_imm16 (splt, res_size + 12, + hiadj (got_address)); + nios2_elf32_install_imm16 (splt, res_size + 16, +- (got_address + 4) & 0xffff); ++ got_address + 4); + nios2_elf32_install_imm16 (splt, res_size + 20, +- (got_address + 8) & 0xffff); ++ got_address + 8); + } + } + } +-- +2.34.1 + From patchwork Sun Feb 18 18:45:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giulio Benetti X-Patchwork-Id: 1900682 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TdF466VD9z20Qg for ; Mon, 19 Feb 2024 05:45:58 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 8415081F97; Sun, 18 Feb 2024 18:45:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WnMrr269LeLf; Sun, 18 Feb 2024 18:45:53 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 5E39881FE2 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 5E39881FE2; Sun, 18 Feb 2024 18:45:53 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 1C2641BF41F for ; Sun, 18 Feb 2024 18:45:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 08E2640323 for ; Sun, 18 Feb 2024 18:45:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 98HdF3UclL3B for ; Sun, 18 Feb 2024 18:45:43 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=62.149.156.117; helo=smtpcmd11117.aruba.it; envelope-from=giulio.benetti@benettiengineering.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp2.osuosl.org 336A3400CF DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 336A3400CF Received: from smtpcmd11117.aruba.it (smtpcmd11117.aruba.it [62.149.156.117]) by smtp2.osuosl.org (Postfix) with ESMTPS id 336A3400CF for ; Sun, 18 Feb 2024 18:45:40 +0000 (UTC) Received: from localhost.localdomain ([84.33.84.190]) by Aruba Outgoing Smtp with ESMTPSA id bmASrFAK1ce1vbmAUrHZIj; Sun, 18 Feb 2024 19:45:38 +0100 From: Giulio Benetti To: buildroot@buildroot.org Date: Sun, 18 Feb 2024 19:45:30 +0100 Message-Id: <20240218184536.1922309-3-giulio.benetti@benettiengineering.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240218184536.1922309-1-giulio.benetti@benettiengineering.com> References: <20240218184536.1922309-1-giulio.benetti@benettiengineering.com> MIME-Version: 1.0 X-CMAE-Envelope: MS4xfKoj9QbZm3o7ZFS7LiFVcAudpdw8zZ6vQIcsYnRdNqyQbLvWRBkN//Z/eq2ZkLkNfCHbYPDazvD1l/kMetz7vXWet7y5HRSCPBnXW3iHjTgxjyqE8kQE N0xCdAQQjuIKkbxDT/2oeiB21wdFvZrfdYSgioVqTe5psCLKt4YIh1bpd5uKjPf7HvEDQ9pfTxORNmxC/VxYrQEgQvNXoGHeyB3Rv4UzHEOqVMaatSS7btsV qsUW+cduvxAEmBR9/TX6KOw9DWxami75tIa8yLv0ajYZaNyL30a5xpOc1I5bnM/Azx645VCo6H9soR/0tKbtqz9J97wXLgqU2rp/UUrga2ZhQ/sFMz2gTOtN uTK7vKwz1ypQNSd1qiMBHqSaynGNIxmbZqBXIM6/MqUfu9zCC1BjoM2Oujy1S7gKDC5Atb8Rei0fm2hzhUaGoHmd5V/E920QC4vd0U5l+bGJXjABnNogbEtc k8t+3czUijbBeyCwjUIuS85cWc2cv42rFaKcx3Hu+rdWIyZ99e8PbVFz0A5x3kzv83gYITzhDapFANCd7VsQcbzd56rBlsZ7JaitX7F667zEACTt2kfvyRVX PAA= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1708281938; bh=SZUxqA2xSinwZnCJEWlfSbpEOySiSFZ9SdDw6BURxRE=; h=From:To:Subject:Date:MIME-Version; b=GG/vBwc98Joxo0bs0abo89NZdYNMBu86EE6m9zZ4Z8qSYkZcu6uu43njqcudJKa5C p0zzB9gQNYLXj89Ib/Oft7joOKBP4nhEsy3dR+43tSQPWu+k/PlL9T9NNZKjF5QnBY mRhz008Kabqg5Uy+By49w4dHCQSvTexueNF1Uj/xXdxtSd9ajIVIGISVZtGYb2wjbu XSL1Bm9DQ1ApQDKfYLrTaHRw1vsMAXzeWDrlSSxq+7IWY8pp2ajSN6XtfiX/A0K+yS gjN+IG637bngxlh7obWFybN1Xk3Y1nN6jtWqdX9TYpQQru4jtcBgsRFZUYiOcj4YsB zd4/OhSk6m9vA== X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dmarc=pass (p=none dis=none) header.from=benettiengineering.com X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=aruba.it header.i=@aruba.it header.a=rsa-sha256 header.s=a1 header.b=GG/vBwc9 Subject: [Buildroot] [PATCH 2/8] package/gdal: drop nios2 binutils bug 27597 dependency X-BeenThere: buildroot@buildroot.org 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: Marcus Folkesson , Pierre Ducroquet , Kieran Bingham , Dominik Michael Rauh , Maxim Kochetkov , Thomas Petazzoni , Giulio Benetti , Romain Naour , Thomas De Schampheleire Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Now that binutils patch has been backported to every Buildroot binutils version we can drop nios2 binutils bug 27597 dependency. Signed-off-by: Giulio Benetti Reviewed-by: Maxim Kochetkov --- package/gdal/Config.in | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/package/gdal/Config.in b/package/gdal/Config.in index 24a1f06af2..839a1bd7ea 100644 --- a/package/gdal/Config.in +++ b/package/gdal/Config.in @@ -5,7 +5,6 @@ config BR2_PACKAGE_GDAL # configure can't find proj, when linking statically depends on !BR2_STATIC_LIBS depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 # C++11, proj - depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 depends on BR2_TOOLCHAIN_HAS_THREADS # proj depends on BR2_USE_WCHAR # proj select BR2_PACKAGE_GIFLIB @@ -26,9 +25,8 @@ config BR2_PACKAGE_GDAL https://gdal.org/ -comment "gdal needs a toolchain w/ C++, dynamic library, gcc >= 4.7, not binutils bug 27597, threads, wchar" +comment "gdal needs a toolchain w/ C++, dynamic library, gcc >= 4.7, threads, wchar" depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \ !BR2_TOOLCHAIN_GCC_AT_LEAST_4_7 || \ - BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 || \ !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR From patchwork Sun Feb 18 18:45:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giulio Benetti X-Patchwork-Id: 1900680 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TdF4112MZz20Qg for ; Mon, 19 Feb 2024 05:45:53 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 8D78681F1D; Sun, 18 Feb 2024 18:45:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zh78Ih5APPqH; Sun, 18 Feb 2024 18:45:47 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 01A7981F3B Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 01A7981F3B; Sun, 18 Feb 2024 18:45:46 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id C1EA61BF86C for ; Sun, 18 Feb 2024 18:45:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id AD8A340732 for ; Sun, 18 Feb 2024 18:45:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id o-qPFikPmS7q for ; Sun, 18 Feb 2024 18:45:43 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=62.149.156.117; helo=smtpcmd11117.aruba.it; envelope-from=giulio.benetti@benettiengineering.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp4.osuosl.org 381C2405DE DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 381C2405DE Received: from smtpcmd11117.aruba.it (smtpcmd11117.aruba.it [62.149.156.117]) by smtp4.osuosl.org (Postfix) with ESMTPS id 381C2405DE for ; Sun, 18 Feb 2024 18:45:40 +0000 (UTC) Received: from localhost.localdomain ([84.33.84.190]) by Aruba Outgoing Smtp with ESMTPSA id bmASrFAK1ce1vbmAUrHZJ0; Sun, 18 Feb 2024 19:45:38 +0100 From: Giulio Benetti To: buildroot@buildroot.org Date: Sun, 18 Feb 2024 19:45:31 +0100 Message-Id: <20240218184536.1922309-4-giulio.benetti@benettiengineering.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240218184536.1922309-1-giulio.benetti@benettiengineering.com> References: <20240218184536.1922309-1-giulio.benetti@benettiengineering.com> MIME-Version: 1.0 X-CMAE-Envelope: MS4xfKoj9QbZm3o7ZFS7LiFVcAudpdw8zZ6vQIcsYnRdNqyQbLvWRBkN//Z/eq2ZkLkNfCHbYPDazvD1l/kMetz7vXWet7y5HRSCPBnXW3iHjTgxjyqE8kQE N0xCdAQQjuIKkbxDT/2oeiB21wdFvZrfdYSgioVqTe5psCLKt4YIh1bpd5uKjPf7HvEDQ9pfTxORNmxC/VxYrQEgQvNXoGHeyB3Rv4UzHEOqVMaatSS7btsV qsUW+cduvxAEmBR9/TX6KOw9DWxami75tIa8yLv0ajYZaNyL30a5xpOc1I5bnM/Azx645VCo6H9soR/0tKbtqz9J97wXLgqU2rp/UUrga2ZhQ/sFMz2gTOtN uTK7vKwz1ypQNSd1qiMBHqSaynGNIxmbZqBXIM6/MqUfu9zCC1BjoM2Oujy1S7gKDC5Atb8Rei0fm2hzhUaGoHmd5V/E920QC4vd0U5l+bGJXjABnNogbEtc k8t+3czUijbBeyCwjUIuS85cWc2cv42rFaKcx3Hu+rdWIyZ99e8PbVFz0A5x3kzv83gYITzhDapFANCd7VsQcbzd56rBlsZ7JaitX7F667zEACTt2kfvyRVX PAA= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1708281938; bh=Y/vWCxi8r0NKShAva4ueJdRt4zM4eSwAggUlnkIXHSY=; h=From:To:Subject:Date:MIME-Version; b=KZkTaCPLit2o7wuQXAYnUYVxfShR5ffxobq1sZXxPdkB8phLhuyDSeZsg9FP24QBq 3a+rxYssMa0Hb2tRVfMAYTbuDvuWexmhxNNYWNMaeocurwq6OHm8DcSKrPGrfwIH45 9doGR8JKGp+TBTQ7wr43aoydz/tF10lgXPyb+kT4SeIQ3IL4arUwc/8/9kgToSYiL2 jB68plQrWLyYsFn465XTA8NxgK+RQbz5LGUfhxFM53uQO+Sf5+LMsWtQgjO7CwSQAc PsvgAXUegjTETc9K7qIa4LXVmt/JWPgiXnGWBTchyC43Gw3gmgVurW5ruKP+Ppj5Vz MB8wCD9gCexFg== X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dmarc=pass (p=none dis=none) header.from=benettiengineering.com X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=aruba.it header.i=@aruba.it header.a=rsa-sha256 header.s=a1 header.b=KZkTaCPL Subject: [Buildroot] [PATCH 3/8] package/kf5/kf5-kcoreaddons: drop nios2 binutils bug 27597 dependency X-BeenThere: buildroot@buildroot.org 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: Marcus Folkesson , Pierre Ducroquet , Kieran Bingham , Dominik Michael Rauh , Maxim Kochetkov , Thomas Petazzoni , Giulio Benetti , Romain Naour , Thomas De Schampheleire Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Now that binutils patch has been backported to every Buildroot binutils version we can drop nios2 binutils bug 27597 dependency. Signed-off-by: Giulio Benetti --- package/kf5/kf5-kcoreaddons/Config.in | 1 - 1 file changed, 1 deletion(-) diff --git a/package/kf5/kf5-kcoreaddons/Config.in b/package/kf5/kf5-kcoreaddons/Config.in index 02bd38e395..88fda03ee0 100644 --- a/package/kf5/kf5-kcoreaddons/Config.in +++ b/package/kf5/kf5-kcoreaddons/Config.in @@ -1,6 +1,5 @@ config BR2_PACKAGE_KF5_KCOREADDONS bool "kf5-kcoreaddons" - depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 select BR2_PACKAGE_KF5_EXTRA_CMAKE_MODULES select BR2_PACKAGE_QT5TOOLS select BR2_PACKAGE_QT5TOOLS_LINGUIST_TOOLS From patchwork Sun Feb 18 18:45:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giulio Benetti X-Patchwork-Id: 1900679 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TdF3x6y3qz20Qg for ; Mon, 19 Feb 2024 05:45:48 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id D3BA081F0C; Sun, 18 Feb 2024 18:45:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 21Pju2LhzRzI; Sun, 18 Feb 2024 18:45:45 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 15FD081F14 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id 15FD081F14; Sun, 18 Feb 2024 18:45:45 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id B54791BF41F for ; Sun, 18 Feb 2024 18:45:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id B02DB81EFB for ; Sun, 18 Feb 2024 18:45:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W3bhoaZLPopM for ; Sun, 18 Feb 2024 18:45:42 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=62.149.156.117; helo=smtpcmd11117.aruba.it; envelope-from=giulio.benetti@benettiengineering.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp1.osuosl.org 30B9381EF3 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 30B9381EF3 Received: from smtpcmd11117.aruba.it (smtpcmd11117.aruba.it [62.149.156.117]) by smtp1.osuosl.org (Postfix) with ESMTPS id 30B9381EF3 for ; Sun, 18 Feb 2024 18:45:41 +0000 (UTC) Received: from localhost.localdomain ([84.33.84.190]) by Aruba Outgoing Smtp with ESMTPSA id bmASrFAK1ce1vbmAUrHZJE; Sun, 18 Feb 2024 19:45:39 +0100 From: Giulio Benetti To: buildroot@buildroot.org Date: Sun, 18 Feb 2024 19:45:32 +0100 Message-Id: <20240218184536.1922309-5-giulio.benetti@benettiengineering.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240218184536.1922309-1-giulio.benetti@benettiengineering.com> References: <20240218184536.1922309-1-giulio.benetti@benettiengineering.com> MIME-Version: 1.0 X-CMAE-Envelope: MS4xfM5bVStyuEg/PFO9WDQTlguQPcEoYBDZLKCwJKFa6k8+f5aTUsDdbKjs/7CA5LwWGd5FmZdCjvwzqE+l5D6DN+Pajlik/nYLAAQQKkq3ASbRcYE4HJWi oxumAjqQZ4tWptsVvZZ6uOk6SwTFdeiXw0AeuETdVsm8NsBiR8WsW3Kzn/JNaG1FcdlptRVmQaTXhwZ0lR+QPDXGSBlAXkLcG/DV4tFt9Aoly5Sa9IliWXt6 N7XzOotdDiS3j3rLjk/JkFmRGzVpvhDCdEDtsc5RpYA2lH4vO7k9kj6FW5YqvqaAEl5vBbYHiBonqRwPFzLj7nk8Lt6QL+fuDNw5TWjbW6SPbmUo+MKgnz8V KMONOD+myt/7x1c5kkDqaW3OR/UyIMd2UY2OjQoIKGrY/7cWtKMEy4s1Pp9FlEjEx9slS9YB1twI0gWq9UivvFfwlCikjPU7kpn47n0aoHAyGzWqTTlPcTq/ gKDU9q/AaQrfhv7XtgLup/yBfKw0Yn8zOsW+mxIPkVtYv078vSlbuQdS6uLHh7jPxK17MHoJW1hk14H2AfrXJ2GDRxmJBvNKsvTgOIyMnCJ4+DUPeo5rrDKw 7uk= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1708281939; bh=QLHSPkcuEh2Yn8D//nH2YtuZnggryDj+tBO1VlkeUr0=; h=From:To:Subject:Date:MIME-Version; b=dxwuWVJhXLl3gPwwsNEEPJx/q2//34n1J57xruaDMmpzTwmeuRAJEUsNWGcxj0Ylu 9DxYYdqFXrB9aiHvoMuirnEEoBNA4xJnSly3dpKzT43VaoAWI3M+oxPgFLQH8J4J9k vUqndew1hfDrD5tWdrQ48m5PuMbkJMvgCW1yst2r4R2v55SwA2vTBVAAsuFyuDjWon uD7OgWuAJVd2qCe5qkizgRUf/5qpR2RhOFmWauocXIC36TnFkbsK7sk+i+D5DAmJxq Rhl+TVkEmFS4v9pOTk5OZS2CAK/UOUOuXGCuLG1GOjPmborV2ur1j5teDyqC8bwxEx d1uPLr2tw3/yA== X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dmarc=pass (p=none dis=none) header.from=benettiengineering.com X-Mailman-Original-Authentication-Results: smtp1.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=aruba.it header.i=@aruba.it header.a=rsa-sha256 header.s=a1 header.b=dxwuWVJh Subject: [Buildroot] [PATCH 4/8] package/libcamera: drop nios2 binutils bug 27597 dependency X-BeenThere: buildroot@buildroot.org 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: Marcus Folkesson , Pierre Ducroquet , Kieran Bingham , Dominik Michael Rauh , Maxim Kochetkov , Thomas Petazzoni , Giulio Benetti , Romain Naour , Thomas De Schampheleire Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Now that binutils patch has been backported to every Buildroot binutils version we can drop nios2 binutils bug 27597 dependency. Signed-off-by: Giulio Benetti --- package/libcamera/Config.in | 1 - 1 file changed, 1 deletion(-) diff --git a/package/libcamera/Config.in b/package/libcamera/Config.in index ccb5281b4b..e84b8d342e 100644 --- a/package/libcamera/Config.in +++ b/package/libcamera/Config.in @@ -3,7 +3,6 @@ config BR2_PACKAGE_LIBCAMERA_ARCH_SUPPORTS default y # Invalid packing size of ControlValue struct on m68k depends on !BR2_m68k - depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 menuconfig BR2_PACKAGE_LIBCAMERA bool "libcamera" From patchwork Sun Feb 18 18:45:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giulio Benetti X-Patchwork-Id: 1900683 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TdF496TKMz20Qg for ; Mon, 19 Feb 2024 05:46:01 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id EE1EF82032; Sun, 18 Feb 2024 18:45:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id o8C5XwRBUiWS; Sun, 18 Feb 2024 18:45:58 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org A4AE48200D Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id A4AE48200D; Sun, 18 Feb 2024 18:45:57 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 95AD41BF41F for ; Sun, 18 Feb 2024 18:45:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id DB0DD405DE for ; Sun, 18 Feb 2024 18:45:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ulXwSoe2GtOQ for ; Sun, 18 Feb 2024 18:45:43 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=62.149.156.117; helo=smtpcmd11117.aruba.it; envelope-from=giulio.benetti@benettiengineering.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp4.osuosl.org 3BED9405DF DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 3BED9405DF Received: from smtpcmd11117.aruba.it (smtpcmd11117.aruba.it [62.149.156.117]) by smtp4.osuosl.org (Postfix) with ESMTPS id 3BED9405DF for ; Sun, 18 Feb 2024 18:45:41 +0000 (UTC) Received: from localhost.localdomain ([84.33.84.190]) by Aruba Outgoing Smtp with ESMTPSA id bmASrFAK1ce1vbmAVrHZJU; Sun, 18 Feb 2024 19:45:39 +0100 From: Giulio Benetti To: buildroot@buildroot.org Date: Sun, 18 Feb 2024 19:45:33 +0100 Message-Id: <20240218184536.1922309-6-giulio.benetti@benettiengineering.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240218184536.1922309-1-giulio.benetti@benettiengineering.com> References: <20240218184536.1922309-1-giulio.benetti@benettiengineering.com> MIME-Version: 1.0 X-CMAE-Envelope: MS4xfM5bVStyuEg/PFO9WDQTlguQPcEoYBDZLKCwJKFa6k8+f5aTUsDdbKjs/7CA5LwWGd5FmZdCjvwzqE+l5D6DN+Pajlik/nYLAAQQKkq3ASbRcYE4HJWi oxumAjqQZ4tWptsVvZZ6uOk6SwTFdeiXw0AeuETdVsm8NsBiR8WsW3Kzn/JNaG1FcdlptRVmQaTXhwZ0lR+QPDXGSBlAXkLcG/DV4tFt9Aoly5Sa9IliWXt6 N7XzOotdDiS3j3rLjk/JkFmRGzVpvhDCdEDtsc5RpYA2lH4vO7k9kj6FW5YqvqaAEl5vBbYHiBonqRwPFzLj7nk8Lt6QL+fuDNw5TWjbW6SPbmUo+MKgnz8V KMONOD+myt/7x1c5kkDqaW3OR/UyIMd2UY2OjQoIKGrY/7cWtKMEy4s1Pp9FlEjEx9slS9YB1twI0gWq9UivvFfwlCikjPU7kpn47n0aoHAyGzWqTTlPcTq/ gKDU9q/AaQrfhv7XtgLup/yBfKw0Yn8zOsW+mxIPkVtYv078vSlbuQdS6uLHh7jPxK17MHoJW1hk14H2AfrXJ2GDRxmJBvNKsvTgOIyMnCJ4+DUPeo5rrDKw 7uk= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1708281939; bh=z1hzkh09ILz/tu+sRc5dw1QM+OxUAQBE5w3hkpk3CA0=; h=From:To:Subject:Date:MIME-Version; b=KRH32R+Ud7ouYZV+rovV2wxmbtqxBM8Qe2x0/5uEuWlDeixH56PRafTGuWPYWw0TF QAIbOJg3VTcajbz+1oG+CFE4N002lnhzIazy8mSBpBiicb9AorP5lMKWl9iT1e7+PW 1CImcbiSL0MgQhRsQi2C6Lb5NNJMJE7Z65jyj8pyhRim0itLM299KA8szph995GgEN mk9wu/2oHmcd8l8EYQ4dvFi3Tz9ZwCYOr/FLNoX721BX9aBDPhJQZk6/4Hz7l+tDXH PbZnjBlfZQ5FITMFno7d6sbhXPZtciDO3Af6Sgqlf7Wd3BE71ET26PjAz38P3YFFLS ujDuAkzDUPOIA== X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dmarc=pass (p=none dis=none) header.from=benettiengineering.com X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=aruba.it header.i=@aruba.it header.a=rsa-sha256 header.s=a1 header.b=KRH32R+U Subject: [Buildroot] [PATCH 5/8] package/libgeos: drop nios2 binutils bug 27597 dependency X-BeenThere: buildroot@buildroot.org 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: Marcus Folkesson , Pierre Ducroquet , Kieran Bingham , Dominik Michael Rauh , Maxim Kochetkov , Thomas Petazzoni , Giulio Benetti , Romain Naour , Thomas De Schampheleire Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Now that binutils patch has been backported to every Buildroot binutils version we can drop nios2 binutils bug 27597 dependency. Signed-off-by: Giulio Benetti Reviewed-by: Maxim Kochetkov --- package/libgeos/Config.in | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/package/libgeos/Config.in b/package/libgeos/Config.in index 2a27c6f2a4..76cbb9bdcd 100644 --- a/package/libgeos/Config.in +++ b/package/libgeos/Config.in @@ -4,7 +4,6 @@ config BR2_PACKAGE_LIBGEOS depends on BR2_USE_WCHAR depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # C++14 - depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 help GEOS (Geometry Engine - Open Source) is a C++ port of the JTS Topology Suite (JTS). It aims to contain the complete @@ -14,8 +13,7 @@ config BR2_PACKAGE_LIBGEOS https://trac.osgeo.org/geos -comment "libgeos needs a toolchain w/ C++, wchar, gcc >= 4.9, threads not binutils bug 27597" +comment "libgeos needs a toolchain w/ C++, wchar, gcc >= 4.9, threads" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ - BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 + !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 From patchwork Sun Feb 18 18:45:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giulio Benetti X-Patchwork-Id: 1900685 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TdF4J4L8Tz20Qg for ; Mon, 19 Feb 2024 05:46:08 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id C19DC82160; Sun, 18 Feb 2024 18:46:06 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xYAv41mJpW5W; Sun, 18 Feb 2024 18:46:06 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org DCB1F81F41 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id DCB1F81F41; Sun, 18 Feb 2024 18:46:04 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 822E01BF41F for ; Sun, 18 Feb 2024 18:45:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 1E929400CF for ; Sun, 18 Feb 2024 18:45:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id j0vARav1ZmEo for ; Sun, 18 Feb 2024 18:45:43 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=62.149.156.117; helo=smtpcmd11117.aruba.it; envelope-from=giulio.benetti@benettiengineering.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp2.osuosl.org 33098400C8 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org 33098400C8 Received: from smtpcmd11117.aruba.it (smtpcmd11117.aruba.it [62.149.156.117]) by smtp2.osuosl.org (Postfix) with ESMTPS id 33098400C8 for ; Sun, 18 Feb 2024 18:45:41 +0000 (UTC) Received: from localhost.localdomain ([84.33.84.190]) by Aruba Outgoing Smtp with ESMTPSA id bmASrFAK1ce1vbmAVrHZJh; Sun, 18 Feb 2024 19:45:40 +0100 From: Giulio Benetti To: buildroot@buildroot.org Date: Sun, 18 Feb 2024 19:45:34 +0100 Message-Id: <20240218184536.1922309-7-giulio.benetti@benettiengineering.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240218184536.1922309-1-giulio.benetti@benettiengineering.com> References: <20240218184536.1922309-1-giulio.benetti@benettiengineering.com> MIME-Version: 1.0 X-CMAE-Envelope: MS4xfPD5j9wmPlTkWrcMaGf2I30KURWS0NCKMGBRQBVsETU4+xjeqOzDLsSGUYEW8bjU9xa5iibmq1vDcIfNLpDcqoUbQwSNh0rvmpY+BQ9uCChM3hslicps F8kh0CymdfvNpm/cWyF4DQvYsw7CMyaf/F+wVXB2FGCjL4vZG+2VAcm3rX1ulSr6yW154AMtKS56ZrezK84qp5+38RoukuJyvRi0BGJXEZTdrCgSo2SENkmM NLEKzHOMGu1C9YRY0dDRX5kihWr8b2ozGhuZWhi0QyW8aOHls3BJC6eRXL9+Fcf7aHLMmSjJ9QHvIAYsHl83/rTgoodCMKsxrObBMpMar3UEg02d4tA2xw/w StIoF8DrV8A0MDNItXOQcBP3cH6AGDkE3MDvY7PtbMSlBlplXgYqhT9rBSdQVIDPnIcN8DAa1BG2jVtHalppLslWyX2urvSznpJHvbg6Q9TlFYj3J6Qaaqh3 q6PT4cULZLgYlHhaEa9Gs58Wi9oA73tpLHqCi1HKV2n/4zctSuvBrNEq1B3i/yZudZDufacwKqVT/Ha5Nt6GQb/+9Rz9U6eGtDdTTVOC1aQt5pR/7UiKDHwm 21Q= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1708281940; bh=0dGDQMJ+5q6XdAZcrkMg4EHrcmjQEDpOO48yZPxP0Fs=; h=From:To:Subject:Date:MIME-Version; b=I7cjvalw9ONmmOnlBYlwBVQmcsimioOQl2u2dCnxQEdjswhcG8rZZT8/KTmxn2bDL 9ik3dmxdIj7CJW7OSbczqtck8K7d5ONyIPl6u9+RR9LeYJQWRlkRZ+SPGr038+SNr2 cGZRx2NFYjzp6Tq1NmwTg7qTLOxc7/JAUKgQ8b557GeaU30szjm9EGi/pmxvy2aRvI +1mtzWQDnFgxJJeZ4gS2RWN1HyxdQmcDmS9zz9cxO8cf5Dz4iYY2tM0ATckQiv6oFw dD9S96PFqj3uD1o/hfU1hN4FDiujQEFFF6sghtKTFrZmSglivcvBrZ7Bte3bgsc0PN SIXlL1pf5ny4A== X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dmarc=pass (p=none dis=none) header.from=benettiengineering.com X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=aruba.it header.i=@aruba.it header.a=rsa-sha256 header.s=a1 header.b=I7cjvalw Subject: [Buildroot] [PATCH 6/8] package/pistache: drop nios2 binutils bug 27597 dependency X-BeenThere: buildroot@buildroot.org 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: Marcus Folkesson , Pierre Ducroquet , Kieran Bingham , Dominik Michael Rauh , Maxim Kochetkov , Thomas Petazzoni , Giulio Benetti , Romain Naour , Thomas De Schampheleire Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Now that binutils patch has been backported to every Buildroot binutils version we can drop nios2 binutils bug 27597 dependency. Signed-off-by: Giulio Benetti --- package/pistache/Config.in | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/package/pistache/Config.in b/package/pistache/Config.in index 3acf1f53f0..ca2d2833cd 100644 --- a/package/pistache/Config.in +++ b/package/pistache/Config.in @@ -4,7 +4,6 @@ config BR2_PACKAGE_PISTACHE depends on BR2_USE_WCHAR depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_INSTALL_LIBSTDCPP - depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 select BR2_PACKAGE_RAPIDJSON help Pistache is a modern and elegant HTTP and REST framework @@ -13,9 +12,8 @@ config BR2_PACKAGE_PISTACHE https://github.com/oktal/pistache -comment "pistache needs a toolchain w/ C++, gcc >= 7, threads, wchar, not binutils bug 27597" +comment "pistache needs a toolchain w/ C++, gcc >= 7, threads, wchar" depends on !BR2_INSTALL_LIBSTDCPP || \ !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || \ !BR2_TOOLCHAIN_HAS_THREADS || \ - !BR2_USE_WCHAR || \ - BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 + !BR2_USE_WCHAR From patchwork Sun Feb 18 18:45:35 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giulio Benetti X-Patchwork-Id: 1900687 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=140.211.166.138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TdF4Q47Q8z20Qg for ; Mon, 19 Feb 2024 05:46:14 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id C585981F41; Sun, 18 Feb 2024 18:46:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5tWtn1vEyouZ; Sun, 18 Feb 2024 18:46:11 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org A734082173 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id A734082173; Sun, 18 Feb 2024 18:46:11 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 2B6E81BF86C for ; Sun, 18 Feb 2024 18:45:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id 163D2405BD for ; Sun, 18 Feb 2024 18:45:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Qfm4rBmaAkbN for ; Sun, 18 Feb 2024 18:45:43 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=62.149.156.117; helo=smtpcmd11117.aruba.it; envelope-from=giulio.benetti@benettiengineering.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp4.osuosl.org BA54340731 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org BA54340731 Received: from smtpcmd11117.aruba.it (smtpcmd11117.aruba.it [62.149.156.117]) by smtp4.osuosl.org (Postfix) with ESMTPS id BA54340731 for ; Sun, 18 Feb 2024 18:45:42 +0000 (UTC) Received: from localhost.localdomain ([84.33.84.190]) by Aruba Outgoing Smtp with ESMTPSA id bmASrFAK1ce1vbmAWrHZJt; Sun, 18 Feb 2024 19:45:40 +0100 From: Giulio Benetti To: buildroot@buildroot.org Date: Sun, 18 Feb 2024 19:45:35 +0100 Message-Id: <20240218184536.1922309-8-giulio.benetti@benettiengineering.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240218184536.1922309-1-giulio.benetti@benettiengineering.com> References: <20240218184536.1922309-1-giulio.benetti@benettiengineering.com> MIME-Version: 1.0 X-CMAE-Envelope: MS4xfPD5j9wmPlTkWrcMaGf2I30KURWS0NCKMGBRQBVsETU4+xjeqOzDLsSGUYEW8bjU9xa5iibmq1vDcIfNLpDcqoUbQwSNh0rvmpY+BQ9uCChM3hslicps F8kh0CymdfvNpm/cWyF4DQvYsw7CMyaf/F+wVXB2FGCjL4vZG+2VAcm3rX1ulSr6yW154AMtKS56ZrezK84qp5+38RoukuJyvRi0BGJXEZTdrCgSo2SENkmM NLEKzHOMGu1C9YRY0dDRX5kihWr8b2ozGhuZWhi0QyW8aOHls3BJC6eRXL9+Fcf7aHLMmSjJ9QHvIAYsHl83/rTgoodCMKsxrObBMpMar3UEg02d4tA2xw/w StIoF8DrV8A0MDNItXOQcBP3cH6AGDkE3MDvY7PtbMSlBlplXgYqhT9rBSdQVIDPnIcN8DAa1BG2jVtHalppLslWyX2urvSznpJHvbg6Q9TlFYj3J6Qaaqh3 q6PT4cULZLgYlHhaEa9Gs58Wi9oA73tpLHqCi1HKV2n/4zctSuvBrNEq1B3i/yZudZDufacwKqVT/Ha5Nt6GQb/+9Rz9U6eGtDdTTVOC1aQt5pR/7UiKDHwm 21Q= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1708281940; bh=jHFO1XTMWT6VtOkf8Amh1cAwAq8QZpwiiZGMzHIfz3A=; h=From:To:Subject:Date:MIME-Version; b=JxSRmxoAzu5B//ngtheL/Cwm7+c+f370LWSEofaOchlCbrQ1eCss0kOvQV0/emf87 QbwQwZjvYA3+o/xR4upxKihhDNs16BW167/HPeCsAQEsVR0ETfdEHWpR1WL1TyvuoL u7OLq9r4/yLEzmmryamRZBBN1ySpSVfFDpiuvuNILIo/O3v7I9CgrZUkxFeeVVOUFd TTxI1QVd2HPKhk9D8pZbK+wseUF1E+Vye9O0S8Ox1ZwsiTzFIkEsMxsRJjsL/JyClp 57tfXhT0nJXVpTyKy2mCwq3WuQDQhegrNMNCbNvMGX0cMDxQu0u7VZViiFrjZKm2Wo KiNSBdyEaB65A== X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dmarc=pass (p=none dis=none) header.from=benettiengineering.com X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key) header.d=aruba.it header.i=@aruba.it header.a=rsa-sha256 header.s=a1 header.b=JxSRmxoA Subject: [Buildroot] [PATCH 7/8] package/postgis: drop nios2 binutils bug 27597 dependency X-BeenThere: buildroot@buildroot.org 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: Marcus Folkesson , Pierre Ducroquet , Kieran Bingham , Dominik Michael Rauh , Maxim Kochetkov , Thomas Petazzoni , Giulio Benetti , Romain Naour , Thomas De Schampheleire Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Now that binutils patch has been backported to every Buildroot binutils version we can drop nios2 binutils bug 27597 dependency. Signed-off-by: Giulio Benetti Reviewed-by: Maxim Kochetkov --- package/postgis/Config.in | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/package/postgis/Config.in b/package/postgis/Config.in index 7d42390677..78569d63be 100644 --- a/package/postgis/Config.in +++ b/package/postgis/Config.in @@ -5,7 +5,6 @@ config BR2_PACKAGE_POSTGIS depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libgeos depends on BR2_TOOLCHAIN_HAS_THREADS # libgeos, proj depends on BR2_USE_WCHAR # libgeos, proj - depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 # libgeos select BR2_PACKAGE_LIBGEOS select BR2_PACKAGE_PROJ select BR2_PACKAGE_LIBXML2 @@ -18,7 +17,6 @@ config BR2_PACKAGE_POSTGIS https://postgis.net/ -comment "postgis needs a toolchain w/ C++, threads, wchar, gcc >= 4.9, not binutils bug 27597" +comment "postgis needs a toolchain w/ C++, threads, wchar, gcc >= 4.9" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 || \ - !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \ - BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 + !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR From patchwork Sun Feb 18 18:45:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giulio Benetti X-Patchwork-Id: 1900686 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=buildroot.org (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver=patchwork.ozlabs.org) Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TdF4M3W3Rz20Qg for ; Mon, 19 Feb 2024 05:46:11 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id AA68E82166; Sun, 18 Feb 2024 18:46:09 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oHXl3eXUcPzu; Sun, 18 Feb 2024 18:46:09 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.34; helo=ash.osuosl.org; envelope-from=buildroot-bounces@buildroot.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org B588A82169 Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id B588A82169; Sun, 18 Feb 2024 18:46:08 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp2.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 0F3A61BF41F for ; Sun, 18 Feb 2024 18:45:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp2.osuosl.org (Postfix) with ESMTP id 65DCC400C8 for ; Sun, 18 Feb 2024 18:45:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp2.osuosl.org ([127.0.0.1]) by localhost (smtp2.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pd1NELKM_3vm for ; Sun, 18 Feb 2024 18:45:43 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=62.149.156.117; helo=smtpcmd11117.aruba.it; envelope-from=giulio.benetti@benettiengineering.com; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp2.osuosl.org DE5AF40148 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp2.osuosl.org DE5AF40148 Received: from smtpcmd11117.aruba.it (smtpcmd11117.aruba.it [62.149.156.117]) by smtp2.osuosl.org (Postfix) with ESMTPS id DE5AF40148 for ; Sun, 18 Feb 2024 18:45:42 +0000 (UTC) Received: from localhost.localdomain ([84.33.84.190]) by Aruba Outgoing Smtp with ESMTPSA id bmASrFAK1ce1vbmAWrHZK8; Sun, 18 Feb 2024 19:45:40 +0100 From: Giulio Benetti To: buildroot@buildroot.org Date: Sun, 18 Feb 2024 19:45:36 +0100 Message-Id: <20240218184536.1922309-9-giulio.benetti@benettiengineering.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240218184536.1922309-1-giulio.benetti@benettiengineering.com> References: <20240218184536.1922309-1-giulio.benetti@benettiengineering.com> MIME-Version: 1.0 X-CMAE-Envelope: MS4xfPD5j9wmPlTkWrcMaGf2I30KURWS0NCKMGBRQBVsETU4+xjeqOzDLsSGUYEW8bjU9xa5iibmq1vDcIfNLpDcqoUbQwSNh0rvmpY+BQ9uCChM3hslicps F8kh0CymdfvNpm/cWyF4DQvYsw7CMyaf/F+wVXB2FGCjL4vZG+2VAcm3rX1ulSr6yW154AMtKS56ZrezK84qp5+38RoukuJyvRi0BGJXEZTdrCgSo2SENkmM NLEKzHOMGu1C9YRY0dDRX5kihWr8b2ozGhuZWhi0QyW8aOHls3BJC6eRXL9+Fcf7aHLMmSjJ9QHvIAYsHl83/rTgoodCMKsxrObBMpMar3UEg02d4tA2xw/w StIoF8DrV8A0MDNItXOQcBP3cH6AGDkE3MDvY7PtbMSlBlplXgYqhT9rBSdQVIDPnIcN8DAa1BG2jVtHalppLslWyX2urvSznpJHvbg6Q9TlFYj3J6Qaaqh3 q6PT4cULZLgYlHhaEa9Gs58Wi9oA73tpLHqCi1HKV2n/4zctSuvBrNEq1B3i/yZudZDufacwKqVT/Ha5Nt6GQb/+9Rz9U6eGtDdTTVOC1aQt5pR/7UiKDHwm 21Q= X-Mailman-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=aruba.it; s=a1; t=1708281940; bh=MGA02+T+s66BGa/+Flq+CcLI58fqJzNiuIkfOFogmew=; h=From:To:Subject:Date:MIME-Version; b=X+90X6I4O5NYcGj+6oVow90nBH9Osm8oFxerD8EGE/NRa8McZDJdmEQAmvgM3hZGf HZHtrf8yxIRjHZO4Iz0pRtfDfw1pZF1vSFw2Oag6LHDNVK6duKA45i503jvwzJV0EH R2a2wlDVy8X9LWJq6H//gVjjF/h59YqGFd6ZF6ywF2x2hc0IsP2rLi+1arYiPbp4/J d0V+IbyjMWfD1GCozFueQmvKrD9gsamCgcmm+GtJGKqK3pSDNhjlxbd/4Ff0uwpNhD xAUi3Rlq8pOYNkFVaewU96nNH6n0dyDZS9awOFuFnTHdb6R9XRowRNtaTS4lEF3Qxe 51GLaWtf7Q73A== X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dmarc=pass (p=none dis=none) header.from=benettiengineering.com X-Mailman-Original-Authentication-Results: smtp2.osuosl.org; dkim=pass (2048-bit key) header.d=aruba.it header.i=@aruba.it header.a=rsa-sha256 header.s=a1 header.b=X+90X6I4 Subject: [Buildroot] [PATCH 8/8] toolchain: remove binutils bug 27597 X-BeenThere: buildroot@buildroot.org 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: Marcus Folkesson , Pierre Ducroquet , Kieran Bingham , Dominik Michael Rauh , Maxim Kochetkov , Thomas Petazzoni , Giulio Benetti , Romain Naour , Thomas De Schampheleire Errors-To: buildroot-bounces@buildroot.org Sender: "buildroot" Binutils bug 27597 is not present anymore in Buildroot so let's remove it. Signed-off-by: Giulio Benetti --- toolchain/Config.in | 6 ------ 1 file changed, 6 deletions(-) diff --git a/toolchain/Config.in b/toolchain/Config.in index 407a03c42e..9e6cff1950 100644 --- a/toolchain/Config.in +++ b/toolchain/Config.in @@ -71,12 +71,6 @@ source "package/gdb/Config.in.host" comment "Toolchain Generic Options" -# https://sourceware.org/bugzilla/show_bug.cgi?id=27597 -# Affect toolchains built with binutils 2.36.1, still not fixed. -config BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597 - bool - default y if BR2_nios2 - # https://sourceware.org/bugzilla/show_bug.cgi?id=30730 # Affect toolchains built with binutils 2.40, still not fixed. config BR2_TOOLCHAIN_HAS_BINUTILS_BUG_30730