ts-7000
[Top] [All Lists]

[ts-7000] Re: ts-7400 and linux 2.6.x kernel?

To:
Subject: [ts-7000] Re: ts-7400 and linux 2.6.x kernel?
From: "Yan Seiner" <>
Date: Sun, 07 Oct 2007 15:45:36 -0000
--- 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/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU