l...@gnu.org (Ludovic Courtès) writes: > Federico Beffa <be...@fbengineering.ch> 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 wrapper and not with GHC >> itself. >> >> See discussion at >> https://lists.gnu.org/archive/html/guix-devel/2017-01/msg01981.html > > Given that the GHC patch is so small, I have a slight preference for > keeping ld-wrapper unchanged and using the GHC patch. To put it > differently, the GHC patch is smaller and less error-prone than the > changes that would need to be made in ld-wrapper.
I don't think that it is a good idea because any upstream change around that code will break our package again and, going forward, we may find other pieces of software making use of this gcc feature. The patch is small, but the effort to find it wasn't. I like to fix things where the problem is, not working around it. Fede