[v2,0/2] s390: Skip non-PIC shared library visibility linker tests

Message ID 20260316133645.130947-1-jremus@linux.ibm.com
Headers
Series s390: Skip non-PIC shared library visibility linker tests |

Message

Jens Remus March 16, 2026, 1:36 p.m. UTC
  Non-PIC shared libraries are unsupported on s390 64-bit (s390x).  The
compiler may perform optimizations that result in symbols:wq not being
overridable or reachable.  The latter may cause dynamic relocations to
overflow, resulting in run-time errors, such as segmentation faults.

Changes in v2:
- Report untested non-PIC load offset visibility linker tests.
- Skip non-PIC shared library visibility linker tests on s390 64-bit
  (s390x). (Alan)

Thanks and regards,
Jens

Jens Remus (2):
  ld: Report unsupported non-PIC load offset visibility tests
  s390: Skip non-PIC shared library visibility linker tests

 ld/testsuite/ld-vsb/vsb.exp | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)
  

Comments

Andreas Krebbel March 18, 2026, 8:57 a.m. UTC | #1
On 3/16/26 2:36 PM, Jens Remus wrote:
> Non-PIC shared libraries are unsupported on s390 64-bit (s390x).  The
> compiler may perform optimizations that result in symbols:wq not being
> overridable or reachable.  The latter may cause dynamic relocations to
> overflow, resulting in run-time errors, such as segmentation faults.
>
> Changes in v2:
> - Report untested non-PIC load offset visibility linker tests.
> - Skip non-PIC shared library visibility linker tests on s390 64-bit
>    (s390x). (Alan)
>
> Thanks and regards,
> Jens
>
> Jens Remus (2):
>    ld: Report unsupported non-PIC load offset visibility tests
>    s390: Skip non-PIC shared library visibility linker tests
>
>   ld/testsuite/ld-vsb/vsb.exp | 15 ++++++++++++++-
>   1 file changed, 14 insertions(+), 1 deletion(-)

Ok, thanks!

Andreas
  
Jens Remus March 25, 2026, 10:21 a.m. UTC | #2
On 3/18/2026 9:57 AM, Andreas Krebbel wrote:
> On 3/16/26 2:36 PM, Jens Remus wrote:
>> Non-PIC shared libraries are unsupported on s390 64-bit (s390x).  The
>> compiler may perform optimizations that result in symbols:wq not being
>> overridable or reachable.  The latter may cause dynamic relocations to
>> overflow, resulting in run-time errors, such as segmentation faults.
>>
>> Changes in v2:
>> - Report untested non-PIC load offset visibility linker tests.
>> - Skip non-PIC shared library visibility linker tests on s390 64-bit
>>    (s390x). (Alan)
>>
>> Thanks and regards,
>> Jens
>>
>> Jens Remus (2):
>>    ld: Report unsupported non-PIC load offset visibility tests
>>    s390: Skip non-PIC shared library visibility linker tests
>>
>>   ld/testsuite/ld-vsb/vsb.exp | 15 ++++++++++++++-
>>   1 file changed, 14 insertions(+), 1 deletion(-)
> 
> Ok, thanks!

Thanks!  Committed only the s390 patch [2/2] to mainline, given that I
did not receive any feedback on the common ld testsuite patch [1/2].

Regards,
Jens