From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by mx.groups.io with SMTP id smtpd.web10.32643.1672447830724281711 for ; Fri, 30 Dec 2022 16:50:31 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@bsdio.com header.s=fm3 header.b=tSeZj06M; spf=pass (domain: bsdio.com, ip: 66.111.4.26, mailfrom: rebecca@bsdio.com) Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 1798E5C013A; Fri, 30 Dec 2022 19:50:30 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Fri, 30 Dec 2022 19:50:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdio.com; h=cc :cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm3; t=1672447830; x=1672534230; bh=jrQaBoGZRl zFCJPWTGYdmHrUWqsjuP1DyhGGBlxijcQ=; b=tSeZj06M617t5oaBRsZ8e+6d57 LfoWHSivQ1Q5RUr0cTWM5AoGStQOLl2ZXHTWtmMakM0fN2x8ZtFZOpw/giUAjDND fhV4vEDZhVy7eM1dMd5JnxiWk6YVyfNPyyrLMilhDsB3xqg6tEaxDhfncWwkCPIV 48mLp0NZJ6aS04LDYpPekgN9gOE2qQZYoNpZp0DnMWw8BNULoSXOpO3dSekLxqdH AU+8PW52AVrOq81xEm8BONVSfKzS7AQdBtrmvPIvxcLhYm31RvXtUGqtqTTCPYAY nEpuPjVmy7qvZHGDfKZl+4qEXEj39eMN8mNdFpR6cS6CLSmLiSAZjpa9onZw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1672447830; x=1672534230; bh=jrQaBoGZRlzFCJPWTGYdmHrUWqsj uP1DyhGGBlxijcQ=; b=aqXMn6ax3GSpJcvi8iq108+pjkn4fPhmosUGEv9mk7Ux lprnFgP/fkdh3ci+PTNe7NPt0hsBpLUx+QlXAcTd/Q89IE4KoZ4ZcSbhk6a8tFdu Vm0hVMODS/1F3YO2cXSb81vadlHS03R8Q4sPf4BUsGZKs8zAoUu31+Als2opLQpt jZl8klWwp42q2obp+5+ewFKCToVciOho01Yvr7Q5yB9J5mWp18wJwPZ+lkRpMfl/ HJVySZhrhGw4/kwiEaMYNKLmR0DtTJU8zVHSq0h5JXBbmuwGoMnPVNPIwBzNdNYh kIxBWagK2lPDR0L1sJiC4Al2tRLWSqnhpQGXV+l+eg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrieejgddvkecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpegtkfffgggfuffvvehfhfgjsegrtderredtfeejnecuhfhrohhmpeftvggsvggt tggrucevrhgrnhcuoehrvggsvggttggrsegsshguihhordgtohhmqeenucggtffrrghtth gvrhhnpefhtddtjedvieehffegudevheeiteefffdvheeuffdvtdffieelffdujedugfeu vdenucffohhmrghinhepthhirghnohgtohhrvgdrohhrghdpghhithhhuhgsrdgtohhmne cuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprhgvsggv tggtrgessghsughiohdrtghomh X-ME-Proxy: Feedback-ID: i5b994698:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 30 Dec 2022 19:50:28 -0500 (EST) Message-ID: <45778848-8c16-cbb0-ba8a-69d5a2a7fe76@bsdio.com> Date: Fri, 30 Dec 2022 17:50:27 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [edk2-devel] [PATCH v1] BaseTools: Reduce the LoongArch64 compiler size To: devel@edk2.groups.io, lichao@loongson.cn Cc: Bob Feng , Liming Gao , Yuwei Chen References: <20221230100651.518650-1-lichao@loongson.cn> From: "Rebecca Cran" In-Reply-To: <20221230100651.518650-1-lichao@loongson.cn> Content-Type: multipart/alternative; boundary="------------CCt78Y0ELx0tm2xobzjwhscK" Content-Language: en-US --------------CCt78Y0ELx0tm2xobzjwhscK Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Thanks! The download has gone from 921 MB to 70 MB, which is much better. Though, I noticed both files are gz, not xz as the filenames indicate: Downloads bcran$ file *.tar.xz loongarch64-clfs-6.3-cross-tools-c-only.tar.xz:   gzip compressed data, from Unix, original size modulo 2^32 197570560 loongarch64-clfs-6.3-cross-tools-gcc-full.tar.xz: gzip compressed data, from Unix, original size modulo 2^32 3332720640 Reviewed-by: Rebecca Cran -- Rebecca Cran On 12/30/22 3:06 AM, Chao Li wrote: > The LoongArch64 cross compiler size is too large after decompression, > using the new compiler, there is no system library and glibc. > > BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=4233 > > Cc: Bob Feng > Cc: Liming Gao > Cc: Yuwei Chen > Signed-off-by: Chao Li > --- > BaseTools/Bin/gcc_loongarch64_unknown_linux_ext_dep.yaml | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/BaseTools/Bin/gcc_loongarch64_unknown_linux_ext_dep.yaml b/BaseTools/Bin/gcc_loongarch64_unknown_linux_ext_dep.yaml > index fe9a244853..6ebc93a07c 100644 > --- a/BaseTools/Bin/gcc_loongarch64_unknown_linux_ext_dep.yaml > +++ b/BaseTools/Bin/gcc_loongarch64_unknown_linux_ext_dep.yaml > @@ -12,9 +12,9 @@ > "scope": "gcc_loongarch64_unknown_linux", > "type": "web", > "name": "gcc_loongarch64_unknown_linux", > - "source":"https://github.com/loongson/build-tools/releases/download/2022.09.06/loongarch64-clfs-6.3-cross-tools-gcc-full.tar.xz", > + "source":"https://github.com/loongson/build-tools/releases/download/2022.09.06/loongarch64-clfs-6.3-cross-tools-c-only.tar.xz", > "version": "13.0.0", > - "sha256":"27a43c5bb127794f091d0e75da0003c4d0eec28a958d8f2cc7cd290a6e6133ab", > + "sha256":"744cbb50c6ef07c96551bddf07a8b85cee3250bb18b6040f6ed051e389514951", > "compression_type": "tar", > "internal_path": "/cross-tools/", > "flags": ["set_shell_var", ], --------------CCt78Y0ELx0tm2xobzjwhscK Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
Thanks! The download has gone from 921 MB to 70 MB, which is much better.
Though, I noticed both files are gz, not xz as the filenames indicate:

    
Downloads bcran$ file *.tar.xz
loongarch64-clfs-6.3-cross-tools-c-only.tar.xz:   gzip compressed data, from Unix, original size modulo 2^32 197570560
loongarch64-clfs-6.3-cross-tools-gcc-full.tar.xz: gzip compressed data, from Unix, original size modulo 2^32 3332720640

