Skip to contentSkip to conversation

uclibc: use uClibc-ng by default

PATCH New Thomas Petazzoni 4 participants 9 messages Jun 13, 2015 – Jun 14, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 uclibc: use uClibc-ng by default

Since the uClibc project is not making any release since about 3 years, and the uClibc-ng project is now alive and delivering regular releases based on uClibc master plus a number of fixes, let's make uClibc-ng the default uClibc version used by Buildroot.

Cc Waldemar Brodkorb <[email protected]>
---
 package/uclibc/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/uclibc/Config.in +1 -1
index dd23853..9b29ae5 100644
@@ -18,7 +18,7 @@ config BR2_UCLIBC_VERSION_SUPPORTS_NPTL
 
 choice
 	prompt "uClibc C library Version"
-	default BR2_UCLIBC_VERSION_0_9_33
+	default BR2_UCLIBC_VERSION_NG
 	help
 	  Select the version of uClibc you wish to use.
 
Signature · 1 line
2.1.0
author Applied
#1 lore raw

PATCH 1/2 uclibc: use uClibc-ng by default

Hello,

Quoted 10 lines · Thomas Petazzoni

Since the uClibc project is not making any release since about 3 years, and the uClibc-ng project is now alive and delivering regular releases based on uClibc master plus a number of fixes, let's make uClibc-ng the default uClibc version used by Buildroot.

Cc Waldemar Brodkorb <[email protected]>
---
 package/uclibc/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#2 lore raw

PATCH 1/2 uclibc: use uClibc-ng by default

In reply to Thomas Petazzoni
Quoted 7 lines · Thomas Petazzoni

Since the uClibc project is not making any release since about 3 years, and the uClibc-ng project is now alive and delivering regular releases based on uClibc master plus a number of fixes, let's make uClibc-ng the default uClibc version used by Buildroot.

Cc Waldemar Brodkorb <[email protected]>

(e500v2 real target works fine, in general for webkit via qemu it works fine)

#3 lore raw

PATCH 1/2 uclibc: use uClibc-ng by default

In reply to Thomas Petazzoni

Thomas, All,

On 2015-06-13 19:21 +0200, Thomas Petazzoni spake thusly:

Quoted 7 lines

Since the uClibc project is not making any release since about 3 years, and the uClibc-ng project is now alive and delivering regular releases based on uClibc master plus a number of fixes, let's make uClibc-ng the default uClibc version used by Buildroot.

Cc Waldemar Brodkorb <[email protected]>

Regards,
Yann E. MORIN.

Quoted 24 lines
---
 package/uclibc/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/uclibc/Config.in +1 -1
index dd23853..9b29ae5 100644
@@ -18,7 +18,7 @@ config BR2_UCLIBC_VERSION_SUPPORTS_NPTL
 
 choice
 	prompt "uClibc C library Version"
-	default BR2_UCLIBC_VERSION_0_9_33
+	default BR2_UCLIBC_VERSION_NG
 	help
 	  Select the version of uClibc you wish to use.
 
Signature · 6 lines
2.1.0

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#4 lore raw

PATCH 2/2 uclibc: remove Xtensa specific version

In reply to Thomas Petazzoni

Since we now have uClibc-ng, and it is used as the default uClibc version, there is no real need to keep the Xtensa version: this version is just a specific Git revision of uClibc master branch, and uClibc-ng is also based on uClibc master branch.

In addition, since in the choice of uClibc versions, uClibc-ng is already *before* the Xtensa specific version, uClibc-ng has in fact already been the default uClibc version for Xtensa since uClibc-ng support was introduced.

See for example:

http://autobuild.buildroot.org/results/c85/c854fae31d82e0f11d5a8b5bfc196c29bd7e21db/config

for a build on Xtensa with the internal toolchain, where in fact uClibc-ng is used instead of the Xtensa specific version.

Cc Max Filippov <[email protected]>
Cc Waldemar Brodkorb <[email protected]>
---
 package/uclibc/Config.in | 7 -------
 package/uclibc/uclibc.mk | 3 ---
 2 files changed, 10 deletions(-)
package/uclibc/Config.in +0 -7
index 9b29ae5..f69cc25 100644
@@ -43,11 +43,6 @@ choice
 		select BR2_UCLIBC_VERSION_SUPPORTS_NPTL \
 		       if !BR2_arc && !BR2_m68k && !BR2_x86_i386
 
-	config BR2_UCLIBC_VERSION_XTENSA_GIT
-		bool "uClibc Git Xtensa"
-		depends on BR2_xtensa
-		select BR2_UCLIBC_VERSION_SUPPORTS_LINUXTHREADS_OLD
-
 	config BR2_UCLIBC_VERSION_SNAPSHOT
 		bool "daily snapshot"
 		select BR2_UCLIBC_VERSION_SUPPORTS_LINUXTHREADS if !BR2_xtensa
