This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug sanitizer/77631] no symbols in backtrace shown by ASan when debug info is split


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]