This is the mail archive of the 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]

gcc-4.2-20060805: make bootstrap fails

Hello people,

I tried to build and install gcc-4.2-20060805 snapshot.

First, I needed to add some initializers.
gcc seem to use -Werror at some stage and
"might be used uninitialized" warnings were terminating the build.
The patch is attached.

Then "make bootstrap" failed in a different way:

The source is in /.1/usr/src/,
build directory is /.1/usr/src/

The file which is "not found" does exist in,
bit most -isystem and -I directives are pointing into
                     ^^^^^^^^^^^^^^^^^ I don't have this in source tree
one -I points into

Tail of the "make bootstrap" is below:

/.1/usr/src/ -shared-libgcc -B/.1/usr/src/ -nostdinc++ -L/.1/usr/src/gcc -L/.1/usr/src/
-B/usr/app/ -B/usr/app/ -isystem /usr/app/gcc-4.2-2 -isystem /usr/app/ -Winvalid-pch -Wno-deprecated
-x c++-header -Os -falign-functions=1 -falign-labels=1 -falign-loops=1 -falign-jumps=1 -mtune=i386 -march=i386  -D_GNU_SOURCE -I/.1/usr/s
rc/ -I/.1/usr/src/
-gnu/libstdc++-v3/include -I/.1/usr/src/ -O2 -g /.1/usr/src/
include/precompiled/extc++.h -o i386-pc-linux-gnu/bits/extc++.h.gch/O2g.gch
In file included from /.1/usr/src/
                 from /.1/usr/src/,
                 from /.1/usr/src/
/.1/usr/src/ error: ext/pb_ds/detail/tri
e_policy/prefix_search_node_update_imp.hpp: No such file or directory
In file included from /.1/usr/src/
                 from /.1/usr/src/,
                 from /.1/usr/src/
/.1/usr/src/ error: ext/p
b_ds/detail/pat_trie_/constructors_destructor_fn_imps.hpp: No such file or directory
make[4]: *** [i386-pc-linux-gnu/bits/extc++.h.gch/O2g.gch] Error 1
make[4]: Leaving directory `/.1/usr/src/'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/.1/usr/src/'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/.1/usr/src/'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/.1/usr/src/'
make: *** [bootstrap] Error 2

gcc 4.1.1 was built and installed using exactly the same
configure and make options.
diff -urpN gcc-4.2-20060805/gcc/sched-rgn.c
--- gcc-4.2-20060805/gcc/sched-rgn.c	2006-04-08 19:01:17.000000000 +0200
+++	2006-08-09 00:11:57.000000000 +0200
@@ -1363,6 +1363,9 @@ compute_trg_info (int trg)
   edge_iterator ei;
   edge e;
+el.first_member = NULL; /* //vda */
+el.nr_members = 0;
   /* Define some of the fields for the target bb as well.  */
   sp = candidate_table + trg;
   sp->is_valid = 1;
diff -urpN gcc-4.2-20060805/gcc/tree-if-conv.c
--- gcc-4.2-20060805/gcc/tree-if-conv.c	2006-05-23 16:07:21.000000000 +0200
+++	2006-08-09 00:00:31.000000000 +0200
@@ -831,6 +831,8 @@ process_phi_nodes (struct loop *loop)
       basic_block true_bb = NULL;
       bb = ifc_bbs[i];
+cond = NULL_TREE; /* //vda: make compiler happy */
       if (bb == loop->header)

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