Re: Problem in sys/boot/i386/cdboot/cdboot.S with clang @237770

2012-06-29 Thread David Wolfskill
On Fri, Jun 29, 2012 at 08:11:28PM +0200, Dimitry Andric wrote:
> ...
> I had not merged r235281 from head to stable/9 yet.  Please try again with 
> r237812.

Much better (after patching with the change for r237812):

FreeBSD d134.dwolf.juniper.net. 9.0-STABLE FreeBSD 9.0-STABLE #201 237770M: Fri 
Jun 29 11:39:57 PDT 2012 
r...@d134.dwolf.juniper.net.:/usr/obj/usr/src/sys/CANARY  i386

Thanks!

I believe that PR i386/169550 may noe be closed.  :-)

Peace,
david
-- 
David H. Wolfskill  da...@catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.


pgpv2NWUG0JvL.pgp
Description: PGP signature


Re: Problem in sys/boot/i386/cdboot/cdboot.S with clang @237770

2012-06-29 Thread Dimitry Andric
On 2012-06-29 15:34, David Wolfskill wrote:
...
> FreeBSD g1-227.catwhisker.org 9.0-STABLE FreeBSD 9.0-STABLE #201 237770M: Fri 
> Jun 29 04:46:48 PDT 2012 
> r...@g1-227.catwhisker.org:/usr/obj/usr/src/sys/CANARY  i386
> 
> OK using gcc, but with clang (separate bootable slice), I get whines and
> a failure:
> 
> clang -O2 -pipe  -I/usr/src/sys/boot/i386/cdboot/../common -ffreestanding 
> -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
> -mno-sse3 -msoft-float -std=gnu99 -Qunused-arguments-c 
> /usr/src/sys/boot/i386/cdboot/cdboot.S
>   .code16
>  ^
> /usr/src/sys/boot/i386/cdboot/cdboot.S:144:3: error: ambiguous instructions 
> require an explicit suffix (could be 'orb', 'orw', 'orl', or 'orq')
>   or $0x1,0x8(%bx) # kargs->bootflags |=
>   ^

I had not merged r235281 from head to stable/9 yet.  Please try again with 
r237812.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Problem in sys/boot/i386/cdboot/cdboot.S with clang @237770

2012-06-29 Thread David Wolfskill
Running on:

FreeBSD g1-227.catwhisker.org 9.0-STABLE FreeBSD 9.0-STABLE #200 237701M: Thu 
Jun 28 06:31:33 PDT 2012 
r...@g1-227.catwhisker.org:/usr/obj/usr/src/sys/CANARY  i386

I was able to build

FreeBSD g1-227.catwhisker.org 9.0-STABLE FreeBSD 9.0-STABLE #201 237770M: Fri 
Jun 29 04:46:48 PDT 2012 
r...@g1-227.catwhisker.org:/usr/obj/usr/src/sys/CANARY  i386

OK using gcc, but with clang (separate bootable slice), I get whines and
a failure:

clang -O2 -pipe  -I/usr/src/sys/boot/i386/cdboot/../common -ffreestanding 
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 
-msoft-float -std=gnu99 -Qunused-arguments-c 
/usr/src/sys/boot/i386/cdboot/cdboot.S
  .code16
 ^
/usr/src/sys/boot/i386/cdboot/cdboot.S:144:3: error: ambiguous instructions 
require an explicit suffix (could be 'orb', 'orw', 'orl', or 'orq')
  or $0x1,0x8(%bx) # kargs->bootflags |=
  ^
/usr/src/sys/boot/i386/cdboot/cdboot.S:272:10: error: .code16 not supported yet
  .code16
 ^
/usr/src/sys/boot/i386/cdboot/cdboot.S:597:10: error: .code16 not supported yet
  .code16
 ^
*** [cdboot.o] Error code 1
1 error

(I've been doing these "parallel gcc/clang" builds of stable/9 on
a daily basis for a few weeks, now; thus is the first time I've
encountered a problem like this.)

More complete logs are available for interested folks -- I do the builds
within script(1).

Peace,
david
-- 
David H. Wolfskill  da...@catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.


pgpBPIdHWfL69.pgp
Description: PGP signature