[Bug sanitizer/85230] asan: false positives in kernel on allocas

dvyukov at google dot com gcc-bugzilla@gcc.gnu.org
Thu Apr 12 17:18:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85230

--- Comment #19 from Dmitry Vyukov <dvyukov at google dot com> ---
When I am trying to build anything with -g on a machine with binutils 2.26.1 I
am getting:

/tmp/ccTFsPnM.s: Assembler messages:
/tmp/ccTFsPnM.s:11: Error: unknown .loc sub-directive `view'
/tmp/ccTFsPnM.s:11: Error: junk at end of line, first unrecognized character is
`-'
/tmp/ccTFsPnM.s:13: Error: unknown .loc sub-directive `view'
/tmp/ccTFsPnM.s:13: Error: unknown pseudo-op: `.lvu1'
/tmp/ccTFsPnM.s:14: Error: unknown .loc sub-directive `view'
/tmp/ccTFsPnM.s:14: Error: unknown pseudo-op: `.lvu2'
/tmp/ccTFsPnM.s:18: Error: unknown .loc sub-directive `view'

But this works on machine with binutils 2.30.
The previous version of gcc 8 that I built a month ago worked on the machine
with binutils 2.26.1.
Am I doing something wrong? Is there a workaround?


More information about the Gcc-bugs mailing list