powerpc-ibm-aix5.2.0.0 bootstrap failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have been testing the current SVN version of gcc (mainly for the
Fortran development) but had a build failure on a recent clean
bootstrap under powerpc-ibm-aix5.2.0.0

gcc version:
gcc (GCC) 4.3.0 20070706 (experimental)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.



Configured as:
/home/user/gcc/configure --mandir=/usr/local/share/man
--infodir=/usr/local/share/info --with-gmp=/usr/local
--with-mpfr=/usr/local --enable-languages=c,fortran --disable-multilib
--disable-nls


Error was:
gmake[3]: Leaving directory `/home/user/obj/libdecnumber'
gmake[3]: Entering directory `/home/user/obj/gcc'
build/gengtype /home/user/gcc/gcc gtyp-input.list
echo timestamp > s-gtype
/home/user/obj/./prev-gcc/xgcc -B/home/user/obj/./prev-gcc/
-B/usr/local/powerpc-ibm-aix5.2.0.0/bin/ -c   -g -O2 -DIN_GCC   -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wmissing-format-attribute -pedantic
-Wno-long-long
-Wno-variadic-macros
-Wno-overlength-strings -Werror -fno-common   -DHAVE_CONFIG_H -I. -I.
-I/home/user/gcc/gcc -I/home/user/gcc/gcc/.
-I/home/user/gcc/gcc/../include -I/home/user/gcc/gcc/../libcpp/include
-I/usr/local/include -I/usr/local/include
-I/home/user/gcc/gcc/../libdecnumber
-I/home/user/gcc/gcc/../libdecnumber/dpd
-I../libdecnumber    /home/user/gcc/gcc/dbxout.c -o dbxout.o cc1:
warnings being treated as errors /home/user/gcc/gcc/dbxout.c:3390:
error: 'dbxout_block' defined but not used gmake[3]: *** [dbxout.o]
Error 1 gmake[3]: Leaving directory `/home/user/obj/gcc' gmake[2]: ***
[all-stage2-gcc] Error 2 gmake[2]: Leaving directory `/home/user/obj'
gmake [1]: *** [stage2-bubble] Error 2 gmake[1]: Leaving directory
`/home/user/obj' gmake: *** [bootstrap] Error 2



To build I had to apply the following:

--- dbxout.c.original   Mon Jul  9 18:12:35 2007
+++ dbxout.c    Mon Jul  9 19:07:40 2007
@@ -327,7 +327,9 @@
 static void dbxout_class_name_qualifiers (tree);
 static int dbxout_symbol_location (tree, tree, const char *, rtx);
 static void dbxout_symbol_name (tree, const char *, int);
+#if defined(DBX_DEBUGGING_INFO)
 static void dbxout_block (tree, int, tree);
+#endif
 static void dbxout_global_decl (tree);
 static void dbxout_type_decl (tree, int);
 static void dbxout_handle_pch (unsigned);
@@ -3340,6 +3342,7 @@
     }
 }


+#if defined(DBX_DEBUGGING_INFO)
 /* Subroutine of dbxout_block.  Emit an N_LBRAC stab referencing LABEL.
    BEGIN_LABEL is the name of the beginning of the function, which may
    be required.  */
@@ -3465,7 +3468,7 @@
       block = BLOCK_CHAIN (block);
     }
 }
-
+#endif /* DBX_DEBUGGING_INFO */
 /* Output the information about a function and its arguments and
result. Usually this follows the function's code,
    but on some systems, it comes before.  */




Note that I am not certain as to whether this is anywhere near
the correct thing to do, but it did enable me to complete the
bootstrap. I certainly have not experienced this on any ix86 bootstraps.

With that change I had the following from 'make -k check'

                === gcc Summary ===

# of expected passes            41682
# of unexpected failures        46
# of unexpected successes       6
# of expected failures          106
# of unresolved testcases       224
# of untested testcases         546
# of unsupported tests          577

                === gfortran Summary ===

# of expected passes            19019
# of unexpected failures        57
# of expected failures          8
# of unsupported tests          106

                === libgomp Summary ===

# of expected passes            1201
# of unexpected failures        36
# of unsupported tests          1

Has anyone else come across this type of thing before and does anyone
have any better suggestions for solving the problem?

Steve E
--
----------------------------------------------------------
----------------------------------------------------------

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux