Claudio Leonel wrote:
> Hi,
> 
> I am trying to build a toolchain for an embedded 486 board.
> I am using OSELAS 1.99.3 and created a new ptxconfig from
> i586--unknown-linux-gnu_gcc-4.1.2_glibc-2.5_binutils-2.17_kernel-2.6.18.ptxconfig
> 
> renamed it to
> i486--unknown-linux-gnu_gcc-4.1.2_glibc-2.5_binutils-2.17_kernel-2.6.18.ptxconfig
> 
> and changed the internal references from '586' to '486'.

I'm not sure it 486 is new enough for a nptl based toolchain, but we'll
see later on....

> I am using ptxdist-1.99.11 to build the toolchain.
> During the build occurred an error in target:glibc-crt.prepare
> 
>>...
>>checking size of long double... (cached) 12
>>running configure fragment for sysdeps/i386/elf
>>checking for i386 TLS support... yes
>>running configure fragment for nptl/sysdeps/pthread
>>checking for forced unwind support... no
>>configure: error: forced unwind support is required
>>make: ***
>>[/home/s/linux_icop/toolchain/OSELAS.Toolchain-1.99.3/platform-i486-unknown-linux-gnu-gcc-4.1.2-glibc-2.5-binutils-2.17-kernel-2.6.18/state/glibc-crt.prepare]

try this patch

Marc

-- 
Pengutronix e.K.                         | Marc Kleine-Budde           |
Linux Solutions for Science and Industry | Phone: +49-231-2826-924     |
Vertretung West/Dortmund                 | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686         | http://www.pengutronix.de   |
From: Marc Kleine-Budde <[email protected]>
Subject: the libc_cv_forced_unwind isn't put into the environment, add missing '\'

This patch adds the missing '\' to in order to put the
libc_cv_forced_unwind and libc_cv_c_cleanup into environemnt.

Singed-off-by: Marc Kleine-Budde <[email protected]>

Index: rules/glibc-crt.make
===================================================================
--- rules/glibc-crt.make	(revision 9566)
+++ rules/glibc-crt.make	(working copy)
@@ -44,9 +44,9 @@
 	BUILD_CC=$(HOSTCC) \
 	\
 	ac_cv_path_GREP=grep \
-	ac_cv_sizeof_long_double=$(PTXCONF_SIZEOF_LONG_DOUBLE)
+	ac_cv_sizeof_long_double=$(PTXCONF_SIZEOF_LONG_DOUBLE) \
 	libc_cv_c_cleanup=yes \
-	libc_cv_forced_unwind=yes \
+	libc_cv_forced_unwind=yes
 
 
 #

Attachment: signature.asc
Description: OpenPGP digital signature

--
ptxdist mailing list
[email protected]

Reply via email to