Skip to contentSkip to conversation

package:{clang, lld, llvm}: bump to version 11.1.0

PATCH In review James Hilliard 4 participants 7 messages Jan 31, 2022 – Mar 28, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package:{clang, lld, llvm}: bump to version 11.1.0

This appears to be the latest version that has a working lld build.

Version 12.0.0 and newer have broken lld stand-alone builds:
https://bugs.llvm.org/show_bug.cgi?id=49228

---
 package/clang/clang.hash | 2 +-
 package/clang/clang.mk   | 2 +-
 package/lld/lld.hash     | 2 +-
 package/lld/lld.mk       | 2 +-
 package/llvm/llvm.hash   | 2 +-
 package/llvm/llvm.mk     | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)
package/clang/clang.hash +1 -1
index 067a2c0470..32a19c1659 100644
@@ -1,3 +1,3 @@
 # locally calculated
-sha256 5778512b2e065c204010f88777d44b95250671103e434f9dc7363ab2e3804253 clang-9.0.1.src.tar.xz
+sha256 0a8288f065d1f57cb6d96da4d2965cbea32edc572aa972e466e954d17148558b clang-11.1.0.src.tar.xz
 sha256 ebcd9bbf783a73d05c53ba4d586b8d5813dcdf3bbec50265860ccc885e606f47 LICENSE.TXT
package/clang/clang.mk +1 -1
index 939f000cbd..b8dafbeeb4 100644
@@ -5,7 +5,7 @@
 ################################################################################
 
 # LLVM, Clang and lld should be version bumped together
-CLANG_VERSION = 9.0.1
+CLANG_VERSION = 11.1.0
 CLANG_SITE = https://github.com/llvm/llvm-project/releases/download/llvmorg-$(CLANG_VERSION)
 CLANG_SOURCE = clang-$(CLANG_VERSION).src.tar.xz
 CLANG_LICENSE = Apache-2.0 with exceptions
package/lld/lld.hash +1 -1
index 2144cc5666..17b8d18997 100644
@@ -1,3 +1,3 @@
 # locally calculated
-sha256 86262bad3e2fd784ba8c5e2158d7aa36f12b85f2515e95bc81d65d75bb9b0c82  lld-9.0.1.src.tar.xz
+sha256 017a788cbe1ecc4a949abf10755870519086d058a2e99f438829aef24f0c66ce  lld-11.1.0.src.tar.xz
 sha256 f7891568956e34643eb6a0db1462db30820d40d7266e2a78063f2fe233ece5a0  LICENSE.TXT
package/lld/lld.mk +1 -1
index cd1a03c1d3..4bf903cda0 100644
@@ -5,7 +5,7 @@
 ################################################################################
 
 # LLVM, Clang and lld should be version bumped together
-LLD_VERSION = 9.0.1
+LLD_VERSION = 11.1.0
 LLD_SITE = https://github.com/llvm/llvm-project/releases/download/llvmorg-$(LLD_VERSION)
 LLD_SOURCE = lld-$(LLD_VERSION).src.tar.xz
 LLD_LICENSE = Apache-2.0 with exceptions
package/llvm/llvm.hash +1 -1
index 6bf2755777..e93a922492 100644
@@ -1,3 +1,3 @@
 # locally calculated
-sha256 00a1ee1f389f81e9979f3a640a01c431b3021de0d42278f6508391a2f0b81c9a llvm-9.0.1.src.tar.xz
+sha256 ce8508e318a01a63d4e8b3090ab2ded3c598a50258cc49e2625b9120d4c03ea5 llvm-11.1.0.src.tar.xz
 sha256 8d85c1057d742e597985c7d4e6320b015a9139385cff4cbae06ffc0ebe89afee LICENSE.TXT
package/llvm/llvm.mk +1 -1
index 6c721c30b9..7c2821121b 100644
@@ -5,7 +5,7 @@
 ################################################################################
 
 # LLVM, Clang and lld should be version bumped together
-LLVM_VERSION = 9.0.1
+LLVM_VERSION = 11.1.0
 LLVM_SITE = https://github.com/llvm/llvm-project/releases/download/llvmorg-$(LLVM_VERSION)
 LLVM_SOURCE = llvm-$(LLVM_VERSION).src.tar.xz
 LLVM_LICENSE = Apache-2.0 with exceptions
Signature · 6 lines
2.25.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 6 lines · On Sun, 30 Jan 2022 18:59:37 -0700 James Hilliard <[email protected]>…

This appears to be the latest version that has a working lld build.

Version 12.0.0 and newer have broken lld stand-alone builds:
https://bugs.llvm.org/show_bug.cgi?id=49228

Is this really enough? I remember seeing patches a long time ago doing bumps on LLVM/Clang and that was much more involved, which I think explains why we're still at version 9.x.

Romain, any comments on this?

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

Hello James, Thomas, All,

Le 31/01/2022 à 10:45, Thomas Petazzoni via buildroot a écrit :

Quoted 8 lines
Quoted 5 lines · On Sun, 30 Jan 2022 18:59:37 -0700 James Hilliard <[email protected]>…

This appears to be the latest version that has a working lld build.

Version 12.0.0 and newer have broken lld stand-alone builds:
https://bugs.llvm.org/show_bug.cgi?id=49228

Quoted 7 lines
Quoted 1 line

