Hey,
I've tried compiling my project with -fsanitize=address a few times now (tried across 14-16) but it never manages to find "/usr/local/lib/libasan_preinit.o" which it needs for linking.
gcc -print-search-dirsShows it is not looking in "/usr/local/lib", which I assume is why it doesn't work. A quick and dirty fix that does make it work:
sudo ln -s /usr/local/lib/libasan_preinit.o /usr/lib/Since this persisted across a few version without anybody else complaining it might not be super critical but perhaps it can get addressed in the next version. Until then, hopefully the people encountering that issue find this.
Thanks for your work on piCore!