I'm bootstrapping gcc 3.4.5 using the gcc 4.0 compiler on a macbook.

The boostrap compile fails with the following error:
gcc   -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H  -o cc1 \
        c-parse.o c-lang.o c-pretty-print.o stub-objc.o attribs.o c-errors.o
c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o
c-opts.o c-format.o c-semantics.o c-incpath.o cppdefault.o c-ppoutput.o
c-cppbuiltin.o prefix.o c-objc-common.o c-dump.o c-pch.o libcpp.a darwin-c.o
main.o libbackend.a ../libiberty/libiberty.a ../intl/libintl.a
/usr/lib/libiconv.dylib -liconv
/usr/bin/ld: warning multiple definitions of symbol _locale_charset
../intl/libintl.a(localcharset.o) definition of _locale_charset in section
(__TEXT,__text)
/usr/lib/libiconv.dylib(localcharset.o) definition of _locale_charset
./xgcc -B./ -B/usr/i686-apple-darwin8.5.2/bin/ -isystem
/usr/i686-apple-darwin8.5.2/include -isystem
/usr/i686-apple-darwin8.5.2/sys-include
-L/Users/kraney/Desktop/gcc-3.4.5/gcc/../ld -DIN_GCC    -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
 -isystem ./include  -I. -I. -I. -I./. -I./../include -I../intl  \
  -c ./config/darwin-crt2.c -o crt2.o
./config/darwin-crt2.c: In function `__darwin_gcc3_preregister_frame_info':
./config/darwin-crt2.c:151: error: unrecognizable insn:
(insn 11 9 12 0 (set (reg/f:SI 58)
        (plus:SI (reg:SI 3 bx)
            (const:SI (minus:SI (symbol_ref:SI
("&L___keymgr_global$non_lazy_ptr"))
                    (symbol_ref:SI ("<pic base>")))))) -1 (nil)
    (nil))
./config/darwin-crt2.c:151: internal compiler error: in extract_insn, at
recog.c:2083
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [crt2.o] Error 1
make[1]: *** [stage1_build] Error 2
make: *** [bootstrap] Error 2


-- 
           Summary: gcc 3.4.5 bootstrap fails w/ "unrecognizable insn" on
                    intel mac
           Product: gcc
           Version: 3.4.5
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gcc at junk dot kraney dot com
  GCC host triplet: i686-apple-darwin8.5.2
GCC target triplet: i686-apple-darwin8.5.2


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

Reply via email to