GCC 4.0 build fails on Mac OS X 10.3.9/Darwin kernel 7.9

Lars Sonchocky-Helldorf lars.sonchocky-helldorf@hamburg.de
Fri Apr 22 16:40:00 GMT 2005


  James E Wilson <wilson@specifixinc.com> wrote:

> Andrew Pinski wrote:
> Does anyone read the installation instructions?
>
> Yes, but not everyone. And even people that read the docs can miss the 
> info if they can't figure out which part of the docs they are supposed 
> to be looking at.
>
> If you don't want people sending bug reports like this, then you idiot 
> proof it by adding a configure test. Maybe even something like the 
> attached.
> --
> Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com
> Index: config.gcc
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/config.gcc,v
> retrieving revision 1.529
> diff -p -r1.529 config.gcc
> *** config.gcc  4 Apr 2005 17:18:49 -0000       1.529
> --- config.gcc  22 Apr 2005 07:44:06 -0000
> *************** case ${target} in
> *** 366,371 ****
> --- 366,377 ----
>     case ${enable_threads} in
>       "" | yes | posix) thread_file='posix' ;;
>     esac
> +   # Verify the cctools version number.
> +   cctools=`cat /dev/null | as -v 2>&1 | grep cctools-576`

not quite right. It is completely sufficient to have something equal or 
above cctools-528 for building gcc-4.0:

http://gcc.gnu.org/ml/gcc-patches/2004-08/msg00104.html

cctools-576 are only needed to build HEAD:

http://gcc.gnu.org/ml/gcc/2005-03/msg01149.html :

"It's not necessary to upgrade cctools to use 4.0, since the features 
that need the cctools fixes aren't there."


And btw.: cctools-576 have a bug which causes regressions if you want 
to use the FSF Objective-C runtime:

http://gcc.gnu.org/ml/gcc-testresults/2005-04/msg00798.html
http://gcc.gnu.org/ml/gcc-testresults/2005-04/msg00949.html

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20959

> +   if test x"$cctools" = x; then
> +     echo "*** Please update cctools version from gcc.gnu.org ftp 
> site." >&2
> +     exit 1
> +   fi
>     ;;
>   *-*-freebsd[12] | *-*-freebsd[12].* | *-*-freebsd*aout*)
>     # This is the place-holder for the generic a.out configuration
>

greets, Lars

>
>



More information about the Gcc mailing list