Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 May 2011 18:07:18 -0700
From:      Manfred Antar <null@pozo.com>
To:        current@freebsd.org
Subject:   Clang error make buildworld
Message-ID:  <201105040107.p4417NTR048534@pozo.com>

next in thread | raw e-mail | index | archive | help
I get this error when trying to buildworld on current i386.
It's been this way for awhile Any Ideas ?

===> boot/i386/boot0 (all)
clang -O2 -pipe  -DVOLUME_SERIAL -DPXE -DFLAGS=0x8f  -DTICKS=0xb6  -DCOMSPEED="7 << 5 + 3" -ffreestanding -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -msoft-float -std=gnu99    -c /usr/src/sys/boot/i386/boot0/boot0.S
clang: warning: argument unused during compilation: '-mpreferred-stack-boundary=2'
/tmp/cc-4SXZt8.s:42:11: error: .code16 not supported yet
  .code16 # This runs in real mode
          ^
/tmp/cc-4SXZt8.s:313:3: error: unknown use of instruction mnemonic without a size suffix
  jmp *%bx # Invoke bootstrap
  ^
/tmp/cc-4SXZt8.s:346:3: error: invalid operand for instruction
  retw # To caller
  ^
/tmp/cc-4SXZt8.s:372:3: error: invalid operand for instruction
  retw # To caller
  ^
*** Error code 1

Stop in /usr/src/sys/boot/i386/boot0.
*** Error code 1

Stop in /usr/src/sys/boot/i386.
*** Error code 1

Stop in /usr/src/sys/boot.
*** Error code 1

Stop in /usr/src/sys.

Thanks
Manfred



========================
||      null@pozo.com           ||
||      Ph. (415) 681-6235      ||
======================== 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105040107.p4417NTR048534>