From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from sonic311-23.consmr.mail.gq1.yahoo.com (sonic311-23.consmr.mail.gq1.yahoo.com [98.137.65.204]) by sourceware.org (Postfix) with ESMTPS id 284853857C50 for ; Thu, 31 Mar 2022 13:21:06 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 284853857C50 X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1648732864; bh=bV0ffdCs1doVsolyqQQSasiF/WhCwfVjysTYJ0F3AcW=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=MxIMHXDIyGXTBrVVHtkpI+JATwsvSz7EL8zyJ4rSDmCRPJIjr74SWbH1/UTvC8Hvdr7zfXI26luW5zvalPaJzePTzg1iCi9jQOhOe82HIkRakr2wblf8dYIczMLhtY1LqcuLszUN13XoXO7+39/rplCxBLlsW2c0HzeFKkfq3RVxmT3BfzXGeXXaXTdoruxBgEu54Lydag2ooAJZxm5D8tX/lkfNyuY4DiUq0IBLg5e5OMzjMJ3Vrw1QCYUp8uG+jU1E2sjPL1zlG/Tyv68tjl3iYVZZ9P4CXa5iHDlHbVAVNT4M/MUlcJGbKQ3k8YtvKuEhCwe4T3pjjKR+IaOj0A== X-YMail-OSG: 7W16rjcVM1nlV2TcRADqojwzgAWg.BcNaBYL82xKzEFCUnZJ0D8E5fIZ6DdkK9M B7_KNaISlm_BR0jOWuR78tFOyOnVyNzlrbAOuRg85zUtYqV15iCrZtTWY1rNxpPwM5nrGiMT6Bat 5Km.Hau5be2mFmr0ugPFjdqKdsc1pW.1aPH31zUicyWi2ADZ5kwi9AkIy4zWhaLoCP5EYWLSmxkY uQxfzaYObaJU73h6IZIecrLc1sMiAxuDXOkqP3Df1opl3SbldMPwwL7S0oN9ogirXpetUteNhB5F e4cZxyIa5VZtaW8RXXDaT44dHDmJPP0GVCvtch1jQS9lMDR0IXDBEoIrVChA5vter28PAkdUshsf g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8Ku0HA2Ge76UxcScJsKj_2.sAyUpK45V8yF0QhNjZkJdv4kEhEKNAeng0O49Q8u2 XhojOe.7ltxbfgv1E2I5CTnKxKzyb7_jmZyAdx6.JEesOaNKkC0iFlrjIwhDvT614LkmeXxOfEg. zm4.t3l2DMHx6FzWasC0UiWsVdBjnpzz5gLt1ApVgCWt_FEL1GZsTib3UttPAKj127UD_GBIuirP EJjFVLWXn4KOR0ELNZodp4Unkizs3Ln9snKRFGfVXKSt9wJ1C2BDv9UXLUaC1mdqHko1m3axG1v4 GDyGdxZ8yYi3sMgMzi3sygbv1RobcTXFgZqn4z.OXu6Hxs_Y1pR3OeZ95BNiRoA7GIylb6gW0WZq AS8Ewrsal4OwbrioGE.GaiaquZAKK9rhSj1UXwPVa0WAqkBnkjfKK2aALvKhXTDdeZMSGJAFirEa 1b7.k00vBw8bHaydf6X.qZx9jkGrBrAapfFwvVtEDAEo3BKs1V8c3Yp7y1dOx5eOxD_4g_fkeNl1 amMBC.e2j3d5rthxhbCA5taIK5OCBeEcuhl3B8zhEw6Rfu64xC121UUOkpG4Fv.D83AHm22B_AuE Q_I27XgiN1KyxcQ4kHo8kVp9qllWIOSIA5ZXfQLdFuVrVZahRkQK7C2MrTSC82oyF_N8mgmbyjX3 WMFSOI2GnmKLP9QQJyNw3eSmpezXiqu1z0iuYD3XZ9yRw00Iua6f698GopbA1dJuDZcA0ffI5Frf gilutLbMRUyARIENiGYhSkeNom1NmYmf0sJCI5NCmuk8dTc4FF57zB3Eygtq5Qnbu3IgDprfSUZ9 0N4WDgkiQ.48IPUij7wd509n4VPkFG.mZ_2ntsfMTnM4ZeWshaEkkWq8H4w-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.gq1.yahoo.com with HTTP; Thu, 31 Mar 2022 13:21:04 +0000 Date: Thu, 31 Mar 2022 13:20:58 +0000 (UTC) From: Andy Bowery To: "gcc-help@gcc.gnu.org" , Xi Ruoyao Message-ID: <763223208.228894.1648732858684@mail.yahoo.com> In-Reply-To: <6247a12143870e5ca945896b0ce2cd10c65953f7.camel@mengyan1223.wang> References: <222147991.846192.1648491515241.ref@mail.yahoo.com> <222147991.846192.1648491515241@mail.yahoo.com> <1606762617.1111945.1648567787021@mail.yahoo.com> <6247a12143870e5ca945896b0ce2cd10c65953f7.camel@mengyan1223.wang> Subject: Re: Need to build libgfortran.a and libquadmath.a MIME-Version: 1.0 X-Mailer: WebService/1.1.20001 YMailNorrin X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, KAM_SHORT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Mar 2022 13:21:08 -0000 =20 Thank you=C2=A0Ruoyao for your answer on this. Does anyone in the community have experience of building 'libquadmath' on t= he ARM=C2=A0 (aarch64) platform?Particularly using gcc, are there flags tha= t I need to set in order to get it built?=C2=A0Or should I obtain the ARM c= ompiler provided by ARM (which is not free unfortunately)? Thanks, Andy Bowery On Tuesday, 29 March 2022, 16:56:13 BST, Xi Ruoyao wrote: =20 =20 On Tue, 2022-03-29 at 15:29 +0000, Andy Bowery via Gcc-help wrote: > =C2=A0Thank you Jonathan for your quick response. I am afraid at the mome= nt > I don't have access to such a multicore system. I will investigate > setting one up. > I tried a different approach and that was to build within the > libgfortran subfolder, by running 'configure' followed by 'make' in > that subfolder. I needed to make libbacktrace.la and=C2=A0libbacktrace.a > available. However this worked and 'libgfortran.a' was created. > So I tried the same approach in the libquadmath subfolder in order to > build 'libquadmath.a'. So in this subfolder I ran: > automake./configuremake > However all I got was the following output and no files created: > make=C2=A0 all-am > make[1]: Entering directory '/home/root/gcc/libquadmath' >=20 > make=C2=A0 DO=3Dall multi-do # make >=20 > make[2]: Entering directory '/home/root/gcc/libquadmath' >=20 > make[2]: Leaving directory '/home/root/gcc/libquadmath' > make[1]: Leaving directory '/home/root/gcc/libquadmath' >=20 > What should I do here? I presume that this is what the higher Makefile > in gcc runs in this subfolder. So if I was run 'make' of the gcc > folder all the through, I presume that it wouldn't make the file > 'libquadmath.a' either.=C2=A0How do I get it to make libquadmath.a using > the Makefile in the libquadmath subfolder? I don't think this is supported by GCC building system.=C2=A0 libquadmath, like other GCC target libraries, is only expected to be built with the exact same GCC version in the release tarball.=C2=A0 Using another compiler may cause failure. For this specific issue, take a look at configure.ac: AM_CONDITIONAL(BUILD_LIBQUADMATH, [test "x$libquad_cv_have_float128" =3D xy= es]) So, if your compiler does not support __float128, libquadmath building system will do nothing. >From https://gcc.gnu.org/onlinedocs/gcc/Floating-Types.html: =C2=A0 =C2=A0 __float128 is available on i386, x86_64, IA-64, and hppa HP-U= X, as =C2=A0 =C2=A0 well as on PowerPC GNU/Linux targets that enable the vector s= calar=C2=A0 =C2=A0 =C2=A0 (VSX) instruction set. So I guess __float128 is simply not available for your target.=C2=A0 Then there is no way to build libquadmath for it. --=20 Xi Ruoyao School of Aerospace Science and Technology, Xidian University =20