On Freitag, 20. Februar 2009, 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.ptx
>config renamed it to
> i486--unknown-linux-gnu_gcc-4.1.2_glibc-2.5_binutils-2.17_kernel-2.6.18.ptx
>config and changed the internal references from '586' to '486'.
>
> 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-unkno
>  >wn-linux-gnu-gcc-4.1.2-glibc-2.5-binutils-2.17-kernel-2.6.18/state/glibc-
>  >crt.prepare] Error 1
>
> Any ideas on how to fix this ?

Can you try this patch?

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
 
 
 #

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Beisert             |
Linux Solutions for Science and Industry      | Phone: +49-8766-939 228     |
Vertretung Sued/Muenchen, Germany             | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686              | http://www.pengutronix.de/  |

--
ptxdist mailing list
[email protected]

Reply via email to