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]

crosstool-0.26: added x86_64 support


crosstool is a build-and-test script for cross-toolchains based on
binutils, gcc, and glibc.  It supports all 32 bit CPUs supported by glibc,
and a couple 64 bit ones.  It's available at
  http://kegel.com/crosstool

This release adds support for x86_64; I did build a x86 -> x86_64 crosscompiler
with it that is capable of compiling "hello, world", but haven't done any further
testing yet.

It also has a couple fixes for arm and for sh, and improvements in glibc-2.1.3 support
(notably, the red hat 6.2 glibc patches, and better handling of multiple glibc addons).

Changelog:

0.26 18 Jan 2004 "been so gosh-darned long"
     It's been too long since the last release, so I'm releasing this version
     without much regression testing just to get it out the door.
     I did verify that gcc-3.3-20040112 builds on a number of architectures, though,
     and I did do one run of the gcc-3.3-20040105/glibc-2.3.2 regression tests on sh4.
     I hope to do more testing in time for the release of gcc-3.3.3.

     x86_64 fixes:
     * added x86_64.dat
     * added USE_SYSROOT boolean flag.  If set, uses --with-sysroot when
       configuring gcc.  This is only supported as of gcc-3.3.3, and seems to
       be required when building an x86_64 compiler.  I set it in x86_64.dat,
       but it might be reasonable to set it in gcc-3.3.3.dat when that's released.

     glibc-2.3.2 fixes for arm:
     * patches/glibc-2.3.2/nobits.patch, avoid @ since that's a comment on arm
     * patches/glibc-linuxthreads-2.3.2/sysdep-cancel-arm-1.2-1.6.patch
     * patches/glibc-2.3.2/{arm-ioperm,arm-mcount_internal}.patch from ptxdist

     glibc-2.3.2 fix for x86_64 (aka gcc bug workaround for x86_64):
     * patches/glibc-2.3.2/gcc-pr-9552-workaround.patch

     glibc-2.1.3 fixes:
     * use --enable-add-ons without args so old crypto addon used if present
     * patches/glibc-2.1.3/glibc-manual-stdin.texi-1.127.patch
     * getandpatch.sh now gets crypt addon if GLIBCCRYPT_FILENAME set
     * Red Hat 6.2 patches from glibc-2.1.3-28.src.rpm (rh62-*.patch)

     binutils-2.13.90.0.2 fixes:
     * Red Hat 6.2 patches from binutils-2.13.90.0.2-2.src.rpm (rh62-*.patch)

     binutils-2.14.90.0.3+ fixes:
     * getandpatch.sh now runs patches/README if present, grr.

     gcc-3.3.2 fix for sh: avoid __movstr_i4_even runtime error msg
     * patches/gcc-3.3.2/sh-lib1funcs_sizeAndType.patch
     * patches/gcc-3.3.2/sh-libgcc-hidden.patch

     gcc-3.3.2 test for sh: http://gcc.gnu.org/PR13260 (fix said to be in 3.4)
     * patches/gcc-3.3.2/pr-13260-test.patch

     gcc-3.3.3 support:
     * added gcc-3.3-20040112-glibc-2.3.2.dat.  Have not pulled patches forward yet.

Removed glibc-2.3.2/shlibs-lds.patch; it was added by mistake in 0.25

     crosstool.sh and getandpatch.sh now take SRC_DIR to let multiple
     architectures share a single set of unpacked source tarballs.
     (Still can't run multiple runs in parallel, though, unless getandpatch.sh
     has already run once.)

     crosstool.sh now checks to make sure awk runs, and that user
     doesn't have CFLAGS or CXXFLAGS set.  These tripped up a couple users.

     crosstool.sh no longer fails with 64 bit CPUs (which use /lib64)
     and will use --with-sysroot if you set USE_SYSROOT to a nonempty string;
     it seems that --with-sysroot is required for 32 -> 64 bit crosscompilers.

crosstool.sh now obeys new environment variable BINUTILS_EXTRA_CONFIG

     crosstest.sh now checks to make sure expect is available, and checks
     to make sure initjail.sh ran.

     doc/remote-dejagnu-howto.html now recommends latest expect and tcl,
     and links to gcc bug report describing patch expect might need

chrootlogin.c no longer crashes if run without arguments

     In last release, gcc-3.3.2 support was added without pulling forward
     all the applicable patches from gcc-3.3.1, because I didn't have time
     to test.  I had time to test on sh4 this time, so I've pulled forward
     the patches that seem to be needed.

     getandpatch.sh now knows how to download and unpack linux-2.6.  In my one
     try actually building a toolchain with linux-2.6 with x86_64, it demanded
     a .config file, so I went back to linux-2.4 for now.

Added more demo-$CPU.sh scripts. demo-*.sh now set exit code on error.

updated todo and contrib/



------
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]