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.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HTML_MESSAGE,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 15928 invoked from network); 16 Feb 2022 11:59:39 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 16 Feb 2022 11:59:39 -0000 Received: (qmail 26187 invoked by uid 550); 16 Feb 2022 11:59: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 26149 invoked from network); 16 Feb 2022 11:59:36 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=studenti.unimore.it; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hfCs0aA4RoN1fBT5YKd9WUcGQSo1EfdUS/WQKQjOXSU=; b=eGtRRQItGqEu0cx94VYd7tpHW2aXZgycDrZpLa5Kv37PWqTNTzO98MDnFTNbcXB3Gv jlbG6kFx80NDZwGQ5Rjdc9Fe10rGArjulaeprkLC5aU10jtF/iaVdVTrdBqUP4Wht6ML umrMXDyaV5PhOoE5t9nz29HcHtTgKN79aX9sJmE4qR+5f/ctOFVU4pIyuDGAXxxzLNXV GHeeQBsD8QZuTGhcKuuYgmIPYlaY4OtaFSMu42wUNKmlrvLaYmHY4IC+d2tT+0wGDG9P zUQnG2Tjtek7qrlGcpOjcsttha2FxZJLFi2KJMZPIPO1gHUfO1wf4unhcDxqOf4/BKjN dxxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hfCs0aA4RoN1fBT5YKd9WUcGQSo1EfdUS/WQKQjOXSU=; b=7AO9upzyVDgKGGVnGrQ/iIdcVppH1N24E+hmmq64XCVwS4T0g9YM10acNaikeqY8jT e5eUBO0Fzjs8Eo2cjEntrQOA/sX2IB4kpfZ+tr0SxTa0eGKGlzcbLwbZNTHiu5sKgyn0 zy1BHLnKY99zDSS4k5fUdwkNGlp931uIkkvspKI+3BkNsqcXg974DLygiy/96qvn597F aJedjOS408FFS1vikJPEgnWK52OFl6NZngp/hna/CnzwHgzwUvBTrPFgFFw1YhsYYbJI yU/VbWe2+jk/eZji3aEfnnLvGWlwszdb8QI2ltlR8WCIn3j1rx2EgdRv0W3uBnwqGMsK lRMg== X-Gm-Message-State: AOAM531v3kMApsvKKNtEnIKixIhCAy1NWpsC9aRJSQjLmaL+/uHIN+1L ohq217FszN97UCPT3FrUI5hYhIl3J8ZFtNIlI1GbIg== X-Google-Smtp-Source: ABdhPJz6mF+M7OfVc3zFfYdqOcN/y6NzK1eBMoD3Nz9Vt0wXHNktqu5st94esQDvfRc7PMBmDNYe6O62dWJFJYR54Ic= X-Received: by 2002:a81:d349:0:b0:2d0:742c:f358 with SMTP id d9-20020a81d349000000b002d0742cf358mr2044625ywl.254.1645012764625; Wed, 16 Feb 2022 03:59:24 -0800 (PST) MIME-Version: 1.0 References: <20220216112924.GG1320090@port70.net> In-Reply-To: From: SIMONE MIONE <205212@studenti.unimore.it> Date: Wed, 16 Feb 2022 12:59:13 +0100 Message-ID: To: noloader@gmail.com Cc: musl@lists.openwall.com Content-Type: multipart/alternative; boundary="0000000000007cab5005d82161c4" Subject: Re: [musl] musl how to use hard float with aarch64-none-elf-gcc --0000000000007cab5005d82161c4 Content-Type: text/plain; charset="UTF-8" Thank you all for your reply. I meant when I add musl's lib*.a into my makefile, the compiler complains about "undefined reference to __addtf3" (and others). Isn't that soft-float? Or emulation float? My supervisor told me "we already have float implementation so we don't need those functions". So I was wondering if I need to disable it in some way. Il giorno mer 16 feb 2022 alle ore 12:32 Jeffrey Walton ha scritto: > On Wed, Feb 16, 2022 at 6:29 AM Szabolcs Nagy wrote: > > > > * Jeffrey Walton [2022-02-16 05:24:48 -0500]: > > > On Wed, Feb 16, 2022 at 4:51 AM SIMONE MIONE < > 205212@studenti.unimore.it> wrote: > > > > > > > > I am trying to integrate musl in a baremetal environment. I already > have float support but I can't manage to disable soft-float by musl. > > > > > > > > I configure with: > > > > ./configure --target=aarch64-none-elf --enable-debug --disable-shared > > > > And simple compile with: > > > > make > > > > > > > > Does anyone know how to use hardfloat instead of soft float? Is > there any option or flag? Thank you > > > > > > The GCC options for hard-floats are -mfpu=neon -mfloat-abi=hard. In > > > later versions of GCC, you can also use -mfpu=auto (sometimes). > > > > that's for 32bit arm > > > > there is no soft float abi for aarch64, so i'm not sure what's going on. > > Oh, you're right My bad. I did not notice it was Aarch64. > > Jeff > --0000000000007cab5005d82161c4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thank you all for your reply.
I meant when I add musl's lib*.a into my makefile, the compile= r complains about "undefined reference to __addtf3" (and others).= Isn't that soft-float? Or emulation float?
My superviso= r told me "we already have float implementation so we don't need t= hose functions". So I was wondering if I need to disable it in some wa= y.

--0000000000007cab5005d82161c4--