leo@cb:~/Projekte/STM32F103C8-gen-board/philips-vfd$ ./cc-fft.sh + ./cc-fft.sh Using built-in specs. COLLECT_GCC=arm-none-eabi-gcc Target: arm-none-eabi Configured with: ../src/configure --build=x86_64-linux-gnu --prefix=/usr --includedir='/usr/lib/include' --mandir='/usr/lib/share/man' --infodir='/usr/lib/share/info' --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir='/usr/lib/lib/x86_64-linux-gnu' --libexecdir='/usr/lib/lib/x86_64-linux-gnu' --disable-maintainer-mode --disable-dependency-tracking --mandir=/usr/share/man --enable-languages=c,c++,lto --enable-multilib --disable-decimal-float --disable-libffi --disable-libgomp --disable-libmudflap --disable-libquadmath --disable-libssp --disable-libstdcxx-pch --disable-nls --disable-shared --disable-threads --disable-tls --build=x86_64-linux-gnu --target=arm-none-eabi --with-system-zlib --with-gnu-as --with-gnu-ld --with-pkgversion=15:5.4.1+svn241155-1 --without-included-gettext --prefix=/usr/lib --infodir=/usr/share/doc/gcc-arm-none-eabi/info --htmldir=/usr/share/doc/gcc-arm-none-eabi/html --pdfdir=/usr/share/doc/gcc-arm-none-eabi/pdf --bindir=/usr/bin --libexecdir=/usr/lib --libdir=/usr/lib --disable-libstdc++-v3 --host=x86_64-linux-gnu --with-headers=no --without-newlib --with-multilib-list=armv6-m,armv7-m,armv7e-m,armv7-r CFLAGS='-g -O2 -fdebug-prefix-map=/build/gcc-arm-none-eabi-nTgoRE/gcc-arm-none-eabi-5.4.1+svn241155=. -fstack-protector-strong' CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2' CXXFLAGS='-g -O2 -fdebug-prefix-map=/build/gcc-arm-none-eabi-nTgoRE/gcc-arm-none-eabi-5.4.1+svn241155=. -fstack-protector-strong' FCFLAGS='-g -O2 -fdebug-prefix-map=/build/gcc-arm-none-eabi-nTgoRE/gcc-arm-none-eabi-5.4.1+svn241155=. -fstack-protector-strong' FFLAGS='-g -O2 -fdebug-prefix-map=/build/gcc-arm-none-eabi-nTgoRE/gcc-arm-none-eabi-5.4.1+svn241155=. -fstack-protector-strong' GCJFLAGS='-g -O2 -fdebug-prefix-map=/build/gcc-arm-none-eabi-nTgoRE/gcc-arm-none-eabi-5.4.1+svn241155=. -fstack-protector-strong' LDFLAGS=-Wl,-z,relro OBJCFLAGS='-g -O2 -fdebug-prefix-map=/build/gcc-arm-none-eabi-nTgoRE/gcc-arm-none-eabi-5.4.1+svn241155=. -fstack-protector-strong' OBJCXXFLAGS='-g -O2 -fdebug-prefix-map=/build/gcc-arm-none-eabi-nTgoRE/gcc-arm-none-eabi-5.4.1+svn241155=. -fstack-protector-strong' INHIBIT_LIBC_CFLAGS=-DUSE_TM_CLONE_REGISTRY=0 AR_FOR_TARGET=arm-none-eabi-ar AS_FOR_TARGET=arm-none-eabi-as LD_FOR_TARGET=arm-none-eabi-ld NM_FOR_TARGET=arm-none-eabi-nm OBJDUMP_FOR_TARGET=arm-none-eabi-objdump RANLIB_FOR_TARGET=arm-none-eabi-ranlib READELF_FOR_TARGET=arm-none-eabi-readelf STRIP_FOR_TARGET=arm-none-eabi-strip Thread model: single gcc version 5.4.1 20160919 (15:5.4.1+svn241155-1) COLLECT_GCC_OPTIONS='-Os' '-std=c99' '-Wextra' '-Wshadow' '-Wimplicit-function-declaration' '-Wredundant-decls' '-Wstrict-prototypes' '-ffunction-sections' '-fdata-sections' '-Wall' '-Wundef' '-c' '-mcpu=cortex-m3' '-mthumb' '-mfloat-abi=soft' '-o' 'fft-arm-16.o' '-D' 'MYINT=int16_t' '-v' /usr/lib/gcc/arm-none-eabi/5.4.1/cc1 -quiet -v -imultilib armv7-m -D__USES_INITFINI__ -D MYINT=int16_t fft.c -quiet -dumpbase fft.c -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -auxbase-strip fft-arm-16.o -Os -Wextra -Wshadow -Wimplicit-function-declaration -Wredundant-decls -Wstrict-prototypes -Wall -Wundef -std=c99 -version -ffunction-sections -fdata-sections -o /tmp/ccPezOI0.s GNU C99 (15:5.4.1+svn241155-1) version 5.4.1 20160919 (arm-none-eabi) compiled by GNU C version 6.2.0 20161019, GMP version 6.1.1, MPFR version 3.1.5, MPC version 1.0.3 warning: GMP header version 6.1.1 differs from library version 6.1.2. GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 ignoring nonexistent directory "/usr/lib/gcc/arm-none-eabi/5.4.1/../../../arm-none-eabi/sys-include" #include "..." search starts here: #include <...> search starts here: /usr/lib/gcc/arm-none-eabi/5.4.1/include /usr/lib/gcc/arm-none-eabi/5.4.1/include-fixed /usr/lib/gcc/arm-none-eabi/5.4.1/../../../arm-none-eabi/include End of search list. GNU C99 (15:5.4.1+svn241155-1) version 5.4.1 20160919 (arm-none-eabi) compiled by GNU C version 6.2.0 20161019, GMP version 6.1.1, MPFR version 3.1.5, MPC version 1.0.3 warning: GMP header version 6.1.1 differs from library version 6.1.2. GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 42cf28895c90177952240e873f043849 fft.c: In function 'fix_fft': fft.c:108:30: warning: array subscript is above array bounds [-Warray-bounds] wi = Sinewave[j]; ^ COLLECT_GCC_OPTIONS='-Os' '-std=c99' '-Wextra' '-Wshadow' '-Wimplicit-function-declaration' '-Wredundant-decls' '-Wstrict-prototypes' '-ffunction-sections' '-fdata-sections' '-Wall' '-Wundef' '-c' '-mcpu=cortex-m3' '-mthumb' '-mfloat-abi=soft' '-o' 'fft-arm-16.o' '-D' 'MYINT=int16_t' '-v' /usr/lib/gcc/arm-none-eabi/5.4.1/../../../arm-none-eabi/bin/as -v -mcpu=cortex-m3 -mfloat-abi=soft -meabi=5 -o fft-arm-16.o /tmp/ccPezOI0.s GNU assembler version 2.28 (arm-none-eabi) using BFD version (2.28-2+9+b1) 2.28 COMPILER_PATH=/usr/lib/gcc/arm-none-eabi/5.4.1/:/usr/lib/gcc/arm-none-eabi/5.4.1/:/usr/lib/gcc/arm-none-eabi/:/usr/lib/gcc/arm-none-eabi/5.4.1/:/usr/lib/gcc/arm-none-eabi/:/usr/lib/gcc/arm-none-eabi/5.4.1/../../../arm-none-eabi/bin/ LIBRARY_PATH=/usr/lib/gcc/arm-none-eabi/5.4.1/armv7-m/:/usr/lib/gcc/arm-none-eabi/5.4.1/../../../arm-none-eabi/lib/armv7-m/:/usr/lib/gcc/arm-none-eabi/5.4.1/:/usr/lib/gcc/arm-none-eabi/5.4.1/../../../arm-none-eabi/lib/ COLLECT_GCC_OPTIONS='-Os' '-std=c99' '-Wextra' '-Wshadow' '-Wimplicit-function-declaration' '-Wredundant-decls' '-Wstrict-prototypes' '-ffunction-sections' '-fdata-sections' '-Wall' '-Wundef' '-c' '-mcpu=cortex-m3' '-mthumb' '-mfloat-abi=soft' '-o' 'fft-arm-16.o' '-D' 'MYINT=int16_t' '-v' fft.c: In function 'fix_fft': fft.c:108:30: warning: array subscript is above array bounds [-Warray-bounds] wi = Sinewave[j]; ^ Using built-in specs. Reading specs from /usr/lib/gcc/avr/4.9.2/device-specs/specs-atmega328 COLLECT_GCC=avr-gcc Target: avr Configured with: ../src/configure -v --enable-languages=c,c++ --prefix=/usr/lib --infodir=/usr/share/info --mandir=/usr/share/man --bindir=/usr/bin --libexecdir=/usr/lib --libdir=/usr/lib --enable-shared --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --disable-libssp --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=avr CFLAGS='-g -O2 -fdebug-prefix-map=/tmp/buildd/gcc-avr-4.9.2+Atmel3.5.3=. -fstack-protector-strong -Wformat ' CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2' CXXFLAGS='-g -O2 -fdebug-prefix-map=/tmp/buildd/gcc-avr-4.9.2+Atmel3.5.3=. -fstack-protector-strong -Wformat ' FCFLAGS='-g -O2 -fdebug-prefix-map=/tmp/buildd/gcc-avr-4.9.2+Atmel3.5.3=. -fstack-protector-strong' FFLAGS='-g -O2 -fdebug-prefix-map=/tmp/buildd/gcc-avr-4.9.2+Atmel3.5.3=. -fstack-protector-strong' GCJFLAGS='-g -O2 -fdebug-prefix-map=/tmp/buildd/gcc-avr-4.9.2+Atmel3.5.3=. -fstack-protector-strong' LDFLAGS=-Wl,-z,relro OBJCFLAGS='-g -O2 -fdebug-prefix-map=/tmp/buildd/gcc-avr-4.9.2+Atmel3.5.3=. -fstack-protector-strong -Wformat ' OBJCXXFLAGS='-g -O2 -fdebug-prefix-map=/tmp/buildd/gcc-avr-4.9.2+Atmel3.5.3=. -fstack-protector-strong -Wformat ' Thread model: single gcc version 4.9.2 (GCC) COLLECT_GCC_OPTIONS='-Os' '-std=c99' '-Wextra' '-Wshadow' '-Wimplicit-function-declaration' '-Wredundant-decls' '-Wstrict-prototypes' '-ffunction-sections' '-fdata-sections' '-Wall' '-Wundef' '-c' '-o' 'fft-avr-16.o' '-D' 'MYINT=int16_t' '-v' '-specs=device-specs/specs-atmega328' '-mmcu=avr5' /usr/lib/gcc/avr/4.9.2/cc1 -quiet -v -imultilib avr5 -D__AVR_ATmega328__ -D__AVR_DEVICE_NAME__=atmega328 -D MYINT=int16_t fft.c -mn-flash=1 -mno-skip-bug -quiet -dumpbase fft.c -mmcu=avr5 -auxbase-strip fft-avr-16.o -Os -Wextra -Wshadow -Wimplicit-function-declaration -Wredundant-decls -Wstrict-prototypes -Wall -Wundef -std=c99 -version -ffunction-sections -fdata-sections -o /tmp/ccwqbnwl.s GNU C (GCC) version 4.9.2 (avr) compiled by GNU C version 6.2.0 20160914, GMP version 6.1.1, MPFR version 3.1.4-p2, MPC version 1.0.3 warning: GMP header version 6.1.1 differs from library version 6.1.2. warning: MPFR header version 3.1.4-p2 differs from library version 3.1.5. GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 ignoring nonexistent directory "/usr/lib/gcc/avr/4.9.2/../../../avr/sys-include" #include "..." search starts here: #include <...> search starts here: /usr/lib/gcc/avr/4.9.2/include /usr/lib/gcc/avr/4.9.2/include-fixed /usr/lib/gcc/avr/4.9.2/../../../avr/include End of search list. GNU C (GCC) version 4.9.2 (avr) compiled by GNU C version 6.2.0 20160914, GMP version 6.1.1, MPFR version 3.1.4-p2, MPC version 1.0.3 warning: GMP header version 6.1.1 differs from library version 6.1.2. warning: MPFR header version 3.1.4-p2 differs from library version 3.1.5. GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: ba8cdac8bd4d67ab2ce09cf8c753b1dd fft.c: In function ‘fix_fft’: fft.c:108:30: warning: array subscript is above array bounds [-Warray-bounds] wi = Sinewave[j]; ^ COLLECT_GCC_OPTIONS='-Os' '-std=c99' '-Wextra' '-Wshadow' '-Wimplicit-function-declaration' '-Wredundant-decls' '-Wstrict-prototypes' '-ffunction-sections' '-fdata-sections' '-Wall' '-Wundef' '-c' '-o' 'fft-avr-16.o' '-D' 'MYINT=int16_t' '-v' '-specs=device-specs/specs-atmega328' '-mmcu=avr5' /usr/lib/gcc/avr/4.9.2/../../../avr/bin/as -mmcu=avr5 -mno-skip-bug -o fft-avr-16.o /tmp/ccwqbnwl.s COMPILER_PATH=/usr/lib/gcc/avr/4.9.2/:/usr/lib/gcc/avr/4.9.2/:/usr/lib/gcc/avr/:/usr/lib/gcc/avr/4.9.2/:/usr/lib/gcc/avr/:/usr/lib/gcc/avr/4.9.2/../../../avr/bin/ LIBRARY_PATH=/usr/lib/gcc/avr/4.9.2/avr5/:/usr/lib/gcc/avr/4.9.2/../../../avr/lib/avr5/:/usr/lib/gcc/avr/4.9.2/:/usr/lib/gcc/avr/4.9.2/../../../avr/lib/ COLLECT_GCC_OPTIONS='-Os' '-std=c99' '-Wextra' '-Wshadow' '-Wimplicit-function-declaration' '-Wredundant-decls' '-Wstrict-prototypes' '-ffunction-sections' '-fdata-sections' '-Wall' '-Wundef' '-c' '-o' 'fft-avr-16.o' '-D' 'MYINT=int16_t' '-v' '-specs=device-specs/specs-atmega328' '-mmcu=avr5' fft.c: In function ‘fix_fft’: fft.c:108:30: warning: array subscript is above array bounds [-Warray-bounds] wi = Sinewave[j]; ^ text data bss dec hex filename 500 256 0 756 2f4 fft-arm-16.o 416 512 0 928 3a0 fft-arm-32.o 998 256 0 1254 4e6 fft-avr-16.o 1812 512 0 2324 914 fft-avr-32.o leo@cb:~/Projekte/STM32F103C8-gen-board/philips-vfd$