This occurs on platforms i686-pc-linux-gnu _AND_ i686-pc-cygwin but I can only
choose to report for a single platform at a time. I will not file a second
identical report for i686-pc-cygwin, just this one report.

The file gcc/configargs.h does not get made properly. That causes the compiler
to not show how it was created when "xgcc -v" is typed.


The configargs.h file has this erroneous line:

static const char configuration_arguments[] =
"/root/downloads/gcc-4_2-branch/configure linux gnu"


gcc/xgcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /root/downloads/gcc-4_2-branch/configure linux gnu
Thread model: posix
gcc version 4.2.0 20070427 (prerelease)


When starting ./configure and then "make", this happens in less than a minute
or two (depending on system speed), it whips by quickly without error.

checking assembler for --gdwarf2 option... (cached) yes
checking assembler for --gstabs option... (cached) yes
checking linker read-only and read-write section mixing... read-write
checking linker PT_GNU_EH_FRAME support... yes
checking linker position independent executable support... yes
checking linker --as-needed support... (cached) yes
checking linker --sysroot support... (cached) yes
checking __stack_chk_fail in target GNU C library... (cached) no
Using ggc-page for garbage collection.
checking whether to enable maintainer-specific portions of Makefiles... no
Links are now set up to build a native compiler for i686-pc-linux-gnu.
updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
sed: file ./confstatt11667/subs-4.sed line 38: unterminated `s' command
config.status: creating gccbug
sed: file ./confstatt11667/subs-4.sed line 38: unterminated `s' command
config.status: creating mklibgcc
sed: file ./confstatt11667/subs-4.sed line 38: unterminated `s' command
config.status: creating libada-mk
sed: file ./confstatt11667/subs-4.sed line 38: unterminated `s' command
config.status: creating ada/Makefile
sed: file ./confstatt11667/subs-4.sed line 38: unterminated `s' command
config.status: creating auto-host.h
config.status: executing default commands
Configuring stage 1 in ./libiberty
configure: loading cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles... no


The rest of the configargs.h file uses sed scripts correctly and sets the
default_options variable properly on both platforms.


-- 
           Summary: Broken ./configure sed scripting affecting
                    "*gcc/configargs.h" construction.
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rob1weld at aol dot com
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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

Reply via email to