From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,NICE_REPLY_A, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 2294 invoked from network); 21 Aug 2020 20:21:07 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 21 Aug 2020 20:21:07 -0000 Received: (qmail 9960 invoked by uid 550); 21 Aug 2020 20:21:04 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 9933 invoked from network); 21 Aug 2020 20:21:04 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=85UeOFuKsiCWwYh7Bws9wVa/nGOrKfhDqwdDxSpaoek=; b=cuoEdZAxe8Qtk3BqjbV1oorr8oW1G3dNnbF6hXOiwfOR4Trfm2gh6EesfUrhSOWnit hfKTdNjAFUZwJd3dBNkVcVYpHwbcRxtX+UxB3UbQ/G39dbTq/BdeJJSS+/4Dd96vAMIa S5xqVtqBQ4wMcuYtxGT7jgNbcsDbkdX3M5Y+R7ohw+0CiPlbTRONtAtljC7X3mj2ceCR jNLnH1oJ/bcj2azt/LCsLywpJ7Qyn9a7oZmCvZpNIFdsqKxMhH7RcAaORxukuFOql521 XAffLkVidc3stkFBshYY7nrhVRnmKUAi+yuK46A1mZPynlbeoehF4NHyh7MwraWlgZXQ if8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=85UeOFuKsiCWwYh7Bws9wVa/nGOrKfhDqwdDxSpaoek=; b=hRjv9wOoi3RUc85/JRnfr+odGAMzy42KC6hhZu/u4sb4GTCWvtq7Rd6DaA5PWXDgJi 3kDHvyc5Z63ux6qdFw5uvKRO3sh1HMYfOm7ys6HKtxzCPB67Uf/IJ1M28QMa9887XiqO 4Aa+H+/vTXftd9XkDnyUcHeioXsHsNeDK0sZ10tOAI5hm0xXi9UokfxoF6oOe0RMwT6m qy/59RjPB7h0+fwjP99RmmzfyNukLJgANR7URhcAZ4ksMWop8ISbyZdOeLTuso/LkQBC 2a9SeQwkgtHDiFTeY3d6n2EdeGM+aO/GDKmxoteNZa6GjoMdVWpaMm0tjMJLp8pKuVIe linw== X-Gm-Message-State: AOAM5332N9t3zFfGl6DrLFaVddXTwwAVDAlmVeIlYO65SQcXKjzZ3bn0 yQ4y7R3Hc8i3dBSVW6YGxU0= X-Google-Smtp-Source: ABdhPJyB0EHhwDqeyS1v2K6IjV8/LJ27kcG8dDlmDTUkZ2KQGoSrBmbaKUokBXj1sD47IfXuBpZbtw== X-Received: by 2002:a17:902:780f:: with SMTP id p15mr3920354pll.56.1598041251677; Fri, 21 Aug 2020 13:20:51 -0700 (PDT) To: musl@lists.openwall.com, Jeffrey Walton References: From: Khem Raj Message-ID: Date: Fri, 21 Aug 2020 13:20:50 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [musl] fatal error: asm/prctl.h: No such file or directory On 8/21/20 1:14 PM, Jeffrey Walton wrote: > 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 > ^~~~~~~~~~~~~ > compilation terminated. > this should be coming from linux kernel UAPI headers, do you have that installed ?