* On 2023-01-25 at 17:02 GMT, Edgar Fuß wrote:
/usr/pkg/gcc8/lib/gcc/x86_64--netbsd/8.4.0/include-fixed/stdlib.h:115:1: error:ignoring attribute 'pure' in declaration of a built-in function 'abs' because it conflicts with attribute 'const' [-Werror=attributes] __pure int abs(int);
The infamous GCC "fixincludes", which does nothing of the sort, and only ever breaks things.
You might want to grab this patch for your GCC build: https://github.com/TritonDataCenter/pkgsrc-extra/blob/main/gcc12/patches/patch-gcc_Makefile.in to disable it. -- Jonathan Perkin - mnx.io - pkgsrc.smartos.org Open Source Complete Cloud www.tritondatacenter.com