From: Jeffrey Walton <noloader@gmail.com>
To: musl@lists.openwall.com
Subject: [musl] fatal error: asm/prctl.h: No such file or directory
Date: Fri, 21 Aug 2020 16:14:19 -0400 [thread overview]
Message-ID: <CAH8yC8kVx1zw87z8O6RGWP5GMupk3GtCok-UB9Gcfj349GFFQw@mail.gmail.com> (raw)
Hi Everyone,
Forgive my ignorance... I'm trying to build GDB 9.2 from sources. I
can't tell whose bug this is (GDB, Musl, Alpine or mine due to a bad
config).
I'm performing a native build. My triplet is x86_64-pc-linux-gnu. I've
seen similar messages, but they seem to be due to a cross-compile or
wrong triplet. Neither apply to me.
Who should claim the compile error?
g++ -x c++ -g2 -O2 -march=native -fPIC -pthread -I. -I../../gdb
-I../../gdb/config
-DLOCALEDIR="\"/home/jwalton/tmp/ok2delete/share/locale\""
-DHAVE_CONFIG_H -I../../gdb/../include/opcode
-I../../gdb/../readline/readline/.. -I../../gdb/../zlib -I../bfd
-I../../gdb/../bfd -I../../gdb/../include -I../libdecnumber
-I../../gdb/../libdecnumber -I../../gdb/../gnulib/import
-I../gnulib/import -DTUI=1 -I/home/jwalton/tmp/ok2delete/include
-I../../gdb/.. -pthread -Wall -Wpointer-arith -Wno-unused
-Wunused-value -Wunused-variable -Wunused-function -Wno-switch
-Wno-char-subscripts -Wempty-body -Wunused-but-set-parameter
-Wunused-but-set-variable -Wno-sign-compare
-Wno-error=maybe-uninitialized -Wsuggest-override
-Wimplicit-fallthrough=3 -Wduplicated-cond -Wshadow=local -Wformat
-Wformat-nonliteral -c -o amd64-linux-nat.o -MT amd64-linux-nat.o
-MMD -MP -MF ./.deps/amd64-linux-nat.Tpo ../../gdb/amd64-linux-nat.c
../../gdb/amd64-linux-nat.c:27:10: fatal error: asm/prctl.h: No such
file or directory
#include <asm/prctl.h>
^~~~~~~~~~~~~
compilation terminated.
next reply other threads:[~2020-08-21 20:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-21 20:14 Jeffrey Walton [this message]
2020-08-21 20:20 ` Khem Raj
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAH8yC8kVx1zw87z8O6RGWP5GMupk3GtCok-UB9Gcfj349GFFQw@mail.gmail.com \
--to=noloader@gmail.com \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
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 NNTP newsgroup(s).