Closed llvmbot closed 2 years ago
mentioned in issue llvm/llvm-bugzilla-archive#31005
This bug has been marked as a duplicate of bug llvm/llvm-bugzilla-archive#31005
Actually, this is a global register variable (not a function-level one) which is explicitly not supported: http://clang.llvm.org/docs/UsersManual.html#gcc-extensions-not-implemented-yet
"clang does not support global register variables; this is unlikely to be implemented soon because it requires additional LLVM backend support."
Hi Mahendra,
Adding Behan Webster from the LLVMLinux project.
Clang doesn't yet support named register variables for registers that are allocatable. So this line is crashing:
If you'd have used "sp" or "fp", it'd have worked.
Cheers,
James
Extended Description
Error while compiling linux kernel using clang-3.8.
roku_clang -g -DSTANDALONE -Os -fno-common -msoft-float -ffunction-sections -DKERNEL -DCONFIG_SYS_TEXT_BASE=0x87C10000 -I/home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/local/llvm/bin/../lib/clang/3.8.0/include -pipe -DCONFIG_ARM -DARM -marm -mabi=aapcs-linux -mcpu=cortex-a9 -Wall -Wstrict-prototypes -fno-stack-protector -std=gnu89 -o board.o board.c -c clang version 3.8.0 (http://llvm.org/git/clang.git 577ec0fa8ab3a07d9d29b1d84e5948df018b1b99) (http://llvm.org/git/llvm.git 603a9adf398cd62a40df1bf4fb61a5460706b988) Target: armv7-brcm-linux-gnueabi Thread model: posix clang: warning: -Wl,-L./libdm/libdevmapper.so: 'linker' input unused clang: warning: argument unused during compilation: '-L/opt/armtools/20150314/lib/gcc/arm-brcm-linux-gnueabi/4.9.2/' clang: warning: argument unused during compilation: '-L/opt/armtools/20150314/lib/gcc/arm-brcm-linux-gnueabi/4.9.2' clang: warning: argument unused during compilation: '-L/home/CORP/mrevanasiddappa/Perforce/mrevanasiddappa_mrevanasi-t3610_1631/depot/edelivery/STB-Client/r6.02/3rdParty/lvm/lvm2-2.02.66/libdm/libdevmapper.so' "/usr/local/llvm/bin/clang" -cc1 -triple armv7-brcm-linux-gnueabi -emit-obj -disable-free -main-file-name board.c -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -target-cpu cortex-a9 -target-feature +soft-float -target-feature +soft-float-abi -target-feature -neon -target-feature -crypto -target-abi aapcs-linux -msoft-float -mfloat-abi soft -target-linker-version 2.23.2 -v -g -dwarf-column-info -ffunction-sections -coverage-file /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/arch/arm/lib/board.o -nostdsysteminc -nobuiltininc -resource-dir /usr/local/llvm/bin/../lib/clang/3.8.0 -isystem /usr/local/llvm/bin/../lib/clang/3.8.0/include -D STANDALONE -D KERNEL -D CONFIG_SYS_TEXT_BASE=0x87C10000 -D CONFIG_ARM -D ARM -I /opt/armtools/20150314/arm-brcm-linux-gnueabi/include/c++/4.9.2/ -I /opt/armtools/20150314/arm-brcm-linux-gnueabi/include/c++/4.9.2/arm-brcm-linux-gnueabi -I -L/opt/armtools/20150314/lib/gcc/arm-brcm-linux-gnueabi/4.9.2 -I /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include -isysroot /opt/armtools/20150314/arm-brcm-linux-gnueabi/sysroot -Os -Wno-unused-variable -Wno-unused-variable -Wall -Wstrict-prototypes -pedantic -std=gnu89 -fdebug-compilation-dir /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/arch/arm/lib -ferror-limit 19 -fmessage-length 318 -fvisibility-inlines-hidden -ffreestanding -mstackrealign -fno-builtin -fno-signed-char -fobjc-runtime=gcc -fno-common -fdiagnostics-show-option -fcolor-diagnostics -vectorize-loops -vectorize-slp -o board.o -x c board.c clang -cc1 version 3.8.0 based upon LLVM 3.8.0svn default target x86_64-unknown-linux-gnu ignoring nonexistent directory "-L/opt/armtools/20150314/lib/gcc/arm-brcm-linux-gnueabi/4.9.2"
include "..." search starts here:
include <...> search starts here:
/opt/armtools/20150314/arm-brcm-linux-gnueabi/include/c++/4.9.2 /opt/armtools/20150314/arm-brcm-linux-gnueabi/include/c++/4.9.2/arm-brcm-linux-gnueabi /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include /usr/local/llvm/bin/../lib/clang/3.8.0/include End of search list. In file included from board.c:41: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/common.h:39: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/bitops.h:4: /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/asm/types.h:39:16: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long] typedef signed long long s64; ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/asm/types.h:40:18: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long] typedef unsigned long long u64; ^ In file included from board.c:41: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/common.h:39: /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/bitops.h:12:8: warning: extension used [-Wlanguage-extension-token] static inline int generic_ffs(int x) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/bitops.h:48:8: warning: extension used [-Wlanguage-extension-token] static inline int generic_fls(int x) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/bitops.h:83:8: warning: extension used [-Wlanguage-extension-token] static inline unsigned int generic_hweight32(unsigned int w) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/bitops.h:92:8: warning: extension used [-Wlanguage-extension-token] static inline unsigned int generic_hweight16(unsigned int w) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/bitops.h:100:8: warning: extension used [-Wlanguage-extension-token] static inline unsigned int generic_hweight8(unsigned int w) ^ In file included from board.c:41: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/common.h:39: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/bitops.h:110: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/asm/bitops.h:20: /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/asm/proc/system.h:128:8: warning: extension used [-Wlanguage-extension-token] static inline unsigned long xchg(unsigned long x, volatile void *ptr, int size) ^ In file included from board.c:41: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/common.h:39: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/bitops.h:110: /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/asm/bitops.h:34:8: warning: extension used [-Wlanguage-extension-token] static inline void change_bit(int nr, volatile void addr) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/asm/bitops.h:42:8: warning: extension used [-Wlanguage-extension-token] static inline int __test_and_set_bit(int nr, volatile void addr) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/asm/bitops.h:52:8: warning: extension used [-Wlanguage-extension-token] static inline int test_and_set_bit(int nr, volatile void addr) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/asm/bitops.h:57:2: warning: use of GNU statement expression extension [-Wgnu-statement-expression] local_irq_save(flags); ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/asm/proc/system.h:19:3: note: expanded from macro 'local_irq_save' ({ \ ^ In file included from board.c:41: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/common.h:39: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/bitops.h:110: /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/asm/bitops.h:64:8: warning: extension used [-Wlanguage-extension-token] static inline int __test_and_clear_bit(int nr, volatile void addr) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/asm/bitops.h:74:8: warning: extension used [-Wlanguage-extension-token] static inline int test_and_clear_bit(int nr, volatile void addr) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/asm/bitops.h:79:2: warning: use of GNU statement expression extension [-Wgnu-statement-expression] local_irq_save(flags); ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/asm/proc/system.h:19:3: note: expanded from macro 'local_irq_save' ({ \ ^ In file included from board.c:41: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/common.h:39: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/bitops.h:110: /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/asm/bitops.h:88:8: warning: extension used [-Wlanguage-extension-token] static inline int __test_and_change_bit(int nr, volatile void addr) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/asm/bitops.h:104:8: warning: extension used [-Wlanguage-extension-token] static inline int test_bit(int nr, const void addr) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/asm/bitops.h:113:8: warning: extension used [-Wlanguage-extension-token] static inline unsigned long ffz(unsigned long word) ^ In file included from board.c:41: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/common.h:39: /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/bitops.h:139:8: warning: extension used [-Wlanguage-extension-token] static inline void generic_set_bit(int nr, volatile unsigned long addr) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/bitops.h:147:8: warning: extension used [-Wlanguage-extension-token] static inline void generic_clear_bit(int nr, volatile unsigned long addr) ^ In file included from board.c:41: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/common.h:40: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/types.h:8: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/posix_types.h:46: /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/asm/posix_types.h:48:9: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long] typedef long long __kernel_loff_t; ^ In file included from board.c:41: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/common.h:42: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/asm/ptrace.h:14: /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/asm/proc/ptrace.h:91:8: warning: extension used [-Wlanguage-extension-token] static inline int valid_user_regs(struct pt_regs regs) ^ In file included from board.c:41: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/common.h:117: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:36: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/compiler.h:112: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/asm/byteorder.h:29: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/byteorder/little_endian.h:12: /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/byteorder/swab.h:130:18: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long] u32 l = x & ((1ULL<<32)-1); ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/byteorder/swab.h:138:9: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long] return archswab64p(x); ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/byteorder/swab.h:62:30: note: expanded from macro 'arch__swab64p'
define archswab64p(x) __swab64(*(x))
/home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/byteorder/swab.h:90:2: note: expanded from macro 'swab64' ___swab64((x)) : \ ^ /home/CORP/mrevanasiddappa/New_testqt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/byteorder/swab.h:33:32: note: expanded from macro 'swab64' (u64)(((u64)(x) & (u64)0x00000000000000ffULL) << 56) | \ ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/byteorder/swab.h:138:9: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long] /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/byteorder/swab.h:62:30: note: expanded from macro 'arch__swab64p'
define archswab64p(x) __swab64(*(x))
/home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/byteorder/swab.h:90:2: note: expanded from macro 'swab64' ___swab64((x)) : \ ^ /home/CORP/mrevanasiddappa/New_testqt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/byteorder/swab.h:34:32: note: expanded from macro 'swab64' (u64)(((u64)(x) & (u64)0x000000000000ff00ULL) << 40) | \ ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/byteorder/swab.h:138:9: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long] /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/byteorder/swab.h:62:30: note: expanded from macro 'arch__swab64p'
define archswab64p(x) __swab64(*(x))
/home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/byteorder/swab.h:90:2: note: expanded from macro 'swab64' ___swab64((x)) : \ ^ /home/CORP/mrevanasiddappa/New_testqt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/byteorder/swab.h:35:32: note: expanded from macro 'swab64' (u64)(((u64)(x) & (u64)0x0000000000ff0000ULL) << 24) | \ ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/byteorder/swab.h:138:9: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long] /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/byteorder/swab.h:62:30: note: expanded from macro 'arch__swab64p'
define archswab64p(x) __swab64(*(x))
/home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/byteorder/swab.h:90:2: note: expanded from macro 'swab64' ___swab64((x)) : \ ^ /home/CORP/mrevanasiddappa/New_testqt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/byteorder/swab.h:36:32: note: expanded from macro 'swab64' (u64)(((u64)(x) & (u64)0x00000000ff000000ULL) << 8) | \ ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/byteorder/swab.h:138:9: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long] /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/byteorder/swab.h:62:30: note: expanded from macro 'arch__swab64p'
define archswab64p(x) __swab64(*(x))
/home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/byteorder/swab.h:90:2: note: expanded from macro 'swab64' ___swab64((x)) : \ ^ /home/CORP/mrevanasiddappa/New_testqt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/byteorder/swab.h:37:32: note: expanded from macro 'swab64' (u64)(((u64)(x) & (u64)0x000000ff00000000ULL) >> 8) | \ ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/byteorder/swab.h:138:9: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long] /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/byteorder/swab.h:62:30: note: expanded from macro 'arch__swab64p'
define archswab64p(x) __swab64(*(x))
/home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/byteorder/swab.h:90:2: note: expanded from macro 'swab64' ___swab64((x)) : \ ^ /home/CORP/mrevanasiddappa/New_testqt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/byteorder/swab.h:38:32: note: expanded from macro 'swab64' (u64)(((u64)(x) & (u64)0x0000ff0000000000ULL) >> 24) | \ ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/byteorder/swab.h:138:9: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long] /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/byteorder/swab.h:62:30: note: expanded from macro 'arch__swab64p'
define archswab64p(x) __swab64(*(x))
/home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/byteorder/swab.h:90:2: note: expanded from macro 'swab64' ___swab64((x)) : \ ^ /home/CORP/mrevanasiddappa/New_testqt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/byteorder/swab.h:39:32: note: expanded from macro 'swab64' (u64)(((u64)(x) & (u64)0x00ff000000000000ULL) >> 40) | \ ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/byteorder/swab.h:138:9: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long] /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/byteorder/swab.h:62:30: note: expanded from macro 'arch__swab64p'
define archswab64p(x) __swab64(*(x))
/home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/byteorder/swab.h:90:2: note: expanded from macro 'swab64' ___swab64((x)) : \ ^ /home/CORP/mrevanasiddappa/New_testqt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/byteorder/swab.h:40:32: note: expanded from macro 'swab64' (u64)(((u64)(x) & (__u64)0xff00000000000000ULL) >> 56) )) ^ In file included from board.c:41: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/common.h:117: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:47: /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/lmb.h:50:8: warning: extension used [-Wlanguage-extension-token] static inline phys_size_t ^ In file included from board.c:41: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/common.h:117: /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:358:8: warning: extension used [-Wlanguage-extension-token] static inline uint32_t image_get_header_size (void) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:368:1: warning: extension used [-Wlanguage-extension-token] image_get_hdr_l (magic) / image_get_magic / ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:364:9: note: expanded from macro 'image_get_hdr_l' static inline uint32_t imageget##f(const image_header_t hdr) \ ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:369:1: warning: extension used [-Wlanguage-extension-token] image_get_hdr_l (hcrc) / image_get_hcrc / ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:364:9: note: expanded from macro 'image_get_hdr_l' static inline uint32_t imageget##f(const image_header_t hdr) \ ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:370:1: warning: extension used [-Wlanguage-extension-token] image_get_hdr_l (time) / image_get_time / ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:364:9: note: expanded from macro 'image_get_hdr_l' static inline uint32_t imageget##f(const image_header_t hdr) \ ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:371:1: warning: extension used [-Wlanguage-extension-token] image_get_hdr_l (size) / image_get_size / ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:364:9: note: expanded from macro 'image_get_hdr_l' static inline uint32_t imageget##f(const image_header_t hdr) \ ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:372:1: warning: extension used [-Wlanguage-extension-token] image_get_hdr_l (load) / image_get_load / ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:364:9: note: expanded from macro 'image_get_hdr_l' static inline uint32_t imageget##f(const image_header_t hdr) \ ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:373:1: warning: extension used [-Wlanguage-extension-token] image_get_hdr_l (ep) / image_get_ep / ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:364:9: note: expanded from macro 'image_get_hdr_l' static inline uint32_t imageget##f(const image_header_t hdr) \ ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:374:1: warning: extension used [-Wlanguage-extension-token] image_get_hdr_l (dcrc) / image_get_dcrc / ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:364:9: note: expanded from macro 'image_get_hdr_l' static inline uint32_t imageget##f(const image_header_t hdr) \ ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:381:1: warning: extension used [-Wlanguage-extension-token] image_get_hdr_b (os) / image_get_os / ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:377:9: note: expanded from macro 'image_get_hdr_b' static inline uint8_t imageget##f(const image_header_t hdr) \ ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:382:1: warning: extension used [-Wlanguage-extension-token] image_get_hdr_b (arch) / image_get_arch / ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:377:9: note: expanded from macro 'image_get_hdr_b' static inline uint8_t imageget##f(const image_header_t hdr) \ ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:383:1: warning: extension used [-Wlanguage-extension-token] image_get_hdr_b (type) / image_get_type / ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:377:9: note: expanded from macro 'image_get_hdr_b' static inline uint8_t imageget##f(const image_header_t hdr) \ ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:384:1: warning: extension used [-Wlanguage-extension-token] image_get_hdr_b (comp) / image_get_comp / ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:377:9: note: expanded from macro 'image_get_hdr_b' static inline uint8_t imageget##f(const image_header_t hdr) \ ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:386:8: warning: extension used [-Wlanguage-extension-token] static inline char image_get_name (const image_header_t hdr) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:391:8: warning: extension used [-Wlanguage-extension-token] static inline uint32_t image_get_data_size (const image_header_t hdr) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:407:8: warning: extension used [-Wlanguage-extension-token] static inline ulong image_get_data (const image_header_t hdr) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:412:8: warning: extension used [-Wlanguage-extension-token] static inline uint32_t image_get_image_size (const image_header_t hdr) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:416:8: warning: extension used [-Wlanguage-extension-token] static inline ulong image_get_image_end (const image_header_t hdr) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:426:1: warning: extension used [-Wlanguage-extension-token] image_set_hdr_l (magic) / image_set_magic / ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:422:9: note: expanded from macro 'image_set_hdr_l' static inline void imageset##f(image_header_t hdr, uint32_t val) \ ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:427:1: warning: extension used [-Wlanguage-extension-token] image_set_hdr_l (hcrc) / image_set_hcrc / ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:422:9: note: expanded from macro 'image_set_hdr_l' static inline void imageset##f(image_header_t hdr, uint32_t val) \ ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:428:1: warning: extension used [-Wlanguage-extension-token] image_set_hdr_l (time) / image_set_time / ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:422:9: note: expanded from macro 'image_set_hdr_l' static inline void imageset##f(image_header_t hdr, uint32_t val) \ ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:429:1: warning: extension used [-Wlanguage-extension-token] image_set_hdr_l (size) / image_set_size / ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:422:9: note: expanded from macro 'image_set_hdr_l' static inline void imageset##f(image_header_t hdr, uint32_t val) \ ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:430:1: warning: extension used [-Wlanguage-extension-token] image_set_hdr_l (load) / image_set_load / ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:422:9: note: expanded from macro 'image_set_hdr_l' static inline void imageset##f(image_header_t hdr, uint32_t val) \ ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:431:1: warning: extension used [-Wlanguage-extension-token] image_set_hdr_l (ep) / image_set_ep / ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:422:9: note: expanded from macro 'image_set_hdr_l' static inline void imageset##f(image_header_t hdr, uint32_t val) \ ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:432:1: warning: extension used [-Wlanguage-extension-token] image_set_hdr_l (dcrc) / image_set_dcrc / ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:422:9: note: expanded from macro 'image_set_hdr_l' static inline void imageset##f(image_header_t hdr, uint32_t val) \ ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:439:1: warning: extension used [-Wlanguage-extension-token] image_set_hdr_b (os) / image_set_os / ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:435:9: note: expanded from macro 'image_set_hdr_b' static inline void imageset##f(image_header_t hdr, uint8_t val) \ ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:440:1: warning: extension used [-Wlanguage-extension-token] image_set_hdr_b (arch) / image_set_arch / ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:435:9: note: expanded from macro 'image_set_hdr_b' static inline void imageset##f(image_header_t hdr, uint8_t val) \ ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:441:1: warning: extension used [-Wlanguage-extension-token] image_set_hdr_b (type) / image_set_type / ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:435:9: note: expanded from macro 'image_set_hdr_b' static inline void imageset##f(image_header_t hdr, uint8_t val) \ ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:442:1: warning: extension used [-Wlanguage-extension-token] image_set_hdr_b (comp) / image_set_comp / ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:435:9: note: expanded from macro 'image_set_hdr_b' static inline void imageset##f(image_header_t hdr, uint8_t val) \ ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:444:8: warning: extension used [-Wlanguage-extension-token] static inline void image_set_name (image_header_t hdr, const char name) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:459:8: warning: extension used [-Wlanguage-extension-token] static inline int image_check_magic (const image_header_t hdr) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:463:8: warning: extension used [-Wlanguage-extension-token] static inline int image_check_type (const image_header_t hdr, uint8_t type) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:467:8: warning: extension used [-Wlanguage-extension-token] static inline int image_check_arch (const image_header_t hdr, uint8_t arch) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:471:8: warning: extension used [-Wlanguage-extension-token] static inline int image_check_os (const image_header_t hdr, uint8_t os) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/image.h:483:8: warning: extension used [-Wlanguage-extension-token] static inline int image_check_target_arch (const image_header_t *hdr) ^ In file included from board.c:41: /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/common.h:123:23: warning: named variadic macros are a GNU extension [-Wvariadic-macros]
define debug(fmt,args...)
/home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/common.h:124:30: warning: named variadic macros are a GNU extension [-Wvariadic-macros]
define debugX(level,fmt,args...)
/home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/common.h:127:24: warning: named variadic macros are a GNU extension [-Wvariadic-macros]
define error(fmt, args...) do { \
In file included from board.c:41: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/common.h:143: /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/asm/global_data.h:61:11: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long] unsigned long long timer_reset_value; ^ In file included from board.c:41: /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/common.h:225:26: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long] void print_size(unsigned long long, const char ); ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/common.h:619:10: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long] unsigned long long get_ticks(void); ^ In file included from board.c:41: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/common.h:634: /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/net.h:247:17: warning: zero size arrays are an extension [-Wzero-length-array] uchar ar_data[0]; ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/net.h:436:8: warning: extension used [-Wlanguage-extension-token] static inline IPaddr_t NetReadIP(volatile void from) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/net.h:444:8: warning: extension used [-Wlanguage-extension-token] static inline ulong NetReadLong(ulong from) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/net.h:452:8: warning: extension used [-Wlanguage-extension-token] static inline void NetWriteIP(void to, IPaddr_t ip) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/net.h:458:8: warning: extension used [-Wlanguage-extension-token] static inline void NetCopyIP(volatile void to, void from) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/net.h:464:8: warning: extension used [-Wlanguage-extension-token] static inline void NetCopyLong(ulong to, ulong from) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/net.h:475:8: warning: extension used [-Wlanguage-extension-token] static inline int is_zero_ether_addr(const u8 addr) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/net.h:487:8: warning: extension used [-Wlanguage-extension-token] static inline int is_multicast_ether_addr(const u8 addr) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/net.h:498:8: warning: extension used [-Wlanguage-extension-token] static inline int is_broadcast_ether_addr(const u8 addr) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/net.h:512:8: warning: extension used [-Wlanguage-extension-token] static inline int is_valid_ether_addr(const u8 addr) ^ In file included from board.c:41: /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/common.h:635:8: warning: extension used [-Wlanguage-extension-token] static inline IPaddr_t getenv_IPaddr (char var) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/common.h:651:10: warning: 'long long' is an extension when C99 mode is not enabled [-Wlong-long] unsigned long long simple_strtoull(const char cp,char **endp,unsigned int base); ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/common.h:694:25: warning: named variadic macros are a GNU extension [-Wvariadic-macros]
define eprintf(fmt,args...) fprintf(stderr,fmt ,##args)
In file included from board.c:44: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/stdio_dev.h:27: /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/list.h:9:8: warning: extension used [-Wlanguage-extension-token] static inline void prefetch(const void x) {;} ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/list.h:31:8: warning: extension used [-Wlanguage-extension-token] static inline void INIT_LIST_HEAD(struct list_head list) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/list.h:43:8: warning: extension used [-Wlanguage-extension-token] static inline void list_add(struct list_head new, ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/list.h:61:8: warning: extension used [-Wlanguage-extension-token] static inline void list_add(struct list_head new, struct list_head head) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/list.h:74:8: warning: extension used [-Wlanguage-extension-token] static inline void list_add_tail(struct list_head new, struct list_head head) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/list.h:86:8: warning: extension used [-Wlanguage-extension-token] static inline void __list_del(struct list_head prev, struct list_head next) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/list.h:98:8: warning: extension used [-Wlanguage-extension-token] static inline void list_del(struct list_head entry) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/list.h:112:8: warning: extension used [-Wlanguage-extension-token] static inline void list_replace(struct list_head old, ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/list.h:121:8: warning: extension used [-Wlanguage-extension-token] static inline void list_replace_init(struct list_head old, ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/list.h:132:8: warning: extension used [-Wlanguage-extension-token] static inline void list_del_init(struct list_head entry) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/list.h:143:8: warning: extension used [-Wlanguage-extension-token] static inline void list_move(struct list_head list, struct list_head head) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/list.h:154:8: warning: extension used [-Wlanguage-extension-token] static inline void list_move_tail(struct list_head list, ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/list.h:166:8: warning: extension used [-Wlanguage-extension-token] static inline int list_is_last(const struct list_head list, ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/list.h:176:8: warning: extension used [-Wlanguage-extension-token] static inline int list_empty(const struct list_head head) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/list.h:194:8: warning: extension used [-Wlanguage-extension-token] static inline int list_empty_careful(const struct list_head head) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/list.h:204:8: warning: extension used [-Wlanguage-extension-token] static inline int list_is_singular(const struct list_head head) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/list.h:209:8: warning: extension used [-Wlanguage-extension-token] static inline void list_cut_position(struct list_head list, ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/list.h:235:8: warning: extension used [-Wlanguage-extension-token] static inline void list_cut_position(struct list_head list, ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/list.h:249:8: warning: extension used [-Wlanguage-extension-token] static inline void list_splice(const struct list_head list, ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/list.h:268:8: warning: extension used [-Wlanguage-extension-token] static inline void list_splice(const struct list_head list, ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/list.h:280:8: warning: extension used [-Wlanguage-extension-token] static inline void list_splice_tail(struct list_head list, ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/list.h:294:8: warning: extension used [-Wlanguage-extension-token] static inline void list_splice_init(struct list_head list, ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/list.h:311:8: warning: extension used [-Wlanguage-extension-token] static inline void list_splice_tail_init(struct list_head list, ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/list.h:543:8: warning: extension used [-Wlanguage-extension-token] static inline void INIT_HLIST_NODE(struct hlist_node h) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/list.h:549:8: warning: extension used [-Wlanguage-extension-token] static inline int hlist_unhashed(const struct hlist_node h) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/list.h:554:8: warning: extension used [-Wlanguage-extension-token] static inline int hlist_empty(const struct hlist_head h) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/list.h:559:8: warning: extension used [-Wlanguage-extension-token] static inline void hlist_del(struct hlist_node n) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/list.h:568:8: warning: extension used [-Wlanguage-extension-token] static inline void hlist_del(struct hlist_node n) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/list.h:575:8: warning: extension used [-Wlanguage-extension-token] static inline void hlist_del_init(struct hlist_node n) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/list.h:583:8: warning: extension used [-Wlanguage-extension-token] static inline void hlist_add_head(struct hlist_node n, struct hlist_head h) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/list.h:594:8: warning: extension used [-Wlanguage-extension-token] static inline void hlist_add_before(struct hlist_node n, ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/list.h:603:8: warning: extension used [-Wlanguage-extension-token] static inline void hlist_add_after(struct hlist_node *n, ^ In file included from board.c:49: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/nand.h:29: /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/mtd/compat.h:26:27: warning: variadic macros are a C99 feature [-Wvariadic-macros]
define DECLARE_WAITQUEUE(...) do { } while (0)
/home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/mtd/compat.h:27:24: warning: variadic macros are a C99 feature [-Wvariadic-macros]
define add_wait_queue(...) do { } while (0)
/home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/mtd/compat.h:28:27: warning: variadic macros are a C99 feature [-Wvariadic-macros]
define remove_wait_queue(...) do { } while (0)
In file included from board.c:49: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/nand.h:30: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/mtd/mtd.h:11: /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/div64.h:42:8: warning: extension used [-Wlanguage-extension-token] static inline uint64_t lldiv(uint64_t dividend, uint32_t divisor) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/div64.h:45:2: warning: use of GNU statement expression extension [-Wgnu-statement-expression] do_div(__res, divisor); ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/div64.h:27:26: note: expanded from macro 'do_div'
define do_div(n,base) ({ \
/home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/div64.h:45:2: warning: extension used [-Wlanguage-extension-token] /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/div64.h:30:11: note: expanded from macro 'do_div' (void)(((typeof((n)) )0) == ((uint64_t )0)); \ ^ In file included from board.c:49: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/nand.h:30: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/mtd/mtd.h:12: /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/mtd/mtd-abi.h:153:14: warning: commas at the end of enumerator lists are a C99-specific feature [-Wc99-extensions] MTD_MODE_RAW, ^ In file included from board.c:49: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/nand.h:30: /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/mtd/mtd.h:39:17: warning: commas at the end of enumerator lists are a C99-specific feature [-Wc99-extensions] FL_PM_SUSPENDED, ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/mtd/mtd.h:80:13: warning: commas at the end of enumerator lists are a C99-specific feature [-Wc99-extensions] MTD_OOB_RAW, ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/mtd/mtd.h:238:8: warning: extension used [-Wlanguage-extension-token] static inline uint32_t mtd_div_by_eb(uint64_t sz, struct mtd_info *mtd) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/mtd/mtd.h:240:2: warning: use of GNU statement expression extension [-Wgnu-statement-expression] do_div(sz, mtd->erasesize); ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/div64.h:27:26: note: expanded from macro 'do_div'
define do_div(n,base) ({ \
In file included from board.c:49: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/nand.h:30: /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/mtd/mtd.h:240:2: warning: extension used [-Wlanguage-extension-token] /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/div64.h:30:11: note: expanded from macro 'do_div' (void)(((typeof((n)) )0) == ((uint64_t )0)); \ ^ In file included from board.c:49: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/nand.h:30: /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/mtd/mtd.h:244:8: warning: extension used [-Wlanguage-extension-token] static inline uint32_t mtd_mod_by_eb(uint64_t sz, struct mtd_info *mtd) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/mtd/mtd.h:246:9: warning: use of GNU statement expression extension [-Wgnu-statement-expression] return do_div(sz, mtd->erasesize); ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/div64.h:27:26: note: expanded from macro 'do_div'
define do_div(n,base) ({ \
In file included from board.c:49: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/nand.h:30: /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/mtd/mtd.h:246:9: warning: extension used [-Wlanguage-extension-token] /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/div64.h:30:11: note: expanded from macro 'do_div' (void)(((typeof((n)) )0) == ((uint64_t )0)); \ ^ In file included from board.c:49: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/nand.h:30: /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/mtd/mtd.h:282:8: warning: extension used [-Wlanguage-extension-token] static inline void mtd_erase_callback(struct erase_info *instr) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/mtd/mtd.h:304:25: warning: named variadic macros are a GNU extension [-Wvariadic-macros]
define MTDDEBUG(n, args...) \
In file included from board.c:49: In file included from /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/nand.h:31: /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/mtd/nand.h:134:23: warning: commas at the end of enumerator lists are a C99-specific feature [-Wc99-extensions] NAND_ECC_HW_OOB_FIRST, ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/linux/mtd/nand.h:618:8: warning: extension used [-Wlanguage-extension-token] static inline ^ In file included from board.c:49: /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/nand.h:40:8: warning: extension used [-Wlanguage-extension-token] static inline int nand_read(nand_info_t info, loff_t ofs, size_t len, u_char buf) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/nand.h:45:8: warning: extension used [-Wlanguage-extension-token] static inline int nand_write(nand_info_t info, loff_t ofs, size_t len, u_char buf) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/nand.h:50:8: warning: extension used [-Wlanguage-extension-token] static inline int nand_block_isbad(nand_info_t info, loff_t ofs) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/nand.h:55:8: warning: extension used [-Wlanguage-extension-token] static inline int nand_erase(nand_info_t info, loff_t off, size_t size) ^ In file included from board.c:51: /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/mmc.h:283:2: warning: anonymous unions are a C11 extension [-Wc11-extensions] union { ^ board.c:64:1: warning: extension used [-Wlanguage-extension-token] DECLARE_GLOBAL_DATA_PTR; ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/asm/global_data.h:93:64: note: expanded from macro 'DECLARE_GLOBAL_DATA_PTR'
define DECLARE_GLOBAL_DATA_PTR register volatile gd_t *gd asm ("r8")
In file included from board.c:86: /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/i2c.h:161:8: warning: extension used [-Wlanguage-extension-token] static inline u8 i2c_reg_read(u8 addr, u8 reg) ^ /home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/include/i2c.h:179:8: warning: extension used [-Wlanguage-extension-token] static inline void i2c_reg_write(u8 addr, u8 reg, u8 val) ^ board.c:95:6: warning: extension used [-Wlanguage-extension-token] void inline coloured_LED_init (void) {} ^ board.c:97:6: warning: extension used [-Wlanguage-extension-token] void inline red_LED_on (void) {} ^ board.c:99:6: warning: extension used [-Wlanguage-extension-token] void inline red_LED_off(void) {} ^ board.c:101:6: warning: extension used [-Wlanguage-extension-token] void inline green_LED_on(void) {} ^ board.c:103:6: warning: extension used [-Wlanguage-extension-token] void inline green_LED_off(void) {} ^ board.c:105:6: warning: extension used [-Wlanguage-extension-token] void inline yellow_LED_on(void) {} ^ board.c:107:6: warning: extension used [-Wlanguage-extension-token] void inline yellow_LED_off(void) {} ^ board.c:109:6: warning: extension used [-Wlanguage-extension-token] void inline blue_LED_on(void) {} ^ board.c:111:6: warning: extension used [-Wlanguage-extension-token] void inline __blue_LED_off(void) {} ^ fatal error: error in backend: Invalid register name "r8". clang: error: clang frontend command failed with exit code 70 (use -v to see invocation) clang version 3.8.0 (http://llvm.org/git/clang.git 577ec0fa8ab3a07d9d29b1d84e5948df018b1b99) (http://llvm.org/git/llvm.git 603a9adf398cd62a40df1bf4fb61a5460706b988) Target: armv7-brcm-linux-gnueabi Thread model: posix clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script. clang: note: diagnostic msg:
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang: note: diagnostic msg: /tmp/board-846a5e.c clang: note: diagnostic msg: /tmp/board-846a5e.sh clang: note: diagnostic msg:
make[4]: [board.o] Error 70 make[4]: Leaving directory `/home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot/arch/arm/lib' make[3]: [arch/arm/lib/libarm.o] Error 2 make[3]: Leaving directory
/home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot' make[2]: *** [bcm11130_roku_austin] Error 2 make[2]: Leaving directory
/home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty/bcm-11130/u-boot' make[1]: [linux-uboot-austin] Error 2 make[1]: Leaving directory `/home/CORP/mrevanasiddappa/New_test_qt/depot/edelivery/STB-Client/r6.02/3rdParty' make: [dist/linux/Austin11130_dev.OBJ/BCM11130/.done-austin] Error 2