From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Alexey Brodkin <Alexey.Brodkin@synopsys.com>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>,
"buildroot@buildroot.org" <buildroot@buildroot.org>
Subject: Re: [Buildroot] [PATCH] package/gdb: Remove special handling of libstdc++ for ARC
Date: Wed, 3 Jan 2024 21:31:53 +0100 [thread overview]
Message-ID: <ZZXEOQnqVJpzVAVy@landeda> (raw)
In-Reply-To: <DS7PR12MB90419624B8739BAF541F133DA161A@DS7PR12MB9041.namprd12.prod.outlook.com>
Alexey, All,
On 2024-01-02 21:55 +0000, Alexey Brodkin via buildroot spake thusly:
[--SNIP--]
> What's moreinteresting, that option "--disable-build-with-cxx" was removed
> in GDB 8.x in September 2016 as since then C++ is required, see
> https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=cf6de44d75082116865a85cbf94db2632b679361
>
> That said it's totaly fine to back-port that fix to stable Buildroot branches,
> but since it's not functional (it doesn't change anyting in reality) I'd say
> there's no point in back-porting it.
OK, that's Peter's call, so your input is going to be helpful to him to
assess whether to backport or not, thanls!
> Moreover another use of "--disable-build-with-cxx" needs to go away, see
> https://git.buildroot.net/buildroot/tree/package/gdb/gdb.mk#n188:
> ------------------------>8-----------------------
> # gdb 7.12+ by default builds with a C++ compiler, which doesn't work
> # when we don't have C++ support in the toolchain
> ifneq ($(BR2_INSTALL_LIBSTDCPP),y)
> GDB_CONF_OPTS += --disable-build-with-cxx
> endif
> ------------------------>8-----------------------
Indeed, and we do have the proper dependency in Buildroot already, since
d36f2c73331b (package/gdb: remove gdb 7.12.1) in 2019.
Good catch!
> Do you want me to prepare that patch or you prefer to quickly do that yourself?
Please do.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2024-01-03 20:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-02 15:55 [Buildroot] [PATCH] package/gdb: Remove special handling of libstdc++ for ARC Alexey Brodkin via buildroot
2024-01-02 20:46 ` Yann E. MORIN
2024-01-02 21:55 ` Alexey Brodkin via buildroot
2024-01-03 20:31 ` Yann E. MORIN [this message]
2024-01-12 16:34 ` Peter Korsgaard
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=ZZXEOQnqVJpzVAVy@landeda \
--to=yann.morin.1998@free.fr \
--cc=Alexey.Brodkin@synopsys.com \
--cc=buildroot@buildroot.org \
--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 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.