Re: State of AVX512 support in NetBSD?
Thomas Klausner <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.toolchain |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Jul 30, 2024 at 07:10:28AM +0000, RVP wrote: > On Tue, 30 Jul 2024, Thomas Klausner wrote: > > > 1. adding -D__STDC_NO_ATOMICS__ to CFLAGS fixes it > > > > Ah, I see. > > > 2. ghc98 built in the exact same environment before, the only change > > was an update of the operating system by about 10 days, which > > coincided with the switch from gcc10 to gcc12 (which plausibly > > might have changed AVX-512 support). > > > > OK, so, running the test under a UTF-8 locale doesn't make a difference? pkgsrc by default initializes the environment to the C locale, so setting it in the outside environment shouldn't affect anything. Try 'make show-var VARNAME=MAKE_ENV': LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C The usual workaround is to add this: ALL_ENV+= LC_ALL=en_US.UTF-8 at the _bottom_ of a pkgsrc Makefile, after bsd.pkg.mk (to override these settings, which are only set in bsd.pkg.mk). I tried that for lang/ghc98 and it didn't fix the problem. Thomas