I do not know what the triplets are but here is my situation.  My configure
script is, and I have used more than one so i'll list two of them....

../configure --prefix=/opt/local --with-ld=/usr/ccs/bin/ld
--with-as=/usr/ccs/bin/as --with-gmp=/opt/local --with-mpfr=/opt/local

received the error....

Assembler: libgcov.c
        "/var/tmp//ccUXpoE1.s", line 1936 : Syntax error
        Near line: "    repz cmpsb"
        "/var/tmp//ccUXpoE1.s", line 2976 : Warning: Illegal subtraction -
symbols from different sections: ".LFB3", ".DOT-21"
        "/var/tmp//ccUXpoE1.s", line 2985 : Warning: Illegal subtraction -
symbols from different sections: ".LFB5", ".DOT-22"
        "/var/tmp//ccUXpoE1.s", line 2994 : Warning: Illegal subtraction -
symbols from different sections: ".LFB24", ".DOT-23"
        "/var/tmp//ccUXpoE1.s", line 3003 : Warning: Illegal subtraction -
symbols from different sections: ".LFB22", ".DOT-24"
        "/var/tmp//ccUXpoE1.s", line 3032 : Warning: Illegal subtraction -
symbols from different sections: ".LFB2", ".DOT-25"
        "/var/tmp//ccUXpoE1.s", line 3051 : Warning: Illegal subtraction -
symbols from different sections: ".LFB4", ".DOT-26"
        "/var/tmp//ccUXpoE1.s", line 3070 : Warning: Illegal subtraction -
symbols from different sections: ".LFB8", ".DOT-27"
        "/var/tmp//ccUXpoE1.s", line 3095 : Warning: Illegal subtraction -
symbols from different sections: ".LFB18", ".DOT-28"
        "/var/tmp//ccUXpoE1.s", line 3120 : Warning: Illegal subtraction -
symbols from different sections: ".LFB9", ".DOT-29"
        "/var/tmp//ccUXpoE1.s", line 3145 : Warning: Illegal subtraction -
symbols from different sections: ".LFB12", ".DOT-30"
        "/var/tmp//ccUXpoE1.s", line 3170 : Warning: Illegal subtraction -
symbols from different sections: ".LFB11", ".DOT-31"
        "/var/tmp//ccUXpoE1.s", line 3193 : Warning: Illegal subtraction -
symbols from different sections: ".LFB10", ".DOT-32"
        "/var/tmp//ccUXpoE1.s", line 3216 : Warning: Illegal subtraction -
symbols from different sections: ".LFB13", ".DOT-33"
        "/var/tmp//ccUXpoE1.s", line 3239 : Warning: Illegal subtraction -
symbols from different sections: ".LFB14", ".DOT-34"
        "/var/tmp//ccUXpoE1.s", line 3266 : Warning: Illegal subtraction -
symbols from different sections: ".LFB16", ".DOT-35"
        "/var/tmp//ccUXpoE1.s", line 3285 : Warning: Illegal subtraction -
symbols from different sections: ".LFB15", ".DOT-36"
        "/var/tmp//ccUXpoE1.s", line 3304 : Warning: Illegal subtraction -
symbols from different sections: ".LFB17", ".DOT-37"
        "/var/tmp//ccUXpoE1.s", line 3327 : Warning: Illegal subtraction -
symbols from different sections: ".LFB7", ".DOT-38"
        "/var/tmp//ccUXpoE1.s", line 3350 : Warning: Illegal subtraction -
symbols from different sections: ".LFB6", ".DOT-39"
        "/var/tmp//ccUXpoE1.s", line 3377 : Warning: Illegal subtraction -
symbols from different sections: ".LFB21", ".DOT-40"
        "/var/tmp//ccUXpoE1.s", line 3410 : Warning: Illegal subtraction -
symbols from different sections: ".LFB23", ".DOT-41"
make[5]: *** [_gcov.o] Error 1
make[5]: Leaving directory
`/opt/local/gcc-4.3.1/objdir/i386-pc-solaris2.10/amd64/libgcc'
make[4]: *** [multi-do] Error 1
make[4]: Leaving directory
`/opt/local/gcc-4.3.1/objdir/i386-pc-solaris2.10/libgcc'
make[3]: *** [all-multi] Error 2
make[3]: Leaving directory
`/opt/local/gcc-4.3.1/objdir/i386-pc-solaris2.10/libgcc'
make[2]: *** [all-stage1-target-libgcc] Error 2
make[2]: Leaving directory `/opt/local/gcc-4.3.1/objdir'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/opt/local/gcc-4.3.1/objdir'
make: *** [all] Error 2

Then I used the configure script....

env LDFLAGS="-L/opt/local/lib -R/opt/local/lib" ../configure
--prefix=/opt/local --with-ld=/usr/ccs/bin/ld --with-as=/usr/ccs/bin/as
--with-gmp=/opt/local --with-mpfr=/opt/local

