[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [MirageOS-devel] Fix warnings in Xen C code
On Thu, Aug 13, 2015 at 1:06 PM, Thomas Leonard <talex5@xxxxxxxxx> wrote:
Now I understand why fprintf was a macro pointing to printk -- it seems to defeat the builtin inlining and saves us implementing fputs, etc. in order to get diagnostic output from the OCaml runtime. The mini-os print/printk does a sprintf to a buffer and sends that out via the console ring. Enabling -fno-builtin across xen-ocaml could hurt performance. From [1]: "GCC normally generates special code to handle certain built-in functions more efficiently; for instance, calls to alloca may become single instructions which adjust the stack directly, and calls to memcpy may become inline copy loops." I'll find another way to clean up the warnings. Thanks. -- Len _______________________________________________ MirageOS-devel mailing list MirageOS-devel@xxxxxxxxxxxxxxxxxxxx http://lists.xenproject.org/cgi-bin/mailman/listinfo/mirageos-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |