From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 970663858D1E; Wed, 22 May 2024 06:16:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 970663858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1716358615; bh=onDLwTAsTweTIk3iGA6hQz38cjb5asMBGbSxsP6naZw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=orgmrx4vlLnMjZGU+wi4cHu5qQtvE/Niu3GEaWXVKDz4T6Z0c7bb2b10Mf1dCpqFL 7AA9nA5N746+EAHolH75b4MpqzQurQ7V9h/PuaXqQC/b32uydY+o3lB58VqXT9z1tn eRE5G+ff4rYwMraBkgweZWMIifPsNK4vM3MUklbg= From: "natalie.perlin at noaa dot gov" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/115107] f951: internal compiler error: Segmentation fault 0xcf878f crash_signal toplev.cc:314 Date: Wed, 22 May 2024 06:16:54 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 13.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: natalie.perlin at noaa dot gov X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D115107 --- Comment #9 from Natalie Perlin --- All rebuilt, gnu/14.1.0 with openmpi/4.1.6, revised configuration of the software stack (spack-stack). Still the same error with [-Wimplicit-function-declaration].=20 Verified a build of the same stack with gnu/13.2.0 and openmpi/4.1.6. The s= ame location in the code gives warning, instead of the error, during the build. Same package, different version of gcc. Please see below snippets of the builds: 1. Build with gnu/13.2.0 gives the following:=20 ----------------------- ... /scratch2/NCEPDEV/stmp1/role.epic/spack-stack/spack-stack-1.6.0/spack/lib/s= pack/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: warning: implicit declaration of function 'jas_eprintf= '; did you mean 'vsnprintf'? [-Wimplicit-function-declaration] 129 | jas_eprintf("unknown long option %s\n", s); | ^~~~~~~~~~~ | vsnprintf ... ----------------------- 2. Build with gnu/14.1.0 gives the following: ----------------------- ... /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 ... ----------------------- Any suggestions?.. Has a version of gnu/13.3.0 become available that might have the ICE fix?..=