mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
.github/workflows/compilers.yml: annocheck: Fix a linker flag to pass MJIT tests.
Set the linker flag `-Wl,-z,now` properly. Co-authored-by: Takashi Kokubun <takashikkbn@gmail.com> Fixes [Bug #18781]
This commit is contained in:
parent
ec3542229b
commit
cfcf33f127
Notes:
git
2022-06-07 07:25:39 +09:00
1 changed files with 2 additions and 8 deletions
10
.github/workflows/compilers.yml
vendored
10
.github/workflows/compilers.yml
vendored
|
@ -80,9 +80,10 @@ jobs:
|
|||
- key: default_cc
|
||||
name: 'gcc-11 annocheck'
|
||||
# Minimal flags to pass the check.
|
||||
value: 'gcc-11 -O2 -fcf-protection -Wl,-z,now'
|
||||
value: 'gcc-11 -O2 -fcf-protection'
|
||||
container: gcc-11
|
||||
env:
|
||||
append_configure: 'LDFLAGS=-Wl,-z,now'
|
||||
# FIXME: Drop skipping options
|
||||
# https://bugs.ruby-lang.org/issues/18061
|
||||
# https://sourceware.org/annobin/annobin.html/Test-pie.html
|
||||
|
@ -247,13 +248,6 @@ jobs:
|
|||
if: ${{ matrix.entry.check }}
|
||||
- run: make test-tool
|
||||
if: ${{ matrix.entry.check }}
|
||||
# FIXME: Skip MJIT tests failing in the annocheck case.
|
||||
# https://bugs.ruby-lang.org/issues/18781
|
||||
- run: |
|
||||
rm test/ruby/test_mjit.rb
|
||||
rm test/ruby/test_rubyvm_mjit.rb
|
||||
if: ${{ endsWith(matrix.entry.name, 'annocheck') }}
|
||||
working-directory: src
|
||||
- run: make test-all TESTS='-- ruby -ext-'
|
||||
if: ${{ matrix.entry.check }}
|
||||
- run: make test-spec
|
||||
|
|
Loading…
Add table
Reference in a new issue