GNU bug report logs - #43950
lz4 CC=gcc - Why?

Previous Next

Package: guix;

Reported by: Danny Milosavljevic <dannym <at> scratchpost.org>

Date: Mon, 12 Oct 2020 12:23:01 UTC

Severity: normal

Done: Tobias Geerinckx-Rice <me <at> tobias.gr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 43950 in the body.
You can then email your comments to 43950 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#43950; Package guix. (Mon, 12 Oct 2020 12:23:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Danny Milosavljevic <dannym <at> scratchpost.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Mon, 12 Oct 2020 12:23:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: <bug-guix <at> gnu.org>
Subject: lz4 CC=gcc - Why?
Date: Mon, 12 Oct 2020 14:21:53 +0200
[Message part 1 (text/plain, inline)]
* lz4 has "CC=gcc".  Shouldn't that be (string-append "CC=" (cc-for-target)) ?
[Message part 2 (application/pgp-signature, inline)]

Reply sent to Tobias Geerinckx-Rice <me <at> tobias.gr>:
You have taken responsibility. (Mon, 12 Oct 2020 13:19:01 GMT) Full text and rfc822 format available.

Notification sent to Danny Milosavljevic <dannym <at> scratchpost.org>:
bug acknowledged by developer. (Mon, 12 Oct 2020 13:19:02 GMT) Full text and rfc822 format available.

Message #10 received at 43950-done <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: 43950-done <at> debbugs.gnu.org
Subject: Re: bug#43950: lz4 CC=gcc - Why?
Date: Mon, 12 Oct 2020 15:18:26 +0200
[Message part 1 (text/plain, inline)]
Danny,

Danny Milosavljevic 写道:
> lz4 CC=gcc - Why?

For the same reason as the *hundreds* of other ‘CC=gcc’ 
occurrences in the tree: CC-FOR-TARGET is new.  Out of all of 
them, why are you so interested in LZ4 (I think this is your 
second mail on it :-)?

I'm currently slogging through the "CC=gcc"s & removing as many as 
possible; not fun work but can be done completely off-line.

LZ4 tweaked in 2b6ecdf41a09ab9ecae06d7c537583a2f0f28efc,

T G-R
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#43950; Package guix. (Mon, 12 Oct 2020 13:58:02 GMT) Full text and rfc822 format available.

Message #13 received at 43950-done <at> debbugs.gnu.org (full text, mbox):

From: Danny Milosavljevic <dannym <at> scratchpost.org>
To: Tobias Geerinckx-Rice <me <at> tobias.gr>
Cc: 43950-done <at> debbugs.gnu.org
Subject: Re: bug#43950: lz4 CC=gcc - Why?
Date: Mon, 12 Oct 2020 15:57:01 +0200
[Message part 1 (text/plain, inline)]
Hi,

On Mon, 12 Oct 2020 15:18:26 +0200
Tobias Geerinckx-Rice <me <at> tobias.gr> wrote:

> For the same reason as the *hundreds* of other ‘CC=gcc’ 
> occurrences in the tree: CC-FOR-TARGET is new.  Out of all of 
> them, why are you so interested in LZ4

It's a dependency of genimage (via squashfs-tools).  Breaking it breaks
guix system image generation.

It's a dependency of u-boot.  Breaking it breaks booting on all ARM
machines.

So I rather didn't want to touch it without confirmation...

> (I think this is your  second mail on it :-)?

Ludo said to send extra mails for each--so that's what I am doing.

> LZ4 tweaked in 2b6ecdf41a09ab9ecae06d7c537583a2f0f28efc,

Thanks!
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#43950; Package guix. (Mon, 12 Oct 2020 18:04:02 GMT) Full text and rfc822 format available.

Message #16 received at 43950-done <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: Danny Milosavljevic <dannym <at> scratchpost.org>
Cc: 43950-done <at> debbugs.gnu.org
Subject: Re: bug#43950: lz4 CC=gcc - Why?
Date: Mon, 12 Oct 2020 20:03:40 +0200
[Message part 1 (text/plain, inline)]
Hi Danny,

Danny Milosavljevic 写道:
> It's a dependency of genimage (via squashfs-tools).  Breaking it 
> breaks
> guix system image generation.
>
> It's a dependency of u-boot.  Breaking it breaks booting on all 
> ARM
> machines.

Thanks.  Yes, unfortunately it's a dependency of a lot, making it 
a staging package.

I didn't rebuild all dependents before pushing but I did build 
several packages including u-boot-pine64-lts (on x86_64) as a 
smoke test.  I also verified that lz4 with 
--target=aarch64-linux-gnu actually builds for aarch64 now.  I 
think it's safe.

If anything were to break I'd say it must have been broken before, 
but do let me know if it happens.

> Ludo said to send extra mails for each--so that's what I am 
> doing.

Each package using CC=gcc?  There are currently hundreds; I don't 
think that's what Ludo' meant.  Do hope to have it down to tens 
soon...

Kind regards,

T G-R
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 10 Nov 2020 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 281 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.