* [Buildroot] [Bug 15814] C++ not supported by bootlin toolchain
[not found] <bug-15814-163@https.bugs.busybox.net/>
@ 2023-10-07 8:52 ` bugzilla
2023-10-07 8:57 ` bugzilla
` (6 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: bugzilla @ 2023-10-07 8:52 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15814
Yann E. MORIN <yann.morin.1998@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |yann.morin.1998@free.fr
Resolution|--- |INVALID
--- Comment #1 from Yann E. MORIN <yann.morin.1998@free.fr> ---
stsp, All,
> So it seems the config doesn't allow to
> enable C++ support together with selecting
> bootlin toolchain.
Have you actually tried to enable a package written in C++?
The symbols you reference are just intermediate symbols, that ultimately
select BR2_INSTALL_LIBSTDCPP, which is the one symbol that represents
whether C++ is available in the toolchain. All Bootlin toolchains with
C++ support do select that symbol.
> Is there anything that can be done with that?
No, because it is already working as expected.
Regards,
Yann E. MORIN.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [Bug 15814] C++ not supported by bootlin toolchain
[not found] <bug-15814-163@https.bugs.busybox.net/>
2023-10-07 8:52 ` [Buildroot] [Bug 15814] C++ not supported by bootlin toolchain bugzilla
@ 2023-10-07 8:57 ` bugzilla
2023-10-07 9:26 ` bugzilla
` (5 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: bugzilla @ 2023-10-07 8:57 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15814
--- Comment #2 from stsp <stsp2@yandex.ru> ---
> Have you actually tried to enable a package written in C++?
Of course!
Even if BR2_INSTALL_LIBSTDCPP is enabled,
with bootlin tool-chain there is still no
host g++ so the compilation fails.
> No, because it is already working as expected.
I think this is a premature judgement.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [Bug 15814] C++ not supported by bootlin toolchain
[not found] <bug-15814-163@https.bugs.busybox.net/>
2023-10-07 8:52 ` [Buildroot] [Bug 15814] C++ not supported by bootlin toolchain bugzilla
2023-10-07 8:57 ` bugzilla
@ 2023-10-07 9:26 ` bugzilla
2023-10-07 10:35 ` bugzilla
` (4 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: bugzilla @ 2023-10-07 9:26 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15814
--- Comment #3 from Yann E. MORIN <yann.morin.1998@free.fr> ---
stsp, All,
> with bootlin tool-chain there is still no
> host g++
The Bootlin tolchains are cross toolchains; they compile for the target, not
for the host. The host C++ compiler is not provided by the cross toolchain.
The host toolchain (of which g++ is part) is to be provided by the distribution
you use on your host system; Buildroot does not handle it at all: it is
expected to be present. Install the C++ part of the toolchain from your
distribution; if that does not exist, ask your distribution to package it.
> so the compilation fails.
What exactly fails? Please provide a log of the failing build.
> I think this is a premature judgement.
Maybe... Does not look like it, though: the Bootlin toolchains are widely
used, and I know for a fact that they do support C++ for the target, for
using that daily.
Regards,
Yann E. MORIN.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [Bug 15814] C++ not supported by bootlin toolchain
[not found] <bug-15814-163@https.bugs.busybox.net/>
` (2 preceding siblings ...)
2023-10-07 9:26 ` bugzilla
@ 2023-10-07 10:35 ` bugzilla
2023-10-07 10:45 ` bugzilla
` (3 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: bugzilla @ 2023-10-07 10:35 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15814
--- Comment #4 from stsp <stsp2@yandex.ru> ---
OK, I am sorry, "make clean" have
fixed the problem.
The problem was the missing
output/host/bin/x86_64-linux-g++
(host g++), but its now there.
So not sure what happened. :(
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [Bug 15814] C++ not supported by bootlin toolchain
[not found] <bug-15814-163@https.bugs.busybox.net/>
` (3 preceding siblings ...)
2023-10-07 10:35 ` bugzilla
@ 2023-10-07 10:45 ` bugzilla
2023-10-07 11:02 ` bugzilla
` (2 subsequent siblings)
7 siblings, 0 replies; 8+ messages in thread
From: bugzilla @ 2023-10-07 10:45 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15814
--- Comment #5 from Yann E. MORIN <yann.morin.1998@free.fr> ---
stsp, All,
> "make clean" have fixed the problem.
If you change the toolchain settings in menuconfig, then you have to rebuild
from scratch; see the manual:
https://buildroot.org/downloads/manual/manual.html#full-rebuild
> output/host/bin/x86_64-linux-g++ (host g++)
This is not the host C++ compiler. This is the cross-compiler.
It looks like you just happen to have an x86-64 target, like you have
an x86-64 host.
Regards,
Yann E. MORIN.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [Bug 15814] C++ not supported by bootlin toolchain
[not found] <bug-15814-163@https.bugs.busybox.net/>
` (4 preceding siblings ...)
2023-10-07 10:45 ` bugzilla
@ 2023-10-07 11:02 ` bugzilla
2023-10-07 12:16 ` bugzilla
2023-10-07 12:24 ` bugzilla
7 siblings, 0 replies; 8+ messages in thread
From: bugzilla @ 2023-10-07 11:02 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15814
--- Comment #6 from stsp <stsp2@yandex.ru> ---
> If you change the toolchain settings in menuconfig, then you have to rebuild
> from scratch; see the manual:
Treating such things anyhow but
bugs, is quite unhelpful. :)
If you know "make clean" is now needed,
then please tell me so on exit from
menuconfig. Either by printing such a
message, or, better yet, asking to run
"make clean" (ok/cancel) before exiting
TUI.
> It looks like you just happen to have an x86-64 target, like you have
> an x86-64 host.
I see, thanks.
So "host" in a dir name, doesn't make
it a host compiler. Just a cross-compiler
that runs on host.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [Bug 15814] C++ not supported by bootlin toolchain
[not found] <bug-15814-163@https.bugs.busybox.net/>
` (5 preceding siblings ...)
2023-10-07 11:02 ` bugzilla
@ 2023-10-07 12:16 ` bugzilla
2023-10-07 12:24 ` bugzilla
7 siblings, 0 replies; 8+ messages in thread
From: bugzilla @ 2023-10-07 12:16 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15814
--- Comment #7 from Yann E. MORIN <yann.morin.1998@free.fr> ---
stsp, All,0
> Treating such things anyhow but
> bugs, is quite unhelpful. :)
> If you know "make clean" is now needed,
> then please tell me so on exit from
> menuconfig. Either by printing such a
> message, or, better yet, asking to run
> "make clean" (ok/cancel) before exiting
> TUI.
Rebuilding from scratch after menuconfig is not always required; if one
just adds a new package which has no dependency and is not the dependency
of another, then this is usually OK, and running "make" again is often
just enough.
So no, this is not a bug, and this is expected behaviour. It has limitations,
and those are thoroughly explained in the manual.
Regards,
Yann E. MORIN.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [Bug 15814] C++ not supported by bootlin toolchain
[not found] <bug-15814-163@https.bugs.busybox.net/>
` (6 preceding siblings ...)
2023-10-07 12:16 ` bugzilla
@ 2023-10-07 12:24 ` bugzilla
7 siblings, 0 replies; 8+ messages in thread
From: bugzilla @ 2023-10-07 12:24 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=15814
--- Comment #8 from stsp <stsp2@yandex.ru> ---
> Rebuilding from scratch after menuconfig is not always required;
I am not saying about "always".
Likewise, you pop up the "save settings?"
TUI dialog only if the settings changed.
You can do the same here by alerting the
user when needed, or even offering to do
the "make clean" from TUI.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2023-10-07 12:24 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <bug-15814-163@https.bugs.busybox.net/>
2023-10-07 8:52 ` [Buildroot] [Bug 15814] C++ not supported by bootlin toolchain bugzilla
2023-10-07 8:57 ` bugzilla
2023-10-07 9:26 ` bugzilla
2023-10-07 10:35 ` bugzilla
2023-10-07 10:45 ` bugzilla
2023-10-07 11:02 ` bugzilla
2023-10-07 12:16 ` bugzilla
2023-10-07 12:24 ` bugzilla
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox