Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Dec 2023 13:08:57 +0100
From:      henry vogt <henry.vogt@gmail.com>
To:        current@freebsd.org
Subject:   compile 13.2p8 on a recent current fails: compiler issue ?
Message-ID:  <f25df500-8939-43a6-a26c-3e00e5f1fc11@gmail.com>

next in thread | raw e-mail | index | archive | help
Hi

attempt to compile 13.2p8 on a recent current fails: compiler issue ?

...

===> usr.sbin/zic (obj,all,install)
Building /usr/obj/usr/src/13.2/amd64.amd64/tmp/obj-tools/usr.sbin/zic/zic.o
--- zic.o ---
/usr/src/13.2/contrib/tzcode/zic.c:464:8: error: an attribute list 
cannot appear here
   464 | static ATTRIBUTE_NORETURN void
       |        ^~~~~~~~~~~~~~~~~~
/usr/src/13.2/contrib/tzcode/private.h:471:30: note: expanded from macro 
'ATTRIBUTE_NORETURN'
   471 | #  define ATTRIBUTE_NORETURN [[noreturn]]
       |                              ^~~~~~~~~~~~
/usr/src/13.2/contrib/tzcode/zic.c:471:8: error: an attribute list 
cannot appear here
   471 | static ATTRIBUTE_NORETURN void
       |        ^~~~~~~~~~~~~~~~~~
/usr/src/13.2/contrib/tzcode/private.h:471:30: note: expanded from macro 
'ATTRIBUTE_NORETURN'
   471 | #  define ATTRIBUTE_NORETURN [[noreturn]]
       |                              ^~~~~~~~~~~~
/usr/src/13.2/contrib/tzcode/zic.c:669:8: error: an attribute list 
cannot appear here
   669 | static ATTRIBUTE_NORETURN void
       |        ^~~~~~~~~~~~~~~~~~
/usr/src/13.2/contrib/tzcode/private.h:471:30: note: expanded from macro 
'ATTRIBUTE_NORETURN'
   471 | #  define ATTRIBUTE_NORETURN [[noreturn]]
       |                              ^~~~~~~~~~~~
/usr/src/13.2/contrib/tzcode/zic.c:3778:8: error: an attribute list 
cannot appear here
  3778 | static ATTRIBUTE_NORETURN void
       |        ^~~~~~~~~~~~~~~~~~
/usr/src/13.2/contrib/tzcode/private.h:471:30: note: expanded from macro 
'ATTRIBUTE_NORETURN'
   471 | #  define ATTRIBUTE_NORETURN [[noreturn]]
       |                              ^~~~~~~~~~~~
4 errors generated.
*** [zic.o] Error code 1

make[3]: stopped in /usr/src/13.2/usr.sbin/zic

# cc -v
FreeBSD clang version 17.0.6 (https://github.com/llvm/llvm-project.git 
llvmorg-17.0.6-0-g6009708b4367)
Target: x86_64-unknown-freebsd15.0
Thread model: posix
InstalledDir: /usr/bin

Kind Regards

Henry






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f25df500-8939-43a6-a26c-3e00e5f1fc11>