develooper Front page | perl.perl5.porters | Postings from July 2016

Re: [perl #126203] "Perl v1305670057.0.0 required" in quadmath build

Thread Previous | Thread Next
From:
Dan Collins
Date:
July 11, 2016 02:41
Subject:
Re: [perl #126203] "Perl v1305670057.0.0 required" in quadmath build
Message ID:
CA+tt54+vL8k4YDoHodord-8hRrtw6O8m8YtVP65G=agMTAi-hA@mail.gmail.com
I accidentally triggered this again today while debugging something else.
Any chance Tony's patch can be applied?

On Sun, Apr 10, 2016 at 11:57 PM, Tony Cook via RT <
perlbug-followup@perl.org> wrote:

> On Sat Sep 26 19:25:52 2015, dcollinsn@gmail.com wrote:
> > Greetings Porters,
> >
> > While attempting to build a quadmath Perl on my shiny new 64-bit
> > Debian VM, using the following command:
> >
> > ./Configure -Dusedevel -Dcc='ccache gcc' -Duselongdouble -Duse64bitall
> > -Dusequadmath -Uman1dir -Uman3dir -des
>
> Build with -Duselongdouble or -Dusequadmath - not both.
>
> Building with both confuses the build, mostly because parts of the process
> test quadmath first and others test longdouble first.
>
> The attached makes Configure abort if both are provided.
>
> I considered having one override the other - but which did the user really
> want?
>
> Tony
>
> ---
> via perlbug:  queue: perl5 status: open
> https://rt.perl.org/Ticket/Display.html?id=126203
>
> From 99b748044ec2674a742600a470d753a96d9b55da Mon Sep 17 00:00:00 2001
> From: Tony Cook <tony@develop-help.com>
> Date: Mon, 11 Apr 2016 13:55:45 +1000
> Subject: make Configure abort if both -Duselongdouble and -Dusequadmath are
>  requested
>
> See [perl #126203]
> ---
>  Configure | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
>
> diff --git a/Configure b/Configure
> index 2e19e2c..69377ba 100755
> --- a/Configure
> +++ b/Configure
> @@ -5238,6 +5238,20 @@ case "$usequadmath" in
>  *)                    usequadmath="$undef"  ;;
>  esac
>
> +: Fail if both uselongdouble and usequadmath are requested
> +case "$usequadmath:$uselongdouble" in
> +define:define)
> +       $cat <<EOM >&4
> +
> +*** You requested the use of the quadmath library and use
> +*** of long doubles.
> +***
> +*** Please select one or the other.
> +EOM
> +       exit 1
> +        ;;
> +esac
> +
>  : Looking for optional libraries
>  echo " "
>  echo "Checking for optional libraries..." >&4
> --
> 2.1.4
>
>
>

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About