[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#32773: [PATCH] Fix clang libstdc++ header location search
From: |
David Truby |
Subject: |
bug#32773: [PATCH] Fix clang libstdc++ header location search |
Date: |
Thu, 14 Nov 2019 13:22:34 +0000 |
Hi Mathieu,
> mathieu@elbruz ~/guix [env]$ ./pre-inst-env guix environment --ad-hoc
> clang --pure
> mathieu@elbruz ~/guix [env]$ clang ~/tmp/t.cpp
> clang-8: error: unable to execute command: Executable "ld" doesn't
> exist!
> clang-8: error: linker command failed with exit code 1 (use -v to see
> invocation)
Interesting, for some reason this worked for me. Although now that I
think about it I may not have used a pure environment, because I do
remember seeing this before.
>
> This is because the linker provided by "binutils" is not accessible.
> I
> guess we need to make something analog to make-gcc-toolchain.
I think adding gcc-toolchain to propagated-inputs should work in
principle, other than the fact that the gcc used for gcc-lib and
libstdc++ need to be the same as the propagated gcc-toolchain. I did
have a fix for this but I'm not sure if it's the best way of writing
it.
I'll send another patch with the fix though so at least others can
comment on it!
David Truby
- bug#32773: [PATCH] Fix clang libstdc++ header location search, David Truby, 2019/11/13
- bug#32773: [PATCH] Fix clang libstdc++ header location search, Carl Dong, 2019/11/13
- bug#32773: [PATCH] Fix clang libstdc++ header location search, Mathieu Othacehe, 2019/11/14
- bug#32773: [PATCH] Fix clang libstdc++ header location search,
David Truby <=
- bug#32773: [PATCH] Fix clang libstdc++ header location search, Mathieu Othacehe, 2019/11/14
- bug#32773: [PATCH] Fix clang libstdc++ header location search, David Truby, 2019/11/14
- bug#32773: [PATCH] Fix clang libstdc++ header location search, Mathieu Othacehe, 2019/11/14
- bug#32773: [PATCH] Fix clang libstdc++ header location search, David Truby, 2019/11/14
- bug#32773: [PATCH] Fix clang libstdc++ header location search, Mathieu Othacehe, 2019/11/15
- bug#32773: [PATCH] Fix clang libstdc++ header location search, Mathieu Othacehe, 2019/11/17
- bug#32773: [PATCH] Fix clang libstdc++ header location search, David Truby, 2019/11/19
- bug#32773: [PATCH] Fix clang libstdc++ header location search, Mathieu Othacehe, 2019/11/19
- bug#32773: [PATCH] Fix clang libstdc++ header location search, Ludovic Courtès, 2019/11/17
bug#32773: [PATCH] Fix clang libstdc++ header location search, Ludovic Courtès, 2019/11/17