Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

tonycoz
Copy link
Contributor

@tonycoz tonycoz commented Nov 27, 2022

For LTO builds with gcc and clang the PL_no_mem symbol as listed by nm is flagged as "D" (writable data) and "T" (text, aka code) respectively.

Looking at the final generated executable PL_no_mem does end up in the .rodata (read only data) section, so it might be worth adding a separate test for that.

Fixes #20518

For LTO builds with gcc and clang the PL_no_mem symbol as listed by
nm is flagged as "D" (writable data) and "T" (text, aka code)
respectively.

Looking at the final generated executable PL_no_mem does end up in
the .rodata (read only data) section, so it might be worth adding a
separate test for that.

Fixes Perl#20518
@tonycoz tonycoz merged commit 69b4fa3 into Perl:blead Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

t/porting/libperl.t failure with GCC 12 and -flto
2 participants