I've done some research on the differing binaries "problem". The ramstage and romstage binaries differ in linking order. The reason for that is linking in alphabetically sorted order, where the paths ".../variants/..." get sorted to the end, so the call becomse `i386-elf-ld.bfd ... buildOpts.o sema.o BiosCallOuts.o OemCustomize.o ...` instead of `i386-elf-ld.bfd ... BiosCallOuts-fr.o OemCustomize-fr.o buildOpts.o sema.o ...` now, resulting in a differently-ordered binary.

TL;DR +2

View Change

To view, visit change 43275. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I507229be71ac2c589c7ecd81495d38ce363d26a7
Gerrit-Change-Number: 43275
Gerrit-PatchSet: 6
Gerrit-Owner: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Martin Roth <martinroth@google.com>
Gerrit-Reviewer: Michael Niewöhner
Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-Comment-Date: Sun, 09 Aug 2020 10:32:56 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment