On 2013-06-27 02:02, Kevin Day wrote:
Are you supposed to be able to use gcc to build userland binaries if you built 
world with clang?

I'm on -CURRENT as of a few days ago (using armv6 but i'm not sure if that 
matters).

Yes, the arch matters a lot.  For arm, adding __clear_cache() to libgcc
was explicitly disabled by Andrew here:

http://svnweb.freebsd.org/base?view=revision&revision=244382

"Don't provide clear_cache or the __sync_* functions on ARM with clang
as they are provided by clang as builtin functions."

Maybe those functions should be in libgcc after all, if other programs
depend on this.

-Dimitry
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Reply via email to