diff mbox

[v3,6/7] toolchain: uclibc does not support microblze

Message ID 1384378130-8599-7-git-send-email-spenser@gillilanding.com
State Superseded
Headers show

Commit Message

Spenser Gilliland Nov. 13, 2013, 9:28 p.m. UTC
Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
---
 toolchain/toolchain-buildroot/Config.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Comments

Thomas Petazzoni Nov. 13, 2013, 9:58 p.m. UTC | #1
Dear Spenser Gilliland,

On Wed, 13 Nov 2013 15:28:49 -0600, Spenser Gilliland wrote:
> 
> Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
> ---
>  toolchain/toolchain-buildroot/Config.in |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/toolchain/toolchain-buildroot/Config.in b/toolchain/toolchain-buildroot/Config.in
> index 1529004..57bbc3d 100644
> --- a/toolchain/toolchain-buildroot/Config.in
> +++ b/toolchain/toolchain-buildroot/Config.in
> @@ -9,6 +9,7 @@ choice
>  config BR2_TOOLCHAIN_BUILDROOT_UCLIBC
>  	bool "uClibc"
>  	select BR2_TOOLCHAIN_USES_UCLIBC
> +	depends on !BR2_microblaze

Hum, I see a libc/sysdeps/linux/microblaze in my uClibc tree. And also,
since there are some no-MMU variant of Microblaze processors, which C
library other than uClibc could they use?

That being said, I don't *require* you to add the support for uClibc.
Having glibc/eglibc support is already good. We can add uClibc support
later on.

Best regards,

Thomas
Spenser Gilliland Nov. 13, 2013, 10:35 p.m. UTC | #2
On Wed, 2013-11-13 at 22:58 +0100, Thomas Petazzoni wrote:
> Dear Spenser Gilliland,
> 
> On Wed, 13 Nov 2013 15:28:49 -0600, Spenser Gilliland wrote:
> > 
> > Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
> > ---
> >  toolchain/toolchain-buildroot/Config.in |    1 +
> >  1 files changed, 1 insertions(+), 0 deletions(-)
> > 
> > diff --git a/toolchain/toolchain-buildroot/Config.in b/toolchain/toolchain-buildroot/Config.in
> > index 1529004..57bbc3d 100644
> > --- a/toolchain/toolchain-buildroot/Config.in
> > +++ b/toolchain/toolchain-buildroot/Config.in
> > @@ -9,6 +9,7 @@ choice
> >  config BR2_TOOLCHAIN_BUILDROOT_UCLIBC
> >  	bool "uClibc"
> >  	select BR2_TOOLCHAIN_USES_UCLIBC
> > +	depends on !BR2_microblaze
> 
> Hum, I see a libc/sysdeps/linux/microblaze in my uClibc tree. And also,
> since there are some no-MMU variant of Microblaze processors, which C
> library other than uClibc could they use?

In the distant past there may have been a version of uclibc that worked
with microblaze.  However from my limited testing, the current toolchain
does not work with uclibc. 

> That being said, I don't *require* you to add the support for uClibc.
> Having glibc/eglibc support is already good. We can add uClibc support
> later on.

Sounds great.

Thanks,
Spenser
Thomas Petazzoni Nov. 13, 2013, 11:20 p.m. UTC | #3
Dear Spenser Gilliland,

On Wed, 13 Nov 2013 16:35:33 -0600, Spenser Gilliland wrote:

> > >  	select BR2_TOOLCHAIN_USES_UCLIBC
> > > +	depends on !BR2_microblaze
> > 
> > Hum, I see a libc/sysdeps/linux/microblaze in my uClibc tree. And also,
> > since there are some no-MMU variant of Microblaze processors, which C
> > library other than uClibc could they use?
> 
> In the distant past there may have been a version of uclibc that worked
> with microblaze.  However from my limited testing, the current toolchain
> does not work with uclibc. 

Ok. But then which C library are Microblaze non-MMU users using?

Thanks!

Thomas
Spenser Gilliland Nov. 13, 2013, 11:42 p.m. UTC | #4
On Nov 13, 2013 5:20 PM, "Thomas Petazzoni" <
thomas.petazzoni@free-electrons.com> wrote:
>
> Dear Spenser Gilliland,
>
> On Wed, 13 Nov 2013 16:35:33 -0600, Spenser Gilliland wrote:
>
> > > >   select BR2_TOOLCHAIN_USES_UCLIBC
> > > > + depends on !BR2_microblaze
> > >
> > > Hum, I see a libc/sysdeps/linux/microblaze in my uClibc tree. And
also,
> > > since there are some no-MMU variant of Microblaze processors, which C
> > > library other than uClibc could they use?
> >
> > In the distant past there may have been a version of uclibc that worked
> > with microblaze.  However from my limited testing, the current toolchain
> > does not work with uclibc.
>
> Ok. But then which C library are Microblaze non-MMU users using?

Likely a version from petalinux.  This needs to be investigated further to
see if uclibc support is possible with newer toolchains and any patches
from petalinux.

> Thanks!
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com
diff mbox

Patch

diff --git a/toolchain/toolchain-buildroot/Config.in b/toolchain/toolchain-buildroot/Config.in
index 1529004..57bbc3d 100644
--- a/toolchain/toolchain-buildroot/Config.in
+++ b/toolchain/toolchain-buildroot/Config.in
@@ -9,6 +9,7 @@  choice
 config BR2_TOOLCHAIN_BUILDROOT_UCLIBC
 	bool "uClibc"
 	select BR2_TOOLCHAIN_USES_UCLIBC
+	depends on !BR2_microblaze
 	help
 	  This option selects uClibc as the C library for the
 	  cross-compilation toolchain.