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 libobjc/11184] New: libobjc generation fails with internal compiler error


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: libobjc generation fails with internal compiler error
           Product: gcc
           Version: 3.3
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: libobjc
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: francois-xavier.kowalski@hp.com
                CC: gcc-bugs@gcc.gnu.org
 GCC build triplet: ia64-hp-hpux11.23
  GCC host triplet: ia64-hp-hpux11.23
GCC target triplet: ia64-hp-hpux11.23

when generating gcc-3.3 on hpux-11.23, I am unable to generate the Objective-C
library.  Error message follows:

/home/root/build.d/gcc-3.3_ia64-hp-hpux11.23_ilp32_acc/gcc/xgcc
-B/home/root/build.d/gcc-3.3_ia64-hp-hpux11.23_ilp32_acc/gcc/
-B/opt/gcc-3.3/ia64-hp-hpux11.23/bin/ -B/opt/gcc-3.3/ia64-hp-hpux11.23/lib/
-isystem /opt/gcc-3.3/ia64-hp-hpux11.23/include -c -I.
-I/home/root/src.d/gcc-3.3/libobjc -O2 -g -W -Wall -Wwrite-strings
-Wstrict-prototypes -DHAVE_GTHR_DEFAULT -DIN_GCC -DIN_TARGET_LIBS
-I/home/root/src.d/gcc-3.3/libobjc/objc
-I/home/root/src.d/gcc-3.3/libobjc/../gcc
-I/home/root/src.d/gcc-3.3/libobjc/../gcc/config -I../../gcc
-I/home/root/src.d/gcc-3.3/libobjc/../include
/home/root/src.d/gcc-3.3/libobjc/sendmsg.c  -fPIC -DPIC -o .libs/sendmsg.o
/home/root/src.d/gcc-3.3/libobjc/sendmsg.c: In function `objc_msg_sendv':
/home/root/src.d/gcc-3.3/libobjc/sendmsg.c:221: internal compiler error: in
emit_move_insn, at expr.c:3144
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [sendmsg.lo] Error 1
make[2]: Leaving directory
`/home/root/build.d/gcc-3.3_ia64-hp-hpux11.23_ilp32_acc/ia64-hp-hpux11.23/libobjc'
make[1]: *** [all-target-libobjc] Error 2
make[1]: Leaving directory `/home/root/build.d/gcc-3.3_ia64-hp-hpux11.23_ilp32_acc'
make: *** [bootstrap-lean] Error 2

CONFIGURATION: I have used the 3 C compilers to bootstrap gcc generation. 
Whatever the starting compiler is, gcc generation fails at the stage above.  3
configuration lines are shown below:

with HP ANSI C (ansic):

env PATH=/usr/local/bin:$PATH CC="/opt/ansic/bin/cc +DD32"
/home/root/src.d/gcc-3.3/configure --prefix=/opt/gcc-3.3 --with-gnu-as
--with-as=/usr/local/bin/as --with-as=/usr/local/bin/as --without-gnu-ld
--enable-shared=yes --enable-static=yes --enable-threads=posix
--enable-version-specific-runtime-libs --enable-languages=c,c++,objc
--enable-libunwind-exceptions

with HP bundled C (ccs):

env PATH=/usr/local/bin:$PATH CC="/usr/ccs/bin/cc"
/home/root/src.d/gcc-3.3/configure --prefix=/opt/gcc-3.3 --with-gnu-as
--with-as=/usr/local/bin/as --without-gnu-ld --enable-shared=yes
--enable-static=yes --enable-threads=posix
--enable-version-specific-runtime-libs --enable-languages=c,c++,objc
--enable-libunwind-exceptions

with HP aCC (acc):

env PATH=/usr/local/bin:$PATH CC="/opt/aCC/bin/aCC -Ae"
/home/root/src.d/gcc-3.3/configure --prefix=/opt/gcc-3.3 --with-gnu-as
--with-as=/usr/local/bin/as --without-gnu-ld --enable-shared=yes
--enable-static=yes --enable-threads=posix
--enable-version-specific-runtime-libs --enable-languages=c,c++,objc
--enable-libunwind-exceptions

COMPILATION:  whatever the underlying compiler is, the compilation command used
is always:

env PATH=/usr/local/bin:$PATH /opt/OpenSource/bin/make bootstrap-lean


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