Closed stsp closed 1 month ago
-nostdinc was dropped in 316e8e6c9 mainly due to longjumps and mallocs. But many other things have since "leaked" into an external libc. -nostdlib seems wasn't ever attempted. Would be interesting to explore the nostdlib/nostdinc possibility again.
-nostdinc
-nostdlib
Also may be interesting to use the --no-undefined option.
--no-undefined
-nolibc fails CI with undefined reference to__stack_chk_fail'`. Perhaps needs to experiment with --as-needed.
undefined reference to
-nostdinc
was dropped in 316e8e6c9 mainly due to longjumps and mallocs. But many other things have since "leaked" into an external libc.-nostdlib
seems wasn't ever attempted. Would be interesting to explore the nostdlib/nostdinc possibility again.