Relation between gcc version and libstdc++ version

2022-08-30 Thread Anton Wöllert via Gcc
Hello list! I was trying to build a cross-compilation toolchain for a specific target using a newer GCC version, than the one that the binaries were build on the target. The C part seems to work well, but the C++ part doesn't. It seems that the G++ ships it's own libstdc++ include headers. If t

Re: Relation between gcc version and libstdc++ version

2022-08-30 Thread Jonathan Wakely via Gcc
On Tue, 30 Aug 2022, 15:48 Anton Wöllert via Gcc, wrote: > Hello list! > > I was trying to build a cross-compilation toolchain for a specific > target using a newer GCC version, than the one that the binaries were > build on the target. > > The C part seems to work well, but the C++ part doesn't.

Re: Relation between gcc version and libstdc++ version

2022-08-30 Thread Anton Wöllert via Gcc
Hi Jonathan, thank you for your reply! On Tue, 2022-08-30 at 17:09 +0100, Jonathan Wakely wrote: > > > On Tue, 30 Aug 2022, 15:48 Anton Wöllert via Gcc, > wrote: > > If this libstdc++ is > > newer than the one one the target, I get undefined references > > (because > > there are some newer imp

Re: Relation between gcc version and libstdc++ version

2022-08-30 Thread Jonathan Wakely via Gcc
On Tue, 30 Aug 2022, 17:53 Anton Wöllert, wrote: > Hi Jonathan, > > thank you for your reply! > > On Tue, 2022-08-30 at 17:09 +0100, Jonathan Wakely wrote: > > > > > > On Tue, 30 Aug 2022, 15:48 Anton Wöllert via Gcc, > > wrote: > > > If this libstdc++ is > > > newer than the one one the target,

Re: Relation between gcc version and libstdc++ version

2022-08-30 Thread Jonathan Wakely via Gcc
This doesn't belong on this mailing list though, please use the gcc-help list instead. This list is for discussion of GCC development, not help using it. On Tue, 30 Aug 2022, 18:20 Jonathan Wakely, wrote: > > > On Tue, 30 Aug 2022, 17:53 Anton Wöllert, wrote: > >> Hi Jonathan, >> >> thank you

Re: Relation between gcc version and libstdc++ version

2022-08-30 Thread Anton Wöllert via Gcc
Thanks for your comments, sorry for posting on the wrong mailing list. I'll just restate my initial question here on gcc-help again: I was trying to build a cross-compilation toolchain for a specific target using a newer GCC version, than the one that the binaries were build on the targ

Proposing Sourceware as SFC member project

2022-08-30 Thread Mark Wielaard
Hi! If you have an interest in the long term future of the sourceware hosting server which this project is using, please consider checking out this thread on our local overseers@ mailing list. Everything is fine, we're just thinking ahead. https://sourceware.org/pipermail/overseers/2022q3/018802

Re: Relation between gcc version and libstdc++ version

2022-08-30 Thread Jonathan Wakely via Gcc
On Tue, 30 Aug 2022, 19:46 Anton Wöllert, wrote: > Thanks for your comments, > > sorry for posting on the wrong mailing list. I'll just restate my > initial question here on gcc-help again: > >I was trying to build a cross-compilation toolchain for a specific >target using a newer GCC ve

Usage of the C++ stdlib unordered_map in GCC

2022-08-30 Thread Tim Lange
Hello, I was preparing a patch for GCC and used the unordered_map from the C++ stdlib in my patch. Later on, I noticed that it is used nowhere else inside GCC except for some files in the go frontend. I wondered, now that building GCC requires a C++11 host compiler, whether there is a consen

Re: Usage of the C++ stdlib unordered_map in GCC

2022-08-30 Thread Marek Polacek via Gcc
On Tue, Aug 30, 2022 at 09:57:45PM +0200, Tim Lange wrote: > Hello, > > I was preparing a patch for GCC and used the unordered_map from the C++ > stdlib in my patch. Later on, I noticed that it is used nowhere else inside > GCC except for some files in the go frontend. > > I wondered, now that bu