The system is a Dual 800 MHz PowerPC G4 (7450) (QuickSilver) running under
Darwin 8.8.0.
The command sequence is as follows:
cd gcc
mkdir build
cd build
../configure
make >make.log
Periodically, the following appears:
../../gcc/config/rs6000/altivec.md:xxx: warning" operand 3 missing mode?
I am assuming that the rs6000 has the same altivec as the 74xx series.
Periodically, the following also apppears:
Links are now set up to build a native compiler for powerpc-apple-darwin8.8.0.
Also, there were the following automatons:
Automaton `ppc7450fp'
36 NDFA states, 75 NDFA arcs
36 DFA states, 75 DFA arcs
36 minimal DFA states, 75 minimal DFA arcs
462 all insns 5 insn equivalence classes
0 locked states
76 transition comb vector els, 180 trans table els: use simple vect
180 min delay table els, compression factor 1
Automaton `ppc8540_retire'
162 NDFA states, 876 NDFA arcs
162 DFA states, 876 DFA arcs
81 minimal DFA states, 438 minimal DFA arcs
462 all insns 8 insn equivalence classes
0 locked states
509 transition comb vector els, 648 trans table els: use simple vect
648 min delay table els, compression factor 2
After several hours, the following appeared:
mkdir ppc64
later to be followed by:
checking whether c compiler works...
configure: error: cannot run C compiled programs.
If you meant to cross compile use '--host'.
See 'config.log' for more details.
make[1]: *** [configure-target-boehm-gc] error 1
make: *** [all] Error 2
~/gcc/build/powerpc-apple-darwin8.8.0/ppc64/boehm-gc/configure.log is as
follows:
configure:2346: checking whether the C compiler works
configure:2352: ./a.out
../../../../boehm-gc/configure: line 1: ./a.out: Bad CPU type in executable
configure:2355: $? = 126
configure:2364: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
which appears to indicate that an attempt was made to run an 8540 compiled
program on a 7450.
This happened twice.
--
Summary: The make script periodically thinks my 7450 is an 8540
Product: gcc
Version: 4.1.1
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: boehm-gc
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: trog24 at comcast dot net
GCC build triplet: powerpc-apple-darwin8.8.0
GCC host triplet: powerpc-apple-darwin8.8.0
GCC target triplet: powerpc-apple-darwin8.8.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30327