On Sun, Dec 09, 2012 at 01:47:03PM -0800, Garrett Cooper wrote:

>       After talking with some other more knowledgeable people than
>       myself, it looks like opensm is depending upon gcc inline
>       behavior:
>       http://freebsd.1045724.n5.nabble.com/C99-inlines-td4157849.html
>       , http://wiki.freebsd.org/PortsAndClang (look for "undefined
>       or duplicate symbols while linking"). The previously attached
>       patch should be ok for dealing with the linking problem as it
>       just changes the scoping. Definitely learned a few things
>       today about gcc :).

It is definately a bug in the code, it should be 'static inline' - the
reason it doesn't blow up on gcc is most likely because nobody ever
compiled it with a low enough optimization level to see it.

Looks to me like clang is fine, no bug there.

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to