Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jul 2010 15:44:42 -0700
From:      Navdeep Parhar <nparhar@gmail.com>
To:        Doug Barton <dougb@freebsd.org>
Cc:        freebsd-current@freebsd.org, Kai Wang <kaiw@freebsd.org>
Subject:   Re: Can't compile today's kernel: sys/cam/cam.c + CTF
Message-ID:  <AANLkTi=ufFtCBrQhzrARhgzxhQAFsseRGXcL-sOFXXsU@mail.gmail.com>
In-Reply-To: <alpine.BSF.2.00.1007231536450.1713@qbhto.arg>
References:  <alpine.BSF.2.00.1007231509160.1713@qbhto.arg> <AANLkTinj4KXavgX01j_W8v5pJ5OCTe0_tETUWf6GyBvP@mail.gmail.com> <alpine.BSF.2.00.1007231536450.1713@qbhto.arg>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 23, 2010 at 3:40 PM, Doug Barton <dougb@freebsd.org> wrote:
> On Fri, 23 Jul 2010, Navdeep Parhar wrote:
>
>> On Fri, Jul 23, 2010 at 3:22 PM, Doug Barton <dougb@freebsd.org> wrote:
>>>
>>> I'm getting this with r210435. World built fine:
>>>
>>> cc -c -x assembler-with-cpp -DLOCORE -O -pipe =A0-std=3Dc99 -g -Wall
>>> -Wredundant-decls -Wnested-externs -Wstrict-prototypes
>>> -Wmissing-prototypes
>>> -Wpointer-arith -Winline -Wcast-qual =A0-Wundef -Wno-pointer-sign
>>> -fformat-extensions -nostdinc =A0-I. -I/usr/local/src/sys
>>> -I/usr/local/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADER=
S
>>> -include opt_global.h -fno-common -finline-limit=3D8000 --param
>>> inline-unit-growth=3D100 --param large-function-growth=3D1000
>>> =A0-mno-align-long-strings -mpreferred-stack-boundary=3D2 -mno-mmx -mno=
-3dnow
>>> -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror
>>> /usr/local/src/sys/i386/i386/locore.s
>>> cc -c -O -pipe =A0-std=3Dc99 -g -Wall -Wredundant-decls -Wnested-extern=
s
>>> -Wstrict-prototypes =A0-Wmissing-prototypes -Wpointer-arith -Winline
>>> -Wcast-qual =A0-Wundef -Wno-pointer-sign -fformat-extensions -nostdinc =
-I.
>>> -I/usr/local/src/sys -I/usr/local/src/sys/contrib/altq -D_KERNEL
>>> -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common
>>> -finline-limit=3D8000 --param inline-unit-growth=3D100 --param
>>> large-function-growth=3D1000 =A0-mno-align-long-strings
>>> -mpreferred-stack-boundary=3D2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2
>>> -mno-sse3 -ffreestanding -fstack-protector -Werror
>>> /usr/local/src/sys/cam/cam.c
>>> *** Signal 11
>>>
>>> Removing makeoptions =A0 =A0 WITH_CTF=3Dyes does the trick.
>>
>> I ran into this earlier today. =A0ctfconvert would dump core during
>> buildkernel.
>> Please try r210438
>
> I updated to that revision, tried just rebuilding ctfconvert, didn't work=
.
> Then I tried installing the new ctfconvert, still doesn't work. Do I need=
 to
> go farther up the tree?

Hmm.  I think a "make toolchain" in /usr/src before you build your
kernel should fix it.  You probably have an old ctfconvert sitting
around.

Regards,
Navdeep



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=ufFtCBrQhzrARhgzxhQAFsseRGXcL-sOFXXsU>