public inbox for developer@lists.illumos.org (since 2011-08)
 help / color / mirror / Atom feed
* Recent GCC improvements
@ 2024-05-22 11:56 Jonathan Perkin
  2024-05-22 15:06 ` [developer] " Alan Coopersmith
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Jonathan Perkin @ 2024-05-22 11:56 UTC (permalink / raw)
  To: illumos-developer

Hi,

Rich encouraged me to ping the list about a couple of GCC fixes I've 
recently worked on.  I'm reasonably confident that they would be useful 
for other distributions to pick up, and perhaps eventually make their 
way upstream.

First, this fix for __STDC_VERSION__ being defined in C++ code:

   https://github.com/jperkin/notes/blob/main/gcc-cpp-stdc/README.md

This fixes at least one third-party package (scipy), and probably others 
that depend on cython.  I also have memories of fixing this manually in 
third party code in the past, so it's likely some other upstream issues 
are being masked.

Secondly, this fix for C++ locale support:

   https://github.com/jperkin/notes/blob/main/gcc-cpp-locale/README.md

This fixes crashes in mkvmerge when using anything other than a "C" 
locale, and likely other software written in C++ that uses similar 
interfaces.

For the second fix in particular it would be good if those familiar with 
the locale support in illumos could take a look at any support we're 
missing.  I noticed the lack of localeconv_l(), hence why LC_MONETARY 
and LC_NUMERIC are not yet supported, but there may be others.

Cheers,

-- 
Jonathan Perkin   -   mnx.io   -   pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-05-24 12:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-22 11:56 Recent GCC improvements Jonathan Perkin
2024-05-22 15:06 ` [developer] " Alan Coopersmith
2024-05-22 15:58 ` Robert Mustacchi
2024-05-22 16:21   ` Jonathan Perkin
2024-05-24 12:32 ` Jonathan Perkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).