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]" Message-ID: <6bde6f65-e01f-d31a-9903-d0b8095ad880@iki.fi> Date: Mon, 27 Apr 2020 20:58:55 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <91b82d66-c1a2-180b-0f3d-1d2cadd03287@iki.fi> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US-large Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from Quoted-Printable to 8bit by delorie.com id 03RHxgbw020549 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 Precedence: bulk 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. > There is some progress on GCC developers side and this problem seems to be fixed. Perhaps DJGPP is not the only target broken by this. Some additional small changes are still needed for libgfortran. There is however one significant question about DJGPP ports of Fortran, Objective-C, Objective-C++ and Ada compilers. Is anybody really using them? Ada compiler is required for bootstrapping so we could be slightly more sure that it works. No such confidence about other mentioned languages. Andris