bootlin / toolchains-builder

http://toolchains.free-electrons.com
89 stars 27 forks source link

build.sh: set cpu emulation to Nehalem for x86-64-core-i7 target #36

Closed RomainNaour closed 3 years ago

RomainNaour commented 3 years ago

It make sense to explicitely set the cpu type for x86-64-core-i7 target (like for mips32r5el or powerpc64-power8) otherwise the qemu emulation may not provide all assembler instruction emulation.

While testing x86-64-core-i7 with uclibc toolchain, we can't login due to invalid opcode in uClibc.

traps: rcS[46] trap invalid opcode ip:7f3adab9d8a6 sp:7ffc008529d0 error:0 in libuClibc-1.0.34.so[7f3adab9c000+52000]

Signed-off-by: Romain Naour romain.naour@gmail.com

RomainNaour commented 3 years ago

Here is the log from the toolchain-builder build:

https://toolchains.bootlin.com/downloads/testing/toolchains/x86-64-core-i7/boot_test_logs/x86-64-core-i7--uclibc--bleeding-edge-2020.08-1.log

tpetazzoni commented 3 years ago

Thanks, applied!