Build fails with GCC 14. This blocks GCC_DEFAULT update to GCC 14. /bin/sh ../../libtool --tag=CC --mode=compile gcc14 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"alliance\" -DVERSION=\"5.0\" -DYYTEXT_POINTER=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBM=1 -DHAVE_LIBM=1 -DHAVE_LIBM=1 -DHAVE_LIBM=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DHAVE_SYS_WAIT_H=1 -DRETSIGTYPE=void -DHAVE_MOTIF=1 -DHAVE_XPM=1 -DHAVE_XPM=1 -DHAVE_X11_XPM_H=1 -DHAVE_MOTIF=1 -DHAVE_XMUSEVERSION=1 -DHAVE_XMINSTALLIMAGE=1 -DALLIANCE_VERSION=\"5.0\" -DALLIANCE_TOP=\"/usr/local/alliance\" -I. -I../../mbk/src -I../../log/src -O2 -pipe -fcommon -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc14 -fno-strict-aliasing -MT beh_delbequad.lo -MD -MP -MF .deps/beh_delbequad.Tpo -c -o beh_delbequad.lo beh_delbequad.c libtool: compile: gcc14 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"alliance\" -DVERSION=\"5.0\" -DYYTEXT_POINTER=1 -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_FCNTL_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIBM=1 -DHAVE_LIBM=1 -DHAVE_LIBM=1 -DHAVE_LIBM=1 -DHAVE_FORK=1 -DHAVE_VFORK=1 -DHAVE_WORKING_VFORK=1 -DHAVE_WORKING_FORK=1 -DHAVE_SYS_WAIT_H=1 -DRETSIGTYPE=void -DHAVE_MOTIF=1 -DHAVE_XPM=1 -DHAVE_XPM=1 -DHAVE_X11_XPM_H=1 -DHAVE_MOTIF=1 -DHAVE_XMUSEVERSION=1 -DHAVE_XMINSTALLIMAGE=1 -DALLIANCE_VERSION=\"5.0\" -DALLIANCE_TOP=\"/usr/local/alliance\" -I. -I../../mbk/src -I../../log/src -O2 -pipe -fcommon -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc14 -fno-strict-aliasing -MT beh_delbequad.lo -MD -MP -MF .deps/beh_delbequad.Tpo -c beh_delbequad.c -fPIC -DPIC -o .libs/beh_delbequad.o beh_delbequad.c: In function 'beh_delbequad': beh_delbequad.c:45:6: error: type of 'listbequad' defaults to 'int' [-Wimplicit-int] 45 | void beh_delbequad (listbequad, ptbequad, mode) | ^~~~~~~~~~~~~ gmake[2]: *** [Makefile:782: beh_delbequad.lo] Error 1 gmake[2]: Leaving directory '/wrkdirs/usr/ports/cad/alliance/work/alliance-ebece102e15c110fc79f1da50524c68fd9523f0c/alliance/src/beh/src' gmake[1]: *** [Makefile:530: all-recursive] Error 1 gmake[1]: Leaving directory '/wrkdirs/usr/ports/cad/alliance/work/alliance-ebece102e15c110fc79f1da50524c68fd9523f0c/alliance/src/beh' gmake: *** [Makefile:579: all-recursive] Error 1 *** Error code 1 Stop. make: stopped in /usr/ports/cad/alliance Full log: https://pkg-status.freebsd.org/gohan04/data/140amd64-default-foo/2024-08-29_19h57m48s/logs/errors/alliance-5.1.1_6.log Useful link: https://gcc.gnu.org/gcc-14/porting_to.html
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=85f7ee26d6846d73be6e2fc3c5be50f98f609b40 commit 85f7ee26d6846d73be6e2fc3c5be50f98f609b40 Author: Lorenzo Salvadore <salvadore@FreeBSD.org> AuthorDate: 2024-09-04 09:53:17 +0000 Commit: Lorenzo Salvadore <salvadore@FreeBSD.org> CommitDate: 2024-09-05 09:48:38 +0000 cad/alliance: Fix build with GCC 14 GCC 14 has transformed some warnings into errors: revert them to simple warnings. PR: 281223 Reported by: exp-run (antoine) cad/alliance/Makefile | 3 ++- cad/alliance/files/patch-scr_src_Makefile.am (new) | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-)