https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115107
--- Comment #7 from anlauf at gcc dot gnu.org --- (In reply to Natalie Perlin from comment #6) > (In reply to anlauf from comment #3) > > The traceback is essentially identical to that in pr114467. > > > > Can you please try the 14-release like the other reporter, or the upcoming > > 13.3 release next week? > > Thank you for the comment. Yes, this indeed looks similar to pr114467. > I did try to use gnu/14.1.0 + openmpi/4.1.6, but was not able to build a > software stack needed for building the model that produced the original > error. > > The issue with the gnu/14.1.0 compiler was that it produced an error where > the gnu/13.2.0 had only a warning. The error with the gnu/14.1.0 compiler > was as shown below, and is related to -Wimplicit-function-declaration. > Could it be that a certain compiler flag helps to avoid such an error?.. > > > And yes, I'd gladly try the upcoming v13.3 release next week! > > > =============================== > /scratch2/NCEPDEV/stmp1/role.epic/spack-stack/spack-stack-1.6.0_gnu14/spack/ > lib/spack/env/gcc/gcc -DHAVE_CONFIG_H -I. -I. > -I../../../src/libjasper/include/jasper -I../../../src/libjasper/include -g > -O2 -MT jas_getopt.lo -MD -MP -MF .deps/jas_getopt.Tpo -c jas_getopt.c -o > jas_getopt.o > jas_getopt.c: In function 'jas_getopt': > jas_getopt.c:129:49: error: implicit declaration of function 'jas_eprintf'; > did you mean 'vsnprintf'? [-Wimplicit-function-declaration] > 129 | jas_eprintf("unknown > long option %s\n", s); > | ^~~~~~~~~~~ > | vsnprintf > make[4]: *** [Makefile:349: jas_getopt.lo] Error 1 > ========================= This looks like the header file jas_debug.h is not found or not included. (On my Linux system it is /usr/include/jasper/jas_debug.h).