* [Buildroot] libc build fails.
@ 2008-07-01 21:00 Ulf Samuelsson
2008-07-01 21:50 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Ulf Samuelsson @ 2008-07-01 21:00 UTC (permalink / raw)
To: buildroot
Trying to compile gcc-4.3.1 for ARM (OABI) using uClibc 0.9.29.
During the build of libc.a, it crashes with the following error message:
<snip>
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] Fel 2
make[1]: Leaving directory
`/home/ulf/projects/Buildroot/20080701/buildroot-arm/toolchain_build_arm/uClibc-0.9.29'
make: ***
[/home/ulf/projects/Buildroot/20080701/buildroot-arm/toolchain_build_arm/uClibc-0.9.29/lib/libc.a] Error 2
The missing files are located in
./uClibc_dev/usr/include/linux/limits.h
./uClibc_dev/usr/include/limits.h
----------------------
The part of uclibc.mk that does the build is:
$(UCLIBC_DIR)/lib/libc.a: $(UCLIBC_DIR)/.configured $(gcc_initial)
$(LIBFLOAT_TARGET)
$(MAKE1) -C $(UCLIBC_DIR) \
PREFIX= \
DEVEL_PREFIX=/ \
RUNTIME_PREFIX=/ \
HOSTCC="$(HOSTCC)" \
all
touch -c $@
which is not mentioning ./uClibc_dev/ at all.
Any comments?
^ permalink raw reply [flat|nested] 2+ messages in thread* [Buildroot] libc build fails.
2008-07-01 21:00 [Buildroot] libc build fails Ulf Samuelsson
@ 2008-07-01 21:50 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2008-07-01 21:50 UTC (permalink / raw)
To: buildroot
>>>>> "Ulf" == Ulf Samuelsson <ulf@atmel.com> writes:
Hi,
Ulf> Trying to compile gcc-4.3.1 for ARM (OABI) using uClibc 0.9.29.
Ulf> During the build of libc.a, it crashes with the following error message:
Ulf> <snip>
Ulf> CC libc/sysdeps/linux/common/chdir.os
Ulf> In file included from ./include/sys/param.h:22,
Ulf> from libc/sysdeps/linux/common/chdir.c:13:
Ulf> ./include/limits.h:124:26: error: limits.h: No such file or directory
Yes, that was reported a week or 2 ago. Bernhard is afaik looking into
it.
That's also why 4.2.4 is still the default compiler.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-07-01 21:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-01 21:00 [Buildroot] libc build fails Ulf Samuelsson
2008-07-01 21:50 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox