This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug sanitizer/77631] no symbols in backtrace shown by ASan when debug info is split
- From: "tnfchris at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 22 Sep 2017 10:27:53 +0000
- Subject: [Bug sanitizer/77631] no symbols in backtrace shown by ASan when debug info is split
- Auto-submitted: auto-generated
- References: <bug-77631-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77631
Tamar Christina <tnfchris at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |tnfchris at gcc dot gnu.org
--- Comment #15 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
This patch is causing the aarch64 and arm baremetal builds to fail because
newlib doesn't seem to have lstat.
/tmp/aarch64-none-elf/build/src/gcc/libbacktrace/elf.c: In function
'elf_is_symlink':
/tmp/aarch64-none-elf/build/src/gcc/libbacktrace/elf.c:659:7: error: implicit
declaration of function 'lstat'; did you mean 'stat'?
[-Werror=implicit-function-declaration]
if (lstat (filename, &st) < 0)
^~~~~
stat