Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Sep 2010 10:31:19 -0300
From:      Renato Botelho <rbgarga@gmail.com>
To:        Dimitry Andric <dim@freebsd.org>
Cc:        dlt@mebtel.net, current@freebsd.org
Subject:   Re: Clang now builds world and kernel, on i386 and amd64
Message-ID:  <AANLkTikWQ_tuT-esAUTRPek8zZTuta4_k%2BULXkydo4eQ@mail.gmail.com>
In-Reply-To: <AANLkTikbA1CxwL_rkpfv7uVoO00pFbb1EBzOQa4PB384@mail.gmail.com>
References:  <4C99A53E.7060707@FreeBSD.org> <AANLkTimYj1VnVQBLROE94rqPYO7pQyHWfpjiYYZ2ORrX@mail.gmail.com> <AANLkTikm0FrJbOTiRPQhcqM30N-GyOYRBk_8jR-Gq9jF@mail.gmail.com> <20100929002843.GA5001@oriental.arm.org> <4CA2E00D.3080102@FreeBSD.org> <AANLkTik4k%2Bg8NGwRUp=7bvF2MiHhbBOHmA=Ree_-xRDT@mail.gmail.com> <4CA3244D.7030907@FreeBSD.org> <AANLkTi=GYqRNGia_m6Z7-zRLFrpgnTn36PobzW2_tsyp@mail.gmail.com> <AANLkTikbA1CxwL_rkpfv7uVoO00pFbb1EBzOQa4PB384@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 29, 2010 at 10:12 AM, Renato Botelho <rbgarga@gmail.com> wrote:
> On Wed, Sep 29, 2010 at 9:40 AM, Renato Botelho <rbgarga@gmail.com> wrote=
:
>> On Wed, Sep 29, 2010 at 8:34 AM, Dimitry Andric <dim@freebsd.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikWQ_tuT-esAUTRPek8zZTuta4_k%2BULXkydo4eQ>