Subject: bug#24682: 26.0.50; Bootstrap failed

From: Eli Zaretskii <[email-masked]>
Date: Sat, 15 Oct 2016 10:23:34 +0300

> From: Cesar Quiroz <[email-masked]>
> Date: Fri, 14 Oct 2016 23:39:12 -0700
> 
> 16.10 has modified gcc to compile with -pie by default. That just must get in the way of unexec.
> 
> Search "gcc" in https://wiki.ubuntu.com/YakketyYak/ReleaseNotes, 
> 
> I have tried this successfully (both emacs-25 and master):
> 
> 1. in the git workdir:
> 
> $ ./autogen.sh
> 
> 2. in the build directory:
> 
> $ ...../configure CFLAGS=-no-pie <other configure options>
> 
> and the binaries built fine.

Thanks.  I guess this means we should inject -no-pie into CFLAGS on
affected systems?

> On topic, it would be nice if there was a string in the binary that told one how the $(config.status --config), so
> one could (more) easily rebuild a binary. Something like a function (emacs-configure-options).

Don't you have that in config.log?