Your message dated Mon, 10 Jul 2017 06:50:04 +0000 (UTC)
with message-id <[email protected]>
and subject line Re: Bug#867853: 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 [email protected]
immediately.)


-- 
867853: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=867853
Debian Bug Tracking System
Contact [email protected] 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 ---
Hello Brian,
>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


I guess it is better to patch older gccs to understand such flag and give
no-op in this case.
There is no point in:
1) fixing the whole archive for a gcc-specific change
2) using ghc with older, unsupported compilers.

Please upgrade them, or open bugs against them to have no-op patches in case of
-no-pie.

thanks!
(feel free to reopen in case you don't agree, of course)

G.

--- End Message ---

Reply via email to