This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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: GCC 4.0 build fails on Mac OS X 10.3.9/Darwin kernel 7.9


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






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