Attention is currently required from: Raul Rangel, Stefan Reinauer, Julius Werner, Jacob Garber, Iru Cai, Elyes Haouas.
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/40811 )
Change subject: arch,toolchain,xcompile: Use GCC as linker
......................................................................
Patch Set 11:
(2 comments)
Patchset:
PS10:
it would fix the build
Patch set 11 (reverting removed hunk, and replacing spaces by comma) fixed the GCC build issues. (clang build issue still remains.)
Patchset:
PS11:
Using clang it fails with:
/usr/bin/ld: relocatable linking with relocations from format elf32-i386 (/cb-build/coreboot-gerrit.0/clang/AMD_GARDENIA/smm/mainboard/amd/gardenia/static.o) to format elf64-x86-64 (/cb-build/coreboot-gerrit.0/clang/AMD_GARDENIA/smm/smm.o) is not supported
clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [src/cpu/x86/smm/Makefile.inc:18: /cb-build/coreboot-gerrit.0/clang/AMD_GARDENIA/smm/smm.o] Error 1
Arthur suggested to add something like `-march=i386` to the cflags.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/40811
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ia551cf84c8f6eb3b010450fc572876a318a257d1
Gerrit-Change-Number: 40811
Gerrit-PatchSet: 11
Gerrit-Owner: Jacob Garber
jgarber1@ualberta.ca
Gerrit-Reviewer: Iru Cai
mytbk920423@gmail.com
Gerrit-Reviewer: Julius Werner
jwerner@chromium.org
Gerrit-Reviewer: Martin L Roth
gaumless@gmail.com
Gerrit-Reviewer: Michael Niewöhner
foss@mniewoehner.de
Gerrit-Reviewer: Paul Menzel
paulepanter@mailbox.org
Gerrit-Reviewer: Philipp Hug
philipp@hug.cx
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-Reviewer: ron minnich
rminnich@gmail.com
Gerrit-CC: Arthur Heymans
arthur@aheymans.xyz
Gerrit-CC: Elyes Haouas
ehaouas@noos.fr
Gerrit-CC: Keith Hui
buurin@gmail.com
Gerrit-CC: Raul Rangel
rrangel@chromium.org
Gerrit-CC: Stefan Reinauer
stefan.reinauer@coreboot.org
Gerrit-Attention: Raul Rangel
rrangel@chromium.org
Gerrit-Attention: Stefan Reinauer
stefan.reinauer@coreboot.org
Gerrit-Attention: Julius Werner
jwerner@chromium.org
Gerrit-Attention: Jacob Garber
jgarber1@ualberta.ca
Gerrit-Attention: Iru Cai
mytbk920423@gmail.com
Gerrit-Attention: Elyes Haouas
ehaouas@noos.fr
Gerrit-Comment-Date: Tue, 10 Jan 2023 18:04:58 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Paul Menzel
paulepanter@mailbox.org
Comment-In-Reply-To: Elyes Haouas
ehaouas@noos.fr
Gerrit-MessageType: comment