Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 2013 13:06:07 +0200
From:      Dimitry Andric <dimitry@andric.com>
To:        Kevin Day <toasty@dragondata.com>,  "freebsd-hackers@freebsd.org Hackers" <freebsd-hackers@freebsd.org>
Cc:        Andrew Turner <andrew@fubar.geek.nz>
Subject:   Re: Can't use gcc in a clang built world
Message-ID:  <51CC1C9F.7080403@andric.com>
In-Reply-To: <DB5E076C-7DF1-47CD-977C-F36F7B1B1A08@dragondata.com>
References:  <DB5E076C-7DF1-47CD-977C-F36F7B1B1A08@dragondata.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51CC1C9F.7080403>