unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#57677: GIMP retains reference to GCC
@ 2022-09-08 13:11 Ludovic Courtès
  2023-02-08  7:13 ` 宋文武 via Bug reports for GNU Guix
  2024-03-23 11:27 ` 宋文武 via Bug reports for GNU Guix
  0 siblings, 2 replies; 3+ messages in thread
From: Ludovic Courtès @ 2022-09-08 13:11 UTC (permalink / raw)
  To: 57677

From ca. commit 2183db8d2ab773f41e4320367645880b06959bfc:

--8<---------------cut here---------------start------------->8---
$ guix size gimp | head -4
store item                                                       total    self
/gnu/store/wdm2s2si8fqsrcd5xpc29ivmpkf20s8d-mesa-21.3.8            411.6   169.6  14.1%
/gnu/store/6pdzpmxg5afzss6dlivq8z84sfa31x22-llvm-11.0.0            221.5   149.5  12.4%
/gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3.0             217.7   145.8  12.1%
$ guix graph --path -t references /gnu/store/m4s1ghyqp05irx8acz2mqa68lyclcsrz-gimp-2.10.32 /gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3.0  
/gnu/store/m4s1ghyqp05irx8acz2mqa68lyclcsrz-gimp-2.10.32
/gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3.0
$ grep -r 069aq2v993kpc41yabp5b6vm4wb9jkhg /gnu/store/m4s1ghyqp05irx8acz2mqa68lyclcsrz-gimp-2.10.32
grep: /gnu/store/m4s1ghyqp05irx8acz2mqa68lyclcsrz-gimp-2.10.32/libexec/gimp-debug-tool-2.0: binary file matches
grep: /gnu/store/m4s1ghyqp05irx8acz2mqa68lyclcsrz-gimp-2.10.32/bin/gimp-console-2.10: binary file matches
grep: /gnu/store/m4s1ghyqp05irx8acz2mqa68lyclcsrz-gimp-2.10.32/bin/gimp-2.10: binary file matches
$ strings /gnu/store/m4s1ghyqp05irx8acz2mqa68lyclcsrz-gimp-2.10.32/bin/gimp-console-2.10 | grep -C3  069aq2v993kpc41yabp5b6vm4wb9jkhg
GNU Image Manipulation Program
	Using built-in specs.
	COLLECT_GCC=gcc
	COLLECT_LTO_WRAPPER=/gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3.0/libexec/gcc/x86_64-unknown-linux-gnu/10.3.0/lto-wrapper
	Target: x86_64-unknown-linux-gnu
	Configured with: 
	Thread model: posix
--8<---------------cut here---------------end--------------->8---

So the root cause is that GIMP’s build process captures the output of
‘gcc -v’, which leads to this unintended retention.

Ludo’.




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#57677: GIMP retains reference to GCC
  2022-09-08 13:11 bug#57677: GIMP retains reference to GCC Ludovic Courtès
@ 2023-02-08  7:13 ` 宋文武 via Bug reports for GNU Guix
  2024-03-23 11:27 ` 宋文武 via Bug reports for GNU Guix
  1 sibling, 0 replies; 3+ messages in thread
From: 宋文武 via Bug reports for GNU Guix @ 2023-02-08  7:13 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 57677

Ludovic Courtès <ludo@gnu.org> writes:

> [...]
> So the root cause is that GIMP’s build process captures the output of
> ‘gcc -v’, which leads to this unintended retention.

I sent a patch to fix reference from 'gcc -v', but gcc is still here via
exiv2->gcc:

rg -a /gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3.0 $(guix build exiv2)

--8<---------------cut here---------------start------------->8---
bin/iptcprint:^@^@^@std::auto_ptr< <template-parameter-1-1> >::element_type* std::auto_ptr< <template-parameter-1-1> >::operator->() const [with _T
p = Exiv2::Image; std::auto_ptr< <template-parameter-1-1>>::element_type =
Exiv2::Image]^@^@^@^@^@^@^@^@/gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3.0/include/c++/backward/auto_ptr.h^@^@%s:%d:
%s: Assertion '%s' failed.
[...]
--8<---------------cut here---------------end--------------->8---




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#57677: GIMP retains reference to GCC
  2022-09-08 13:11 bug#57677: GIMP retains reference to GCC Ludovic Courtès
  2023-02-08  7:13 ` 宋文武 via Bug reports for GNU Guix
@ 2024-03-23 11:27 ` 宋文武 via Bug reports for GNU Guix
  1 sibling, 0 replies; 3+ messages in thread
From: 宋文武 via Bug reports for GNU Guix @ 2024-03-23 11:27 UTC (permalink / raw)
  To: 57677-done


Fixed in commit b099e5e98033, forgot to close.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-03-23 11:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-08 13:11 bug#57677: GIMP retains reference to GCC Ludovic Courtès
2023-02-08  7:13 ` 宋文武 via Bug reports for GNU Guix
2024-03-23 11:27 ` 宋文武 via Bug reports for GNU Guix

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).