Patrick Georgi wrote:
Am 20.11.2013 15:33, schrieb Tcendrovskii Vladislav:
src/mainboard/gigabyte/ma785gmt/romstage.c:220:1: error: bp cannot be used in asm here
I've tried gcc-4.4, gcc-4.8
This is a known issue with gcc-4.8 and 4.9. 4.4 should work - or at least present a different issue, but certainly not this one. You might have to delete .xcompile when switching compilers.
If build with clang
clang support isn't complete yet.
If in doubt, use our cross compiler: make crossgcc (and then wait until it builds the compilers).
Patrick
I've tried to start from the beginning with gcc 4.7
Warning: no suitable GCC for x86. Warning: no suitable GCC for armv7. Warning: no suitable GCC for aarch64. # # configuration written to .config #
*** End of coreboot configuration. *** Execute 'make' to build or try 'make help'.
$ make
bin/sh: -print-libgcc-file-name: команда не найдена /bin/sh: -print-libgcc-file-name: команда не найдена HOSTCC nvramtool/cli/nvramtool.o HOSTCC nvramtool/cli/opts.o HOSTCC nvramtool/cmos_lowlevel.o HOSTCC nvramtool/cmos_ops.o HOSTCC nvramtool/common.o HOSTCC nvramtool/compute_ip_checksum.o HOSTCC nvramtool/hexdump.o HOSTCC nvramtool/input_file.o HOSTCC nvramtool/layout.o HOSTCC nvramtool/accessors/layout-common.o HOSTCC nvramtool/accessors/layout-text.o HOSTCC nvramtool/accessors/layout-bin.o HOSTCC nvramtool/lbtable.o HOSTCC nvramtool/reg_expr.o HOSTCC nvramtool/cbfs.o HOSTCC nvramtool/accessors/cmos-mem.o HOSTCC nvramtool/nvramtool (link) OPTION option_table.h /bin/sh: --version: команда не найдена /bin/sh: --version: команда не найдена /bin/sh: --version: команда не найдена GEN build.h CC romstage.inc make: MMD: Команда не найдена POST romstage.inc sed: невозможно прочитать build/mainboard/gigabyte/ma785gmt/romstage.pre.inc: Нет такого файла или каталога make: *** [build/mainboard/gigabyte/ma785gmt/romstage.inc] Ошибка 2
$ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.7.3-8' --with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs --enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.7 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-gnu-unique-object --enable-plugin --with-system-zlib --enable-objc-gc --enable-multiarch --with-arch-32=i586 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.7.3 (Debian 4.7.3-8)
Vladislav