From owner-freebsd-hackers@FreeBSD.ORG Thu Oct 9 10:04:27 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5EABA16A4B3 for ; Thu, 9 Oct 2003 10:04:27 -0700 (PDT) Received: from mayo.ewwww.com (mayo.ewwww.com [216.27.179.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A41843FEA for ; Thu, 9 Oct 2003 10:04:26 -0700 (PDT) (envelope-from bharris@mayo.ewwww.com) Received: from localhost (localhost [127.0.0.1]) by mayo.ewwww.com (Postfix) with ESMTP id 41D1910A95 for ; Thu, 9 Oct 2003 10:04:26 -0700 (PDT) Received: from mayo.ewwww.com ([127.0.0.1]) by localhost (mayo [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 15754-05 for ; Thu, 9 Oct 2003 10:04:25 -0700 (PDT) Received: from mayo.ewwww.com (localhost [127.0.0.1]) by mayo.ewwww.com (Postfix) with ESMTP id EB88010A91 for ; Thu, 9 Oct 2003 10:04:24 -0700 (PDT) Received: (from bharris@localhost) by mayo.ewwww.com (8.12.9+Sun/8.12.2/Submit) id h99H4OcU015903 for freebsd-hackers@freebsd.org; Thu, 9 Oct 2003 10:04:24 -0700 (PDT) Date: Thu, 9 Oct 2003 10:04:24 -0700 From: Brendan Harris To: freebsd-hackers@freebsd.org Message-ID: <20031009170424.GB29943@stotch.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: Compiling Perl on SMP 5.1-RELEASE box X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2003 17:04:27 -0000 I figured this was more appropriate for freebsd-hackers than freebsd-questions. Here's the deal. I'm trying to compile Perl 5.8.1 on a FreeBSD 5.1 SMP box. The kernel is compiled with SMP, APIC and npx support. GCC is version 3.3.1, compiled with POSIX thread support. When I configure Perl with -Dusethreads -Duseithreads (or even 5005threads), it configures properly with no errors, but when I do `make' I get the following error: `sh cflags "optimize='-O'" miniperlmain.o` miniperlmain.c CCCMD = /usr/bin/gcc -DPERL_CORE -c -DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.1/BSDPAN -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -ansi -ffloat-store -fno-strict-aliasing -I/usr/local/include -O -Wall `sh cflags "optimize='-O'" perl.o` perl.c CCCMD = /usr/bin/gcc -DPERL_CORE -c -DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.1/BSDPAN -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -ansi -ffloat-store -fno-strict-aliasing -I/usr/local/include -O -Wall perl.c: In function `S_init_perllib': perl.c:3949: error: parse error before '/' token perl.c:3949:42: too many decimal points in number *** Error code 1 I added in the "-ansi" and "-ffloat_store" gcc arguments after I was already getting this error, just to see if it would fix the problem, but it did not fix it. I can compile Perl without thread support and it works fine. But with thread support it gives me the same error every time. The box is a dual CPU Pentium III 600 and is loading the Pentium Pro MTRR support. This happens with Perl 5.8.0 as well. Anyone have any ideas? --Brendan