toolchain/toolchain-buildroot: default to glibc as the C library
PATCH 1/1 toolchain/toolchain-buildroot: default to glibc as the C library
This is perhaps the most controversial change for Buildroot that can be written in a two-liner.
Historically, we have used uClibc as our default C library, as Buildroot was created initially as a test-bed for uClibc, and also because uClibc made a lot of sense for embedded Linux systems, due to its smaller size and fine-grained configurability.
Since then, the landscape of embedded Linux systems has changed. Even though Buildroot happily supports really low-end devices, the vast majority of Buildroot users are quite certainly running the resulting system on a reasonably powerful platform, with significant amount of RAM and storage. In this context, the benefits of uClibc are no longer that much relevant, and glibc causes less "troubles". Therefore, this patch proposes to use glibc as our default C library when using the internal toolchain backend instead of uClibc.
Of course, we will keep the support for uClibc, which remains an important C library choice, for space-constrained systems, or simply for architectures that are not supported by glibc.
--- toolchain/toolchain-buildroot/Config.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
toolchain/toolchain-buildroot/Config.in +1 -2
@@ -22,8 +22,7 @@ config BR2_TOOLCHAIN_BUILDROOT_VENDOR choice prompt "C library" - default BR2_TOOLCHAIN_BUILDROOT_UCLIBC - default BR2_TOOLCHAIN_BUILDROOT_GLIBC if BR2_powerpc64 + default BR2_TOOLCHAIN_BUILDROOT_GLIBC config BR2_TOOLCHAIN_BUILDROOT_UCLIBC bool "uClibc-ng"
Signature · 6 lines
2.37.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 17 lines · Thomas Petazzoni
This is perhaps the most controversial change for Buildroot that can be written in a two-liner.
Historically, we have used uClibc as our default C library, as Buildroot was created initially as a test-bed for uClibc, and also because uClibc made a lot of sense for embedded Linux systems, due to its smaller size and fine-grained configurability.
Since then, the landscape of embedded Linux systems has changed. Even though Buildroot happily supports really low-end devices, the vast majority of Buildroot users are quite certainly running the resulting system on a reasonably powerful platform, with significant amount of RAM and storage. In this context, the benefits of uClibc are no longer that much relevant, and glibc causes less "troubles". Therefore, this patch proposes to use glibc as our default C library when using the internal toolchain backend instead of uClibc.
Quoted 5 lines
Of course, we will keep the support for uClibc, which remains an important C library choice, for space-constrained systems, or simply for architectures that are not supported by glibc.
Signed-off-by Thomas Petazzoni <[email protected]>
Regards,
Arnout
Quoted 9 lines
--- toolchain/toolchain-buildroot/Config.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)toolchain/toolchain-buildroot/Config.in +0
-0
toolchain/toolchain-buildroot/Config.in config BR2_TOOLCHAIN_BUILDROOT_VENDOR · line 28
Quoted 9 lines
toolchain/toolchain-buildroot/Config.in +1
-2@@ -22,8 +22,7 @@ config BR2_TOOLCHAIN_BUILDROOT_VENDOR choice prompt "C library" - default BR2_TOOLCHAIN_BUILDROOT_UCLIBC - default BR2_TOOLCHAIN_BUILDROOT_GLIBC if BR2_powerpc64 + default BR2_TOOLCHAIN_BUILDROOT_GLIBC config BR2_TOOLCHAIN_BUILDROOT_UCLIBC bool "uClibc-ng"
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas, All,
On 2022-08-15 22:29 +0200, Thomas Petazzoni via buildroot spake thusly:
Quoted 17 lines
This is perhaps the most controversial change for Buildroot that can be written in a two-liner.
Historically, we have used uClibc as our default C library, as Buildroot was created initially as a test-bed for uClibc, and also because uClibc made a lot of sense for embedded Linux systems, due to its smaller size and fine-grained configurability.
Since then, the landscape of embedded Linux systems has changed. Even though Buildroot happily supports really low-end devices, the vast majority of Buildroot users are quite certainly running the resulting system on a reasonably powerful platform, with significant amount of RAM and storage. In this context, the benefits of uClibc are no longer that much relevant, and glibc causes less "troubles". Therefore, this patch proposes to use glibc as our default C library when using the internal toolchain backend instead of uClibc.
Quoted 5 lines
Of course, we will keep the support for uClibc, which remains an important C library choice, for space-constrained systems, or simply for architectures that are not supported by glibc.
Signed-off-by Thomas Petazzoni <[email protected]>
Yes, I will be a bit sad that we demote uClibc-ng, but let's face it:
the word moves on, let's move along.
Regards,
Yann E. MORIN.
Quoted 25 lines
--- toolchain/toolchain-buildroot/Config.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)toolchain/toolchain-buildroot/Config.in +1
-2@@ -22,8 +22,7 @@ config BR2_TOOLCHAIN_BUILDROOT_VENDOR choice prompt "C library" - default BR2_TOOLCHAIN_BUILDROOT_UCLIBC - default BR2_TOOLCHAIN_BUILDROOT_GLIBC if BR2_powerpc64 + default BR2_TOOLCHAIN_BUILDROOT_GLIBC config BR2_TOOLCHAIN_BUILDROOT_UCLIBC bool "uClibc-ng"Signature · 6 lines
2.37.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Peter Korsgaard
Acked-byQuoted 25 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Yann" == Yann E MORIN <[email protected]> writes:
Thomas, All,
On 2022-08-15 22:29 +0200, Thomas Petazzoni via buildroot spake thusly:Quoted 21 lines
This is perhaps the most controversial change for Buildroot that can be written in a two-liner.
Historically, we have used uClibc as our default C library, as Buildroot was created initially as a test-bed for uClibc, and also because uClibc made a lot of sense for embedded Linux systems, due to its smaller size and fine-grained configurability.
Since then, the landscape of embedded Linux systems has changed. Even though Buildroot happily supports really low-end devices, the vast majority of Buildroot users are quite certainly running the resulting system on a reasonably powerful platform, with significant amount of RAM and storage. In this context, the benefits of uClibc are no longer that much relevant, and glibc causes less "troubles". Therefore, this patch proposes to use glibc as our default C library when using the internal toolchain backend instead of uClibc.
Of course, we will keep the support for uClibc, which remains an important C library choice, for space-constrained systems, or simply for architectures that are not supported by glibc.
Quoted 6 lines
Quoted 1 line
Signed-off-by Thomas Petazzoni <[email protected]>Acked-by Yann E. MORIN <[email protected]>Yes, I will be a bit sad that we demote uClibc-ng, but let's face it:
the word moves on, let's move along.
Agreed.
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Romain Naour
Acked-byHello,
Le 16/08/2022 à 23:37, Peter Korsgaard a écrit :
Quoted 27 lines
Quoted 26 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Yann" == Yann E MORIN <[email protected]> writes:
Thomas, All,
On 2022-08-15 22:29 +0200, Thomas Petazzoni via buildroot spake thusly:Quoted 22 lines
This is perhaps the most controversial change for Buildroot that can be written in a two-liner.
Historically, we have used uClibc as our default C library, as Buildroot was created initially as a test-bed for uClibc, and also because uClibc made a lot of sense for embedded Linux systems, due to its smaller size and fine-grained configurability.
Since then, the landscape of embedded Linux systems has changed. Even though Buildroot happily supports really low-end devices, the vast majority of Buildroot users are quite certainly running the resulting system on a reasonably powerful platform, with significant amount of RAM and storage. In this context, the benefits of uClibc are no longer that much relevant, and glibc causes less "troubles". Therefore, this patch proposes to use glibc as our default C library when using the internal toolchain backend instead of uClibc.
Of course, we will keep the support for uClibc, which remains an important C library choice, for space-constrained systems, or simply for architectures that are not supported by glibc.
Signed-off-by Thomas Petazzoni <[email protected]>
Quoted 9 lines
Quoted 4 lines
Acked-by Yann E. MORIN <[email protected]>Yes, I will be a bit sad that we demote uClibc-ng, but let's face it:
the word moves on, let's move along.Agreed.
Acked-by Peter Korsgaard <[email protected]>
The next move is probably increase testing with glibc in the Buildroot testsuite?
Best regards,
Romain
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 32 lines · Romain Naour
Hello,
Le 16/08/2022 à 23:37, Peter Korsgaard a écrit :
Quoted 29 lines
Quoted 28 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Yann" == Yann E MORIN <[email protected]> writes:
Thomas, All,
On 2022-08-15 22:29 +0200, Thomas Petazzoni via buildroot spake thusly:Quoted 17 lines
This is perhaps the most controversial change for Buildroot that can be written in a two-liner.
Historically, we have used uClibc as our default C library, as Buildroot was created initially as a test-bed for uClibc, and also because uClibc made a lot of sense for embedded Linux systems, due to its smaller size and fine-grained configurability.
Since then, the landscape of embedded Linux systems has changed. Even though Buildroot happily supports really low-end devices, the vast majority of Buildroot users are quite certainly running the resulting system on a reasonably powerful platform, with significant amount of RAM and storage. In this context, the benefits of uClibc are no longer that much relevant, and glibc causes less "troubles". Therefore, this patch proposes to use glibc as our default C library when using the internal toolchain backend instead of uClibc.
Quoted 5 lines
Of course, we will keep the support for uClibc, which remains an important C library choice, for space-constrained systems, or simply for architectures that are not supported by glibc.
Signed-off-by Thomas Petazzoni <[email protected]>Acked-by Yann E. MORIN <[email protected]>
Quoted 8 lines
Quoted 7 lines
Quoted 2 lines
Yes, I will be a bit sad that we demote uClibc-ng, but let's face it:
the word moves on, let's move along.Agreed.
Acked-by Peter Korsgaard <[email protected]>The next move is probably increase testing with glibc in the Buildroot testsuite?
If you mean the autobuilder: no, not at all. Quoting James: we actually want
the autobuilder tests to fail - passing tests are not "interesting". And uClibc and musl are much more likely to lead to failures.
Regards,
Arnout
Quoted 5 lines
Acked-by Romain Naour <[email protected]>Best regards,
Romain
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Yann E. MORIN
AppliedThomas, All,
On 2022-08-15 22:29 +0200, Thomas Petazzoni spake thusly:
Quoted 17 lines
This is perhaps the most controversial change for Buildroot that can be written in a two-liner.
Historically, we have used uClibc as our default C library, as Buildroot was created initially as a test-bed for uClibc, and also because uClibc made a lot of sense for embedded Linux systems, due to its smaller size and fine-grained configurability.
Since then, the landscape of embedded Linux systems has changed. Even though Buildroot happily supports really low-end devices, the vast majority of Buildroot users are quite certainly running the resulting system on a reasonably powerful platform, with significant amount of RAM and storage. In this context, the benefits of uClibc are no longer that much relevant, and glibc causes less "troubles". Therefore, this patch proposes to use glibc as our default C library when using the internal toolchain backend instead of uClibc.
Quoted 5 lines
Of course, we will keep the support for uClibc, which remains an important C library choice, for space-constrained systems, or simply for architectures that are not supported by glibc.
Signed-off-by Thomas Petazzoni <[email protected]>
Applied to next, thanks.
Regards,
Yann E. MORIN.
Quoted 21 lines
--- toolchain/toolchain-buildroot/Config.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)toolchain/toolchain-buildroot/Config.in +1
-2@@ -22,8 +22,7 @@ config BR2_TOOLCHAIN_BUILDROOT_VENDOR choice prompt "C library" - default BR2_TOOLCHAIN_BUILDROOT_UCLIBC - default BR2_TOOLCHAIN_BUILDROOT_GLIBC if BR2_powerpc64 + default BR2_TOOLCHAIN_BUILDROOT_GLIBC config BR2_TOOLCHAIN_BUILDROOT_UCLIBC bool "uClibc-ng"Signature · 1 line
2.37.2
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot