Re: [clang] (gpt)zfsboot is broken: zfs_alloc()/zfs_free() misma

看板FB_current作者時間14年前 (2011/08/05 09:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串5/11 (看更多)
On Aug 1, 2011, at 14:24, Test Rat wrote: > Anyone else? I can still reproduce with trunk r136607. > boot and gptboot seem to be unaffected. >=20 > IIRC, with previous clang import it just stuck during boot > without any error messages. A workaround for the hang on boot and "error 1 lba X" failures is the = following patch, it would be interesting if it also makes the = zfs_alloc/free error go away too. Index: sys/boot/i386/zfsboot/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sys/boot/i386/zfsboot/Makefile (revision 224653) +++ sys/boot/i386/zfsboot/Makefile (working copy) @@ -20,7 +20,6 @@ -fomit-frame-pointer \ -fno-unit-at-a-time \ -mno-align-long-strings \ - -mrtd \ -DBOOT2 \ -DSIOPRT=3D${BOOT_COMCONSOLE_PORT} \ -DSIOFMT=3D${B2SIOFMT} \ Index: sys/boot/i386/gptzfsboot/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- sys/boot/i386/gptzfsboot/Makefile (revision 224653) +++ sys/boot/i386/gptzfsboot/Makefile (working copy) @@ -22,7 +22,6 @@ -fomit-frame-pointer \ -fno-unit-at-a-time \ -mno-align-long-strings \ - -mrtd \ -DGPT -DBOOT2 \ -DSIOPRT=3D${BOOT_COMCONSOLE_PORT} \ -DSIOFMT=3D${B2SIOFMT} \ dim@ has filed an upstream bug, = http://llvm.org/bugs/show_bug.cgi?id=3D10591 Regards --=20 Pawel _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1EEq3FkC (FB_current)
討論串 (同標題文章)
完整討論串 (本文為第 5 之 11 篇):
文章代碼(AID): #1EEq3FkC (FB_current)