Bug#862222: pawX11 crashes at start
Gilles Filippini
pini at debian.org
Sat May 13 15:46:43 UTC 2017
Control: tags -1 + patch
Hi,
On Wed, 10 May 2017 00:05:20 +0200 Simon <iceysimon at gmail.com> wrote:
> Package: paw
> Version: 1:2.14.04.dfsg.2-9+b2
> Severity: grave
> Justification: renders package unusable
>
> Dear Maintainer,
> on my machine the pawX11 executable crashes right on start with
> the error message:
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> LOCB/LOCF: address 0x557a8da31260 exceeds the 32 bit address space
> or is not in the data segments
> This may result in program crash or incorrect results
> Therefore we will stop here
> !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>
> Googling the problem leads to some very old site
> https://bugzilla.redhat.com/show_bug.cgi?id=241416
> claiming that gfortran build requires the flag -fno-automatic
> Could that have been dropped out at some point?
This is yet another effect of enabling PIE by default in gcc.
Please find attached a patch proposal.
Thanks,
_g.
-------------- next part --------------
diff -Nru paw-2.14.04.dfsg.2/debian/add-ons/Makefile paw-2.14.04.dfsg.2/debian/add-ons/Makefile
--- paw-2.14.04.dfsg.2/debian/add-ons/Makefile 2013-08-23 14:59:20.000000000 +0200
+++ paw-2.14.04.dfsg.2/debian/add-ons/Makefile 2017-05-13 14:42:44.000000000 +0200
@@ -28,9 +28,9 @@
cernlib-static:
set -e ; \
[ -d $(CERN_SHLIBDIR) ] || exit 0 ; \
- gfortran $(CERN_BUILDDIR)/pawlib/paw/programs/0pamain.o \
+ gfortran -no-pie $(CERN_BUILDDIR)/pawlib/paw/programs/0pamain.o \
`cernlib -G X11 pawlib` -Wl,-E -o $(CERN_BINDIR)/pawX11.static;\
- gfortran $(CERN_BUILDDIR)/pawlib/paw/programs/0pamainm.o \
+ gfortran -no-pie $(CERN_BUILDDIR)/pawlib/paw/programs/0pamainm.o \
`cernlib -G Motif pawlib` -Wl,-E -o $(CERN_BINDIR)/paw++.static
# target to install include files for development packages
diff -Nru paw-2.14.04.dfsg.2/debian/changelog paw-2.14.04.dfsg.2/debian/changelog
--- paw-2.14.04.dfsg.2/debian/changelog 2013-08-23 14:59:20.000000000 +0200
+++ paw-2.14.04.dfsg.2/debian/changelog 2017-05-13 14:42:44.000000000 +0200
@@ -1,3 +1,11 @@
+paw (1:2.14.04.dfsg.2-9.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload
+ * debian/add-ons/Makefile: build pawX11 and paw++ with -no-pie
+ (closes: #862222)
+
+ -- Gilles Filippini <pini at debian.org> Sat, 13 May 2017 14:42:44 +0200
+
paw (1:2.14.04.dfsg.2-9) unstable; urgency=low
* debian/control:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 508 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20170513/c48c5f9a/attachment.sig>
More information about the debian-science-maintainers
mailing list