delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2020/07/26/07:24:36

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Recipient: djgpp-workers AT delorie DOT com
Subject: Re: Missing functions in DJGPP libc (and/or) libm
To: djgpp-workers AT delorie DOT com
References: <91b82d66-c1a2-180b-0f3d-1d2cadd03287 AT iki DOT fi>
From: "Andris Pavenis (andris DOT pavenis AT iki DOT fi) [via djgpp-workers AT delorie DOT com]" <djgpp-workers AT delorie DOT com>
Message-ID: <7fd97802-9155-fbe1-ab90-4d5ea765d152@iki.fi>
Date: Sun, 26 Jul 2020 14:22:05 +0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Thunderbird/68.10.0
MIME-Version: 1.0
In-Reply-To: <91b82d66-c1a2-180b-0f3d-1d2cadd03287@iki.fi>
X-MIME-Autoconverted: from Quoted-Printable to 8bit by delorie.com id 06QBMrUu029926
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 4/12/20 10:32 PM, Andris Pavenis (andris DOT pavenis AT iki DOT fi) [via djgpp-workers AT delorie DOT com] wrote:
> Tried to build current gcc master branch (2020-04-12) with DJGPP related changes. Maybe there are 
> other problems but at least libgfortran doesnot build due to missing functions:
>
> $ grep implicit\  xx | grep error
> ../../../gnu/gcc-10.01-20200412/libgfortran/intrinsics/trigd_lib.inc:84:28: error: implicit 
> declaration of function 'fmaf' [-Werror=implicit-function-declaration]
> ../../../gnu/gcc-10.01-20200412/libgfortran/intrinsics/trigd_lib.inc:84:28: error: implicit 
> declaration of function 'fma' [-Werror=implicit-function-declaration]
> ../../../gnu/gcc-10.01-20200412/libgfortran/intrinsics/trigd_lib.inc:55:56: error: implicit 
> declaration of function 'copysignl' [-Werror=implicit-function-declaration]
> ../../../gnu/gcc-10.01-20200412/libgfortran/intrinsics/trigd_lib.inc:57:46: error: implicit 
> declaration of function 'fabsl' [-Werror=implicit-function-declaration]
> ../../../gnu/gcc-10.01-20200412/libgfortran/intrinsics/trigd_lib.inc:84:28: error: implicit 
> declaration of function 'fmal' [-Werror=implicit-function-declaration]
> ../../../gnu/gcc-10.01-20200412/libgfortran/intrinsics/trigd_lib.inc:76:45: error: implicit 
> declaration of function 'cosl' [-Werror=implicit-function-declaration]
> ../../../gnu/gcc-10.01-20200412/libgfortran/intrinsics/trigd_lib.inc:75:45: error: implicit 
> declaration of function 'sinl' [-Werror=implicit-function-declaration]
> ../../../gnu/gcc-10.01-20200412/libgfortran/intrinsics/trigd_lib.inc:77:45: error: implicit 
> declaration of function 'tanl' [-Werror=implicit-function-declaration]
>
>
> I suspect that we may have more and more such problems in future.
>
> I only tried to build cross-compiler.
>
Built gcc-10.2.0. Did some usual tests (have to check what I can somehow when running test-suite is 
not available):

- building and checking gmp, mpfr and mpc

- building and checking CLN and GiNaC

Problems with latest version og GiNaC (1.7.10): requires C99 functions imported into std namespace. 
libstdc++ however includes them all or none. It is enough to gen one missing for none to be 
included (see after line 20560 of 
https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=libstdc%2B%2B-v3/configure;h=9f9c5a2419aa599ff9f330ac510cb8dfbe116c4f;hb=ee5c3db6c5b2c3332912fb4c9cfa2864569ebd9a). 
That prevented building that version og GiNaC.


Cannot be easily fixed for GCC. DJGPP libc/libm should be fixed instead


Andris




- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019