From owner-freebsd-questions@FreeBSD.ORG Sun Mar 7 12:42:10 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 19BBC16A4CE for ; Sun, 7 Mar 2004 12:42:10 -0800 (PST) Received: from asarian-host.net (mail.asarian-host.net [194.109.160.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 576D643D2D for ; Sun, 7 Mar 2004 12:42:09 -0800 (PST) SRS0=umzVyzic=GE=asarian-host.net=admin@asarian-host.net) Comments: To protect the identity of the sender, certain header fields are either not shown, or masked. Anonymous email accounts can be requested by filling in the appropriate form at: https://asarian-host.net/cgi-bin/signup.cgi Received: (from root@localhost) by mail.asarian-host.net (8.12.11/8.12.11) id i27Kg8e8022784 for freebsd-questions@freebsd.org; Sun, 7 Mar 2004 21:42:08 +0100 (CET) (envelope-from admin@asarian-host.net) From: Mark Received-SPF: pass (asarian-host.net: domain of admin@asarian-host.net designates sender IP as SASL permitted sender) Message-Id: <200403072042.I27KG69O022771@asarian-host.net> Date: Sun, 07 Mar 2004 20:42:07 GMT X-Authenticated-Sender: admin@asarian-host.net X-Trace: 9e/6U3R/+GI0VC4Jvyy42oSlWAKfbgoDADY7PjNHzXkPAFQUS3e+DDsdD0i+sdm9S4tyTrz+peKQd0EkyFfMJg== X-Complaints-To: abuse@asarian-host.net X-Abuse-Info: Please be sure to forward a copy of ALL headers, otherwise we are unable to process your complaint Organization: Asarian-host To: "Matthew Seaman" References: <200403071907.I27J7RC2018660@asarian-host.net> <20040307200352.GB94564@happy-idiot-talk.infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Auth: Asarian-host PGP signature iQEVAwUAQEuJHzFqW1BleBN9AQEzmQf/aMHl9Oss3MuYdk5KUhUcP4wlIPQt/pyG 1qdb7U212kVI6NWSP5DGg+TYMYh8dvPIiqDb4XDgj8Mv1z7CUawTu3qx7LpkIGMW V4JMdWi91q145tEDPrktTHx8en1IfPtrN8ZGzHrbSwmCiOHZAV1aY3kfj4nfYcAx CMa+ZPPwxBHV98N/yn6tVY0tqkROu2tNhrYq25MxPoQwedANvqIHCFxlsnsxYXT0 kfsHuXgIcxIehuzmBxeWq7njcU93rGYEqdC69tdP9C2TT8y93piTPXJ76vsafxKW lGIz29O0kIrE1y7/s1eSVWGkEEBBBwMR3D2iSkZrX97xowHkJlil8Q== =EgeP cc: freebsd-questions@freebsd.org Subject: Re: Should I turn MATH_EMULATE back on? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Mar 2004 20:42:10 -0000 ----- Original Message ----- From: "Matthew Seaman" To: "Mark" Cc: Sent: Sunday, March 07, 2004 9:03 PM Subject: Re: Should I turn MATH_EMULATE back on? > On Sun, Mar 07, 2004 at 07:07:54PM +0000, Mark wrote: > > > This is weird. I installed Perl 5.8.2_5 on a clean FreeBSD 4.9R-p3 box, > > and got an error on Time::Hires. > However, I'm running a non-threaded perl: I suspect that may be the > root cause of your problem. Just a few wild guesses here: did you > recently reinstall perl changing from non-threaded to threaded? No. This is a completely new, and clean installation of FreeBSD 4.9R-p3. Yesterday I downloaded 4.9R too, and upgraded to STABLE. When I installed Perl 5.8.2_5 then, everything went fine. Today, I changed my mind about STABLE, and decided I feel safer running a RELEASE version; so I scrubbed the disk again, installed a new 4.9R, and CVSup-ed to 4.9R-p3. Then I tried to install Perl 5.8.2_5 again; but, this time, it failed. There are only two things different since yesterday; 1): I commented out MATH_EMULATE; that potential reason you just eliminated. 2): I no longer run STABLE, but 4.9R-p3. > Do > you have perl modules still around which were compiled under the > non-threaded perl? Or perhaps you've compiled perl using higher than > normal optimization settings, or gcc33 instead of the default > compiler: No. I am not enough of a C wizard to mess with such settings. :) I just ran: make PREFIX=/usr/local/perl-threaded WITH_THREADS >From the ports. And I downloaded the very latest ports.tar.gz for that. > % perl -V:cc > % perl -V:gccversion > % perl -V:optimize Here is the result: asarian-host# /usr/local/perl-threaded/bin/perl -V:cc cc='cc'; asarian-host# /usr/local/perl-threaded/bin/perl -V:gccversion gccversion='2.95.4 20020320 [FreeBSD]'; asarian-host# /usr/local/perl-threaded/bin/perl -V:optimize optimize='-O -pipe '; asarian-host# Thanks, - Mark