Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 714090 - dev-lang/ghc-8.0.2 : cc1: error: ‘-Wformat-security’ ignored without ‘-Wformat’ [-Werror=format-security]
Summary: dev-lang/ghc-8.0.2 : cc1: error: ‘-Wformat-security’ ignored without ‘-Wforma...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: format-security
  Show dependency tree
 
Reported: 2020-03-23 17:00 UTC by Toralf Förster
Modified: 2020-03-27 09:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,14.98 KB, text/plain)
2020-03-23 17:00 UTC, Toralf Förster
Details
dev-lang:ghc-8.0.2:20200323-154451.log.bz2 (dev-lang:ghc-8.0.2:20200323-154451.log.bz2,76.71 KB, application/x-bzip)
2020-03-23 17:00 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,16.52 KB, text/plain)
2020-03-23 17:00 UTC, Toralf Förster
Details
environment (environment,145.49 KB, text/plain)
2020-03-23 17:00 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.63 KB, application/x-bzip)
2020-03-23 17:00 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,32.14 KB, application/x-bzip)
2020-03-23 17:00 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,115.52 KB, application/x-bzip)
2020-03-23 17:00 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-03-23 17:00:37 UTC
x86_64-pc-linux-gnu-gcc -E  -DPROFILING -DTHREADED_RTS -DDEBUG  -fno-stack-protector -O2 -pipe -march=native -Werror=format-security -march=native -march=native -no-pie -Wall  -Wall -Wextra -Wstrict-prototypes  -Wmissing-prototypes  -Wmissing-declarations -Winline -Waggregate-return -Wpointer-arith -Wmissing-noreturn -Wnested-externs -Wredundant-decls  -Iincludes -Iincludes/dist -Iincludes/dist-derivedconstants/header -Iincludes/dist-ghcconstants/header -Irts -Irts/dist/build -DCOMPILING_RTS -fno-strict-aliasing -fno-common -Irts/dist/build/autogen       -Werror=unused-but-set-variable -Wno-error=inline -O2 -fomit-frame-pointer -g -DRtsWay=\rts_v\ -Wno-strict-prototypes -I/usr/lib64/libffi/include   -Wno-format -MM -x c rts/RetainerSet.c -MF rts/dist/build/.depend-v-p-dyn-l-debug-thr-thr_debug-thr_l-thr_p-debug_dyn-thr_dyn-thr_debug_dyn-l_dyn-thr_l_dyn.c_asm.bit
cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security]

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-libressl-20200323-071630

  -------------------------------------------------------------------

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.0 *
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon 23 Mar 2020 02:43:11 PM UTC
/var/db/repos/libressl	Thu 19 Mar 2020 04:37:24 PM UTC

emerge -qpvO dev-lang/ghc
[ebuild  N    ] dev-lang/ghc-8.0.2  USE="gmp profile -binary -doc -ghcbootstrap -ghcmakebinary"
Comment 1 Toralf Förster gentoo-dev 2020-03-23 17:00:40 UTC
Created attachment 624726 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-23 17:00:43 UTC
Created attachment 624728 [details]
dev-lang:ghc-8.0.2:20200323-154451.log.bz2
Comment 3 Toralf Förster gentoo-dev 2020-03-23 17:00:46 UTC
Created attachment 624730 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-23 17:00:49 UTC
Created attachment 624732 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-23 17:00:52 UTC
Created attachment 624734 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-23 17:00:55 UTC
Created attachment 624736 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-23 17:00:57 UTC
Created attachment 624738 [details]
temp.tbz2
Comment 8 Sergei Trofimovich (RETIRED) gentoo-dev 2020-03-23 22:12:52 UTC
> cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security]

You probably want to add '-Wformat' to C{,XX}FLAGS.
Comment 9 Toralf Förster gentoo-dev 2020-03-24 08:12:37 UTC
will do