Re: buildworld fails on recent stable
Thanks Dimitry. Confirmed successful build here, too. -- James. ___ 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"
Re: buildworld fails on recent stable
On Fri, Nov 09, 2012 at 12:28:11AM +0100, Dimitry Andric wrote: > ... > I have also looked at merging the snapshot of 3.2 we now have in head to > stable/9, but it is also quite some work, so I found a better solution: > I managed to shrink boot2 by enough bytes to make it fit again. > > I committed the change to head in r242804, and I will MFC it in 3 days, > if there are no regressions reported. Meanwhile, please apply the > attached patch. > Works for me -- I'm now running: FreeBSD g1-227.catwhisker.org 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #292 242822M: Fri Nov 9 04:26:20 PST 2012 r...@g1-227.catwhisker.org:/usr/obj/usr/src/sys/CANARY i386 built with clang. Peace, david -- David H. Wolfskill da...@catwhisker.org Taliban: Evil men with guns afraid of truth from a 14-year old girl. See http://www.catwhisker.org/~david/publickey.gpg for my public key. pgpgcOS3zRryn.pgp Description: PGP signature
Re: buildworld fails on recent stable
Thanks, looking forward to MFC! -- View this message in context: http://freebsd.1045724.n5.nabble.com/buildworld-fails-on-recent-stable-tp5758273p5759526.html Sent from the freebsd-stable mailing list archive at Nabble.com. ___ 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"
Re: buildworld fails on recent stable
On 2012-11-05 17:28, Volodymyr Kostyrko wrote: 05.11.2012 18:00, Andriy Gapon wrote: I bet on clang 3.2. Thank you for checking. So how do we proceed from here? I could just revert the MFC-es, but the functionality could be desirable to some users. Are there any alternatives? Dunno, clang 3.2 is still pending so I guess it wouldn't be MFC'ed until December 16th? Being a minor issue it can make some people shrug from using clang for testing stable... While clang 3.2 will be branched for release soon, and hopefully will be released on the date you mention, it will probably not appear instantly in head. We need to test it rather thoroughly, to see if there are no unexpected side effects. Even then, I would not merge it to stable/9 after at least a month of settling in head. I have also looked at merging the snapshot of 3.2 we now have in head to stable/9, but it is also quite some work, so I found a better solution: I managed to shrink boot2 by enough bytes to make it fit again. I committed the change to head in r242804, and I will MFC it in 3 days, if there are no regressions reported. Meanwhile, please apply the attached patch. -Dimitry Index: sys/boot/i386/boot2/sio.S === --- sys/boot/i386/boot2/sio.S (revision 242667) +++ sys/boot/i386/boot2/sio.S (working copy) @@ -40,13 +40,11 @@ sio_init: pushl %eax movb $0x3,%al # Set RTS, outb %al,(%dx) # DTR incl %edx # Line status reg - call sio_flush - ret + # Fallthrough /* int sio_flush(void) */ -sio_flush: xorl %eax,%eax # Return value - xorl %ecx,%ecx # Timeout +sio_flush: xorl %ecx,%ecx # Timeout movb $0x80,%ch # counter sio_flush.1: call sio_ischar # Check for character jz sio_flush.2 # Till none ___ 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"
Re: buildworld fails on recent stable
I unfortunately confirm this problem. While not "true and only way", I had impression, that (at this point) 9-STABLE should be possible to build with clang at any time. After all, building with clang started with essentially still 8 code. With introduction of: WITH_CLANG_IS_CC=true WITHOUT_GCC=true one can have at this point gcc42-less system, and for quite some time. I understand that situation is complicated, but would be happy if it would be fixed before Dec 16. -- View this message in context: http://freebsd.1045724.n5.nabble.com/buildworld-fails-on-recent-stable-tp5758273p5759209.html Sent from the freebsd-stable mailing list archive at Nabble.com. ___ 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"
Re: buildworld fails on recent stable
05.11.2012 18:00, Andriy Gapon wrote: I bet on clang 3.2. Thank you for checking. So how do we proceed from here? I could just revert the MFC-es, but the functionality could be desirable to some users. Are there any alternatives? Dunno, clang 3.2 is still pending so I guess it wouldn't be MFC'ed until December 16th? Being a minor issue it can make some people shrug from using clang for testing stable... I think reverting the working change is not good as far as building world with clang is still not the true and default way. -- Sphinx of black quartz, judge my vow. ___ 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"
Re: buildworld fails on recent stable
on 05/11/2012 17:52 Volodymyr Kostyrko said the following: > I bet on clang 3.2. Thank you for checking. So how do we proceed from here? I could just revert the MFC-es, but the functionality could be desirable to some users. Are there any alternatives? -- Andriy Gapon ___ 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"
Re: buildworld fails on recent stable
05.11.2012 17:42, Andriy Gapon wrote: on 05/11/2012 16:51 Dimitry Andric said the following: On 2012-11-05 12:41, Volodymyr Kostyrko wrote: When CLANG_IS_CC build fails at sys/boot/i386/boot2: ld -static -N --gc-sections -nostdlib -m elf_i386_fbsd -Ttext 0x2000 -o boot2.out /usr/obj/usr/src/sys/boot/i386/boot2/../btx/lib/crt0.o boot2.o sio.o objcopy -S -O binary boot2.out boot2.bin btxld -v -E 0x2000 -f bin -b /usr/obj/usr/src/sys/boot/i386/boot2/../btx/btx/btx -l boot2.ldr -o boot2.ld -P 1 boot2.bin kernel: ver=1.02 size=690 load=9000 entry=9010 map=16M pgctl=1:1 client: fmt=bin size=1575 text=0 data=0 bss=0 entry=0 output: fmt=bin size=1e05 text=200 data=1c05 org=0 entry=0 -5 bytes available This seems to be caused by r242562, which is an MFC of r241301. The code changes are quite trivial though. Strangely enough, on head it does build successfully, but head is using a newer version of clang, so that may explain the difference. Investigating... I suspect that some earlier space-saving commit was not MFC-ed to stable/9. This can be easily checked: # cd /usr/src/sys/boot/i386/boot2/ # make clean # svn up Updated to revision 242616. # setenv PATH /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin # unsetenv CCACHE_PATH # /usr/local/bin/clang -v clang version 3.2 (trunk) Target: amd64-portbld-freebsd9.1 Thread model: posix # echo CC=/usr/local/bin/clang >> /etc/src.conf # echo CXX=/usr/local/bin/clang++ >> /etc/src.conf # make ld -static -N --gc-sections -nostdlib -m elf_i386_fbsd -Ttext 0x2000 -o boot2.out /usr/obj/usr/src/sys/boot/i386/boot2/../btx/lib/crt0.o boot2.o sio.o objcopy -S -O binary boot2.out boot2.bin btxld -v -E 0x2000 -f bin -b /usr/obj/usr/src/sys/boot/i386/boot2/../btx/btx/btx -l boot2.ldr -o boot2.ld -P 1 boot2.bin kernel: ver=1.02 size=690 load=9000 entry=9010 map=16M pgctl=1:1 client: fmt=bin size=154d text=0 data=0 bss=0 entry=0 output: fmt=bin size=1ddd text=200 data=1bdd org=0 entry=0 35 bytes available dd if=boot2.ld of=boot2 obs=7680 conv=osync 14+1 records in 1+0 records out 7680 bytes transferred in 0.99 secs (77433305 bytes/sec) I bet on clang 3.2. -- Sphinx of black quartz, judge my vow. ___ 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"
Re: buildworld fails on recent stable
on 05/11/2012 16:51 Dimitry Andric said the following: > On 2012-11-05 12:41, Volodymyr Kostyrko wrote: >> When CLANG_IS_CC build fails at sys/boot/i386/boot2: >> >> ld -static -N --gc-sections -nostdlib -m elf_i386_fbsd -Ttext 0x2000 -o >> boot2.out /usr/obj/usr/src/sys/boot/i386/boot2/../btx/lib/crt0.o boot2.o >> sio.o >> objcopy -S -O binary boot2.out boot2.bin >> btxld -v -E 0x2000 -f bin -b >> /usr/obj/usr/src/sys/boot/i386/boot2/../btx/btx/btx -l boot2.ldr -o >> boot2.ld -P 1 boot2.bin >> kernel: ver=1.02 size=690 load=9000 entry=9010 map=16M pgctl=1:1 >> client: fmt=bin size=1575 text=0 data=0 bss=0 entry=0 >> output: fmt=bin size=1e05 text=200 data=1c05 org=0 entry=0 >> -5 bytes available > > This seems to be caused by r242562, which is an MFC of r241301. The > code changes are quite trivial though. Strangely enough, on head it > does build successfully, but head is using a newer version of clang, so > that may explain the difference. Investigating... I suspect that some earlier space-saving commit was not MFC-ed to stable/9. -- Andriy Gapon ___ 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"
Re: buildworld fails on recent stable
On 2012-11-05 12:41, Volodymyr Kostyrko wrote: When CLANG_IS_CC build fails at sys/boot/i386/boot2: ld -static -N --gc-sections -nostdlib -m elf_i386_fbsd -Ttext 0x2000 -o boot2.out /usr/obj/usr/src/sys/boot/i386/boot2/../btx/lib/crt0.o boot2.o sio.o objcopy -S -O binary boot2.out boot2.bin btxld -v -E 0x2000 -f bin -b /usr/obj/usr/src/sys/boot/i386/boot2/../btx/btx/btx -l boot2.ldr -o boot2.ld -P 1 boot2.bin kernel: ver=1.02 size=690 load=9000 entry=9010 map=16M pgctl=1:1 client: fmt=bin size=1575 text=0 data=0 bss=0 entry=0 output: fmt=bin size=1e05 text=200 data=1c05 org=0 entry=0 -5 bytes available This seems to be caused by r242562, which is an MFC of r241301. The code changes are quite trivial though. Strangely enough, on head it does build successfully, but head is using a newer version of clang, so that may explain the difference. Investigating... ___ 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"
Re: buildworld fails on recent stable
On Mon, Nov 5, 2012 at 12:41 PM, Volodymyr Kostyrko wrote: > Hi all. > > When CLANG_IS_CC build fails at sys/boot/i386/boot2: > > ld -static -N --gc-sections -nostdlib -m elf_i386_fbsd -Ttext 0x2000 -o > boot2.out /usr/obj/usr/src/sys/boot/**i386/boot2/../btx/lib/crt0.o > boot2.o sio.o > objcopy -S -O binary boot2.out boot2.bin > btxld -v -E 0x2000 -f bin -b > /usr/obj/usr/src/sys/boot/**i386/boot2/../btx/btx/btx > -l boot2.ldr -o boot2.ld -P 1 boot2.bin > kernel: ver=1.02 size=690 load=9000 entry=9010 map=16M pgctl=1:1 > client: fmt=bin size=1575 text=0 data=0 bss=0 entry=0 > output: fmt=bin size=1e05 text=200 data=1c05 org=0 entry=0 > -5 bytes available > *** [boot2] Error code 1 > > The relevant output before r242562 looked like: > > ld -static -N --gc-sections -nostdlib -m elf_i386_fbsd -Ttext 0x2000 -o > boot2.out /usr/obj/usr/src/sys/boot/**i386/boot2/../btx/lib/crt0.o > boot2.o sio.o > objcopy -S -O binary boot2.out boot2.bin > btxld -v -E 0x2000 -f bin -b > /usr/obj/usr/src/sys/boot/**i386/boot2/../btx/btx/btx > -l boot2.ldr -o boot2.ld -P 1 boot2.bin > kernel: ver=1.02 size=690 load=9000 entry=9010 map=16M pgctl=1:1 > client: fmt=bin size=1569 text=0 data=0 bss=0 entry=0 > output: fmt=bin size=1df9 text=200 data=1bf9 org=0 entry=0 > 7 bytes available > dd if=boot2.ld of=boot2 obs=7680 conv=osync > > -- > Sphinx of black quartz, judge my vow. > I can confirm, for at least revisions 242602 and 242605. Regards Andreas ___ 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"
buildworld fails on recent stable
Hi all. When CLANG_IS_CC build fails at sys/boot/i386/boot2: ld -static -N --gc-sections -nostdlib -m elf_i386_fbsd -Ttext 0x2000 -o boot2.out /usr/obj/usr/src/sys/boot/i386/boot2/../btx/lib/crt0.o boot2.o sio.o objcopy -S -O binary boot2.out boot2.bin btxld -v -E 0x2000 -f bin -b /usr/obj/usr/src/sys/boot/i386/boot2/../btx/btx/btx -l boot2.ldr -o boot2.ld -P 1 boot2.bin kernel: ver=1.02 size=690 load=9000 entry=9010 map=16M pgctl=1:1 client: fmt=bin size=1575 text=0 data=0 bss=0 entry=0 output: fmt=bin size=1e05 text=200 data=1c05 org=0 entry=0 -5 bytes available *** [boot2] Error code 1 The relevant output before r242562 looked like: ld -static -N --gc-sections -nostdlib -m elf_i386_fbsd -Ttext 0x2000 -o boot2.out /usr/obj/usr/src/sys/boot/i386/boot2/../btx/lib/crt0.o boot2.o sio.o objcopy -S -O binary boot2.out boot2.bin btxld -v -E 0x2000 -f bin -b /usr/obj/usr/src/sys/boot/i386/boot2/../btx/btx/btx -l boot2.ldr -o boot2.ld -P 1 boot2.bin kernel: ver=1.02 size=690 load=9000 entry=9010 map=16M pgctl=1:1 client: fmt=bin size=1569 text=0 data=0 bss=0 entry=0 output: fmt=bin size=1df9 text=200 data=1bf9 org=0 entry=0 7 bytes available dd if=boot2.ld of=boot2 obs=7680 conv=osync -- Sphinx of black quartz, judge my vow. ___ 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"