Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 881829 - dev-lang/ghc-9.0.2 - warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
Summary: dev-lang/ghc-9.0.2 - warning: a function declaration without a prototype is d...
Status: CONFIRMED
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: c23-porting
  Show dependency tree
 
Reported: 2022-11-18 21:51 UTC by Toralf Förster
Modified: 2022-11-18 21:51 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.67 KB, text/plain)
2022-11-18 21:51 UTC, Toralf Förster
Details
dev-lang:ghc-9.0.2:20221118-205300.log.bz2 (dev-lang:ghc-9.0.2:20221118-205300.log.bz2,229.67 KB, application/x-bzip)
2022-11-18 21:51 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,37.44 KB, text/plain)
2022-11-18 21:51 UTC, Toralf Förster
Details
environment (environment,172.86 KB, text/plain)
2022-11-18 21:51 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,701 bytes, application/x-bzip)
2022-11-18 21:51 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,15.59 KB, application/x-bzip)
2022-11-18 21:51 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,40.92 KB, application/x-bzip)
2022-11-18 21:51 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,278.18 KB, application/x-bzip)
2022-11-18 21:51 UTC, Toralf Förster
Details
var.tmp.clang.tar.bz2 (var.tmp.clang.tar.bz2,2.09 KB, application/x-bzip)
2022-11-18 21:51 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 2022-11-18 21:51:16 UTC
too long lines were shrinked:

"inplace/bin/ghc-stage1" -optc--target=x86_64-unknown-linux -optc-pipe -optc-march=native -optc-fno-diagnostics-color -optc-O2 -optc-D_GLIBCXX_ASSERTIONS -optc-march=native -optc-march=native -optc-Werror=implicit-function-declaration -optc-Werror=implicit-int -optc-Wall -optc-Wall -optc-Wextra -opt
clang-15: warning: argument unused during compilation: '-nopie' [-Wunused-command-line-argument]

rts/Stats.c:228:20: error:
     warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
    |
228 | initGenerationStats()

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-j4-20221118-130009

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.5
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.5
Python 3.10.8
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-17  system-vm

php cli (if any):

  HEAD of ::gentoo
commit dd4662667dd0efaeedf84a3466479eb30f82ad6c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Nov 18 19:46:52 2022 +0000

    2022-11-18 19:46:51 UTC

emerge -qpvO dev-lang/ghc
[ebuild  N    ] dev-lang/ghc-9.0.2  USE="doc elfutils gmp llvm numa (-big-endian) -binary -ghcbootstrap -ghcmakebinary -profile -test -unregisterised"
Comment 1 Toralf Förster gentoo-dev 2022-11-18 21:51:17 UTC
Created attachment 833511 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-18 21:51:19 UTC
Created attachment 833513 [details]
dev-lang:ghc-9.0.2:20221118-205300.log.bz2
Comment 3 Toralf Förster gentoo-dev 2022-11-18 21:51:20 UTC
Created attachment 833515 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-11-18 21:51:22 UTC
Created attachment 833517 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-11-18 21:51:23 UTC
Created attachment 833519 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-18 21:51:24 UTC
Created attachment 833521 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-18 21:51:25 UTC
Created attachment 833523 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-11-18 21:51:27 UTC
Created attachment 833525 [details]
temp.tar.bz2
Comment 9 Toralf Förster gentoo-dev 2022-11-18 21:51:28 UTC
Created attachment 833527 [details]
var.tmp.clang.tar.bz2