and received the error...

Assembler: libgcov.c
        "/var/tmp//ccRLbeZi.s", line 1936 : Syntax error
        Near line: "    repz cmpsb"
        "/var/tmp//ccRLbeZi.s", line 2976 : Warning: Illegal subtraction -
symbols from different sections: ".LFB3", ".DOT-21"
        "/var/tmp//ccRLbeZi.s", line 2985 : Warning: Illegal subtraction -
symbols from different sections: ".LFB5", ".DOT-22"
        "/var/tmp//ccRLbeZi.s", line 2994 : Warning: Illegal subtraction -
symbols from different sections: ".LFB24", ".DOT-23"
        "/var/tmp//ccRLbeZi.s", line 3003 : Warning: Illegal subtraction -
symbols from different sections: ".LFB22", ".DOT-24"
        "/var/tmp//ccRLbeZi.s", line 3032 : Warning: Illegal subtraction -
symbols from different sections: ".LFB2", ".DOT-25"
        "/var/tmp//ccRLbeZi.s", line 3051 : Warning: Illegal subtraction -
symbols from different sections: ".LFB4", ".DOT-26"
        "/var/tmp//ccRLbeZi.s", line 3070 : Warning: Illegal subtraction -
symbols from different sections: ".LFB8", ".DOT-27"
        "/var/tmp//ccRLbeZi.s", line 3095 : Warning: Illegal subtraction -
symbols from different sections: ".LFB18", ".DOT-28"
        "/var/tmp//ccRLbeZi.s", line 3120 : Warning: Illegal subtraction -
symbols from different sections: ".LFB9", ".DOT-29"
        "/var/tmp//ccRLbeZi.s", line 3145 : Warning: Illegal subtraction -
symbols from different sections: ".LFB12", ".DOT-30"
        "/var/tmp//ccRLbeZi.s", line 3170 : Warning: Illegal subtraction -
symbols from different sections: ".LFB11", ".DOT-31"
        "/var/tmp//ccRLbeZi.s", line 3193 : Warning: Illegal subtraction -
symbols from different sections: ".LFB10", ".DOT-32"
        "/var/tmp//ccRLbeZi.s", line 3216 : Warning: Illegal subtraction -
symbols from different sections: ".LFB13", ".DOT-33"
        "/var/tmp//ccRLbeZi.s", line 3239 : Warning: Illegal subtraction -
symbols from different sections: ".LFB14", ".DOT-34"
        "/var/tmp//ccRLbeZi.s", line 3266 : Warning: Illegal subtraction -
symbols from different sections: ".LFB16", ".DOT-35"
        "/var/tmp//ccRLbeZi.s", line 3285 : Warning: Illegal subtraction -
symbols from different sections: ".LFB15", ".DOT-36"
        "/var/tmp//ccRLbeZi.s", line 3304 : Warning: Illegal subtraction -
symbols from different sections: ".LFB17", ".DOT-37"
        "/var/tmp//ccRLbeZi.s", line 3327 : Warning: Illegal subtraction -
symbols from different sections: ".LFB7", ".DOT-38"
        "/var/tmp//ccRLbeZi.s", line 3350 : Warning: Illegal subtraction -
symbols from different sections: ".LFB6", ".DOT-39"
        "/var/tmp//ccRLbeZi.s", line 3377 : Warning: Illegal subtraction -
symbols from different sections: ".LFB21", ".DOT-40"
        "/var/tmp//ccRLbeZi.s", line 3410 : Warning: Illegal subtraction -
symbols from different sections: ".LFB23", ".DOT-41"
make[5]: *** [_gcov.o] Error 1
make[5]: Leaving directory
`/opt/local/gcc-4.3.1/objdir/i386-pc-solaris2.10/amd64/libgcc'
make[4]: *** [multi-do] Error 1
make[4]: Leaving directory
`/opt/local/gcc-4.3.1/objdir/i386-pc-solaris2.10/libgcc'
make[3]: *** [all-multi] Error 2
make[3]: Leaving directory
`/opt/local/gcc-4.3.1/objdir/i386-pc-solaris2.10/libgcc'
make[2]: *** [all-stage1-target-libgcc] Error 2
make[2]: Leaving directory `/opt/local/gcc-4.3.1/objdir'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/opt/local/gcc-4.3.1/objdir'
make: *** [bootstrap] Error 2

I tried to find a fix but very unsuccessful at it.  Please help me out.


-- 
           Summary: gcc-4.3.1 errors out when I make or make bootstrap
           Product: gcc
           Version: 4.3.1
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: flipper_drill at yahoo dot com
  GCC host triplet: Windows X64 - Virtual for X86


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

Reply via email to