Reviewed-by: Rebecca Cran <rebecca@bsdio.com>

-- 
Rebecca Cran


On 12/30/22 3:06 AM, Chao Li wrote:
The LoongArch64 cross compiler size is too large after decompression,
using the new compiler, there is no system library and glibc.

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4233

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Yuwei Chen <yuwei.chen@intel.com>
Signed-off-by: Chao Li <lichao@loongson.cn>
---
 BaseTools/Bin/gcc_loongarch64_unknown_linux_ext_dep.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/BaseTools/Bin/gcc_loongarch64_unknown_linux_ext_dep.yaml b/BaseTools/Bin/gcc_loongarch64_unknown_linux_ext_dep.yaml
index fe9a244853..6ebc93a07c 100644
--- a/BaseTools/Bin/gcc_loongarch64_unknown_linux_ext_dep.yaml
+++ b/BaseTools/Bin/gcc_loongarch64_unknown_linux_ext_dep.yaml
@@ -12,9 +12,9 @@
   "scope": "gcc_loongarch64_unknown_linux",
   "type": "web",
   "name": "gcc_loongarch64_unknown_linux",
-  "source":"https://github.com/loongson/build-tools/releases/download/2022.09.06/loongarch64-clfs-6.3-cross-tools-gcc-full.tar.xz",
+  "source":"https://github.com/loongson/build-tools/releases/download/2022.09.06/loongarch64-clfs-6.3-cross-tools-c-only.tar.xz",
   "version": "13.0.0",
-  "sha256":"27a43c5bb127794f091d0e75da0003c4d0eec28a958d8f2cc7cd290a6e6133ab",
+  "sha256":"744cbb50c6ef07c96551bddf07a8b85cee3250bb18b6040f6ed051e389514951",
   "compression_type": "tar",
   "internal_path": "/cross-tools/",
   "flags": ["set_shell_var", ],
--------------CCt78Y0ELx0tm2xobzjwhscK--