[PATCH] D28791: [compiler-rt][crt] Simple crtbegin and crtend implementation

Eric Christopher via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 31 17:24:47 PST 2018


echristo added a comment.

In D28791#1343013 <https://reviews.llvm.org/D28791#1343013>, @krytarowski wrote:

> Is there intention to support Clang/LLVM by GLIBC/GNU developers? Unlikely (knowing FSF track of reactions against LLVM projects). There are no gcc/libgcc licensing concerns for software hosted on GLIBC (LGPLv3) with libgcc. There already does exist a functional implementation for this OS. There is no need to treat it as an issue on the Clang/LLVM side (maybe except ambitions).


Yes. That intention is there and they've been receptive of patches.

> In my humble opinion we shall not expand the 'vendor lock' approach of libgcc/GNU to other platforms.
> 
> There are other BSD-licensed implementations and Fuchsia can borrow the code freely.

This is irrelevant.

> @joerg mentioned technical issues. I would add that this kind of software is implemented in rather highly OS-specific and ideally compiler-independent way. In my opinion it belongs to libc.

That's fine, it's just not the state of the world and we should support compiling appropriately.

Thanks.

-eric


Repository:
  rCRT Compiler Runtime

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D28791/new/

https://reviews.llvm.org/D28791





More information about the llvm-commits mailing list