From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Thu, 9 Aug 2018 17:54:14 +0800 Subject: [U-Boot] [PATCH v1] Makefile: Don't generate position independent code In-Reply-To: References: <20180806160022.43698-1-andriy.shevchenko@linux.intel.com> <97deab69fc2705e77d5741a5431db29c9bcc3e2a.camel@linux.intel.com> <13b1516b08a295dfbbd39f4fbd1f3c42bb233bcc.camel@linux.intel.com> <0bcaf506-03cc-4887-ade1-97159bcede65@gmx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Andy, On Thu, Aug 9, 2018 at 5:43 PM, Andy Shevchenko wrote: > On Mon, Aug 6, 2018 at 10:49 PM, Andy Shevchenko > wrote: >> On Mon, Aug 6, 2018 at 10:40 PM, Heinrich Schuchardt wrote: >>> On 08/06/2018 08:55 PM, Andy Shevchenko wrote: >>>> On Mon, 2018-08-06 at 19:32 +0200, Heinrich Schuchardt wrote: >>>>> On 08/06/2018 07:11 PM, Andy Shevchenko wrote: >>>>>> On Mon, 2018-08-06 at 18:56 +0200, Heinrich Schuchardt wrote: >>>>>>> On 08/06/2018 06:00 PM, Andy Shevchenko wrote: >>>>>>>> Fix all these by disabling PIE on Makefile level. >>>>>>> With the patch building with gcc-8.1 works on i386. >>>>>> >>>>>> Does it mean you are actually run it and it works? >>>> >>>> Can you confirm that binary you got is working for you? >>> >>> I can start qemu-x86_defconfig and run bootefi selftest with your patch. >>> >>> odroid-c2_defconfig can boot both with either booti or bootefi with your >>> patch. >> >> Thanks for testing! > > Bin, can we get this applied? For now (*) it's a bit of burden to run > make CC=gcc-7 each time I would like U-Boot to be built. > This was not assigned to me in patchwork. But yes, I can take this one via the x86 tree. Heinrich, I assume I can add your "Tested-by" tag since from patchwork I don't see this patch has any tags associated. Let me know if this is OK. > (*) It seems Debian (-like) distros, one of which we are using as an > OS on build machines, switched to gcc-8 by default and this is a > problem for native compilation. > > -- Regards, Bin