GNU bug report logs -
#19733
disfunctional gcc binary when GCJ or gfortran is installed
Previous Next
Full log
Message #17 received at 19733 <at> debbugs.gnu.org (full text, mbox):
Ludovic Courtès <ludo <at> gnu.org> writes:
> ludo <at> gnu.org (Ludovic Courtès) skribis:
>
>> Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de> skribis:
>>
>>> Commit 5f6887e8 fixes this for GCJ, but we still have this problem for
>>> all variants of gfortran, gcc-objc, and gccgo, all of which are built
>>> using the ‘custom-gcc’ procedure.
>>>
>>> It’s probably safe to add a build phase like this to ‘custom-gcc’:
>>>
>>> (add-after 'install 'remove-broken-or-conflicting-files
>>> (lambda* (#:key outputs #:allow-other-keys)
>>> (for-each delete-file
>>> (find-files (string-append (assoc-ref outputs "out") "/bin")
>>> ".*(c\\+\\+|cpp|g\\+\\+|gcc.*)"))
>>> #t))
>>
>> Sounds like it should work. The pattern should also include ‘gcov’.
>
> Could you give it a try?
>
> Ludo’, trying to tidy up the bug database. :-)
Wouldn’t this cause a rebuild of a very large number of packages?
Should I push the above (with ‘gcov’ added to the pattern) to a wip
branch?
~~ Ricardo
This bug report was last modified 9 years and 78 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.