• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

IJHack / QtPass / 47109729721
95%

Build:
DEFAULT BRANCH: main
Ran 03 Dec 2026 01:05PM UTC
Jobs 1
Files 88
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

03 Dec 2026 12:51PM UTC coverage: 94.59%. Remained the same
47109729721

push

github

web-flow
Build: hardened Linux release builds, and the standard build variables (#2484)

* Build: hardened Linux release builds, and the standard build variables

Two OpenSSF silver criteria (#1989):

- hardening: a plain qmake build on Linux had PIE (the compilers'
  default) and partial RELRO, but no stack protector, no _FORTIFY_SOURCE
  and no BIND_NOW. Release builds with GCC or Clang on Linux now get
  -fstack-protector-strong, -D_FORTIFY_SOURCE=2 (after -U, so a level
  the environment sets does not clash) and -z relro -z now. Not for
  debug builds (FORTIFY needs optimisation), FORTIFY not for sanitizer
  builds, nothing on Android. Qt's stack_protector_strong feature only
  carries the flag for QNX, so the flag is given directly.
- build_standard_variables: qmake did not read the environment. CC,
  CXX (also as the linker), CPPFLAGS, CFLAGS, CXXFLAGS and LDFLAGS are
  now taken from it, except for MSVC; the qmake command-line variables
  work as before.

Checked on Debian 13 (GCC 14): readelf shows BIND_NOW and NOW PIE,
nm shows __stack_chk_fail imported; CXXFLAGS/LDFLAGS from the
environment reach both Makefiles; the sanitizer and debug Makefiles get
no FORTIFY. No compiler warnings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Henk de Bot <henk@defoq.nl>

* qtpass.pri: a compiler given to qmake wins; no FORTIFY with env sanitizers

From CodeRabbit's review:

- CC and CXX from the environment replaced QMAKE_CXX and QMAKE_LINK even
  when they were given on the qmake command line. They now replace only
  the mkspec's own default (gcc, g++, clang, clang++, cc, c++).
- A release build whose CXXFLAGS or LDFLAGS ask for a sanitizer
  (-fsanitize=...) got _FORTIFY_SOURCE, which AddressSanitizer does not
  get on with. Those flags now count as a sanitizer build too.

Checked with qmake: CXX=clang++ alone gives clang++; with QMAKE_CXX=my-c++
on the command line, my-c++; -fsanitize=address in the environment gives
no FORTIFY but keep... (continued)

11523 of 12182 relevant lines covered (94.59%)

29061.79 hits per line

Jobs
ID Job ID Ran Files Coverage
1 47109729721.1 03 Dec 2026 01:05PM UTC 88
94.59
GitHub Action Run
Source Files on build 47109729721
  • Tree
  • List 88
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #47109729721
  • 8e6e90a8 on github
  • Prev Build on main (#47106505072)
  • Next Build on main (#47114476296)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc