This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Build/bootstrap failure on x86_64-linux
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: mark at codesourcery dot com (Mark Mitchell)
- Cc: stevenb at suse dot de (Steven Bosscher), gcc at gcc dot gnu dot org
- Date: Tue, 20 Jul 2004 00:55:59 -0400 (EDT)
- Subject: Re: Build/bootstrap failure on x86_64-linux
>
> This is a multi-part message in MIME format.
> --------------030701040002000709090203
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> Content-Transfer-Encoding: 7bit
>
> Steven Bosscher wrote:
>
> >Hmm I'm not the first to notice this:
> >http://gcc.gnu.org/ml/gcc-regression/2004-07/msg00099.html
> >
> >Mark, this looks like your patch. How did you test it?
> >
> I'm very confused. I've just done another full bootstrap with this
> patch and don't see any problems.
>
> Can you send a preprocessed source file, command-line options, and
> target triplet to me privately?
>
> Attached is the patch I'm testing now.
>
This definetly looks like the wrong patch.
This is against EDG :).
Thanks,
Andrew Pinski
> Thanks,
>
> --
> Mark Mitchell
> CodeSourcery, LLC
> (916) 791-8304
> mark@codesourcery.com
>
>
> --------------030701040002000709090203
> Content-Type: text/plain;
> name="diffs2"
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline;
> filename="diffs2"
>
> Index: Makefile
> ===================================================================
> RCS file: /home/cvs/Repository/edg/Makefile,v
> retrieving revision 1.1.1.7
> diff -c -5 -p -r1.1.1.7 Makefile
> *** Makefile 16 May 2004 19:46:06 -0000 1.1.1.7
> --- Makefile 16 May 2004 20:05:43 -0000
> ***************
> *** 33,43 ****
> # Options for C compilations
> # Note that if you set your own value for CFLAGS you're not required to
> # set IL_SHOULD_BE_WRITTEN_TO_FILE. If you don't, the IL display program
> # is built anyway, but you won't be able to use it because you won't be
> # able to make the front end write out an IL file.
> ! CFLAGS = -DIL_SHOULD_BE_WRITTEN_TO_FILE
>
> # Link library options for src directory linking
> # Some systems may require -lm for the math library to get the
> # IEEE floating-point testing routines, e.g. "finite".
> LLIBS=
> --- 33,43 ----
> # Options for C compilations
> # Note that if you set your own value for CFLAGS you're not required to
> # set IL_SHOULD_BE_WRITTEN_TO_FILE. If you don't, the IL display program
> # is built anyway, but you won't be able to use it because you won't be
> # able to make the front end write out an IL file.
> ! CFLAGS = -g -DNEED_IL_DISPLAY -Wall
>
> # Link library options for src directory linking
> # Some systems may require -lm for the math library to get the
> # IEEE floating-point testing routines, e.g. "finite".
> LLIBS=
> Index: src/Makefile
> ===================================================================
> RCS file: /home/cvs/Repository/edg/src/Makefile,v
> retrieving revision 1.1.1.7
> diff -c -5 -p -r1.1.1.7 Makefile
> *** src/Makefile 16 May 2004 19:49:42 -0000 1.1.1.7
> --- src/Makefile 16 May 2004 20:05:45 -0000
> ***************
> *** 10,20 ****
>
> # Note that if you set your own value for CFLAGS you're not required to
> # set IL_SHOULD_BE_WRITTEN_TO_FILE. If you don't, the IL display program
> # is built anyway, but you won't be able to use it because you won't be
> # able to make the front end write out an IL file.
> ! CFLAGS = -DIL_SHOULD_BE_WRITTEN_TO_FILE
>
> LLIBS=
>
> INSTALL_DIR = ../bin
>
> --- 10,20 ----
>
> # Note that if you set your own value for CFLAGS you're not required to
> # set IL_SHOULD_BE_WRITTEN_TO_FILE. If you don't, the IL display program
> # is built anyway, but you won't be able to use it because you won't be
> # able to make the front end write out an IL file.
> ! CFLAGS = -g -DNEED_IL_DISPLAY -Wall
>
> LLIBS=
>
> INSTALL_DIR = ../bin
>
> Index: src/disp/Makefile
> ===================================================================
> RCS file: /home/cvs/Repository/edg/src/disp/Makefile,v
> retrieving revision 1.1.1.3
> diff -c -5 -p -r1.1.1.3 Makefile
> *** src/disp/Makefile 16 May 2004 19:49:44 -0000 1.1.1.3
> --- src/disp/Makefile 16 May 2004 20:06:55 -0000
> *************** LLIBS=
> *** 10,19 ****
> --- 10,21 ----
>
> OBJECTS = const_ints.o debug.o error.o fixed_pt.o float_pt.o host_envir.o \
> il.o il_display.o il_read.o il_to_str.o il_walk.o \
> mem_manage.o target.o types.o
>
> + SOURCES=$(OBJECTS:.o=.c)
> +
> .c.o:
> @echo "Compiling $*.c:"
> @$(CC) -c $(CFLAGS) $(DCFLAGS) -I.. $*.c
>
> default: edgcpdisp
> *************** clean:
> *** 34,38 ****
> --- 36,44 ----
>
> clobber: clean
> rm -f edgcpdisp
>
> all: clobber default
> +
> + $(SOURCES):
> + ln -s ../$@ $@
> +
>
> --------------030701040002000709090203--
>
>