Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Angelo Compagnucci <angelo.compagnucci@gmail.com>
To: buildroot@buildroot.org
Cc: Vincent Fazio <vfazio@gmail.com>,
	Vincent Fazio <vfazio@xes-inc.com>,
	Giulio Benetti <giulio.benetti@benettiengineering.com>,
	Romain Naour <romain.naour@gmail.com>,
	Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	Neal Frager <neal.frager@amd.com>,
	Ibai Erkiaga <ibai.erkiaga-elorza@amd.com>,
	Angelo Compagnucci <angelo.compagnucci@gmail.com>
Subject: [Buildroot] [PATCH v2 2/2] package/elfutils: drop the microblaze workaround
Date: Tue, 24 Nov 2026 09:59:24 +0100	[thread overview]
Message-ID: <20261124085924.2250690-2-angelo.compagnucci@gmail.com> (raw)
In-Reply-To: <20261124085924.2250690-1-angelo.compagnucci@gmail.com>

8ef2bb4437 ("package/elfutils: fix build on microblaze") disabled
symbol versioning on MicroBlaze, because GCC didn't support the symver
attribute there:

  dwelf_elf_begin.c:62:1: error: symver is only supported on ELF platforms

Commit "package/gcc: add symver attribute support to MicroBlaze" adds
symver support to the MicroBlaze GCC. Drop the workaround. The Bootlin
toolchains get the fix when they are rebuilt with it.

Signed-off-by: Angelo Compagnucci <angelo.compagnucci@gmail.com>
---
Changes v1 -> v2:
  - new patch: drop the workaround the GCC fix makes useless

 package/elfutils/elfutils.mk | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/package/elfutils/elfutils.mk b/package/elfutils/elfutils.mk
index 65ac15e64a..0c038a7f2f 100644
--- a/package/elfutils/elfutils.mk
+++ b/package/elfutils/elfutils.mk
@@ -45,10 +45,6 @@ ifeq ($(BR2_TOOLCHAIN_USES_UCLIBC),y)
 ELFUTILS_CONF_OPTS += --disable-symbol-versioning
 endif
 
-ifeq ($(BR2_microblaze),y)
-ELFUTILS_CONF_OPTS += --disable-symbol-versioning
-endif
-
 ifeq ($(BR2_PACKAGE_ELFUTILS_LIBDEBUGINFOD),y)
 ELFUTILS_CONF_OPTS += --enable-libdebuginfod
 ELFUTILS_DEPENDENCIES += json-c libcurl
-- 
2.53.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      reply	other threads:[~2026-11-24  8:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-28 16:53 [Buildroot] [PATCH 1/1] package/gcc: add symver attribute support to MicroBlaze Vincent Fazio
2026-11-23 17:30 ` Angelo Compagnucci
2026-11-23 17:44   ` Vincent Fazio
2026-11-23 20:09     ` Angelo Compagnucci
2026-11-23 20:57       ` Thomas Petazzoni via buildroot
2026-11-23 22:35       ` Vincent Fazio
2026-11-24  8:59         ` [Buildroot] [PATCH v2 1/2] " Angelo Compagnucci
2026-11-24  8:59           ` Angelo Compagnucci [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261124085924.2250690-2-angelo.compagnucci@gmail.com \
    --to=angelo.compagnucci@gmail.com \
    --cc=buildroot@buildroot.org \
    --cc=giulio.benetti@benettiengineering.com \
    --cc=ibai.erkiaga-elorza@amd.com \
    --cc=neal.frager@amd.com \
    --cc=romain.naour@gmail.com \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=vfazio@gmail.com \
    --cc=vfazio@xes-inc.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox