This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: crosstools-patches (was Re: binutils-uClibc followup patch)


On Mon, 5 Jan 2004, Carl Miller wrote:

> > Found some problems with uClibc config for mipsel build. Fudged my way 
> > through that, and get a bit further:
> 
> Sorry to leave you hanging for so long, Charlie.

No problems, you owe me nothing (but I am indebted to you in fact :-)).

> > make -C libc/sysdeps/linux/mips headers
> > make[1]: Entering directory 
> > `/home/charlieb/rpms/BUILD/crosstool-0.25/build/mipsel-unknown-linux-uclibc/gcc-3.3.2-uClibc-0.9.24/build-libc/libc/sysdeps/linux/mips'
> > cp -f 
> > /home/charlieb/rpms/BUILD/crosstool-0.25/build/mipsel-unknown-linux-uclibc/gcc-3.3.2-uClibc-0.9.24/uClibc-0.9.24/libc/sysdeps/linux/mips/sgidefs.h 
> > ../../../../include/
> > cp -f 
> > /home/charlieb/rpms/BUILD/crosstool-0.25/build/mipsel-unknown-linux-uclibc/gcc-3.3.2-uClibc-0.9.24/uClibc-0.9.24/libc/sysdeps/linux/mips/fpu_control.h 
> > ../../../../include/
> > make[1]: Leaving directory 
> > `/home/charlieb/rpms/BUILD/crosstool-0.25/build/mipsel-unknown-linux-uclibc/gcc-3.3.2-uClibc-0.9.24/build-libc/libc/sysdeps/linux/mips'
> > (cd extra/locale; zcat uClibc-locale-030818.tgz | tar -xvf -)
> > zcat: uClibc-locale-030818.tgz: No such file or directory
> 
> uClibc-locale-030818.tgz is a separate download, not included in the uClibc
> source tarball.  I wrote provisions into getandpatch.sh to download it for
> you and put it in the proper place.  But if you downloaded and unpacked
> uClibc by hand, then you'll have to add the locale tarball by hand also.
> The URL can be found in the getandpatch.sh script.  Just wget it and drop
> it into the extra/locale directory of your uClibc source tree.

Perhaps getandpatch.sh didn't do its job correctly. I'll check.

> > make -C ldso;
> > make[2]: Entering directory 
> > `/home/charlieb/rpms/BUILD/crosstool-0.25/build/mipsel-unknown-linux-uclibc/gcc-3.3.2-uClibc-0.9.24/build-libc/ldso/ldso'
> > Makefile:26: ../../Rules.mak: No such file or directory
> > ls: /*.S: No such file or directory
> > ls: /*.S: No such file or directory
> > Makefile:89: target `/' doesn't match the target pattern
> > make[2]: *** No rule to make target `../../Rules.mak'.  Stop.
> 
> All that looks like a bad or missing Makefile patch.  You're using a newer
> version of uClibc than I am.  So you had a few problems with the makefiles
> patch applying, right?

[checks] yes indeed. So crosstool doesn't detect the failed patch and 
bail?

> Looks like ldso/ldso/Makefile didn't get patched properly.  If you send
> me that Makefile, I can figure out how it should look, and send you back
> a proper one.

New diff attached.

--
Charlie

Attachment: ldso.Makefile.patch
Description: Text document

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]