Paul Menzel uploaded patch set #11 to this change.

View Change

Makefile.inc: Add `-fno-pie` to `ADAFLAGS_common`

Building libgfxinit with Debian’s toolchain, latest test with *gnat-11*
11.2.0-13 from Debian sid/unstable, the build fails with the error
below.

E: Invalid reloc type: 10
E: Unable to create rmodule from 'build/cbfs/fallback/ramstage.debug'.

Debian’s toolchain is built without PIE:

$ grep pie /usr/share/lintian/overrides/gnat-11
gnat-11 binary: hardening-no-pie

So, explicitly pass `-fno-pie` to `ADAFLAGS_common` to be independent
from how the toolchain was built.

TEST=*gnat* 11.2.0-13 successfully. builds
purism/librem_cnl/variants/librem_mini with libgfxint.
Change-Id: I6661937906d95c130c6099f598d61b21e958fd85
Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
---
M Makefile.inc
M src/lib/gnat/Makefile.inc
2 files changed, 2 insertions(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/59/43759/11

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

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I6661937906d95c130c6099f598d61b21e958fd85
Gerrit-Change-Number: 43759
Gerrit-PatchSet: 11
Gerrit-Owner: Paul Menzel <paulepanter@mailbox.org>
Gerrit-Reviewer: Martin Roth - Personal <martinroth@google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-MessageType: newpatchset