[PATCH] Fix getting environment variables for sanitizers needs on FreeBSD
dvyukov at google.com
Tue Jul 8 05:23:28 PDT 2014
On Tue, Jul 8, 2014 at 3:10 PM, Joerg Sonnenberger
<joerg at britannica.bec.de> wrote:
> On Tue, Jul 08, 2014 at 01:34:11PM +0400, Dmitry Vyukov wrote:
>> On Tue, Jul 8, 2014 at 1:17 PM, Viktor Kutuzov
>> <vkutuzov at accesssoftek.com> wrote:
>> >> crt1 is a part of C runtime. I am interested in complete independence of C world for Go runtime.
>> > We would need a special implementation for Go then, I believe.
>> Not necessary. If we have C crt-independent version for Go, then we
>> don't need a separate C crt-dependent version for C++. Just as on
>> linux we have GetEnv that reads a file from /proc.
> Trading a (cheap) dependency on the process init code for a dependency
> on /proc is something most people outside Linux will not consider an
It's not a cheap dependency in my context. It forces one to install C
toolchain for starters (which is not trivial on e.g. windows), then
imposes to use particular driver to call particular linker, etc.
More information about the llvm-commits