GNU bug report logs -
#39941
Disk-image size increase on core-updates.
Previous Next
Reported by: Mathieu Othacehe <m.othacehe <at> gmail.com>
Date: Fri, 6 Mar 2020 07:38:01 UTC
Severity: normal
Done: Mathieu Othacehe <mathieu <at> cervin.i-did-not-set--mail-host-address--so-tickle-me>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hi!
Congrats on this, Mathieu!
Mathieu Othacehe <m.othacehe <at> gmail.com> skribis:
> You'll find a trimmed patch attached. I found the GCC patch upstream
> (pushed in January), after finding the option in the online manual.
[...]
> From d8c45710847b504912670ebccf319354746f06f9 Mon Sep 17 00:00:00 2001
> From: Mathieu Othacehe <m.othacehe <at> gmail.com>
> Date: Sat, 14 Mar 2020 11:39:52 +0100
> Subject: [PATCH] gnu: cross-gcc: Add a "lib" output.
>
> Add a "lib" output to cross-gcc. This requires an upstream GCC patch adding
> support for --with-toolexeclibdir configure option. This option allows to
> install cross-built GCC libraries in a specific location.
>
> This also fixes the computation of TOOLDIR_BASE_PREFIX, that fails when
> /gnu/store/... directories are involved.
Perhaps add “Fixes <https://bugs.gnu.org/39941>.”
[...]
> + ;; TOOLDIR_BASE_PREFIX is erroneous when using a separate "lib"
> + ;; output. Specify it correctly, otherwise GCC won't find its shared
> + ;; libraries installed in the "lib" output.
How erroneous is it? Is there a bug report we could link to?
> +++ b/gnu/packages/patches/gcc-7-cross-toolexeclibdir.patch
> @@ -0,0 +1,2654 @@
> +This patch taken from GCC upstream adds support for overriding cross-compiled
> +shared libraries installation path. This is needed to have a separate "lib"
> +output containing those shared libraries.
Could you add a link to the web view of the commit, if possible?
From this patch, I think we should keep only the generated bit
(‘configure’ and ‘Makefile.in’ files) and discard everything else. We
can probably also discard changes in bundled libraries (zlib, libgc,
etc.).
The comment should mention that we’ve stripped things compared to the
upstream commit.
Apologies for suggesting some more tedious work, but I think it’ll be
helpful! :-)
Thank you!
Ludo’.
This bug report was last modified 4 years and 355 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.