[cfe-dev] FreeBSD kernel - linking

Roman Divacky rdivacky at freebsd.org
Thu Feb 12 07:29:46 PST 2009


hi

I successfully compile FreeBSD kernel but it does not link :)

there are two problems

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?

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

can someone comment on that? btw.. this is on amd64

thnx!

roman

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090212/fae569a4/attachment.sig>


More information about the cfe-dev mailing list