[cfe-dev] FreeBSD kernel - linking

Daniel Dunbar daniel at zuster.org
Thu Feb 12 10:28:47 PST 2009


On Thu, Feb 12, 2009 at 7:29 AM, Roman Divacky <rdivacky at freebsd.org> wrote:
> 1) clang is forcing many .o to use "memmove" which is not defined
> for kernel (kernel does not link with libc). I believe it might
> be for static initalization of structure or something
>
> can this be avoided/altered?

Yes. Please file a bug for this issue; I'm not exactly sure how to
deal with this.

> 2) it seems that clang does not know about  __attribute__((__section__(x)))
> or it groks it wrong

Fixed here: http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090209/012195.html

 - Daniel



More information about the cfe-dev mailing list