https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269568
Ed Maste changed:
What|Removed |Added
See Also||https://bugs.freebsd.org/bu
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269568
--- Comment #6 from Konstantin Belousov ---
Limiting the size of the stack is done by kernel before even ld-elf.so.1
has the chance to run. If the stack is too small, userspace must fail.
[From the PT_GNU_STACK phdr, only the size and
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269568
--- Comment #5 from Ed Maste ---
We plan to (eventually) switch to LLVM binutils for the base system but in the
interim ELF Tool Chain strip needs to be fixed to avoid this issue indeed. I
have also CC'd Kostik in case there's anything
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269568
Thomas Hurst changed:
What|Removed |Added
See Also||https://bugs.freebsd.org/bu
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269568
Fernando Apesteguía changed:
What|Removed |Added
See Also||https://bugs.freebsd.org/bu
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269568
Fernando Apesteguía changed:
What|Removed |Added
See Also||https://bugs.freebsd.org/bu
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269568
--- Comment #3 from Thomas Hurst ---
Thanks, Fernando - I was pretty lost with this one.
Another case where strip(1) is implicated in breaking executables:
https://github.com/rui314/mold/issues/456 /
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269568
--- Comment #2 from Fernando Apesteguía ---
More info:
The problem is with the GNU_STACK segment. I edited the binary and changed the
vaddr and msize to match that of the original unstripped file and the resulting
binary runs fine.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269568
Fernando Apesteguía changed:
What|Removed |Added
Severity|Affects Only Me |Affects Some People
--
You
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269568
Fernando Apesteguía changed:
What|Removed |Added
Status|New |Open
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269568
Daniel Engberg changed:
What|Removed |Added
Blocks|269443 |
Referenced Bugs:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269568
Thomas Hurst changed:
What|Removed |Added
Blocks||269443
Referenced Bugs:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269568
Bug ID: 269568
Summary: strip(1) creates an executable which crashes in
ld-elf.so.1
Product: Base System
Version: 13.1-RELEASE
Hardware: Any
OS: Any
13 matches
Mail list logo