Debian Bug report logs -
#837487
gprolog: FTBFS with bindnow and PIE enabled
Reported by: Balint Reczey <balint@balintreczey.hu>
Date: Sun, 11 Sep 2016 23:03:02 UTC
Severity: serious
Tags: patch, sid, stretch
Found in version gprolog/1.3.0-6.1
Fixed in version gprolog/1.3.0-6.2
Done: Andrey Rahmatullin <wrar@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Salvador Abreu <spa@debian.org>:
Bug#837487; Package src:gprolog.
(Sun, 11 Sep 2016 23:03:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Balint Reczey <balint@balintreczey.hu>:
New Bug report received and forwarded. Copy sent to Salvador Abreu <spa@debian.org>.
(Sun, 11 Sep 2016 23:03:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Source: gprolog
Version: 1.3.0-6.1
Severity: important
User: balint@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):
...
gplc -o pl2wam --no-fd-lib --min-bips pl2wam.o read_file.o bip_list.o
syn_sugar.o internal.o code_gen.
o reg_alloc.o inst_codif.o first_arg.o indexing.o wam_emit.o
/usr/bin/ld: pl2wam.o: relocation R_predicate(<86>/64)_32S against
`.text' can not be used when making
a shared object; recompile with -fPIC
/usr/bin/ld: read_file.o: relocation R_predicate(<86>/64)_32S against
`.text' can not be used when mak
ing a shared object; recompile with -fPIC
...
The full build log is available from:
https://people.debian.org/~rbalint/build-logs/pie-bindnow-20160906/gprolog_1.3.0-6.1_amd64.build.gz
Thanks,
Balint
Severity set to 'serious' from 'important'
Request was from Adrian Bunk <bunk@stusta.de>
to control@bugs.debian.org.
(Fri, 21 Oct 2016 15:33:23 GMT) (full text, mbox, link).
Added tag(s) sid and stretch.
Request was from Andreas Beckmann <anbe@debian.org>
to control@bugs.debian.org.
(Wed, 26 Oct 2016 22:48:05 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Salvador Abreu <spa@debian.org>:
Bug#837487; Package src:gprolog.
(Thu, 10 Nov 2016 09:27:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Adrian Bunk <bunk@stusta.de>:
Extra info received and forwarded to list. Copy sent to Salvador Abreu <spa@debian.org>.
(Thu, 10 Nov 2016 09:27:05 GMT) (full text, mbox, link).
Message #14 received at 837487@bugs.debian.org (full text, mbox, reply):
Control: tags -1 patch
The gprolog PIE FTBFS can be fixed with the following change that
disables PIE:
--- debian/rules.old 2016-11-10 09:11:59.000000000 +0000
+++ debian/rules 2016-11-10 09:14:40.000000000 +0000
@@ -31,8 +31,9 @@
SRCDIR=src
DBGFLAGS=-g
-DBGFLAGS=-O3 -fomit-frame-pointer
+DBGFLAGS=-O3 -fomit-frame-pointer -no-pie
BCFLAGS=-funsigned-char
+export LDFLAGS=-no-pie
# =============================================================================
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
Added tag(s) patch.
Request was from Adrian Bunk <bunk@stusta.de>
to 837487-submit@bugs.debian.org.
(Thu, 10 Nov 2016 09:27:05 GMT) (full text, mbox, link).
Reply sent
to Andrey Rahmatullin <wrar@debian.org>:
You have taken responsibility.
(Fri, 02 Dec 2016 21:06:26 GMT) (full text, mbox, link).
Notification sent
to Balint Reczey <balint@balintreczey.hu>:
Bug acknowledged by developer.
(Fri, 02 Dec 2016 21:06:26 GMT) (full text, mbox, link).
Message #21 received at 837487-close@bugs.debian.org (full text, mbox, reply):
Source: gprolog
Source-Version: 1.3.0-6.2
We believe that the bug you reported is fixed in the latest version of
gprolog, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 837487@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andrey Rahmatullin <wrar@debian.org> (supplier of updated gprolog package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 02 Dec 2016 00:22:48 +0500
Source: gprolog
Binary: gprolog gprolog-doc
Architecture: source
Version: 1.3.0-6.2
Distribution: unstable
Urgency: medium
Maintainer: Salvador Abreu <spa@debian.org>
Changed-By: Andrey Rahmatullin <wrar@debian.org>
Description:
gprolog - GNU Prolog compiler
gprolog-doc - documentation for the GNU Prolog compiler
Closes: 462668 731674 837487
Changes:
gprolog (1.3.0-6.2) unstable; urgency=medium
.
* Non-maintainer upload.
* Fix FTBFS with PIE enabled (Closes: #837487).
* Drop the menu file.
* Add powerpcspe to the arch list (Closes: #731674).
* Fix texlive B-D and move them to B-D-Indep (Closes: #462668).
* Enable compiling with -g.
* Use ${misc:Depends}.
Checksums-Sha1:
cc737455d0d95f57caab07a6b8adf12892011330 1997 gprolog_1.3.0-6.2.dsc
6cb295db6d8319c74c4d2846ac8739d924a06f32 50188 gprolog_1.3.0-6.2.debian.tar.xz
Checksums-Sha256:
8d236d3daf1571bb99afcf541a73cbfb7bbebd3c63733ce28ecace330be8294a 1997 gprolog_1.3.0-6.2.dsc
65650a74139de584c59a77e8da97b6235868c0f635a2f5a8e38f9640cd859d4f 50188 gprolog_1.3.0-6.2.debian.tar.xz
Files:
39b50ea073fc74a72b622a5636cb0b92 1997 devel optional gprolog_1.3.0-6.2.dsc
4fae0fc5fe4a285b3cdbe1cf6d3a9aef 50188 devel optional gprolog_1.3.0-6.2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAlhAgkkACgkQM2L3AxpJ
kuE87w/+Kfys8XADdkglkoA8lcSjHQaG9WUMMSaZatvw9t1tZZUJiwrAB5GQ5ugW
BmffgD+t5NxhtQ83YStroLm20UNetsl7k8LN410phwetoVVsibG4PBV+At5Tv16y
Zr4UKYg+MkvluPHqDJYXHdFOE/McYTTy16LYuSo+jo1nM5ZCq96qx2wXVCQUN3oV
HGA24xVNkj/Dp5xpK0BUhEbLlhIwAmibIlCMEhTwCJVZV0gNnfpP7imrqQUY9kLl
0NbErMs40VuvIbX85o+XIzybChaqBriOCYfIqobtXZfptgLGADFx0yKjQyAaPY5E
hVQQouwqQYvzEBSONQKQivWcHflt9r0RA2Ih0vvxF6qlhpmQjed6ai9owltqQwTW
qM6XadhEanzzqwcyNdiWxpnxXOEOGPq1CT6kLGYLSg9Xo20sxZWxVL7o9XeEUXl0
F1vz7Y8DqYaAKc5NamJFmsl9g7XUUm8QxtbHQVGh/IVk4FfR6qouYgBJLukYVYqf
tGTlgjqEk8ia5rXAraCWnZmOSb28cwM83lOYagYsSlfLk9Ijvc0fbgIJe+gGbZ0x
Yp/ixtFmbn68hqy2oSK8VRUUl4Xindlz/eZox8g0rEAnLJoLOcP106ZK8TrY/6xV
brMQSMlPHx7t+94v19j5fshBS0PSu82HSL5rw21sr3pU42R2qxQ=
=3/VJ
-----END PGP SIGNATURE-----
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Fri, 27 Jan 2017 11:39:27 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sat Jul 1 15:22:11 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.