Bug#837712: xemacs21: FTBFS with bindnow and PIE enabled

2016-09-16 Thread Bálint Réczey
Hi Mark,

2016-09-16 12:54 GMT+02:00 Mark Brown :
> On Tue, Sep 13, 2016 at 09:25:13PM +0200, Balint Reczey wrote:
>
>> For more information about the changes to sid's dpkg and GCC please
>> visit:
>>  https://wiki.debian.org/Hardening/PIEByDefaultTransition
>
> You've not provided any instructions for reproducing this problem :(

I host a repository with the latest patched GCC 6 and dpkg here:
https://people.debian.org/~rbalint/ppa/pie-bindnow/

I ran the builds with sbuild adding the repository:
sbuild -As -j1 --arch=amd64 -d unstable  --extra-repository="deb
https://people.debian.org/~rbalint/ppa/pie-bindnow
pie-bindnow-unstable/" xemacs_*.dsc

At the moment a new GCC 6 ( 6.2.0-4 ) got uploaded to unstable and it
takes a few more hours to update my repo with a patched version.
I think you can still reproduce the problem on testing since it the
patched gcc ( 6.2.0-3+rbalint0 ) has higher version than the one in
testing.

Cheers,
Balint



Bug#837712: xemacs21: FTBFS with bindnow and PIE enabled

2016-09-16 Thread Mark Brown
On Tue, Sep 13, 2016 at 09:25:13PM +0200, Balint Reczey wrote:

> For more information about the changes to sid's dpkg and GCC please
> visit:
>  https://wiki.debian.org/Hardening/PIEByDefaultTransition

You've not provided any instructions for reproducing this problem :(


signature.asc
Description: PGP signature


Bug#837712: xemacs21: FTBFS with bindnow and PIE enabled

2016-09-13 Thread Balint Reczey
Source: xemacs21
Version: 21.4.24-2
Severity: important
User: bal...@balintreczey.hu
Usertags: pie-bindnow-20160906
Justification: FTBFS on amd64 with extra hardening

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64 with patched GCC and dpkg.

The rebuild tested if packages are ready for a transition
enabling PIE and bindnow for amd64.

For more information about the changes to sid's dpkg and GCC please
visit:
 https://wiki.debian.org/Hardening/PIEByDefaultTransition

Relevant part (hopefully):
...
Loading /<>/lisp/loadhist.elc...
Loading /<>/lisp/loaddefs.elc...
Loading site-load...
Finding pointers to doc strings...
Finding pointers to doc strings...done
Dumping under the name xemacs
Testing for Lisp shadows ...
GNUmakefile:103: recipe for target 'xemacs.dmp' failed
make[3]: *** [xemacs.dmp] Segmentation fault
make[3]: *** Deleting file 'xemacs.dmp'
...

The full build log is available from:
 
https://people.debian.org/~lucas/logs/2016/08/30/pie-bindnow-20160830/with-pie-bindnow/xemacs21_21.4.24-2_unstable_pie-bindnow.log.gz

The patch used in Ubuntu disabling PIE probably fixes the problem.

Thanks,
Balint