All of lore.kernel.org
 help / color / mirror / Atom feed
From: Giulio Benetti <giulio.benetti@benettiengineering.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 0/9] Fix binutils bug 21464 and remove it
Date: Fri, 21 May 2021 16:21:59 +0200	[thread overview]
Message-ID: <62032574-bad4-5d93-fc72-4d3b455fe899@benettiengineering.com> (raw)
In-Reply-To: <8db63dbe-1abb-3fbf-59c6-6cb14fde577c@mind.be>

Hi Arnout,

On 5/21/21 10:46 AM, Arnout Vandecappelle wrote:
>   Hi Giulio,
> 
>   Thanks for these!

Happy to help :-)

> On 03/05/2021 13:13, Giulio Benetti wrote:
>> This patchset fixes binutils bug 21464 and fixes libgeos build failure
>> by introducing the gcc option flag -mcmodel. This is done by adding
>> upstreamed binutils and gcc patches. Note tha this way buildroot
>> toolchains can be considered bug binutils 21464 free and the only other
>> OpenRisc toolchain supported is the external Bootlin one. So this
>> patchset has to be considered valid once Bootlin updates its OpenRisc
>> by adding binutils and gcc patches that are added with patches in this
>> patchset.
>>
>> Giulio Benetti (9):
>>    package/binutils: update or1k patches for plt link version with
>>      upstream
>>    package/binutils: add upstream backported patches to support
>>      -mcmodel=large gcc option
>>    package/gcc: add upstream patches that introduce -mcmodel=large option
>>      for or1k
> 
>   Patches 1-3 applied to master. Note that I had to fix all of them up because
> they failed check-package. The [PATCH N/M] things are not allowed. Ideally, when
> you add patches, you shouldn't just pluck them from the mailing list. Instead,
> you should apply them in a git clone - preferably by cherry-picking with `git
> cherry-pick -x <sha1>` if they have been applied upstream. Then you should
> regenerate *all* patches `git format-patch -N <base>..`. Then verify that only
> the patches that you intended to change have actually changed.

Oh right, thank you for modifying them, I've forgotten to check-package 
them.

> 
>>    package/libgeos: fix build failure due to missing -mcmodel=large
>>    package/protobuf: fix build failure due to missing -mcmodel=large
> 
>   As mentioned, these can only be applied after Thomas updates the bootlin
> toolchains *and* the patch to update them in Buildroot has been merged. That's
> not going to happen on master :-)

Ok

>>    toolchain: remove binutils bug 21464
>>    package/libgeos: remove binutils bug 21464 dependency
>>    package/postgis: remove libgeos binutils bug 21464 inheritance
>>    package/protobuf: remove binutils bug 21464 dependency
> 
>   These four should be squashed into a single patch.

I've just sent a v2 for this:
https://patchwork.ozlabs.org/project/buildroot/patch/20210521140942.3032331-1-giulio.benetti at benettiengineering.com/


Kind regards
-- 
Giulio Benetti
Benetti Engineering sas

  reply	other threads:[~2021-05-21 14:21 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-03 11:13 [Buildroot] [PATCH 0/9] Fix binutils bug 21464 and remove it Giulio Benetti
2021-05-03 11:13 ` [Buildroot] [PATCH 1/9] package/binutils: update or1k patches for plt link version with upstream Giulio Benetti
2021-05-03 11:13 ` [Buildroot] [PATCH 2/9] package/binutils: add upstream backported patches to support -mcmodel=large gcc option Giulio Benetti
2021-06-08 21:29   ` Romain Naour
2021-06-08 22:16     ` Giulio Benetti
2021-06-09  6:26       ` Romain Naour
2021-06-09 16:27         ` [Buildroot] [PATCH] package/binutils: fix building or1k with host gcc version < 5 Giulio Benetti
2021-06-09 17:10           ` Romain Naour
2021-07-18 20:35           ` Thomas Petazzoni
2021-06-09 16:50         ` [Buildroot] [PATCH 2/9] package/binutils: add upstream backported patches to support -mcmodel=large gcc option Giulio Benetti
2021-06-09 16:57           ` Romain Naour
2021-05-03 11:13 ` [Buildroot] [PATCH 3/9] package/gcc: add upstream patches that introduce -mcmodel=large option for or1k Giulio Benetti
2021-05-03 11:13 ` [Buildroot] [PATCH 4/9] package/libgeos: fix build failure due to missing -mcmodel=large Giulio Benetti
2021-05-03 11:13 ` [Buildroot] [PATCH 5/9] package/protobuf: " Giulio Benetti
2021-05-03 11:13 ` [Buildroot] [PATCH 6/9] toolchain: remove binutils bug 21464 Giulio Benetti
2021-05-03 11:13 ` [Buildroot] [PATCH 7/9] package/libgeos: remove binutils bug 21464 dependency Giulio Benetti
2021-05-03 11:13 ` [Buildroot] [PATCH 8/9] package/postgis: remove libgeos binutils bug 21464 inheritance Giulio Benetti
2021-05-03 11:13 ` [Buildroot] [PATCH 9/9] package/protobuf: remove binutils bug 21464 dependency Giulio Benetti
2021-05-21  8:46 ` [Buildroot] [PATCH 0/9] Fix binutils bug 21464 and remove it Arnout Vandecappelle
2021-05-21 14:21   ` Giulio Benetti [this message]
2021-05-21 21:26     ` Yann E. MORIN
2021-05-21 21:28       ` 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=62032574-bad4-5d93-fc72-4d3b455fe899@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.