All of lore.kernel.org
 help / color / mirror / Atom feed
From: Giulio Benetti <giulio.benetti@benettiengineering.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 3/6] toolchain: introduce BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27100
Date: Wed, 17 Mar 2021 18:02:31 +0100	[thread overview]
Message-ID: <6800c174-f1ac-069b-2af9-6cf94ebba8f7@benettiengineering.com> (raw)
In-Reply-To: <14e8fc61-c8bb-a97b-84d3-2394f1db03a9@benettiengineering.com>

And since only openal package seemed to be "affected by this bug", 
please drop this patch.

Thank you!
Kind regards
-- 
Giulio Benetti
Benetti Engineering sas

On 3/17/21 5:57 PM, Giulio Benetti wrote:
> Hi Thomas,
> 
> On 3/14/21 11:05 PM, Thomas Petazzoni wrote:
>> On Wed, 10 Mar 2021 10:14:50 +0100
>> Giulio Benetti <giulio.benetti@benettiengineering.com> wrote:
>>
>>> On OpenRisc binutils it still present ld bug 27100 leading to a package
>>> openal to fail building:
>>> http://autobuild.buildroot.net/results/c05/c053b9e191b31f0b1f8f8c902b602e187f714dc0/
>>>
>>> The bug was already reported and it's been updated:
>>> https://sourceware.org/bugzilla/show_bug.cgi?id=27100
>>
>> How do you know it is this bug? The "final link failed: bad value"
>> message is pretty generic.
> 
> You're right, that is not the entire message, it's:
> '''
> /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld:
> CMakeFiles/OpenAL.dir/al/source.cpp.o: pc-relative relocation against
> dynamic symbol alSourcePlayv
> /home/buildroot/autobuild/instance-0/output-1/host/opt/ext-toolchain/bin/../lib/gcc/or1k-buildroot-linux-uclibc/9.3.0/../../../../or1k-buildroot-linux-uclibc/bin/ld:
> final link failed: bad value
> '''
> 
> and that a package's issue. I think I've added by mistake openal failure
> as a test-case but it's not.
> 
>> Did you actually check that those issues no
>> longer appear with binutils 2.36 ?
>>> +# https://sourceware.org/bugzilla/show_bug.cgi?id=27100
>>> +# Affect toolchains built with binutils 2.33.1 (fixed in binutils 2.36)
>>> +config BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27100
>>> +	bool
>>> +	default y if BR2_or1k && !BR2_BINUTILS_VERSION_2_36_X
>>
>> Obviously, an annoying problem is that the BR2_BINUTILS_VERSION_2_36_X
>> part of the condition does not take into account external toolchains.
>> So for external toolchains that have binutils >= 2.36, we still won't
>> be able to build those packages.
>>
>> But oh well, for something like OpenRISC, this is perhaps an acceptable
>> trade-off.
>>
>> Thomas
>>
> 

  reply	other threads:[~2021-03-17 17:02 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-10  9:14 [Buildroot] [PATCH v2 0/6] Some Nios II and OpenRisc Fixes Giulio Benetti
2021-03-10  9:14 ` [Buildroot] [PATCH v2 1/6] package/libtheora: disable package if binutils is affected from bug 21464 Giulio Benetti
2021-03-14 21:37   ` Thomas Petazzoni
2021-03-14 21:53   ` Thomas Petazzoni
2021-03-17 21:33     ` Giulio Benetti
2021-03-10  9:14 ` [Buildroot] [PATCH v2 2/6] package/gnutls: " Giulio Benetti
2021-03-14 21:37   ` Thomas Petazzoni
2021-03-14 21:44   ` Thomas Petazzoni
2021-03-14 21:52     ` Giulio Benetti
2021-03-17 21:31     ` Giulio Benetti
2021-03-10  9:14 ` [Buildroot] [PATCH v2 3/6] toolchain: introduce BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27100 Giulio Benetti
2021-03-14 22:05   ` Thomas Petazzoni
2021-03-17 16:57     ` Giulio Benetti
2021-03-17 17:02       ` Giulio Benetti [this message]
2021-03-10  9:14 ` [Buildroot] [PATCH v2 4/6] package/openal: disable package if binutils is affected from bug 27100 Giulio Benetti
2021-03-14 22:07   ` Thomas Petazzoni
2021-03-17 17:01     ` Giulio Benetti
2021-03-10  9:14 ` [Buildroot] [PATCH v2 5/6] package/libcamera: disable package while building for Nios II Giulio Benetti
2021-03-14 22:07   ` Thomas Petazzoni
2021-03-17 16:43     ` [Buildroot] [PATCH 1/2] package/libcamera: disable package affected by binutils bug 27597 Giulio Benetti
2021-03-17 16:43       ` [Buildroot] [PATCH 2/2] package/kf5-kcoreaddons: " Giulio Benetti
2021-03-17 16:45       ` [Buildroot] [PATCH 1/2] package/libcamera: " Thomas Petazzoni
2021-03-17 17:00         ` [Buildroot] [PATCH v2] " Giulio Benetti
2021-04-26 19:55           ` Arnout Vandecappelle
2021-03-10  9:14 ` [Buildroot] [PATCH v2 6/6] package/kf5-kcoreaddons: disable package while building for Nios II Giulio Benetti

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=6800c174-f1ac-069b-2af9-6cf94ebba8f7@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.