Error building glibc-2.3.2 for my arm-9tdmi-linux cross compiler on cygwin
J Johnson
juke.johnson@yahoo.com
Mon Jan 28 18:44:00 GMT 2008
----- Original Message ----
> From: Dave Korn <dave.korn@artimi.com>
> To: J Johnson <juke.johnson@yahoo.com>; Duane Ellis <duane@duaneellis.com>
> Cc: crossgcc@sourceware.org
> Sent: Monday, January 21, 2008 12:07:15 PM
> Subject: RE: Error building glibc-2.3.2 for my arm-9tdmi-linux cross compiler on cygwin
>
> On 18 January 2008 15:31, J Johnson wrote:
>
> > Thanks for the comments Dave. I don't believe I'm doing either of those
> > things. Here are the exact steps I'm performing:
> >
> > 1. download http://kegel.com/crosstool/crosstool-0.43.tar.gz
> > 2. Unpack it using tar from \cygwin\bin (tar -xzvf crosstool-0.43.tar.gz)
> > 3. I edit the demo-arm9tdmi.sh to set TARBALLS_DIR manually (using gvim)
> > 4. execute the following command: >sh demo-armtdmi.sh
> >
> > That's it!
> >
> > Is it possible that I have some environment variable set that defines a
> > directory or file with a space in it somewhere that the build is trying to
> > use?
>
> Right. I had a go at this over the weekend and the problem didn't reproduce
> for me. My copy of sysd-syscalls didn't contain anything remotely resembling
> the variable assignments you described - so much so that I wonder if there's
> some confusion over the filename? I've attached the one I ended up with for
> comparison. My build eventually failed somewhere later on for an unrelated
> reason.
>
> Your cygcheck output looked good, no textmode mounts or anything to
> interfere, but I did notice what might just be a potential source of problems:
>
> Found: C:\Perl\bin\perl.exe
> Found: C:\cygwin\bin\perl.exe
> Warning: C:\Perl\bin\perl.exe hides C:\cygwin\bin\perl.exe
>
> Is that ActiveState perl there? If the build process uses perl to build
> generated files, and if AS perl is in your PATH ahead of cygwin perl and is
> getting invoked instead of cygwin perl, that would certainly be a likely
> explanation why you were getting CRLF line endings. Perhaps you should try
> with AS perl safely removed from your path or renamed aside?
>
> cheers,
> DaveK
> --
> Can't think of a witty .sigline today....
> --
> For unsubscribe information see
> http://sourceware.org/lists.html#faq
>
Thanks again Dave for taking your own time to look at this. I'm slightly encouraged that you didn't have the same issue. I've obviously got something going on with my configuration - I just need to figure what it is.
That was ActiveState Perl. I've completely removed it (wasn't really using it anymore) and that didn't seem to help.
Interesting that your sysd-syscalls file doesn't have all the variable assignments mine does. My sysd-syscalls file (which I've attached) is pulled from crosstool-0.43\build\arm-9tdmi-linux-gnu\gcc-4.1.0-glibc-2.3.2\build-glibc-headers after the failure is reported and the build terminated. The definition of IFS is on line 241 and my latest attempt also had a problem with line 202 fwiw. I took a quick look at the make-syscalls.sh in the downloaded glibc-2.3.2\sysdeps\unix directory and didn't see anything obviously wrong (to me). I'll try and look at it a little further but if you have any ideas after seeing my sysd-syscalls file please let me know.
Thanks!
____________________________________________________________________________________
Looking for last minute shopping deals?
Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sysd-syscalls
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20080128/eef61093/attachment.ksh>
-------------- next part --------------
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list