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.1 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 28752 invoked from network); 15 Aug 2023 00:44:42 -0000 Received: from second.openwall.net (193.110.157.125) by inbox.vuxu.org with ESMTPUTF8; 15 Aug 2023 00:44:42 -0000 Received: (qmail 24379 invoked by uid 550); 15 Aug 2023 00:44:37 -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 24331 invoked from network); 15 Aug 2023 00:44:35 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692060264; x=1692665064; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=F3C65mYBTbhm9j+8pMmI6QGF0VzNKL5iqm7vDaPSG/4=; b=V1xdUBgO9ake1etj0cGpvBN7D58r0GOcsAnVW0hDUeCB6Ouqdrw/j4a355rOP3JACw 0Jz/dGdkRZTwGkT7QsL347cmQ4ac+oMF6jnALuyOgvx6vOAxpPQpexlQzZiF7DvambBR Zl0mo/MEUOuUxMbcqkU5kcLYHZ8Pe5zxhUvb7sOqAGHiON6uVeMItEYVhgy5b/iMuQYh 9PoGQt+aUXdfUFPCvv/ehrp/IOCtORhKvgh5jiJ/YS9pYgE/tdTrgtzDe7MfiC1rfLHg HT7Ysu0FC0DYBnSVE1s4BelbPZU1uAlJA9F4JNqK7bwr3NQm25kJkfxVRoxbgJ3iabcH VTqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692060264; x=1692665064; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=F3C65mYBTbhm9j+8pMmI6QGF0VzNKL5iqm7vDaPSG/4=; b=PHDQ2EdX9xmIIT55+ghVEBqDf6xiUcdYsZS3603LF8ocJbi3cvUv2mgKRzSysuVRXB X0aFI6Nhn8DVsobOqsq/+rlHnu44yIU7hGZdcyakP4+01EAuYDHzm1/zhi+9iVp2+T7I IWxYyPwoUWbNfIDn9+Xo/KFbKp7KgphL/dsOl7wUi9dOY6DFPdpxY+lSpQu4dj/LPtu+ WYL4892o6hoc2xh/Q8Lox7Ic1CZVd7AMLKGpov/dG+ovn/CKzAnfymXtaXNugxNrgD8R 5h4YNddWVnb9pgmHGQqPiSGHyR2mIHUVjjCr3CJhmZAPz6TUD/8YttKhyADjL5zc+7UE kN3A== X-Gm-Message-State: AOJu0Yxw1jWwaN0s2zbn8YHMTZtrtUK785zxDYt0efZPsN61YEo66UJR 3hYA5x7wpzqigxxjakvVOzZVAYerHYTJuVDQaxU= X-Google-Smtp-Source: AGHT+IEBwCQGoevKSJTC+R92pplBsbj4vUQILEPiY/kS2eDLq3OyjS8fZKTAaLN3bAI2pJ3xqFlmv3YLVTc+ciVdH2I= X-Received: by 2002:a17:90a:d788:b0:268:18e:9dfa with SMTP id z8-20020a17090ad78800b00268018e9dfamr10244212pju.5.1692060263470; Mon, 14 Aug 2023 17:44:23 -0700 (PDT) MIME-Version: 1.0 References: <20230813014338.GV4163@brightrain.aerifal.cx> In-Reply-To: <20230813014338.GV4163@brightrain.aerifal.cx> From: Reinoud Koornstra Date: Mon, 14 Aug 2023 17:44:13 -0700 Message-ID: To: Rich Felker Cc: musl@lists.openwall.com Content-Type: multipart/alternative; boundary="000000000000f15dbf0602eb7a9a" Subject: Re: [musl] Gmp not included in default musl build --000000000000f15dbf0602eb7a9a Content-Type: text/plain; charset="UTF-8" Hi Rich, Thanks for your answer. I just compiled and installed gmp with the musl compiled gdb from your build process Now I was able to compile gdb 13.2 fine. Even created a statically linked gdb which is easier to use. Thanks, Reinoud. On Sat, Aug 12, 2023, 6:43 PM Rich Felker wrote: > On Fri, Aug 11, 2023 at 05:44:12PM -0700, Reinoud Koornstra wrote: > > Hello everyone, > > > > I'm building musl and a musl gdb by git cloning musl-cross-make.git > > After fetching some manual downloads, the building and installing goes > well. > > After that I'm building gdb, but it seems to want gmp as well and it > > doesn't come by default with the cross make of musl. Any good way to add > > this? > > Thanks, > > mcm's scope is producing a toolchain, not an extended library > ecosystem for the target. Once you have a cross compiler, it should be > possible to use it to build any further libraries you might want, like > gmp, and either install them into the toolchain's sysroot or install > them in some other location specific to the project you're building > with the cross toolchain, then tell the build systems for programs you > want to build (like gdb) to look there for them. > > Rich > --000000000000f15dbf0602eb7a9a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Rich,

Tha= nks for your answer. I just compiled and installed gmp with the musl compil= ed gdb from your build process=C2=A0 Now I was able to compile gdb 13.2 fin= e. Even created a statically linked gdb which is easier to use. Thanks, Rei= noud.


On Sat, Aug 12, 2023, 6:43 PM Rich F= elker <dalias@libc.org> wrote:=
On Fri, Aug 11, 2023 at 05:44:12PM= -0700, Reinoud Koornstra wrote:
> Hello everyone,
>
> I'm building musl and a musl gdb by git cloning musl-cross-make.gi= t
> After fetching some manual downloads, the building and installing goes= well.
> After that I'm building gdb, but it seems to want gmp as well and = it
> doesn't come by default with the cross make of musl. Any good way = to add
> this?
> Thanks,

mcm's scope is producing a toolchain, not an extended library
ecosystem for the target. Once you have a cross compiler, it should be
possible to use it to build any further libraries you might want, like
gmp, and either install them into the toolchain's sysroot or install them in some other location specific to the project you're building
with the cross toolchain, then tell the build systems for programs you
want to build (like gdb) to look there for them.

Rich
--000000000000f15dbf0602eb7a9a--