@@ -70,7 +65,6 @@ config BR2_UCLIBC_VERSION_STRING
 	default "0.9.33.2"	if BR2_UCLIBC_VERSION_0_9_33
 	default "arc-2014.12" if BR2_UCLIBC_VERSION_ARC_GIT
 	default "1.0.2"		if BR2_UCLIBC_VERSION_NG
-	default "7bf35c8b7d4a1f97174eb49f47f33946b282114c" if BR2_UCLIBC_VERSION_XTENSA_GIT
 	default BR2_USE_UCLIBC_SNAPSHOT	if BR2_UCLIBC_VERSION_SNAPSHOT
 
 config BR2_UCLIBC_CONFIG
@@ -79,7 +73,6 @@ config BR2_UCLIBC_CONFIG
 	default "package/uclibc/uClibc-ng.config" if BR2_UCLIBC_VERSION_NG
 	default "package/uclibc/uClibc-snapshot.config" if BR2_UCLIBC_VERSION_ARC_GIT
 	default "package/uclibc/uClibc-snapshot.config" if BR2_UCLIBC_VERSION_SNAPSHOT
-	default "package/uclibc/uClibc-snapshot.config" if BR2_UCLIBC_VERSION_XTENSA_GIT
 	help
 	  Some people may wish to use their own modified uClibc configuration
 	  file and will specify their config file location with this option.
package/uclibc/uclibc.mk +0 -3
index b9dce7e..ecbfa11 100644
@@ -18,9 +18,6 @@ UCLIBC_SOURCE = uClibc-ng-$(UCLIBC_VERSION).tar.xz
 else ifeq ($(BR2_UCLIBC_VERSION_ARC_GIT),y)
 UCLIBC_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,uClibc,$(UCLIBC_VERSION))
 UCLIBC_SOURCE = uClibc-$(UCLIBC_VERSION).tar.gz
-else ifeq ($(BR2_UCLIBC_VERSION_XTENSA_GIT),y)
-UCLIBC_SITE = git://git.busybox.net/uClibc
-UCLIBC_SOURCE = uClibc-$(UCLIBC_VERSION).tar.gz
 else
 UCLIBC_SITE = http://www.uclibc.org/downloads
 UCLIBC_SOURCE = uClibc-$(UCLIBC_VERSION).tar.xz
Signature · 1 line
2.1.0
#5 lore raw

PATCH 2/2 uclibc: remove Xtensa specific version

Thomas, All,

On 2015-06-13 19:21 +0200, Thomas Petazzoni spake thusly:

Quoted 12 lines

Since we now have uClibc-ng, and it is used as the default uClibc version, there is no real need to keep the Xtensa version: this version is just a specific Git revision of uClibc master branch, and uClibc-ng is also based on uClibc master branch.

In addition, since in the choice of uClibc versions, uClibc-ng is already *before* the Xtensa specific version, uClibc-ng has in fact already been the default uClibc version for Xtensa since uClibc-ng support was introduced.

See for example:

Quoted 8 lines

http://autobuild.buildroot.org/results/c85/c854fae31d82e0f11d5a8b5bfc196c29bd7e21db/config

for a build on Xtensa with the internal toolchain, where in fact uClibc-ng is used instead of the Xtensa specific version.

Cc Max Filippov <[email protected]>
Cc Waldemar Brodkorb <[email protected]>

Regards,
Yann E. MORIN.

Quoted 58 lines
---
 package/uclibc/Config.in | 7 -------
 package/uclibc/uclibc.mk | 3 ---
 2 files changed, 10 deletions(-)
package/uclibc/Config.in +0 -7
index 9b29ae5..f69cc25 100644
@@ -43,11 +43,6 @@ choice
 		select BR2_UCLIBC_VERSION_SUPPORTS_NPTL \
 		       if !BR2_arc && !BR2_m68k && !BR2_x86_i386
 
-	config BR2_UCLIBC_VERSION_XTENSA_GIT
-		bool "uClibc Git Xtensa"
-		depends on BR2_xtensa
-		select BR2_UCLIBC_VERSION_SUPPORTS_LINUXTHREADS_OLD
-
 	config BR2_UCLIBC_VERSION_SNAPSHOT
 		bool "daily snapshot"
 		select BR2_UCLIBC_VERSION_SUPPORTS_LINUXTHREADS if !BR2_xtensa
@@ -70,7 +65,6 @@ config BR2_UCLIBC_VERSION_STRING
 	default "0.9.33.2"	if BR2_UCLIBC_VERSION_0_9_33
 	default "arc-2014.12" if BR2_UCLIBC_VERSION_ARC_GIT
 	default "1.0.2"		if BR2_UCLIBC_VERSION_NG
-	default "7bf35c8b7d4a1f97174eb49f47f33946b282114c" if BR2_UCLIBC_VERSION_XTENSA_GIT
 	default BR2_USE_UCLIBC_SNAPSHOT	if BR2_UCLIBC_VERSION_SNAPSHOT
 
 config BR2_UCLIBC_CONFIG
@@ -79,7 +73,6 @@ config BR2_UCLIBC_CONFIG
 	default "package/uclibc/uClibc-ng.config" if BR2_UCLIBC_VERSION_NG
 	default "package/uclibc/uClibc-snapshot.config" if BR2_UCLIBC_VERSION_ARC_GIT
 	default "package/uclibc/uClibc-snapshot.config" if BR2_UCLIBC_VERSION_SNAPSHOT
-	default "package/uclibc/uClibc-snapshot.config" if BR2_UCLIBC_VERSION_XTENSA_GIT
 	help
 	  Some people may wish to use their own modified uClibc configuration
 	  file and will specify their config file location with this option.
package/uclibc/uclibc.mk +0 -3
index b9dce7e..ecbfa11 100644
@@ -18,9 +18,6 @@ UCLIBC_SOURCE = uClibc-ng-$(UCLIBC_VERSION).tar.xz
 else ifeq ($(BR2_UCLIBC_VERSION_ARC_GIT),y)
 UCLIBC_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,uClibc,$(UCLIBC_VERSION))
 UCLIBC_SOURCE = uClibc-$(UCLIBC_VERSION).tar.gz
-else ifeq ($(BR2_UCLIBC_VERSION_XTENSA_GIT),y)
-UCLIBC_SITE = git://git.busybox.net/uClibc
-UCLIBC_SOURCE = uClibc-$(UCLIBC_VERSION).tar.gz
 else
 UCLIBC_SITE = http://www.uclibc.org/downloads
 UCLIBC_SOURCE = uClibc-$(UCLIBC_VERSION).tar.xz
Signature · 6 lines
2.1.0

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#6 lore raw

PATCH 2/2 uclibc: remove Xtensa specific version

In reply to Thomas Petazzoni
Quoted 10 lines · Thomas Petazzoni

Since we now have uClibc-ng, and it is used as the default uClibc version, there is no real need to keep the Xtensa version: this version is just a specific Git revision of uClibc master branch, and uClibc-ng is also based on uClibc master branch.

In addition, since in the choice of uClibc versions, uClibc-ng is already *before* the Xtensa specific version, uClibc-ng has in fact already been the default uClibc version for Xtensa since uClibc-ng support was introduced.

Quoted 6 lines

See for example:

http://autobuild.buildroot.org/results/c85/c854fae31d82e0f11d5a8b5bfc196c29bd7e21db/config

for a build on Xtensa with the internal toolchain, where in fact uClibc-ng is used instead of the Xtensa specific version.

Yes, been using it for a while, got no issues so far.

Quoted 7 lines
Cc Max Filippov <[email protected]>
Cc Waldemar Brodkorb <[email protected]>
---
 package/uclibc/Config.in | 7 -------
 package/uclibc/uclibc.mk | 3 ---
 2 files changed, 10 deletions(-)

Patch directory for that version of uClibc can go away as well, I guess.

Signature · 2 lines
Thanks.
-- Max
#7 lore raw

PATCH 2/2 uclibc: remove Xtensa specific version

Dear Max Filippov,

Quoted 1 line · Max Filippov

Patch directory for that version of uClibc can go away as well, I guess.

Indeed, did that before committing, thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#8 lore raw

PATCH 2/2 uclibc: remove Xtensa specific version

In reply to Thomas Petazzoni

Hello,

Quoted 12 lines · Thomas Petazzoni

Since we now have uClibc-ng, and it is used as the default uClibc version, there is no real need to keep the Xtensa version: this version is just a specific Git revision of uClibc master branch, and uClibc-ng is also based on uClibc master branch.

In addition, since in the choice of uClibc versions, uClibc-ng is already *before* the Xtensa specific version, uClibc-ng has in fact already been the default uClibc version for Xtensa since uClibc-ng support was introduced.

See for example:

Quoted 8 lines

http://autobuild.buildroot.org/results/c85/c854fae31d82e0f11d5a8b5bfc196c29bd7e21db/config

for a build on Xtensa with the internal toolchain, where in fact uClibc-ng is used instead of the Xtensa specific version.

Cc Max Filippov <[email protected]>
Cc Waldemar Brodkorb <[email protected]>

As suggested by Max, I've also removed the no-longer needed Xtensa specific patch directory, and applied.

Thanks,

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com