crosstool 0.43 + alpha problem

Dan Kegel dank@kegel.com
Tue Sep 4 07:48:00 GMT 2007


Yes, this is a frequently asked question, you just need
a patch.  Might even be in svn already, did you check
http://code.google.com/p/crosstool/ ?  Ah, yep:
http://crosstool.googlecode.com/svn/trunk/src/patches/glibc-2.3.6/glibc-2.3.6-csu-Makefile.patch

Thanks for posting your fix, though!
- Dan

On 9/4/07, Jonas Diemer <diemer@ida.ing.tu-bs.de> wrote:
> Hi,
>
> I encountered a problem when compiling an alpha toolchain on my Kubuntu 07.04.
>
> I used demo-alpha.sh with the following line uncommented:
>
> eval `cat alpha.dat gcc-4.1.0-glibc-2.3.6.dat` sh all.sh --notest
>
> When compiling glibc-2.3.6: I got this error:
>
> crosstool-0.43/build/alpha-unknown-linux-gnu/gcc-4.1.0-glibc-2.3.6/build-glibc/csu/version-info.h:2:1:
> missing terminating " character
> crosstool-0.43/build/alpha-unknown-linux-gnu/gcc-4.1.0-glibc-2.3.6/build-glibc/csu/version-info.h:3:1:
> missing terminating " character
>
> version-info.h is generated by glibc-2.3.6/csu/Makefile. I worked around this
> by fixing the Makefile (for which I had to interrupt the build process
> manually at the right time). Here's the diff:
>
> ---build/alpha-unknown-linux-gnu/gcc-4.1.0-glibc-2.3.6/glibc-2.3.6/csu/Makefile
> 2005-02-16 10:34:09.000000000 +0100
> +++ my-fix-Makefile     2007-09-04 09:16:09.012843871 +0200
> @@ -241,7 +241,7 @@
>          esac; \
>          files="$(all-Banner-files)";                           \
>          if test -n "$$files"; then                             \
> -          echo "\"Available extensions:\\n\"";                 \
> +          echo "\"Available extensions:\"\n";                  \
>            sed -e '/^#/d' -e 's/^[[:space:]]*/  /'              \
>                -e 's/^\(.*\)$$/\"\1\\n\"/' $$files;             \
>          fi) > $@T
>
>
> I was wondering if you are aware of the problem. I think reporting it to glibc
> is pointless, since 2.3.6 is a rather old version of glibc. So should I do
> anything about this (it works for me now, I just thought I'd share my
> findings)?
>
> Best regards.
>
> --
> Dipl.-Ing. Jonas Diemer
> Institut für Datentechnik und Kommunikationsnetze
> (Institute of Computer and Communication Network Engineering)
>
> Hans-Sommer-Str. 66
> D-38106 Braunschweig
> Germany
>
> Telefon: +49 531 391 3752
> Telefax: +49 531 391 4587
> E-Mail:  diemer@ida.ing.tu-bs.de
> Web:     http://www.ida.ing.tu-bs.de/
>
>


-- 
Wine for Windows ISVs: http://kegel.com/wine/isv

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list