bug#25882: gcc-wrapper doesn't handle response files

2017-05-25 Thread Ludovic Courtès
Hi Federico, Federico Beffa skribis: > l...@gnu.org (Ludovic Courtès) writes: > >> The attached version adds handling of unreadable files and recursion. >> It does not address parsing of quote-delimited options though, but I’m >> tempted to punt on that one. > > My worry is that not handling the

bug#25882: gcc-wrapper doesn't handle response files

2017-03-12 Thread Federico Beffa
l...@gnu.org (Ludovic Courtès) writes: > The attached version adds handling of unreadable files and recursion. > It does not address parsing of quote-delimited options though, but I’m > tempted to punt on that one. My worry is that not handling them may lead to hard to debug, guix specific errors

bug#25882: gcc-wrapper doesn't handle response files

2017-03-11 Thread Ludovic Courtès
Federico Beffa skribis: > l...@gnu.org (Ludovic Courtès) writes: > >> On closer inspection, it’s an easy change to make. >> >> Could you test the attached patch with GHC? > > Thanks for the patch. I've tested it with GHC 8.0.2 and seems to work > for it. However, this is an excerpt of the descr

bug#25882: gcc-wrapper doesn't handle response files

2017-03-08 Thread Federico Beffa
l...@gnu.org (Ludovic Courtès) writes: > On closer inspection, it’s an easy change to make. > > Could you test the attached patch with GHC? Thanks for the patch. I've tested it with GHC 8.0.2 and seems to work for it. However, this is an excerpt of the description of the use of response files f

bug#25882: gcc-wrapper doesn't handle response files

2017-03-07 Thread Ludovic Courtès
Federico Beffa skribis: > l...@gnu.org (Ludovic Courtès) writes: > >> Federico Beffa skribis: >> >>> gcc-wrapper doesn't handle compiler/linker flags passed through >>> response files. >>> >>> One package which recently started using such files is GHC (I believe >>> since 7.10.3). For this reas

bug#25882: gcc-wrapper doesn't handle response files

2017-03-06 Thread Federico Beffa
l...@gnu.org (Ludovic Courtès) writes: > Federico Beffa skribis: > >> gcc-wrapper doesn't handle compiler/linker flags passed through >> response files. >> >> One package which recently started using such files is GHC (I believe >> since 7.10.3). For this reason we currently need to patch it. >>

bug#25882: gcc-wrapper doesn't handle response files

2017-03-06 Thread Ludovic Courtès
Federico Beffa skribis: > gcc-wrapper doesn't handle compiler/linker flags passed through > response files. > > One package which recently started using such files is GHC (I believe > since 7.10.3). For this reason we currently need to patch it. > However, the problem is with our tool chain wrap

bug#25882: gcc-wrapper doesn't handle response files

2017-02-26 Thread Federico Beffa
gcc-wrapper doesn't handle compiler/linker flags passed through response files. One package which recently started using such files is GHC (I believe since 7.10.3). For this reason we currently need to patch it. However, the problem is with our tool chain wrapper and not with GHC itself. See dis