[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#856224: gcc-6: Please enable PIE on ppc64



Source: gcc-6
Version: 6.3.0-8
Severity: normal
User: debian-powerpc@lists.debian.org
Usertags: ppc64

Hi!

Since PIE is currently disabled on ppc64, gcc-6 emits the following
warning during build:

  g++: note: pie specs /usr/share/dpkg/pie-compile.specs ignored when pie is not enabled

Unfortunately, this breaks the testsuites of packages like cmake for
which the warning is unexpected output when evaluating the test
suite.

For example:

  Expected stderr to match:

   expect-err> ^$

  Actual stderr:

   actual-err> c++: note: pie specs /usr/share/dpkg/pie-compile.specs ignored when pie is not enabled
   actual-err> c++: note: pie specs /usr/share/dpkg/pie-compile.specs ignored when pie is not enabled
   actual-err> c++: note: pie specs /usr/share/dpkg/pie-link.specs ignored when pie is not enabled

Since PIE is already enabled for ppc64el, I think we should also enable
it for ppc64 to mitigate this problem.

Thanks,
Adrian

> [1] https://buildd.debian.org/status/fetch.php?pkg=cmake&arch=ppc64&ver=3.7.2-1&stamp=1488126538&raw=0

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: