public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: "Peter Müller" <peter.mueller@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: [PATCH 40/50] gcc: Compile without ZSTD
Date: Wed, 23 Feb 2022 15:56:05 +0000	[thread overview]
Message-ID: <03d22441-394c-b130-1ed0-ced929c1c6ad@ipfire.org> (raw)
In-Reply-To: <6E8123C8-D812-44C4-9A5C-35AD2FFBA05D@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 2351 bytes --]

Hello Michael,

thanks for your reply.

Yeah, I saw the nightly builds failing across all architectures, too.

The offending patch has been revered:
https://git.ipfire.org/?p=ipfire-2.x.git;a=commit;h=8fa66ce750dee06140e55b689a0645860e005b11

Let's hope everything compiles again _now_ ... :-)

Thanks, and best regards,
Peter Müller


> Hello Peter,
> 
> Could you please revert this patch again?
> 
> Bird seems to (unconditionally) enable LTO which it shouldn’t. This patch shouldn’t break LTO at all, but it does.
> 
> Since this is not a priority right now, could you please just revert this patch?
> 
> -Michael
> 
>> On 22 Feb 2022, at 12:51, Michael Tremer <michael.tremer(a)ipfire.org> wrote:
>>
>> GCC can use ZSTD to compress debugging/LTO information in binary
>> objects. However, on riscv64, compiling zstd requires libatomic which is
>> not available at this point.
>>
>> In order to make the build work, we explicitely disable ZSTD in GCC and
>> build ZSTD after libatomic is available.
>>
>> Although ZSTD offers great compression, we won't have any disadvantages
>> through this change since we do not ship any debugging information and
>> at this point in time to not use LTO.
>>
>> Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
>> ---
>> lfs/gcc | 3 ++-
>> make.sh | 2 +-
>> 2 files changed, 3 insertions(+), 2 deletions(-)
>>
>> diff --git a/lfs/gcc b/lfs/gcc
>> index f78891e24..563e94c16 100644
>> --- a/lfs/gcc
>> +++ b/lfs/gcc
>> @@ -182,7 +182,8 @@ EXTRA_CONFIG += \
>> 	--disable-multilib \
>> 	--with-bugurl=https://bugzilla.ipfire.org \
>> 	--disable-libunwind-exceptions \
>> -	--enable-gnu-unique-object
>> +	--enable-gnu-unique-object \
>> +	--without-zstd
>>
>> export XCFLAGS = $(CFLAGS)
>> export TCFLAGS = $(CFLAGS)
>> diff --git a/make.sh b/make.sh
>> index cb11b36ab..522fe8401 100755
>> --- a/make.sh
>> +++ b/make.sh
>> @@ -1079,7 +1079,6 @@ buildbase() {
>> 	lfsmake2 tzdata
>> 	lfsmake2 cleanup-toolchain
>> 	lfsmake2 zlib
>> -	lfsmake2 zstd
>> 	lfsmake2 autoconf
>> 	lfsmake2 automake
>> 	lfsmake2 libtool
>> @@ -1090,6 +1089,7 @@ buildbase() {
>> 	lfsmake2 libxcrypt
>> 	lfsmake2 file
>> 	lfsmake2 gcc
>> +	lfsmake2 zstd
>> 	lfsmake2 sed
>> 	lfsmake2 berkeley
>> 	lfsmake2 coreutils
>> -- 
>> 2.30.2
>>
> 

  reply	other threads:[~2022-02-23 15:56 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-22 12:50 Make IPFire 2 build on riscv64 Michael Tremer
2022-02-22 12:50 ` [PATCH 01/50] expat: Update to version 2.4.6 - Security/CVE fixes Michael Tremer
2022-02-22 12:50 ` [PATCH 02/50] wireless client: Remove option for WEP Michael Tremer
2022-02-22 12:50 ` [PATCH 03/50] Core Update 165: Ship wirelessclient.cgi Michael Tremer
2022-02-22 12:50 ` [PATCH 04/50] hostapd: Repair LFS file after merge garbage Michael Tremer
2022-02-22 12:50 ` [PATCH 05/50] oci-cli: New package Michael Tremer
2022-02-22 12:50 ` [PATCH 07/50] make.sh: Build the rust compiler earlier Michael Tremer
2022-02-22 12:50 ` [PATCH 08/50] python3-setuptools-rust: New package Michael Tremer
2022-02-22 12:50 ` [PATCH 09/50] python3-typing-extensions: " Michael Tremer
2022-02-22 12:50 ` [PATCH 10/50] python3-semantic-version: " Michael Tremer
2022-02-22 12:50 ` [PATCH 11/50] make.sh: Build python3-packaging sooner Michael Tremer
2022-02-22 12:50 ` [PATCH 12/50] python3-cffi: New package Michael Tremer
2022-02-22 12:50 ` [PATCH 13/50] python3-cryptography: New package required by oci-python-sdk Michael Tremer
2022-02-22 12:50 ` [PATCH 14/50] python3-charset-normalizer: New package Michael Tremer
2022-02-22 12:51 ` [PATCH 15/50] python3-requests: " Michael Tremer
2022-02-22 12:51 ` [PATCH 16/50] python3-certifi: " Michael Tremer
2022-02-22 12:51 ` [PATCH 17/50] python3-idna: " Michael Tremer
2022-02-22 12:51 ` [PATCH 18/50] python3-flit: " Michael Tremer
2022-02-22 12:51 ` [PATCH 19/50] python3-build: " Michael Tremer
2022-02-22 12:51 ` [PATCH 20/50] python3-pep517: " Michael Tremer
2022-02-22 12:51 ` [PATCH 21/50] python3-install: " Michael Tremer
2022-02-22 12:51 ` [PATCH 22/50] python3-pycparser: " Michael Tremer
2022-02-22 12:51 ` [PATCH 23/50] python3-cryptography: Fix build against Rust Michael Tremer
2022-02-22 12:51 ` [PATCH 24/50] make.sh: Re-order build of some Python modules Michael Tremer
2022-02-22 12:51 ` [PATCH 25/50] python3-circuitbreaker: New package Michael Tremer
2022-02-22 12:51 ` [PATCH 26/50] python3-pytz: " Michael Tremer
2022-02-22 12:51 ` [PATCH 27/50] python3-click: " Michael Tremer
2022-02-22 12:51 ` [PATCH 28/50] python3-arrow: " Michael Tremer
2022-02-22 12:51 ` [PATCH 29/50] python3-terminaltables: " Michael Tremer
2022-02-22 12:51 ` [PATCH 30/50] oci-cli: Ship egg metadata Michael Tremer
2022-02-22 12:51 ` [PATCH 31/50] oci-cli: Depend on python3-jmespath Michael Tremer
2022-02-22 12:51 ` [PATCH 32/50] samba: Fix rootfiles on ARM Michael Tremer
2022-02-22 12:51 ` [PATCH 33/50] oci: user-data: Try to decode base64 content Michael Tremer
2022-02-22 12:51 ` [PATCH 34/50] Core Update 165: Ship oci-setup initscript Michael Tremer
2022-02-22 12:51 ` [PATCH 35/50] core164: exclude boot/uEnv.txt Michael Tremer
2022-02-22 12:51 ` [PATCH 36/50] make.sh: Do not throw away any error messages when setting ccache size Michael Tremer
2022-02-22 12:51 ` [PATCH 37/50] make.sh: Follow symlinks when checking if QEMU is static Michael Tremer
2022-02-22 12:51 ` [PATCH 38/50] make.sh: Avoid calling date when determining elapsed seconds Michael Tremer
2022-02-22 12:51 ` [PATCH 39/50] strip: Make this work when cross-compiling Michael Tremer
2022-02-22 12:51 ` [PATCH 40/50] gcc: Compile without ZSTD Michael Tremer
2022-02-23  9:45   ` Michael Tremer
2022-02-23 15:56     ` Peter Müller [this message]
2022-02-22 12:51 ` [PATCH 41/50] jq: Update autotools Michael Tremer
2022-02-22 12:51 ` [PATCH 42/50] make.sh: riscv64: Emulate SiFive U54 CPU Michael Tremer
2022-02-22 12:51 ` [PATCH 43/50] rust: Rust's arch for riscv64 is called riscv64gc Michael Tremer
2022-02-22 12:51 ` [PATCH 44/50] rust: Package for riscv64 Michael Tremer
2022-02-22 12:51 ` [PATCH 45/50] kernel: Add a basic configuration " Michael Tremer
2022-02-22 12:51 ` [PATCH 46/50] liburcu: Update automake to build on riscv64 Michael Tremer
2022-02-22 12:51 ` [PATCH 47/50] suricata: Fix check for level one cache line size Michael Tremer
2022-02-22 12:51 ` [PATCH 48/50] boost: Enable build on all architectures Michael Tremer
2022-02-22 12:51 ` [PATCH 49/50] strip: Do not try to strip QEMU Michael Tremer
2022-02-22 12:51 ` [PATCH 50/50] Config: Disable parallel builds for Cargo on riscv64 Michael Tremer
2022-02-22 12:54   ` Michael Tremer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=03d22441-394c-b130-1ed0-ced929c1c6ad@ipfire.org \
    --to=peter.mueller@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox