Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Giulio Benetti <giulio.benetti@benettiengineering.com>
To: Romain Naour <romain.naour@gmail.com>,
	Arnout Vandecappelle <arnout@mind.be>,
	buildroot@buildroot.org
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
	Michael Nosthoff <buildroot@heine.tech>,
	Matt Weber <matthew.weber@collins.com>,
	Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>,
	Maxim Kochetkov <fido_max@inbox.ru>
Subject: Re: [Buildroot] [PATCH v2 1/3] package/libgeos: fix build failure due to missing -mcmodel=large
Date: Wed, 18 Aug 2021 22:54:22 +0200	[thread overview]
Message-ID: <c1917984-eaaf-896b-ff50-b0a0eb14668e@benettiengineering.com> (raw)
In-Reply-To: <db8b4379-f0e6-88dd-cebd-f521e80dab1e@gmail.com>

Hi Romain,

On 8/18/21 10:01 PM, Romain Naour wrote:
> Hello Arnout,
> 
> Le 17/08/2021 à 22:34, Arnout Vandecappelle a écrit :
>>
>>
>> On 27/07/2021 00:34, Giulio Benetti wrote:
>>> When building libgeos for or1k -mcmodel=large is needed to link, so let's
>>> add that gcc option in case we're building for or1k.
>>>
>>> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
>>> ---
>>>   package/libgeos/libgeos.mk | 4 ++++
>>>   1 file changed, 4 insertions(+)
>>>
>>> diff --git a/package/libgeos/libgeos.mk b/package/libgeos/libgeos.mk
>>> index a355732af8..43211d0434 100644
>>> --- a/package/libgeos/libgeos.mk
>>> +++ b/package/libgeos/libgeos.mk
>>> @@ -23,6 +23,10 @@ ifeq ($(BR2_arm)$(BR2_armeb),y)
>>>   LIBGEOS_CONF_OPTS += -DDISABLE_GEOS_INLINE=ON
>>>   endif
>>>   
>>> +ifeq ($(BR2_or1k),y)
>>> +LIBGEOS_CXXFLAGS += -mcmodel=large
>>
>>   According to git, -mcmodel was added to GCC after the 11.2.0 release. Are you
>> sure that this works?
>>
>>   Oooh, we have a patch that adds it. But that patch is missing for 11.1.0 for
>> some reason. Romain, you apparently didn't carry any of our patches when you
>> added GCC 11 in 2ab88dac293aed5adf2504e8b182f9d8a306b935. The commit message
>> doesn't say anything. Do you remember anything about the patches? The patch was
>> added to master on May 21 and you only submitted the GCC bump on June 12, but
>> perhaps you already had it lying around for a while?
> 
> Indeed, I missed this patch.
> 
>>
>>   Giulio, maybe you can port the patch to 11.1.0?
> 
> Yes please.

Already sent and applied here :-):
https://git.buildroot.net/buildroot/commit/?id=137225cef423ccbebc31d0c562bf3f37192739ac

I'm going to add myself to toolchain as maintainer too, so I keep up to 
date on toolchain movement and also I've added a bunch of binutils/gcc
bugs. So it's time for it :-)

Best regards
-- 
Giulio Benetti
Benetti Engineering sas

> Best regards,
> Romain
> 
> 
>>
>>   Regards,
>>   Arnout
>>
>>> +endif
>>> +
>>>   LIBGEOS_CONF_OPTS += -DCMAKE_CXX_FLAGS="$(LIBGEOS_CXXFLAGS)"
>>>   
>>>   $(eval $(cmake-package))
>>>
> 
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
> 

_______________________________________________
buildroot mailing list
buildroot@busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

  reply	other threads:[~2021-08-18 20:54 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-21 14:09 [Buildroot] [PATCH v2] toolchain: remove binutils bug 21464 Giulio Benetti
2021-05-24  4:11 ` Maxim Kochetkov
2021-07-26 21:53 ` Thomas Petazzoni
2021-07-26 21:56 ` Thomas Petazzoni
2021-07-26 22:03   ` Giulio Benetti
2021-07-26 22:34   ` [Buildroot] [PATCH v2 0/3] Fix binutils bug 21464 and remove it Giulio Benetti
2021-07-26 22:34     ` [Buildroot] [PATCH v2 1/3] package/libgeos: fix build failure due to missing -mcmodel=large Giulio Benetti
2021-07-27  4:26       ` Maxim Kochetkov via buildroot
2021-08-17 20:34       ` Arnout Vandecappelle
2021-08-17 20:56         ` Giulio Benetti
2021-08-17 20:59         ` Arnout Vandecappelle
2021-08-18 20:01         ` Romain Naour
2021-08-18 20:54           ` Giulio Benetti [this message]
2021-08-17 21:04       ` Arnout Vandecappelle
2021-07-26 22:34     ` [Buildroot] [PATCH v2 2/3] package/protobuf: " Giulio Benetti
2021-07-27  4:26       ` Maxim Kochetkov
2021-07-26 22:34     ` [Buildroot] [PATCH v2 3/3] toolchain: remove binutils bug 21464 Giulio Benetti
2021-08-17 21:11       ` Arnout Vandecappelle
2021-08-17 21:27         ` Giulio Benetti
2021-12-30 20:05           ` Giulio Benetti
2021-12-30 20:12             ` [Buildroot] [PATCH] package/protobuf: drop dependency on " Giulio Benetti
2021-12-30 20:19               ` Thomas Petazzoni
2021-12-30 20:36             ` [Buildroot] [PATCH v2 3/3] toolchain: remove " 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=c1917984-eaaf-896b-ff50-b0a0eb14668e@benettiengineering.com \
    --to=giulio.benetti@benettiengineering.com \
    --cc=arnout@mind.be \
    --cc=buildroot@buildroot.org \
    --cc=buildroot@heine.tech \
    --cc=fido_max@inbox.ru \
    --cc=matthew.weber@collins.com \
    --cc=romain.naour@gmail.com \
    --cc=thomas.de_schampheleire@nokia.com \
    --cc=thomas.petazzoni@bootlin.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