Skip to content

While linking gcc warns about a possible segfault #22693

Description

@VARGA-Peter

Description

Compiling & linking 8.5.8 ends with:

In /usr/lib64/gcc/x86_64-suse-linux/15/../../../../x86_64-suse-linux/bin/ld: 
ext/opcache/jit/tls/.libs/zend_jit_tls_x86_64.o: warning: relocation against `__tls_get_addr@@GLIBC_2.3' in read-only section `.text'
warning: GNU indirect functions with DT_TEXTREL may result in a segfault at runtime; recompile with -fPIC
warning: creating DT_TEXTREL in a shared object

I didn't deploy the version as I don't want to risk segfault when gcc already warns about it.

SLES 15.7
gcc 15.2

PHP Version

8.5.8

Operating System

SLES 15.7

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions