Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed

Conversation

RomainNaour
Copy link
Contributor

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

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
Copy link
Contributor Author

@tpetazzoni
Copy link
Contributor

Thanks, applied!

@tpetazzoni tpetazzoni closed this Sep 28, 2020
@RomainNaour RomainNaour deleted the x86-64-core-i7-uclibc-gcc-10 branch March 2, 2021 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants