NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

NetBSD/amd64 6 beta build with clang fails



Hello,

   I just tried building (a clean build), and I got this:

------------------------------------------------
[---]
dependall ===> usr.bin/locate/locate
dependall ===> usr.bin/lock
dependall ===> usr.bin/logger
dependall ===> usr.bin/login
#   compile  login/common.o
/home/jan/sysbuild/tools/bin/x86_64--netbsd-clang -O2 -fstack-protector
-Wstack-protector  -mllvm -stack-protector-buffer-size=1   -std=gnu99
-Wno-sign-compare -Wno-pointer-sign  -Wall -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wno-sign-compare  -W
a,--fatal-warnings -Wreturn-type -Wswitch -Wshadow -Wcast-qual
-Wwrite-strings -Wextra -Wno-unused-parameter -Wno-sign-compare -Wsig
n-compare -Wformat=2  -Wpointer-sign -Wmissing-noreturn  -Werror
--sysroot=/home/jan/sysbuild/dest.amd64  -D_FORTIFY_SOURCE=2 -c
   /usr/src/usr.bin/login/common.c
/usr/src/usr.bin/login/common.c:152:1: error: function 'sigint' could be
declared with attribute 'noreturn'
      [-Werror,-Wmissing-noreturn]
[---]
------------------------------------------------

-- 
Kind regards,
Jan Danielsson



Home | Main Index | Thread Index | Old Index