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

[Bug c++/14698] New: Error in "print_reg" prohibits compilation of cross-compiler components


Several components of the cross compiler fail to compile with identical errors:
--------------------
tinfo.cc:288: internal compiler error: in print_reg, at config/i386/i386.c:6639
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--------------------
The failures prohibit the creation of libiberty.a, libgcc.a, and libsupc++.a
which makes the cross-compiler useless.  I have encountered the problem with a
number of source files in the tree including: tinfo.cc, eh_personality.cc,
unwind-c.c, unwind-dw2-fde.c, and unwind-dw2.c amongst others.

To build the cross compiler, config was run with the following options:
--target=i386-coff-lynx --prefix=/usr/local

Sample command line that fails:
/usr/local/gcc-3.3.2/gcc/gcc/xgcc -shared-libgcc -B/usr/local/gcc-3.3.2/gcc/gcc/
-nostdinc++ -L/usr/local/gcc-3.3.2/gcc/i386-coff-lynx/libstdc++-v3/src
-L/usr/local/gcc-3.3.2/gcc/i386-coff-lynx/libstdc++-v3/src/.libs
-B/usr/local/i386-coff-lynx/bin/ -B/usr/local/i386-coff-lynx/lib/ -isystem
/usr/local/i386-coff-lynx/include -I../../../gcc -I../../../include
-I/usr/local/gcc-3.3.2/gcc/i386-coff-lynx/libstdc++-v3/include/i386-coff-lynx
-I/usr/local/gcc-3.3.2/gcc/i386-coff-lynx/libstdc++-v3/include -I../libsupc++ -g
-O2 -fno-implicit-templates -Wall -Wno-format -W -Wwrite-strings
-fdiagnostics-show-location=once -c tinfo.cc -o tinfo.o

-- 
           Summary: Error in "print_reg" prohibits compilation of cross-
                    compiler components
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: toss at sea-ware dot com
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: hppa2.0n-hp-hpux11.00
GCC target triplet: i386-coff-lynx


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


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