Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Sep 2024 12:57:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 281229] devel/smv: Fails to build with GCC 14: error: implicit declaration of function 'find_atom'; did you mean 'find_assoc'? [-Wimplicit-function-declaration]
Message-ID:  <bug-281229-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281229

            Bug ID: 281229
           Summary: devel/smv: Fails to build with GCC 14: error: implicit
                    declaration of function 'find_atom'; did you mean
                    'find_assoc'? [-Wimplicit-function-declaration]
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
               URL: https://pkg-status.freebsd.org/gohan04/data/140amd64-d
                    efault-foo/2024-08-29_19h57m48s/logs/errors/smv-2.5.4.
                    3_11.log
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: salvadore@freebsd.org
            Blocks: 281091

Build fails with GCC 14. This blocks GCC_DEFAULT update to GCC 14.

gcc14  -O2 -pipe  -fstack-protector-strong -Wl,-rpath=3D/usr/local/lib/gcc14
-fno-strict-aliasing  -g -I. -DBETTERHASH -DSMV_SIGNALS -DOTHER_SIMP -DREOR=
DER
-DTIMING -DVERSION=3D"\"SMV 2.5.4.3. Mon Nov 19 10:01:26 2001.\"" -c gramma=
r.c -o
grammar.o
y.tab.c: In function 'yyparse':
y.tab.c:75:27: error: implicit declaration of function 'yyerror'; did you m=
ean
'yyerrok'? [-Wimplicit-function-declaration]
y.tab.c:1432:5: note: in expansion of macro 'YYERROR_CALL'
y.tab.c:1496:9: error: implicit declaration of function 'memset'
[-Wimplicit-function-declaration]
y.tab.c:1309:1: note: include '<string.h>' or provide a declaration of 'mem=
set'
y.tab.c:1496:9: warning: incompatible implicit declaration of built-in func=
tion
'memset' [-Wbuiltin-declaration-mismatch]
y.tab.c:1496:9: note: include '<string.h>' or provide a declaration of 'mem=
set'
grammar.y:183:21: error: implicit declaration of function 'find_atom'; did =
you
mean 'find_assoc'? [-Wimplicit-function-declaration]
  183 | neconstlist   : constant {$$ =3D cons(find_atom($1),NIL);}
      |                     ^~~~~~~~~

Full log:
https://pkg-status.freebsd.org/gohan04/data/140amd64-default-foo/2024-08-29=
_19h57m48s/logs/errors/smv-2.5.4.3_11.log

Useful link: https://gcc.gnu.org/gcc-14/porting_to.html


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281091
[Bug 281091] [exp-run] Update GCC_DEFAULT to 14 etc.
--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281229-7788>