[PATCH users/roland/gold-charnn] gold: Use char16_t, char32_t instead of uint16_t, uint32_t as character types
Vaseeharan Vinayagamoorthy
Vaseeharan.Vinayagamoorthy@arm.com
Thu Oct 19 11:07:40 GMT 2023
Hi,
Sorry for the delayed response.
Using -std=gnu++11 in our build scripts when building binutils does fix the issue for us, as mentioned in https://sourceware.org/bugzilla/show_bug.cgi?id=30867 .
However, does this need fixing in configure.ac instead?
Kind regards,
Vasee
________________________________
From: Roland McGrath <mcgrathr@google.com>
Sent: 20 September 2023 01:41
To: Vaseeharan Vinayagamoorthy <Vaseeharan.Vinayagamoorthy@arm.com>
Cc: Binutils <binutils@sourceware.org>
Subject: Re: [PATCH users/roland/gold-charnn] gold: Use char16_t, char32_t instead of uint16_t, uint32_t as character types
I didn't realize that building gold with compilers so old they don't
support C++11 was supported. The GCC source history suggests that
char16_t and char32_t support were introduced in GCC 4.4. I'm not
sure when the default C++ mode was changed to be >= -std=c++11. It
looks to me that the configure stuff should be making it pass
`-std=c++11` if that's required, but I don't know how that test is
coming out in your build. I wonder if using `CXX=g++ -std=c++11`
makes a difference with your version.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://sourceware.org/pipermail/binutils/attachments/20231019/bc080233/attachment.htm>
More information about the Binutils
mailing list