NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD 7.0 i386 mkdep fails



In article <20160605064814.GA15832%warunjikardental.com@localhost>,
Mayuresh  <mayuresh%acm.org@localhost> wrote:
>On Sun, Jun 05, 2016 at 11:58:47AM +0530, Mayuresh wrote:
>> On Sat, Jun 04, 2016 at 09:39:23PM +0000, coypu%SDF.ORG@localhost wrote:
>> > Are you building i386 on amd64?
>> 
>> Sorry for a hasty previous reply. I am trying to build i386 on i386
>> itself.
>

Something is passing "-m64" to the kernel build. Maybe you have something
in your environment, or in /etc/mk.conf? 

mkdep -f OsdSchedule.d --  -msoft-float -mno-mmx -mno-sse -mno-avx
-ffreestanding -fno-zero-initialized-in-bss  "-m64" -fstack-protector
-Wstack-protector   --param ssp-buffer-size=1  -fno-strict-aliasing
-fno-common     -std=gnu99   -Werror -Wall -Wno-main

The i386 compiler is not compiled with the ability to build x86_64 binaries
by default.

christos



Home | Main Index | Thread Index | Old Index