--- In "Yan Seiner" <> wrote:
>
> --- In "Martin Guy" <martinwguy@> wrote:
> > No, I haven't needed to build a patched cross=compiler because I only
> > needed that for the kernel which uses no floating point. Anyway, I
> > gather there are still some rarely-sprung problems with the
> > Crunch-enabling patches.
> >
> > Sorry, these are just my own notes really, made so I wouldn't forget
> > what I did, not proper documents, but thanks for the feedback
>
> No problem. I'm actually pretty far along building a toolchain; I
> seem to be hung on a bug/feature of the script + gcc 4.1.0, not
> actually anything to do with the crunch patches.
Hi Martin & Co:
I think I'm stuck, and I can't quite figure out why... Building glibc
beyond 2.3.4 seems to fail with:
+
/home/nfs/yan/pierce/crosstool-0.42/build/arm-linux/gcc-4.1.0-glibc-2.6.1/glibc-2.6.1/configure
--prefix=/usr --build=x86_64-unknown-linux-gnu --host=arm-linux
--without-cvs --disable-sanity-checks
--with-headers=/opt/crosstool/gcc-4.1.0-glibc-2.6.1/arm-linux/arm-linux/include
--enable-add-ons=linuxthreads, --enable-kernel=2.4.3 --without-tls
--without-__thread --enable-hacker-mode
checking build system type... x86_64-unknown-linux-gnu
checking host system type... arm-unknown-linux-gnu
configure: running configure fragment for add-on linuxthreads
+ grep -q GLIBC_2.3
/home/nfs/yan/pierce/crosstool-0.42/build/arm-linux/gcc-4.1.0-glibc-2.6.1/glibc-2.6.1/ChangeLog
+ libc_cv_ppc_machine=yes
+ make cross-compiling=yes
install_root=/opt/crosstool/gcc-4.1.0-glibc-2.6.1/arm-linux/arm-linux
CFLAGS=-DBOOTSTRAP_GCC prefix= install-headers
make: *** No rule to make target `install-headers'. Stop.
The problem is that configure for glibc < 2.3.4 correctly builds the
Makefiles in the build directory, whereas for glibc > 2.3.4 it does not.
I've been all through the Makefile* and config* scripts, and nothing
significant seems to have changed. Setting --srcdir for configure has
no effect. There don't seem to be any patches that address this.
The check for Makefile location in ./configure seems to work but the
Makefile isn't built in the build directory.
I am not that familiar with automake, so I'm floundering a bit, but
for the life of me I cannot see what makes one fail and the other succeed.
I've found some patches from Martin for crosstools-0.42 for newer
glibc but nothing seems to address this problem.
The only site I've found that appears to talk about this is in
chinese: <http://blog.chinaunix.net/u/26710/showart.php?id=394113> My
linguistic skills don't extend that far. :-(
--Yan
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|