Arthur Heymans has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/80337?usp=email )
Change subject: cpu/x86: Link page tables in stage if possible ......................................................................
Patch Set 22:
(1 comment)
Patchset:
PS22:
Thankyou @arthur. Above mentioned patch was not part of the build as it is not yet mirrored to the chromium repo. Tried adding it still failed. Then added a fixed number as suggested then it is building. https://review.coreboot.org/c/coreboot/+/81680
we have filled an internal bug as well b/332445618 to follow on the fix.
HI Arthur,
I am reaching out to you today to inquire about the possibility of finding a solution to the section region overlapping issue without having to update the linker version.
Do you have any suggestions for a similar or better solution?
https://review.coreboot.org/c/coreboot/+/81680/1/src/arch/x86/bootblock.ld
Our current efforts have been stymied by a cyclical dependency between updating the binutil from 2.37 to 2.4x within the chromium code repo. The most recent version of binutil is causing FSP build regressions in 32-bit mode. Unless the Intel/EDK2 team can debug and resolve this issue, we may not be able to update the linker. As a result, we will continue to experience the section overlapping issue. Please let me know your thoughts on this matter.
We are working to update the linker within the chromium build, and once that has been completed, we can revert the proposed W/A CL. However, until then, we must find a solution in order to make progress.
Add a Kconfig for a workaround that adds a fixed number to PROGRAM_SZ that makes all your builds succeed?