building Linux for ARMv7 with llvm breaks sparse

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

 



Hello,

building a 32bit ARM kernel with llvm (LLVM=1 LLVM_IAS=1) and C=1 breaks
current sparse:

| sparse -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ -Wbitwise
| -Wno-return-void -Wno-unknown-attribute -D__ARMEL__ -D__arm__
| --arch=arm -mlittle-endian -m32 -Wp,-MMD,scripts/mod/.empty.o.d
| -nostdinc -I/path/to/linux/arch/arm/include
| -I./arch/arm/include/generated
| -I/path/to/linux/include -I./include
| -I/path/to/linux/arch/arm/include/uapi
| -I./arch/arm/include/generated/uapi
| -I/path/to/linux/include/uapi
| -I./include/generated/uapi -include
| /path/to/linux/include/linux/compiler-version.h
| -include /path/to/linux/include/linux/kconfig.h
| -include
| /path/to/linux/include/linux/compiler_types.h
| -D__KERNEL__ -mlittle-endian -Qunused-arguments
| -fmacro-prefix-map=/path/to/linux/=
| -DKBUILD_EXTRA_WARN1 -Wall -Wundef -Werror=strict-prototypes
| -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE
| -Werror=implicit-function-declaration -Werror=implicit-int
| -Werror=return-type -Wno-format-security -std=gnu11
| --target=arm-linux-gnueabi -fintegrated-as
| -Werror=unknown-warning-option -Werror=ignored-optimization-argument
| -fno-dwarf2-cfi-asm -mabi=aapcs-linux -mfpu=vfp -funwind-tables
| -meabi gnu -marm -Wa,-W -D__LINUX_ARM_ARCH__=6 -march=armv6k
  ^^^^^^^^^^
| -mtune=arm1136j-s -msoft-float -Uarm -fno-delete-null-pointer-checks
| -Wno-frame-address -Wno-address-of-packed-member -O2
| -Wframe-larger-than=1024 -fstack-protector-strong -Werror -Wno-gnu
| -mno-global-merge -Wno-unused-but-set-variable
| -Wno-unused-const-variable -fomit-frame-pointer
| -fno-stack-clash-protection -Wdeclaration-after-statement -Wvla
| -Wno-pointer-sign -Wcast-function-type -fno-strict-overflow
| -fno-stack-check -Werror=date-time -Werror=incompatible-pointer-types
| -Wextra -Wunused -Wno-unused-parameter -Wmissing-declarations
| -Wmissing-format-attribute -Wmissing-prototypes -Wold-style-definition
| -Wmissing-include-dirs -Wunused-but-set-variable
| -Wunused-const-variable -Wno-missing-field-initializers
| -Wno-sign-compare -Wno-type-limits -Wno-shift-negative-value -g
| -gdwarf-4 -I /path/to/linux/scripts/mod -I
| ./scripts/mod -DKBUILD_MODFILE='"scripts/mod/empty"'
| -DKBUILD_BASENAME='"empty"' -DKBUILD_MODNAME='"empty"'
| -D__KBUILD_MODNAME=kmod_empty
| /path/to/linux/scripts/mod/empty.c
| 
| No such file: gnu

regards,
Marc

-- 
Pengutronix e.K.                 | Marc Kleine-Budde           |
Embedded Linux                   | https://www.pengutronix.de  |
Vertretung West/Dortmund         | Phone: +49-231-2826-924     |
Amtsgericht Hildesheim, HRA 2686 | Fax:   +49-5121-206917-5555 |

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux