Re: Building clang with gcc-toolchain@11

2022-03-07 Thread Greg Hogan
On Mon, Mar 7, 2022 at 5:18 AM Ludovic Courtès wrote: > The ‘clang’ definition reads: > > ;; Use a sane default include directory. > (string-append "-DC_INCLUDE_DIRS=" > (assoc-ref %build-inputs "libc") > "/include"

Re: Building clang with gcc-toolchain@11

2022-03-07 Thread Ludovic Courtès
Hi, Greg Hogan skribis: > I'd like to instead use the latest gcc-toolchain (currently gcc-toolchain@11) > and have clang-toolchain built with that gcc-toolchain. No matter what > I offer in the "--with-c-toolchain" or "--with-input" options I always see > the following error regarding '(assoc-re

Building clang with gcc-toolchain@11

2022-02-28 Thread Greg Hogan
When creating a profile containing both clang-toolchain and gcc-toolchain I see the same issue as in #43023; however, if I specify the default gcc-toolchain (currently gcc-toolchain@10) then clang and gcc work just fine together. --8<---cut here---start->8--- $