Re: ZFS: i/o error - all block copies unavailable after upgradin
on 11/09/2011 11:31 Andriy Gapon said the following:
> And I am actually wondering about -fno-unit-at-a-time option.
> In my opinion this is an anti-optimization option and it can actually increase
> a size of a final binary. In fact, it looks like the option was introduced to
> boot2 in r132870 in the year 2004, way before GCC 4.X switch, and it was
> introduced to avoid some optimizations that produced broken code.
> I wonder if there is any reason to keep using that option now.
>
> At least the zfs boot code works fine without the option in my testing.
And it looks like -fno-toplevel-reorder can be used instead of
-fno-unit-at-a-time if we really depend on preserving the order:
http://gcc.gnu.org/gcc-4.2/changes.html
--
Andriy Gapon
_______________________________________________
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"
討論串 (同標題文章)
完整討論串 (本文為第 13 之 18 篇):