Bug#867853: gcc: error: unrecognized command line option ‘-no-pie’
Brian Sammon
debian-bugs at brisammon.fastmail.fm
Sun Jul 9 22:12:07 UTC 2017
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
More information about the Pkg-haskell-maintainers
mailing list