Your message dated Sun, 12 Nov 2023 13:23:21 +0200
with message-id <20231112112321.572wwksg35yn2...@iliastsi.net>
and subject line Re: gcc: error: unrecognized command line option ‘-no-pie’
has caused the Debian Bug report #867853,
regarding gcc: error: unrecognized command line option ‘-no-pie’
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
867853: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=867853
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: ghc
Version: 8.0.1-17
Severity: important
The ghc package needs tighter dependencies against gcc and gcc-5 :
When I'm using old versions of gcc, I get the following error message when
ghc tries to do the link phase:
Linking test ...
gcc: error: unrecognized command line option ‘-no-pie’
`gcc' failed in phase `Linker'. (Exit code: 1)
(in all 3 cases, gcc-4 package is installed and all dependencies satisfied)
With gcc at 4.9.2-4 and gcc-5 at 5.3.1-15, I get the error
With gcc at 5-0 and gcc-5 at 5.2.1-23, I get the error
With gcc at 5-0 and gcc-5 at 5.3.1-15, it succeeds in building the
executable
-- System Information:
Debian Release: 7.7
APT prefers stable
APT policy: (990, 'stable'), (990, 'oldstable')
Architecture: i386 (i686)
Kernel: Linux 3.16.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages ghc depends on:
ii dpkg 1.17.27
ii gcc 4:4.9.2-4
ii libbsd-dev 0.7.0-2
ii libc6 2.23-5
ii libc6-dev 2.23-5
ii libffi-dev 3.1-2+b2
ii libffi6 3.1-2+b2
ii libgmp-dev 2:6.0.0+dfsg-6
ii libgmp10 2:6.0.0+dfsg-6
ii libncurses5-dev 6.0+20160625-1
ii libtinfo5 6.0+20160625-1
ghc recommends no packages.
Versions of packages ghc suggests:
ii ghc-doc 8.0.1-17
pn ghc-prof <none>
pn haskell-doc <none>
pn llvm-3.7 <none>
ii perl 5.20.2-3+deb8u6
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 8.4.4+dfsg1-3
On Fri, Aug 11, 2017 at 10:13AM, Gianfranco Costamagna wrote:
> control: forcemerge 871740 867853
>
> > Okay, I'll take this to mean that if I submit a working/useful patch,
> > you'll
> > apply it. I'll get to work on that.
>
> consider that: gcc-5 is not part of any Debian stable release, and gcc-4.9 is
> has been part of jessie for a while, but
> jessie was released already with a pie one.
> So, this is in fact affecting no stable or unstable release.
>
> We might add a versioned conflict, and drop it after some months, even if I
> don't know how much we will solve with that
> (also the opposite won't probably work, older ghc and newer gcc
Closing this bug report due to inactivity, since all GCC versions now
available in Debian support the '-no-pie' flag.
--
Ilias
--- End Message ---