[PATCH] libstdc++: implement locale support for AIX
Rainer Orth
ro@CeBiTec.Uni-Bielefeld.DE
Wed Jul 21 13:04:55 GMT 2021
Hi Clement,
> Here is a new version of the patch with the Solaris part
> made by Rainer directly integrated in it.
fine, thanks.
> Rainer did you change anything in the configure file or
> did you just pass XPG7 model with the configure option ?
When I last tested it, I just configured with --enable-clocale=xpg7.
> I guess if it works fine on Solaris target, it can be
> directly chosen inside the configure.
Agreed, however right now we're not even close for that.
> A part from that it would be good if someone familiar with
> freebsd or dragonfly can take a look at it. There shouldn't be
> any problems but it needs to be tested and a few #ifdef remain
> for these two targets.
I'd tried DragonflyBSD quite some time ago, but couldn't even get it to
boot in VirtualBox and didn't want to spend too much time on it.
However, the last i586-unknown-freebsd11.4 test results for unmodified
trunk are still terrible, showing 101 FAILs in libstdc++, a large number
among those being locale tests. I had seen (not unexpectedly) similarly
abysmal results when I tried an earlier version of your patch on (I
believe) FreeBSD 12 in VirtualBox some time ago, which made me question
if that clocale implementation is a good basis for xpg7 if it doesn't
even work on the target it's supposed to support.
Could you please share the libstdc++-v3 mail-report.log snippet you get
on AIX with your latest patch as a point of comparison?
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University
More information about the Libstdc++
mailing list