From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Shevchenko Date: Thu, 9 Aug 2018 12:43:55 +0300 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 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. (*) 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. -- With Best Regards, Andy Shevchenko