All of lore.kernel.org
 help / color / mirror / Atom feed
From: Giulio Benetti <giulio.benetti@benettiengineering.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 3/3] package/kmod: remove ld segfault workaround
Date: Tue, 17 Dec 2019 15:37:04 +0100	[thread overview]
Message-ID: <20191217143704.51115-4-giulio.benetti@benettiengineering.com> (raw)
In-Reply-To: <20191217143704.51115-1-giulio.benetti@benettiengineering.com>

This ld bug has been fixed with binutils version 2.27 and Buildroot
at the moment provides binutils > 2.27, so let's remove the workaround.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
---
 package/kmod/kmod.mk | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/package/kmod/kmod.mk b/package/kmod/kmod.mk
index e21f40a845..6d94e833ac 100644
--- a/package/kmod/kmod.mk
+++ b/package/kmod/kmod.mk
@@ -17,12 +17,6 @@ HOST_KMOD_DEPENDENCIES = host-pkgconf
 KMOD_LICENSE = LGPL-2.1+ (library)
 KMOD_LICENSE_FILES = libkmod/COPYING
 
-# --gc-sections triggers binutils ld segfault
-# https://sourceware.org/bugzilla/show_bug.cgi?id=21180
-ifeq ($(BR2_microblaze),y)
-KMOD_CONF_ENV += cc_cv_LDFLAGS__Wl___gc_sections=false
-endif
-
 # static linking not supported, see
 # https://git.kernel.org/cgit/utils/kernel/kmod/kmod.git/commit/?id=b7016153ec8
 KMOD_CONF_OPTS = --disable-static --enable-shared
-- 
2.20.1

      parent reply	other threads:[~2019-12-17 14:37 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-17 14:37 [Buildroot] [PATCH 0/3] Microblaze cleanup 3 Giulio Benetti
2019-12-17 14:37 ` [Buildroot] [PATCH 1/3] package/sqlite: remove workaround when building with gcc version <= 4.9 Giulio Benetti
2019-12-17 16:50   ` Thomas Petazzoni
2019-12-17 18:00     ` Giulio Benetti
2019-12-17 14:37 ` [Buildroot] [PATCH 2/3] package/libnss: remove ld segfault workaround Giulio Benetti
2019-12-31 16:18   ` Yann E. MORIN
2019-12-31 19:47     ` Giulio Benetti
2019-12-17 14:37 ` Giulio Benetti [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=20191217143704.51115-4-giulio.benetti@benettiengineering.com \
    --to=giulio.benetti@benettiengineering.com \
    --cc=buildroot@busybox.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.