Subject: Re: Anyone cross-compiling getting past kdump?
To: R. Tyler Ballance <tyler@ekkobsd.org>
From: Hisashi T Fujinaka <htodd@twofifty.com>
List: port-sparc
Date: 09/19/2004 20:27:46
And christos just checked in 
src/sys/compat/linux/common: linux_types.h
that might fix this.

On Sun, 19 Sep 2004, R. Tyler Ballance wrote:

> That's pretty much what i'm talking about, in regards for cross-compiling, for
> sparc on i386, I have a fast NetBSD server that I want to do NetBSD/sparc
> builds on, but it borks on kdump IIRC
>
> -----------------
> R. Tyler Ballance
> NetBSD-FreeBSD-L4::Pistachio
>
> ---------- Original Message -----------
> From: Hisashi T Fujinaka <htodd@twofifty.com>
> To: "R. Tyler Ballance" <tyler@ekkobsd.org>
> Sent: Sun, 19 Sep 2004 20:13:55 -0700 (PDT)
> Subject: Re: Anyone cross-compiling getting past kdump?
>
>> Nope. Just port-sparc. I just did a ./build distribution on i386 to
>> confirm that there's no problem there.
>>
>> Oh, and for more info: the sources are very current (just ran cvs update
>> at 0200GMT on 20-Sep) and still no joy with crosscompiling on sparc.
>>
>> On Sun, 19 Sep 2004, R. Tyler Ballance wrote:
>>
>>> If you're talking about on i386, I was having the _same_ problems.
>>>
>>> Somebody should figure this out ;)
>>>
>>> -----------------
>>> R. Tyler Ballance
>>> NetBSD-FreeBSD-L4::Pistachio
>>>
>>> ---------- Original Message -----------
>>> From: Hisashi T Fujinaka <htodd@twofifty.com>
>>> To: port-sparc@netbsd.org
>>> Sent: Sun, 19 Sep 2004 15:04:08 -0700 (PDT)
>>> Subject: Anyone cross-compiling getting past kdump?
>>>
>>>> #   compile  kdump/setemul.o
>>>> /usr/cross/bin/sparc--netbsdelf-gcc -O2  -Wall -Wstrict-prototypes
>>>> -Wmissing-prototypes -Wpointer-arith -Wno-s ign-compare -Wno-
>>>> traditional -Wno-uninitialized  -Werror   -I/usr/src/usr.bin/ktrace -
>>>> I/usr/src/sys  -nostdinc  -isystem
>>>> /usr/src/obj.sparc/destdir.sparc/usr/include  -c
>>> /usr/src/usr.bin/kdump/setemul.c
>>>> In file included from
>>>> /usr/src/sys/compat/linux/common/linux_signo.c:44,
>>>>  from /usr/src/usr.bin/kdump/setemul.c:141:
>>>> /usr/src/sys/compat/linux/common/linux_types.h:113: error: parse
>>>> error before "linux_fsid_t"
>>>> /usr/src/sys/compat/linux/common/linux_types.h:113: warning: no
>>>> semicolon at end of struct or union
>>>> /usr/src/sys/compat/linux/common/linux_types.h:117: error: parse
>>>> error before '}' token
>>>>
>>>> *** Failed target:  setemul.o
>>>> *** Failed command: /usr/cross/bin/sparc--netbsdelf-gcc -O2 -Wall -
>>>> Wstrict-prototypes -Wmissing-prototypes -Wp ointer-arith -Wno-sign-
>>>> compare -Wno-traditional -Wno-uninitialized -Werror -
>>>> I/usr/src/usr.bin/ktrace -I/usr/sr c/sys -nostdinc -isystem
>>>> /usr/src/obj.sparc/destdir.sparc/usr/include -c
> /usr/src/usr.bin/kdump/setemul.c
>>>> *** Error code 1
>>>>
>>>> --
>>>> Hisashi T Fujinaka - htodd@twofifty.com
>>>> BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte
>>> ------- End of Original Message -------
>>>
>>
>> --
>> Hisashi T Fujinaka - htodd@twofifty.com
>> BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte
> ------- End of Original Message -------
>

-- 
Hisashi T Fujinaka - htodd@twofifty.com
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte