[Git][ghc/ghc][wip/ghc-9.8] 4 commits: rts: Don't rely on initializers for sigaction_t
Ben Gamari (@bgamari)
gitlab at gitlab.haskell.org
Fri Jul 7 13:37:47 UTC 2023
Ben Gamari pushed to branch wip/ghc-9.8 at Glasgow Haskell Compiler / GHC
Commits:
1c310adb by Ben Gamari at 2023-07-07T09:37:04-04:00
rts: Don't rely on initializers for sigaction_t
As noted in #23577, CentOS's ancient toolchain throws spurious
missing-field-initializer warnings.
(cherry picked from commit 46c9bcd6a47bdaa70869ed64da315315974b8b1d)
- - - - -
a973a02c by Ben Gamari at 2023-07-07T09:37:05-04:00
hadrian: Don't treat -Winline warnings as fatal
Such warnings are highly dependent upon the toolchain, platform, and
build configuration. It's simply too fragile to rely on these.
(cherry picked from commit ec55035f8fe901b5d369221975fb1a741c677acb)
- - - - -
f1678282 by Ben Gamari at 2023-07-07T09:37:07-04:00
hadrian: Only pass -Wno-nonportable-include-path on Darwin
This flag, which was introduced due to #17798, is only understood by
Clang and consequently throws warnings on platforms using gcc. Sadly,
there is no good way to treat such warnings as non-fatal with `-Werror`
so for now we simply make this flag specific to platforms known to use
Clang and case-insensitive filesystems (Darwin and Windows).
See #23577.
(cherry picked from commit 3a09b789102dc0ea20a9af0912bc817ac5cb8c59)
- - - - -
02b96edd by Bryan Richter at 2023-07-07T09:37:23-04:00
Add missing void prototypes to rts functions
See #23561.
(cherry picked from commit 82ac6bf113526f61913943b911089534705984fb)
- - - - -
30 changed files:
- hadrian/src/Flavour.hs
- hadrian/src/Settings/Warnings.hs
- rts/CheckUnload.c
- rts/ExecPage.c
- rts/ForeignExports.c
- rts/IPE.c
- rts/Libdw.c
- rts/Linker.c
- rts/OldARMAtomic.c
- rts/Printer.c
- rts/ReportMemoryMap.c
- rts/RtsAPI.c
- rts/RtsMessages.c
- rts/Schedule.c
- rts/StaticPtrTable.c
- rts/Stats.c
- rts/Ticky.c
- rts/Trace.c
- rts/adjustor/LibffiAdjustor.c
- rts/adjustor/NativeAmd64.c
- rts/adjustor/NativeAmd64Mingw.c
- rts/adjustor/NativeIA64.c
- rts/adjustor/NativePowerPC.c
- rts/adjustor/Nativei386.c
- rts/eventlog/EventLog.c
- rts/linker/PEi386.c
- rts/posix/GetTime.c
- rts/posix/Signals.c
- rts/sm/BlockAlloc.c
- rts/sm/GC.c
The diff was not included because it is too large.
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/865b08e13daba291b8d1f12aa6a39f83a0baad02...02b96edd178865610b933f6441cd6985be039eea
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/865b08e13daba291b8d1f12aa6a39f83a0baad02...02b96edd178865610b933f6441cd6985be039eea
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230707/737b2a7a/attachment.html>
More information about the ghc-commits
mailing list