* [Buildroot] Need some help with uClibc build
@ 2009-01-21 2:10 Maxim Grigoriev
2009-01-21 6:24 ` Peter Korsgaard
0 siblings, 1 reply; 3+ messages in thread
From: Maxim Grigoriev @ 2009-01-21 2:10 UTC (permalink / raw)
To: buildroot
Can somebody, please, help me.
I seem to be missing something trivial like the fact that
gcc-4.3.1+ would not work with uClibc-0.9.29, or something like this.
I'm trying to build buildroot with
binutils-2.19
uClibc-0.9.29
gcc-4.3.1
I managed to configure and build everything including the compiler.
But then, uClibc build did not go through :
CC libc/sysdeps/linux/common/chdir.os
In file included from ./include/sys/param.h:22,
from libc/sysdeps/linux/common/chdir.c:13:
./include/limits.h:124:26: error: limits.h: No such file or directory
make[2]: *** [libc/sysdeps/linux/common/chdir.os] Error 1
make[1]: *** [lib/libc.so.0] Error 2
I figured that using extra GCC flag "-D_GCC_LIMITS_H_" would help.
It did. But then, another problem raised up :
CC libc/sysdeps/linux/common/nice.os
libc/sysdeps/linux/common/nice.c: In function 'int_add_no_wrap':
libc/sysdeps/linux/common/nice.c:33: error: 'INT_MIN' undeclared (first
use in this function)
libc/sysdeps/linux/common/nice.c:33: error: (Each undeclared identifier
is reported only once
libc/sysdeps/linux/common/nice.c:33: error: for each function it appears
in.)
libc/sysdeps/linux/common/nice.c:35: error: 'INT_MAX' undeclared (first
use in this function)
make[2]: *** [libc/sysdeps/linux/common/nice.os] Error 1
I guess I might be missing some trivial knowledge about how things work
with each other.
If you can share with me this knowledge I would really appreciate it.
Thanks in advance for any of your help,
-- Maxim Grigoriev
Tensilica Inc.
408-566-1770
P.S. Some background on my project. Xtensa GNU/Linux is successfully
building with
binutils-2.18
uClibc-0.9.29
gcc-4.2.1
with relatively recent buildroot update.
I'm trying to upgrade the compiler, which is important for our projects.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] Need some help with uClibc build
2009-01-21 2:10 [Buildroot] Need some help with uClibc build Maxim Grigoriev
@ 2009-01-21 6:24 ` Peter Korsgaard
2009-01-21 17:13 ` Maxim Grigoriev
0 siblings, 1 reply; 3+ messages in thread
From: Peter Korsgaard @ 2009-01-21 6:24 UTC (permalink / raw)
To: buildroot
>>>>> "Maxim" == Maxim Grigoriev <maxim@tensilica.com> writes:
Maxim> Can somebody, please, help me.
Maxim> I seem to be missing something trivial like the fact that
Maxim> gcc-4.3.1+ would not work with uClibc-0.9.29, or something
Maxim> like this.
That could very well be - uClibc 0.9.29 is old, and gcc 4.3.x is
pretty new.
Maxim> I'm trying to build buildroot with
Maxim> binutils-2.19
Maxim> uClibc-0.9.29
Maxim> gcc-4.3.1
Why would you want to use those versions instead of the stable and
recommended ones? (uclibc 0.9.30, gcc 4.3.2)?
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] Need some help with uClibc build
2009-01-21 6:24 ` Peter Korsgaard
@ 2009-01-21 17:13 ` Maxim Grigoriev
0 siblings, 0 replies; 3+ messages in thread
From: Maxim Grigoriev @ 2009-01-21 17:13 UTC (permalink / raw)
To: buildroot
Thanks for your advice, Peter.
You suggest to keep it simple - the latest versions of the tools
and libraries are the best to try.
I will switch to uclibc 0.9.30 and gcc 4.3.2.
-- Maxim
Peter Korsgaard wrote:
>
> Maxim> Can somebody, please, help me.
> Maxim> I seem to be missing something trivial like the fact that
> Maxim> gcc-4.3.1+ would not work with uClibc-0.9.29, or something
> Maxim> like this.
>
> That could very well be - uClibc 0.9.29 is old, and gcc 4.3.x is
> pretty new.
>
> Maxim> I'm trying to build buildroot with
>
> Maxim> binutils-2.19
> Maxim> uClibc-0.9.29
> Maxim> gcc-4.3.1
>
> Why would you want to use those versions instead of the stable and
> recommended ones? (uclibc 0.9.30, gcc 4.3.2)?
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-01-21 17:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-21 2:10 [Buildroot] Need some help with uClibc build Maxim Grigoriev
2009-01-21 6:24 ` Peter Korsgaard
2009-01-21 17:13 ` Maxim Grigoriev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox