mirror of
https://codeberg.org/landley/toybox.git
synced 2026-01-26 06:07:55 +00:00
Work around another gcc bug, where --as-needed breaks libasan. This
dies with a null pointer dereference calling crypt():
gcc -fsanitize=address -static-libasan -xc - -Wl,--as-needed -lcrypt \
<<<$'#include<crypt.h>\nint main(void){crypt("one", "two");}' &&
./a.out
This commit is contained in:
parent
4bf4509984
commit
635f1e0391
2
.github/workflows/toybox.yml
vendored
2
.github/workflows/toybox.yml
vendored
@ -29,4 +29,4 @@ jobs:
|
||||
- name: Setup
|
||||
run: sudo apt-get install build-essential
|
||||
- name: Configure build and test
|
||||
run: VERBOSE=all make defconfig tests
|
||||
run: VERBOSE=all CC=clang make defconfig tests
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user