Hello Idwer,
Which version of python are you using here? My build box uses 2.7.6
I am using the default versions of tools that come with CentOS 6.5 so host gcc is version 4.4.7 and Python is version 2.6.6.
I fired up my old 32bit Debian box which has Python 2.6.2 and host gcc version and it builds the same default coreboot configuration without any problems - albeit slowly as it is a single core 1.2GHz machine!
The command that fails is:
/home/andy.pont/Software/coreboot/util/crossgcc/xgcc/bin/iasl -Pn -vs -l -tc -p /home/andy.pont/Software/coreboot/build/seabios/out/acpi-dsdt /home/andy.pont/Software/coreboot/build/seabios/out/acpi-dsdt.dsl.i
Which generates:
Error 6092 - Could not open file "(null)" (Permission denied)
Playing about with this command on the command line removing the -p /home/andy.pont/Software/coreboot/build/seabios/out/acpi-dsdt option will make the command execute correctly.
Can you show the content of .xcompile, found in the top directory where you cloned coreboot into?
.xcompile is as follows:
=================== START ===================
# x86 TARCH_SEARCH= /home/andy.pont/Software/coreboot/util/crossgcc/xgcc/bin/i386-elf- i386-elf- i386-linux-gnu- /home/andy.pont/Software/coreboot/util/crossgcc/xgcc/bin/i386-eabi- i386-eabi- /home/andy.pont/Software/coreboot/util/crossgcc/xgcc/bin/x86_64-elf- x86_64-elf- x86_64-linux-gnu- /home/andy.pont/Software/coreboot/util/crossgcc/xgcc/bin/x86_64-eabi- x86_64-eabi- # elf32-i386 toolchain (/home/andy.pont/Software/coreboot/util/crossgcc/xgcc/bin/i386-elf-gcc) CC_i386:=/home/andy.pont/Software/coreboot/util/crossgcc/xgcc/bin/i386-elf-g cc -Wno-unused-but-set-variable -Wa,--divide -fno-stack-protector -Wl,--build-id=none CPP_i386:=/home/andy.pont/Software/coreboot/util/crossgcc/xgcc/bin/i386-elf- cpp AS_i386:=/home/andy.pont/Software/coreboot/util/crossgcc/xgcc/bin/i386-elf-a s LD_i386:=/home/andy.pont/Software/coreboot/util/crossgcc/xgcc/bin/i386-elf-l d NM_i386:=/home/andy.pont/Software/coreboot/util/crossgcc/xgcc/bin/i386-elf-n m OBJCOPY_i386:=/home/andy.pont/Software/coreboot/util/crossgcc/xgcc/bin/i386- elf-objcopy OBJDUMP_i386:=/home/andy.pont/Software/coreboot/util/crossgcc/xgcc/bin/i386- elf-objdump READELF_i386:=/home/andy.pont/Software/coreboot/util/crossgcc/xgcc/bin/i386- elf-readelf STRIP_i386:=/home/andy.pont/Software/coreboot/util/crossgcc/xgcc/bin/i386-el f-strip AR_i386:=/home/andy.pont/Software/coreboot/util/crossgcc/xgcc/bin/i386-elf-a r
# armv7 TARCH_SEARCH= /home/andy.pont/Software/coreboot/util/crossgcc/xgcc/bin/armv7a-elf- armv7a-elf- armv7a-linux-gnu- /home/andy.pont/Software/coreboot/util/crossgcc/xgcc/bin/armv7a-eabi- armv7a-eabi- /home/andy.pont/Software/coreboot/util/crossgcc/xgcc/bin/armv7-a-elf- armv7-a-elf- armv7-a-linux-gnu- /home/andy.pont/Software/coreboot/util/crossgcc/xgcc/bin/armv7-a-eabi- armv7-a-eabi- # elf32-littlearm toolchain (/home/andy.pont/Software/coreboot/util/crossgcc/xgcc/bin/armv7-a-eabi-gcc) CC_armv7:=/home/andy.pont/Software/coreboot/util/crossgcc/xgcc/bin/armv7-a-e abi-gcc -Wno-unused-but-set-variable -fno-stack-protector -Wl,--build-id=none CPP_armv7:=/home/andy.pont/Software/coreboot/util/crossgcc/xgcc/bin/armv7-a- eabi-cpp AS_armv7:=/home/andy.pont/Software/coreboot/util/crossgcc/xgcc/bin/armv7-a-e abi-as LD_armv7:=/home/andy.pont/Software/coreboot/util/crossgcc/xgcc/bin/armv7-a-e abi-ld NM_armv7:=/home/andy.pont/Software/coreboot/util/crossgcc/xgcc/bin/armv7-a-e abi-nm OBJCOPY_armv7:=/home/andy.pont/Software/coreboot/util/crossgcc/xgcc/bin/armv 7-a-eabi-objcopy OBJDUMP_armv7:=/home/andy.pont/Software/coreboot/util/crossgcc/xgcc/bin/armv 7-a-eabi-objdump READELF_armv7:=/home/andy.pont/Software/coreboot/util/crossgcc/xgcc/bin/armv 7-a-eabi-readelf STRIP_armv7:=/home/andy.pont/Software/coreboot/util/crossgcc/xgcc/bin/armv7- a-eabi-strip AR_armv7:=/home/andy.pont/Software/coreboot/util/crossgcc/xgcc/bin/armv7-a-e abi-ar
# aarch64 TARCH_SEARCH= /home/andy.pont/Software/coreboot/util/crossgcc/xgcc/bin/aarch64-elf- aarch64-elf- aarch64-linux-gnu- /home/andy.pont/Software/coreboot/util/crossgcc/xgcc/bin/aarch64-eabi- aarch64-eabi- IASL:=/home/andy.pont/Software/coreboot/util/crossgcc/xgcc/bin/iasl
# native toolchain HOSTCC:=gcc
=================== END ===================
I have noticed that whenever I call make it gives a warning about not having a compiler for aarch64-elf and also complains about not having an IASL compiler and suggesting that I install the one that comes with CentOS.
Thanks,
Andy.