HomeFreeBSD

lang/gcc11-devel: Re-execute program with ASLR disabled when necessary

Description

lang/gcc11-devel: Re-execute program with ASLR disabled when necessary

Software compiled with -fsanitize=address needs ASLR to be disabled to
run successfully.

Add patches taken from the commits listed below that improve ASLR
detection and re-execute the program with ASLR disabled if necessary.

https://cgit.freebsd.org/src/commit/?id=7cafe89f9ce33effe6e471b185339d413da1ca46
https://cgit.freebsd.org/src/commit/?id=930a7c2ac67e1e8e511aa1d0a31a16c632060ebb
https://cgit.freebsd.org/src/commit/?id=96fe7c8ab0f65cf829619abd74ae6c126b21e15f

PR: 267751

Details

Provenance
salvadoreAuthored on Nov 25 2022, 10:52 PM
Parents
R11:7375f3899ae9: lang/gcc11-devel: Fix Address sanitizer
Branches
Unknown
Tags
Unknown