8 # TODO: remove this workaround once https://bugs.debian.org/836723 is fixed
9 # Found at https://llvm.org/bugs/show_bug.cgi?id=27310#c8:
11 void __isoc99_printf() {}
12 void __isoc99_sprintf() {}
13 void __isoc99_snprintf() {}
14 void __isoc99_fprintf() {}
15 void __isoc99_vprintf() {}
16 void __isoc99_vsprintf() {}
17 void __isoc99_vsnprintf() {}
18 void __isoc99_vfprintf() {}
19 void __cxa_throw() {} // NEW
21 gcc fixasan.c -o fixasan.so -fPIC -shared -nostdlib
22 export LD_PRELOAD=$PWD/fixasan.so
24 # Try running the tests in parallel so that the common case (tests pass) is
25 # quick, but fall back to running them in sequence to make debugging easier.
26 if ! xvfb-run ./complete-run.pl
28 xvfb-run ./complete-run.pl --parallel=1 || (cat latest/complete-run.log; false)