Between 2005-03-31 16:30:00 and 17:00:00 (cvs -D time), two changesets were
added to the repository, one of these broke the vax-ultrix build. vax-ultrix
seems to currently be the only VAX target that builds (or: used to...) out of
the box. (I'm working on vax-linux and built vax-ultrix multiple times
previously to get a better understanding of GCC's internals.)

The bootstrap process builds xgcc, but then fails to build anything that's
targeted for vax-ultrix. Thus, the first file that fails if the first part of
libgcc:

[...]
mkdir -p -- libgcc
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/home/jbglaw/vax-linux/scm/build-20050403-130656-vax-ultrix/build/gcc1/./gcc/xgcc
-B/home/jbglaw/vax-linux/scm/build-20050403-130656-vax-ultrix/build/gcc1/./gcc/
-B/home/jbglaw/vax-linux/scm/build-20050403-130656-vax-ultrix/install/usr/vax-ultrix/bin/
-B/home/jbglaw/vax-linux/scm/build-20050403-130656-vax-ultrix/install/usr/vax-ultrix/lib/
-isystem
/home/jbglaw/vax-linux/scm/build-20050403-130656-vax-ultrix/install/usr/vax-ultrix/include
-isystem
/home/jbglaw/vax-linux/scm/build-20050403-130656-vax-ultrix/install/usr/vax-ultrix/sys-include
-O2  -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition  -isystem ./include   -g 
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I.
-I/home/jbglaw/vax-linux/scm/build-20050403-130656-vax-ultrix/src/gcc/gcc
-I/home/jbglaw/vax-linux/scm/build-20050403-130656-vax-ultrix/src/gcc/gcc/.
-I/home/jbglaw/vax-linux/scm/build-20050403-130656-vax-ultrix/src/gcc/gcc/../include
-I/home/jbglaw/vax-linux/scm/build-20050403-130656-vax-ultrix/src/gcc/gcc/../libcpp/include
 -DL_muldi3 -c
/home/jbglaw/vax-linux/scm/build-20050403-130656-vax-ultrix/src/gcc/gcc/libgcc2.c
-o libgcc/./_muldi3.o
/home/jbglaw/vax-linux/scm/build-20050403-130656-vax-ultrix/src/gcc/gcc/libgcc2.c:
In function '__muldi3':
/home/jbglaw/vax-linux/scm/build-20050403-130656-vax-ultrix/src/gcc/gcc/libgcc2.c:533:
internal compiler error: in default_no_named_section, at varasm.c:4828
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [libgcc/./_muldi3.o] Error 1

My build procedere looks like this:

- Build and install all-binutils, all-ld and all-gas from binutils CVS sources
(separate from the following GCC build; I'm not using a linked/unified/merged 
tree).
- Put vax-ultrix tools into $PATH
- Configure GCC:
  ..../configure        --disable-multilib              \
                        --with-newlib                   \
                        --disable-nls                   \
                        --enable-threads=no             \
                        --disable-threads               \
                        --enable-symvers=gnu            \
                        --enable-__cxa_atexit           \
                        --disable-shared                \
                        --target=vax-ultrix             \
                        --prefix="${INSTALL_BASE}/usr"  \
                        --enable-languages=c            \
                        --disable-werror

The ChangeLog between 16:30:00 and 17:00:00 reads like this:

+2005-03-31  Ian Lance Taylor  <ian@airs.com>
+
+       * collect2.c (lderrout): New variable.
+       (collect_exit): Dump ldout to stdout.  Dump and unlink lderrout,
+       if it is set, to stderr.
+       (handler): Unlink lderrout if it is set.
+       (dump_file): Add "to" parameter.  Change all callers.
+       (main): Initialize lderrout.
+       (collect_execute): Add errname parameter.  Change all callers.
+       Rename redir parameter to outname.  Never pass
+       PEX_STDERR_TO_STDOUT to pex_run.
+       * collect2.h (collect_execute, dump_file): Update declarations.
+       * tlink.c (tlink_execute): Add errname parameter.  Change all
+       callers.
+       (do_tlink): Check lderrout as well as ldout.
+
+2005-03-31  Olivier Hainque  <[EMAIL PROTECTED]>
+
+        * dwarf2out.c (dwarf2out_frame_finish): Honor DWARF2_FRAME_INFO
+        defined and non-zero.
+

I admit I didn't trace it down to the actual changeset, but I guess somebody
with better understanding of GCC should find it easy to fix, hopefully :-)

Thanks for looking at this,
Jan-Benedict Glaw <[EMAIL PROTECTED]>

-- 
           Summary: ICE in default_no_named_section(), at varasm.c:4828
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jbglaw at lug-owl dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-linux
  GCC host triplet: i686-linux
GCC target triplet: vax-ultrix


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

Reply via email to