public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug sanitizer/92247] ‘__NR_open’ was not declared in this scope libsanitizer/sanitizer_common/sanitizer_linux compilation failed on ubuntu 18.04 WSL2
[not found] <bug-92247-4@http.gcc.gnu.org/bugzilla/>
@ 2020-08-11 6:43 ` js5506 at columbia dot edu
0 siblings, 0 replies; only message in thread
From: js5506 at columbia dot edu @ 2020-08-11 6:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92247
js5506 at columbia dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |js5506 at columbia dot edu
--- Comment #12 from js5506 at columbia dot edu ---
(In reply to fdlbxtqi from comment #10)
> I have found out the reason.
>
> I created the incorrect soft link. /usr/include/asm should link to
> x86_64-linux-gnu/asm/ instead of asm-generic
>
>
> Solution:
>
> cd /usr/include
> sudo rm asm
> sudo ln -s x86_64-linux-gnu/asm/ asm
>
>
> https://blog.csdn.net/yihui8/article/details/8620914
Where is /usr/include/asm?
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-08-11 6:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-92247-4@http.gcc.gnu.org/bugzilla/>
2020-08-11 6:43 ` [Bug sanitizer/92247] ‘__NR_open’ was not declared in this scope libsanitizer/sanitizer_common/sanitizer_linux compilation failed on ubuntu 18.04 WSL2 js5506 at columbia dot edu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).