| /freebsd/sys/contrib/zstd/ |
| H A D | Makefile | 2 # Copyright (c) 2015-2021, Yann Collet, Facebook, Inc. 5 # This source code is licensed under both the BSD-style license (found in the 8 # You may select, at your option, one of the above-listed licenses. 24 # When cross-compiling from linux to windows, you might 28 # Note: mingw-w64 build from linux to windows does not 40 ## default: Build lib-release and zstd-release 42 default: lib-release zstd-release 53 $(Q)$(MAKE) -C $(PRGDIR) all 54 $(Q)$(MAKE) -C $(TESTDIR) all 58 $(MAKE) -C $(PRGDIR) zstd32 [all …]
|
| /freebsd/sys/contrib/openzfs/config/ |
| H A D | always-compiler-options.m4 | 2 dnl # Enabled -fsanitize=address if supported by $CC. 4 dnl # LDFLAGS needs -fsanitize=address at all times so libraries compiled with 8 dnl # the behavior of binaries and libraries build with -fsanitize=address. 11 AC_MSG_CHECKING([whether to build with -fsanitize=address support]) 13 [AS_HELP_STRING([--enable-asan], 14 [Enable -fsanitize=address support @<:@default=no@:>@])], 23 AC_MSG_CHECKING([whether $CC supports -fsanitize=address]) 25 CFLAGS="$CFLAGS -Werror -fsanitize=address" 29 ASAN_CFLAGS="-fsanitize=address" 30 ASAN_LDFLAGS="-fsanitize=address" [all …]
|
| H A D | zfs-build.m4 | 10 DEBUG_CFLAGS="-Werror" 11 DEBUG_CPPFLAGS="-DDEBUG -UNDEBUG" 17 KERNEL_DEBUG_CFLAGS="-Werror" 18 KERNEL_DEBUG_CPPFLAGS="-DDEBUG -UNDEBUG" 23 DEBUG_CPPFLAGS="-UDEBUG -DNDEBUG" 29 KERNEL_DEBUG_CPPFLAGS="-UDEBUG -DNDEBUG" 34 dnl # - Enable all ASSERTs (-DDEBUG) 35 dnl # - Promote all compiler warnings to errors (-Werror) 43 [AS_HELP_STRING([--enable-debug], 82 DEBUG_CFLAGS="$DEBUG_CFLAGS -g -fno-inline $NO_IPA_SRA" [all …]
|
| /freebsd/sys/conf/ |
| H A D | kern.pre.mk | 24 .-include <local.kern.pre.mk> 59 CTFFLAGS+= -g 62 _COPTFLAGS_EXTRA=-frename-registers 66 COPTFLAGS?=-O2 -pipe ${_COPTFLAGS_EXTRA} 67 .if !empty(COPTFLAGS:M-O[23s]) && empty(COPTFLAGS:M-fno-strict-aliasing) 68 COPTFLAGS+= -fno-strict-aliasing 73 NOSTDINC= -nostdinc 75 INCLUDES= ${NOSTDINC} ${INCLMAGIC} -I. -I$S -I$S/contrib/ck/include 78 CFLAGS+= ${INCLUDES} -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h 81 CFLAGS.gcc+= -fms-extensions -finline-limit=${INLINE_LIMIT} [all …]
|
| H A D | files.arm64 | 59 arm64/arm64/locore.S standard no-obj 72 compile-with "${NORMAL_C:N-mbranch-protection*} -mbranch-protection=bti" 89 compile-with "${NOSAN_C}" 133 compile-with "${NOSAN_C} -fpie" \ 134 no-obj 137 compile-with "${NOSAN_C} -fpie" \ 138 no-obj 141 …compile-with "${SYSTEM_LD_BASECMD} -o ${.TARGET} ${.ALLSRC} --defsym=_start='0x0' --defsym=text_st… 142 no-obj no-implicit-rule 145 compile-with "${OBJCOPY} --strip-debug ${.ALLSRC} ${.TARGET}" \ [all …]
|
| /freebsd/contrib/lutok/m4/ |
| H A D | compiler-flags.m4 | 29 dnl \file compiler-flags.m4 35 dnl strict warning checking in the compiler (i.e. enable -Werror). Some 36 dnl compilers, e.g. Clang, report unknown -W flags as warnings unless -Werror is 39 dnl the macros below will pass -Werror to the compiler along with any other flag 55 dnl looking for the flag in $3. We use this here to pass -Werror to the 56 dnl flag checks (unless we are checking for -Werror already). 58 if test x"${$4-unset}" = xunset; then 81 _KYUA_FLAG_AUX([$1], [$2], [-Werror], [kyua_$1_has_werror]) 82 if test "$3" = "-Werror"; then 87 _KYUA_FLAG_AUX([$1], [$2], [$3], [found], [-Werror]) [all …]
|
| /freebsd/sys/modules/aesni/ |
| H A D | Makefile | 2 .PATH: ${SRCTOP}/contrib/llvm-project/clang/lib/Headers 12 # Remove -nostdinc so we can get the intrinsics. 14 ${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc} ${WERROR} ${PROF} \ 15 -mmmx -msse -msse4 -maes -mpclmul ${.IMPSRC} 19 ${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc} ${WERROR} ${PROF} \ 20 -mmmx -msse -msse4 -maes -mpclmul ${.IMPSRC} 24 ${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc} ${WERROR} ${PROF} \ 25 -mmmx -msse -msse4 -maes ${.IMPSRC} 29 ${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc} ${WERROR} ${PROF} \ 30 -mmmx -msse -msse4 -msha ${.IMPSRC} [all …]
|
| /freebsd/contrib/kyua/m4/ |
| H A D | compiler-flags.m4 | 29 dnl \file compiler-flags.m4 35 dnl strict warning checking in the compiler (i.e. enable -Werror). Some 36 dnl compilers, e.g. Clang, report unknown -W flags as warnings unless -Werror is 39 dnl the macros below will pass -Werror to the compiler along with any other flag 55 dnl looking for the flag in $3. We use this here to pass -Werror to the 56 dnl flag checks (unless we are checking for -Werror already). 58 if test x"${$4-unset}" = xunset; then 68 # As an example, if we are testing for -D_FORTIFY_SOURCE=2 and the 69 # compilation is being done with -O2, Linux's /usr/include/features.h 91 _KYUA_FLAG_AUX([$1], [$2], [-Werror], [kyua_$1_has_werror]) [all …]
|
| /freebsd/contrib/file/m4/ |
| H A D | visibility.m4 | 1 # visibility.m4 serial 4 (gettext-0.18.2) 2 dnl Copyright (C) 2005, 2008, 2010-2012 Free Software Foundation, Inc. 9 dnl Tests whether the compiler supports the command-line option 10 dnl -fvisibility=hidden and the function and variable attributes 13 dnl Does *not* test for __visibility__("protected") - which has tricky 16 dnl Does *not* test for __visibility__("internal") - which has processor 18 dnl Does *not* test for #pragma GCC visibility push(hidden) - which is 28 if test -n "$GCC"; then 29 dnl First, check whether -Werror can be added to the command line, or 32 AC_MSG_CHECKING([whether the -Werror option is usable]) [all …]
|
| /freebsd/tools/build/mk/ |
| H A D | Makefile.boot | 1 CFLAGS+= -I${WORLDTMP}/legacy/usr/include 3 LDADD+= -legacy 4 LDFLAGS+= -L${WORLDTMP}/legacy/usr/lib 7 # On MacOS using a non-mac ar will fail the build, similarly on Linux using 32 # Add various -Werror flags to catch missing function declarations 33 CFLAGS+= -Werror=implicit-function-declaration -Werror=implicit-int \ 34 -Werror=return-type -Wundef 35 CFLAGS+= -DHAVE_NBTOOL_CONFIG_H=1 36 # This is needed for code that compiles for pre-C11 C standards 37 CWARNFLAGS.clang+=-Wno-typedef-redefinition [all …]
|
| /freebsd/sys/modules/armv8crypto/ |
| H A D | Makefile | 8 OBJS+= armv8_crypto_wrap.o aesv8-armx.o ghashv8-armx.o 10 CFLAGS+=-I${SRCTOP}/sys/crypto/openssl 12 # Remove -nostdinc so we can get the intrinsics. 14 ${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc:N-mgeneral-regs-only} \ 15 -I${SRCTOP}/sys/crypto/armv8 \ 16 ${WERROR} ${PROF} \ 17 -march=armv8-a+crypto ${.IMPSRC} 20 aesv8-armx.o: aesv8-armx.S 21 ${CC} -c ${CFLAGS:C/^-O2$/-O3/:N-nostdinc:N-mgeneral-regs-only} \ 22 -I${SRCTOP}/sys/crypto/armv8 \ [all …]
|
| /freebsd/contrib/googletest/ci/ |
| H A D | linux-presubmit.sh | 32 set -euox pipefail 34 readonly LINUX_LATEST_CONTAINER="gcr.io/google.com/absl-177019/linux_hybrid-latest:20240523" 35 readonly LINUX_GCC_FLOOR_CONTAINER="gcr.io/google.com/absl-177019/linux_gcc-floor:20230120" 37 if [[ -z ${GTEST_ROOT:-} ]]; then 41 if [[ -z ${STD:-} ]]; then 49 --volume="${GTEST_ROOT}:/src:ro" \ 50 --tmpfs="/build:exec" \ 51 --workdir="/build" \ 52 --rm \ 53 --env="CC=${cc}" \ [all …]
|
| /freebsd/crypto/openssh/.github/ |
| H A D | configs | 18 TEST_TARGET="tests compat-tests" 34 # get it by setting -std=gnu99, at which point we won't be testing 36 llong_max=`gcc -E -dM - </dev/null | \ 38 CPPFLAGS="-DLLONG_MAX=${llong_max}" 41 CFLAGS="-Wall -std=c89 -pedantic -Werror=vla" 42 CONFIGFLAGS="--without-zlib" 43 LIBCRYPTOFLAGS="--without-openssl" 44 TEST_TARGET=t-exec 46 cygwin-release) 47 # See https://cygwin.com/git/?p=git/cygwin-packages/openssh.git;a=blob;f=openssh.cygport;hb=HEAD [all …]
|
| /freebsd/contrib/openpam/ |
| H A D | configure.ac | 21 LT_INIT([disable-static dlopen]) 23 # pkg-config 34 AS_HELP_STRING([--enable-debug], 38 AC_ARG_ENABLE([unversioned-modules], 39 AS_HELP_STRING([--disable-unversioned-modules], 47 AC_ARG_WITH([modules-dir], 48 AS_HELP_STRING([--with-modules-dir=DIR], 63 AS_HELP_STRING([--with-localbase=DIR], 74 AS_HELP_STRING([--without-doc], [do not build documentation]), 79 AC_ARG_WITH([pam-unix], [all …]
|
| /freebsd/sys/contrib/openzfs/scripts/ |
| H A D | objtool-wrapper.in | 3 # SPDX-License-Identifier: MIT 25 # Filter out objtools '--Werror' flag. 28 args=$(echo "$*" | sed s/--Werror//) 30 if [ -z "$objtool" ]; then
|
| /freebsd/sys/powerpc/conf/dpaa/ |
| H A D | DPAA | 13 #makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 14 #makeoptions WERROR="-Werror -Wno-format" 29 options PSEUDOFS #Pseudo-filesystem framework 33 options SYSVSHM #SYSV-style shared memory 34 options SYSVMSG #SYSV-style message queues 35 options SYSVSEM #SYSV-styl [all...] |
| /freebsd/crypto/libecc/ |
| H A D | common.mk | 1 # Detect mingw, since some versions throw a warning with the -fPIC option 2 # (which would be caught as an error in our case with -Werror) 4 MINGW := $(shell $(CROSS_COMPILE)$(CC) -dumpmachine 2>&1 | grep -v mingw) 6 APPLE := $(shell $(CROSS_COMPILE)$(CC) -dumpmachine 2>&1 | grep -v apple) 9 FPIC_CFLAG=-fPIC 11 FPIE_CFLAG=-fPIE 12 FPIE_LDFLAGS=-pie -Wl,-z,relro,-z,now 17 SYS_ROOT_PATH := $(shell xcode-select --print-path) 20 SYS_ROOT := --sysroot=$(SYS_ROOT_PATH) 26 # in conjuction with stack-protector as check functions [all …]
|
| /freebsd/sys/modules/zfs/ |
| H A D | Makefile | 12 ${SRCDIR}/icp/asm-aarch64/blake3 \ 13 ${SRCDIR}/icp/asm-aarch64/sha2 \ 14 ${SRCDIR}/icp/asm-arm/sha2 \ 15 ${SRCDIR}/icp/asm-ppc64/sha2 \ 16 ${SRCDIR}/icp/asm-ppc64/blake3 \ 17 ${SRCDIR}/icp/asm-x86_64/blake3 \ 18 ${SRCDIR}/icp/asm-x86_64/modes \ 19 ${SRCDIR}/icp/asm-x86_64/sha2 \ 30 CFLAGS+= -I${INCDIR} 31 CFLAGS+= -I${SRCDIR}/icp/include [all …]
|
| /freebsd/sys/powerpc/conf/ |
| H A D | QORIQ64 | 14 makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols 16 #makeoptions WERROR="-Werror -Wno-format" 40 options UFS_GJOURNAL #Enable gjournal-based UFS journaling
|
| /freebsd/contrib/ntp/sntp/m4/ |
| H A D | ntp_openssl.m4 | 2 dnl OpenSSL support shared by top-level and sntp/configure.ac 4 dnl Provides command-line option --with-crypto, as well as deprecated 5 dnl options --with-openssl-incdir, - [all...] |
| /freebsd/crypto/krb5/.github/workflows/ |
| H A D | build.yml | 10 runs-on: ${{ matrix.os }} 12 fail-fast: false 14 name: [linux-clang, linux-clang-openssl, linux-gcc] 16 - name: linux-clang 17 os: ubuntu-latest 19 makevars: CPPFLAGS=-Werror 20 configureopts: --enable-asan 21 - name: linux-clang-openssl 22 os: ubuntu-latest 24 makevars: CPPFLAGS=-Werror [all …]
|
| /freebsd/sys/modules/ossl/ |
| H A D | Makefile | 19 aes-armv4.S \ 20 bsaes-armv7.S \ 21 chacha-armv4.S \ 22 ghash-armv4.S \ 23 poly1305-armv4.S \ 24 sha1-armv4-large.S \ 25 sha256-armv4.S \ 26 sha512-armv4.S \ 31 chacha-armv8.S \ 32 chacha-armv8-sve.S \ [all …]
|
| /freebsd/crypto/openssh/m4/ |
| H A D | openssh.m4 | 1 dnl OpenSSH-specific autoconf macros 13 /* Trivial function to help test for -fzero-call-used-regs */ 32 /* Some math to catch -ftrapv problems in the toolchain */ 33 int i = 123 * argc, j = 456 + argc, k = 789 - argc; 41 if (write(1, b, 0) == -1) exit(0); 43 if (write(1, cp, 0) == -1) exit(0); 46 * Test fallthrough behaviour. clang 10's -Wimplicit-fallthrough does 67 CFLAGS="$CFLAGS $WERROR $1" 72 if $ac_cv_path_EGREP -i "unrecognized option|warning.*ignored" conftest.err >/dev/null 99 CFLAGS="$CFLAGS $WERROR $1" [all …]
|
| /freebsd/sys/modules/linux64/ |
| H A D | Makefile | 56 VDSOFLAGS=-mcmodel=small -msoft-float 61 VDSOFLAGS=-mgeneral-regs-only -mcmodel=small -ffixed-x18 65 ${CC} -c -x assembler-with-cpp -DLOCORE \ 66 -fPIC -pipe -O2 -Werror ${VDSOFLAGS} \ 67 -nostdinc -fasynchronous-unwind-tables \ 68 -fno-omit-frame-pointer -foptimize-sibling-calls \ 69 -fno-stack-protector -I. -I${SYSDIR} -I${SRCTOP}/include \ 70 ${.IMPSRC} -o ${.TARGET} 73 ${CC} -c -fPIC -pipe -O2 -Werror ${VDSOFLAGS} \ 74 -nostdinc -fasynchronous-unwind-tables \ [all …]
|
| /freebsd/crypto/openssh/.github/workflows/ |
| H A D | c-cpp.yml | 5 ….m4', '**.sh', '**/Makefile.in', 'configure.ac', '.github/configs', '.github/workflows/c-cpp.yml' ] 7 ….m4', '**.sh', '**/Makefile.in', 'configure.ac', '.github/configs', '.github/workflows/c-cpp.yml' ] 12 if: github.repository != 'openssh/openssh-portable-selfhosted' 14 fail-fast: false 18 - ubuntu-22.04 19 - ubuntu-latest 20 - ubuntu-22.04-arm 21 - ubuntu-24.04-arm 22 - macos-13 23 - macos-14 [all …]
|