Re: [PATCH 2/2] build: Disable PIE in TARGET_CCASFLAGS if needed

2020-02-25 Thread John Paul Adrian Glaubitz
On 2/25/20 11:58 AM, Paul Menzel wrote: >> PIE should be disabled in assembly sources as well, or else grub will >> fail to boot. > > Could you please extend this with the list, on what architectures it > fails to boot? It seems to work on x86, doesn’t it? This issue has been observed on SPARC onl

Re: [PATCH 2/2] build: Disable PIE in TARGET_CCASFLAGS if needed

2020-02-25 Thread Paul Menzel
Dear Matt, Thank you for upstreaming the patches. On 2020-02-20 07:51, Matt Turner wrote: > From: Mike Gilbert > > PIE should be disabled in assembly sources as well, or else grub will > fail to boot. Could you please extend this with the list, on what architectures it fails to boot? It seems

Re: [PATCH 2/2] build: Disable PIE in TARGET_CCASFLAGS if needed

2020-02-23 Thread John Paul Adrian Glaubitz
On 2/20/20 7:51 AM, Matt Turner wrote: > From: Mike Gilbert > > PIE should be disabled in assembly sources as well, or else grub will > fail to boot. > > Bug: https://bugs.gentoo.org/667852 > --- > configure.ac | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/configure.ac b/configure.a

Re: [PATCH 2/2] build: Disable PIE in TARGET_CCASFLAGS if needed

2020-02-20 Thread John Paul Adrian Glaubitz
Hi Mike! On 2/20/20 7:51 AM, Matt Turner wrote: > PIE should be disabled in assembly sources as well, or else grub will > fail to boot. Indeed. We have always passed -fno-PIE on Debian/sparc64 in the debian/rules file to TARGET_CCASFLAGS, but it makes more sense to fix the issue in the configure.

[PATCH 2/2] build: Disable PIE in TARGET_CCASFLAGS if needed

2020-02-19 Thread Matt Turner
From: Mike Gilbert PIE should be disabled in assembly sources as well, or else grub will fail to boot. Bug: https://bugs.gentoo.org/667852 --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index b5e31c787..e2c783652 100644 --- a/configure.ac +++ b/