In article <[email protected]>, Mayuresh <[email protected]> wrote: >On Sun, Jun 05, 2016 at 11:58:47AM +0530, Mayuresh wrote: >> On Sat, Jun 04, 2016 at 09:39:23PM +0000, [email protected] 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
