sys-devel/binutils: filter another flag in tests

Filter -mno-direct-extern-access from tests to avoid:
```
FAIL: Build indirect-extern-access-1a without PIE
FAIL: Build indirect-extern-access-2a without PIE
FAIL: Build pr21997-1a
FAIL: Build pr21997-1b
FAIL: Build pr22001-1a
FAIL: Build pr22001-1b
FAIL: Build pr25749-1b (-pie -fPIE -w)
FAIL: Build property 1 (.o)
FAIL: Build property 2 (.o)
FAIL: Build property-6.o
FAIL: Build protected-data-1 without PIE
FAIL: Build protected-func-2a without PIE
FAIL: Build protected-func-2 without PIE
FAIL: S-records
FAIL: Undefined weak symbol (-fno-PIE -no-pie)
```

(I have a patch locally to add -mno-direct-extern-access to the filter-flags
whitelist which exposes this.)

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-08-10 10:11:41 +01:00
parent 4e0bf19e6a
commit 3fd95a964d
5 changed files with 15 additions and 0 deletions

View File

@@ -421,6 +421,9 @@ src_test() {
# lto-wrapper warnings which confuse tests
filter-flags '-Wa,*'
# Adds a property which confuses tests
filter-flags '-mno-direct-extern-access'
# bug #637066
filter-flags -Wall -Wreturn-type

View File

@@ -421,6 +421,9 @@ src_test() {
# lto-wrapper warnings which confuse tests
filter-flags '-Wa,*'
# Adds a property which confuses tests
filter-flags '-mno-direct-extern-access'
# bug #637066
filter-flags -Wall -Wreturn-type

View File

@@ -415,6 +415,9 @@ src_test() {
# lto-wrapper warnings which confuse tests
filter-flags '-Wa,*'
# Adds a property which confuses tests
filter-flags '-mno-direct-extern-access'
# bug #637066
filter-flags -Wall -Wreturn-type

View File

@@ -415,6 +415,9 @@ src_test() {
# lto-wrapper warnings which confuse tests
filter-flags '-Wa,*'
# Adds a property which confuses tests
filter-flags '-mno-direct-extern-access'
# bug #637066
filter-flags -Wall -Wreturn-type

View File

@@ -415,6 +415,9 @@ src_test() {
# lto-wrapper warnings which confuse tests
filter-flags '-Wa,*'
# Adds a property which confuses tests
filter-flags '-mno-direct-extern-access'
# bug #637066
filter-flags -Wall -Wreturn-type