From owner-freebsd-current@FreeBSD.ORG Wed Sep 29 13:31:42 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 503B81065674; Wed, 29 Sep 2010 13:31:42 +0000 (UTC) (envelope-from rbgarga@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 88B0C8FC08; Wed, 29 Sep 2010 13:31:41 +0000 (UTC) Received: by wwb17 with SMTP id 17so991502wwb.31 for ; Wed, 29 Sep 2010 06:31:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=wQvL5bIk8aj6je/0KUEjRWFat1Y2PPhUeg3LA4xA8k4=; b=amkosiI5TrLKFtPA6lN1g5fsPkzoCzisuyn3siyB5Qh5rflo8eWt3IXTErhMgXDDPh WvLD3jq06ZuQ+BRtQW9pbZgkKn7uW/dNew2PDB6msTWQP/1qx494AW8Rd7XYIZAqOY8v jTUeUClzXgUEd9Khyer0qq37pj0BxHNQpiUsc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=uWRs6ij1Ve58/ngufX9eYbeFF53/JLrMeh3ZL12+DA37QWQGh0GsL3bdMIXw/poxpp oGiLeBCrw9RFwyn2jqUluSqyVLcsBitN19jpS1gtM0+BQk6oZqVk3bh3RV8LcNia/GwB 2JiBtCVO4bQhSp4TRKuglKjJUt0StHb5+9VVU= Received: by 10.227.138.147 with SMTP id a19mr1504838wbu.93.1285767100469; Wed, 29 Sep 2010 06:31:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.181.142 with HTTP; Wed, 29 Sep 2010 06:31:19 -0700 (PDT) In-Reply-To: References: <4C99A53E.7060707@FreeBSD.org> <20100929002843.GA5001@oriental.arm.org> <4CA2E00D.3080102@FreeBSD.org> <4CA3244D.7030907@FreeBSD.org> From: Renato Botelho Date: Wed, 29 Sep 2010 10:31:19 -0300 Message-ID: To: Dimitry Andric Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: dlt@mebtel.net, current@freebsd.org Subject: Re: Clang now builds world and kernel, on i386 and amd64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Sep 2010 13:31:42 -0000 On Wed, Sep 29, 2010 at 10:12 AM, Renato Botelho wrote: > On Wed, Sep 29, 2010 at 9:40 AM, Renato Botelho wrote= : >> On Wed, Sep 29, 2010 at 8:34 AM, Dimitry Andric wrote: >>> On 2010-09-29 13:23, Renato Botelho wrote: >>>> >>>> #!/usr/bin/perl >>>> >>>> use File::Temp; >>>> >>>> my ( $fh, $filename ) =3D File::Temp::tempfile(); >>>> print "$filename\n"; >>> >>> For me it works perfectly, though I am using perl 5.10: >>> >>> $ cat foo.pl >>> #!/usr/bin/perl >>> >>> use File::Temp; >>> >>> my ( $fh, $filename ) =3D File::Temp::tempfile(); >>> print "$filename\n"; >>> $ perl -v >>> >>> This is perl, v5.10.1 (*) built for i386-freebsd-64int >>> >>> Copyright 1987-2009, Larry Wall >>> >>> Perl may be copied only under the terms of either the Artistic License = or >>> the >>> GNU General Public License, which may be found in the Perl 5 source kit= . >>> >>> Complete documentation for Perl, including FAQ lists, should be found o= n >>> this system using "man perl" or "perldoc perl". =A0If you have access t= o the >>> Internet, point your browser at http://www.perl.org/, the Perl Home Pag= e. >>> >>> $ perl foo.pl >>> /tmp/tv25CPnWhF >>> $ perl foo.pl >>> /tmp/L2UJQ5_JJs >>> $ perl foo.pl >>> /tmp/6ynQYvWIc1 >>> $ perl foo.pl >>> /tmp/Tdpf7PKBMg >>> $ perl foo.pl >>> /tmp/76ir2i1ici >>> $ perl foo.pl >>> /tmp/LhfD0eZgd8 >>> >>> I'll try building perl 5.12 and try it again. >>> >>> Btw, I assume you did *not* rebuild perl with clang, so your perl is >>> still compiled with gcc? >>> >> >> Well, I find out where the problem is, now I have my entire >> system built with gcc. After install libc.so.7 built with clang >> the problem starts, installing same lib built with gcc the >> problem stops. >> >> How can I debug it to give you more information? > > Re-sending to the list, here is a ktrace using built-with-clang > libc.so.7, when the error occours. Seems the list didn't like my attachment, so here is place to get it - http://people.freebsd.org/~garga/ktrace-error.txt.gz --=20 Renato Botelho