This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch, Fortran, committed] Add libquadmath testcase gfortran.dg/quad_2.f90
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: Eric Botcazou <ebotcazou at adacore dot com>
- Cc: Tobias Burnus <burnus at net-b dot de>, gcc-patches at gcc dot gnu dot org, gfortran <fortran at gcc dot gnu dot org>
- Date: Mon, 7 Nov 2011 13:00:11 -0800
- Subject: Re: [Patch, Fortran, committed] Add libquadmath testcase gfortran.dg/quad_2.f90
- References: <4EB5A1C2.7090606@net-b.de> <201111072155.48747.ebotcazou@adacore.com>
On Mon, Nov 07, 2011 at 09:55:48PM +0100, Eric Botcazou wrote:
> > The test uses the largest available floating-point number - be it 8, 10
> > or 16 - and tests for that. The checks should be thus OK for any system.
>
> It fails with a link failure on SPARC Solaris 8 and 9:
>
> FAIL: gfortran.dg/quad_2.f90 -O0 (test for excess errors)
> Excess errors:
> Undefined first referenced
> symbol in file
> sqrtl /var/tmp//ccU7N9qc.o
> ld: fatal: Symbol referencing errors. No output written to ./quad_2.exe
I suppose the obvious question is 'does libm on sparc solaris 8/9
contain a long double sqrtl() function?' If the answer is no,
then xfail the testcase.
--
Steve