Is this really enough? I remember seeing patches a long time ago doing bumps on LLVM/Clang and that was much more involved, which I think explains why we're still at version 9.x.

Romain, any comments on this?

Adding Matt in Cc:

IIRC, there is an issue with libclc package which is part of the llvm project.

Due to the gap between the two version, all CMake options must be reviewed (long and boring task I agree).

Best regards,
Romain

Quoted 2 lines

Thomas

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#3 lore raw
Quoted 18 lines · Romain Naour

Hello James, Thomas, All,

Quoted 14 lines · Thomas Petazzoni via buildroot
Quoted 6 lines · On Sun, 30 Jan 2022 18:59:37 -0700 James Hilliard <[email protected]>…

This appears to be the latest version that has a working lld build.

Version 12.0.0 and newer have broken lld stand-alone builds:
https://bugs.llvm.org/show_bug.cgi?id=49228

Is this really enough? I remember seeing patches a long time ago doing bumps on LLVM/Clang and that was much more involved, which I think explains why we're still at version 9.x.

Quoted 8 lines
Quoted 1 line

Romain, any comments on this?

Adding Matt in Cc:

IIRC, there is an issue with libclc package which is part of the llvm project.

Due to the gap between the two version, all CMake options must be reviewed (long and boring task I agree).

Oh, I guess there was already a series here with more changes:
https://patchwork.ozlabs.org/project/buildroot/list/?series=233431&submitter=&state=*&q=&archive=both&delegate=

Quoted 7 lines

Best regards,
Romain

Quoted 2 lines

Thomas

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#4 lore raw
Quoted 23 lines · James Hilliard
Quoted 22 lines · Romain Naour

Hello James, Thomas, All,

Quoted 8 lines · Thomas Petazzoni via buildroot
Quoted 5 lines · On Sun, 30 Jan 2022 18:59:37 -0700 James Hilliard <[email protected]>…

This appears to be the latest version that has a working lld build.

Version 12.0.0 and newer have broken lld stand-alone builds:
https://bugs.llvm.org/show_bug.cgi?id=49228

Quoted 7 lines
Quoted 1 line

Is this really enough? I remember seeing patches a long time ago doing bumps on LLVM/Clang and that was much more involved, which I think explains why we're still at version 9.x.

Romain, any comments on this?

Adding Matt in Cc:

Quoted 7 lines
Quoted 4 lines

IIRC, there is an issue with libclc package which is part of the llvm project.

Due to the gap between the two version, all CMake options must be reviewed (long and boring task I agree).

Oh, I guess there was already a series here with more changes:
https://patchwork.ozlabs.org/project/buildroot/list/?series=233431&submitter=&state=*&q=&archive=both&delegate=

Given the discussion in both these threads, I've marked the patch as Changes
Requested.

Regards,
Arnout

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#5 lore raw
Quoted 29 lines · Arnout Vandecappelle
Quoted 25 lines · James Hilliard
Quoted 24 lines · Romain Naour

Hello James, Thomas, All,

Quoted 8 lines · Thomas Petazzoni via buildroot
Quoted 5 lines · On Sun, 30 Jan 2022 18:59:37 -0700 James Hilliard <[email protected]>…

This appears to be the latest version that has a working lld build.

Version 12.0.0 and newer have broken lld stand-alone builds:
https://bugs.llvm.org/show_bug.cgi?id=49228

Quoted 7 lines
Quoted 1 line

Is this really enough? I remember seeing patches a long time ago doing bumps on LLVM/Clang and that was much more involved, which I think explains why we're still at version 9.x.

Romain, any comments on this?

Adding Matt in Cc:

IIRC, there is an issue with libclc package which is part of the llvm project.

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

Due to the gap between the two version, all CMake options must be reviewed (long and boring task I agree).

Oh, I guess there was already a series here with more changes:
https://patchwork.ozlabs.org/project/buildroot/list/?series=233431&submitter=&state=*&q=&archive=both&delegate=

Given the discussion in both these threads, I've marked the patch as Changes
Requested.

I think I managed to fix the blockers with libclc in Matt's series which I've sent as a v12:
https://patchwork.ozlabs.org/project/buildroot/list/?series=291585&submitter=&state=*&q=&archive=both&delegate=

Quoted 4 lines

Regards,
Arnout

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#6 lore raw

James,

Quoted 6 lines

From: James Hilliard <[email protected]>
Sent: Wednesday, March 23, 2022 11:30 PM
To: Arnout Vandecappelle <[email protected]>
Cc: Romain Naour <[email protected]>; Joseph Kogut <[email protected]>; Thomas Petazzoni <[email protected]>; buildroot <[email protected]>; Romain Naour <[email protected]>; Weber, Matthew L Collins <[email protected]>; Valentin Korenblit <[email protected]>
Subject: [External] Re: [Buildroot] [PATCH 1/1] package:{clang, lld, llvm}: bump to version 11.1.0

[snip]

Quoted 2 lines

I think I managed to fix the blockers with libclc in Matt's series which I've sent as a v12:

Thank you for picking up these patches!

I can confirm that the "runtest" passes for the CLANG compiler-rt (ARM64 QEMU) and I've successfully built/used an x86 defconfig(GCC8.x / Linux 4.14) I use for fuzzing.

Regards,
Matt
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot