bug#37999: clang fails to pickup/supply startfiles to ld

2019-11-16 Thread Mathieu Othacehe
Hello, I'm closing this one as you pushed the patch. Mathieu

bug#37999: clang fails to pickup/supply startfiles to ld

2019-11-07 Thread Danny Milosavljevic
Wait. Rust depends on clang? I'm pretty sure that's not the case. The only time gnu/packages/rust.scm refers to clang is to delete it. pgpRZYqAXEuED.pgp Description: OpenPGP digital signature

bug#37999: clang fails to pickup/supply startfiles to ld

2019-11-04 Thread Mathieu Othacehe
> Marius: I believe this will only cause a rebuild for clang and not > llvm, which means that it only affects ~30 packages. Perhaps this can > go in master? Would love to know your thoughts. There is also the problem that IceCat depends on Rust which depends on Clang as stated by Mark. Mathieu

bug#37999: clang fails to pickup/supply startfiles to ld

2019-11-04 Thread Carl Dong
Thank you so much Mathieu for the patch! Marius: I believe this will only cause a rebuild for clang and not llvm, which means that it only affects ~30 packages. Perhaps this can go in master? Would love to know your thoughts. Cheers, Carl Dong cont...@carldong.me "I fight for the users"

bug#37999: clang fails to pickup/supply startfiles to ld

2019-10-31 Thread Marius Bakke
Mathieu Othacehe writes: > From f126146880e3904f39728313dfc10288b51fc23a Mon Sep 17 00:00:00 2001 > From: Mathieu Othacehe > Date: Thu, 31 Oct 2019 15:05:54 +0100 > Subject: [PATCH] gnu: clang-from-llvm: Fix set-glibc-file-names phase. > > * gnu/packages/llvm.scm (clang-from-llvm)[arguments]:

bug#37999: clang fails to pickup/supply startfiles to ld

2019-10-31 Thread Mathieu Othacehe
This patch is a bit more viable that the previous one I think. Mathieu >From f126146880e3904f39728313dfc10288b51fc23a Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Thu, 31 Oct 2019 15:05:54 +0100 Subject: [PATCH] gnu: clang-from-llvm: Fix set-glibc-file-names phase. *

bug#37999: clang fails to pickup/supply startfiles to ld

2019-10-31 Thread Bengt Richter
Hi Carl, On +2019-10-30 20:48:55 +, Carl Dong wrote: > Hi all, > > Our clang toolchain seems to be quite broken at this time. In particular, it > fails to call `ld` in the right way such that the startfiles are picked up: > I suppose you know that guix ld is more complex than plain vanilla

bug#37999: clang fails to pickup/supply startfiles to ld

2019-10-31 Thread Mathieu Othacehe
Hello Carl, The attached patch fixes it for me, but this piece of code should be rewritten so that we don't have the same failure at every clang major version update. WDYT? Mathieu >From ac0cf4e25f9acdb02bee402b45a8f31a4830fcb7 Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Thu, 31 Oct