[Bug c/40148] New: gcc 4.4.0 fails to build on Sparc Solaris 10

peter dot kruse at lbbw dot de gcc-bugzilla@gcc.gnu.org
Thu May 14 14:01:00 GMT 2009


Hello,

trying to compile gcc 4.4.0 results in the following error:

-----------------------8<----------------------------------------------------
/ae/data/work/extern/ex00712/build/gcc/gcc-4.4.0-objdir/./gcc/xgcc
-B/ae/data/work/extern/ex00712/build/gcc/gcc-4.4.0-objdir/./gcc/
-B/apps/local/gcc/4.4.0/sparc-sun-solaris2.10/bin/
-B/apps/local/gcc/4.4.0/sparc-sun-solaris2.10/lib/ -isystem
/apps/local/gcc/4.4.0/sparc-sun-solaris2.10/include -isystem
/apps/local/gcc/4.4.0/sparc-sun-solaris2.10/sys-include -g
-I/apps/local/gcc/4.3.2/include -I/apps/prod/gcc/4.3.2/include -fPIC -m64 -c -o
/ae/data/work/extern/ex00712/build/gcc/gcc-4.4.0-objdir/sparc-sun-solaris2.10/sparcv9/libgcc/crt1.o
-x assembler-with-cpp ../../gcc-4.4.0/gcc/config/sparc/sol2-c1.asm
/usr/ccs/bin/as: "/var/tmp//ccLZqEDx.s": , approx line 92: internal error:
pic_relocs(): hh reltype?
make[6]: ***
[/ae/data/work/extern/ex00712/build/gcc/gcc-4.4.0-objdir/sparc-sun-solaris2.10/sparcv9/libgcc/crt1.o]
Error 1
make[6]: Leaving directory
`/ae/data/work/extern/ex00712/build/gcc/gcc-4.4.0-objdir/gcc'
make[5]: *** [gcc-extra-parts] Error 2
make[5]: Leaving directory
`/ae/data/work/extern/ex00712/build/gcc/gcc-4.4.0-objdir/sparc-sun-solaris2.10/sparcv9/libgcc'
make[4]: *** [multi-do] Error 1
make[4]: Leaving directory
`/ae/data/work/extern/ex00712/build/gcc/gcc-4.4.0-objdir/sparc-sun-solaris2.10/libgcc'
make[3]: *** [all-multi] Error 2
make[3]: Leaving directory
`/ae/data/work/extern/ex00712/build/gcc/gcc-4.4.0-objdir/sparc-sun-solaris2.10/libgcc'
make[2]: *** [all-stage1-target-libgcc] Error 2
make[2]: Leaving directory
`/ae/data/work/extern/ex00712/build/gcc/gcc-4.4.0-objdir'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory
`/ae/data/work/extern/ex00712/build/gcc/gcc-4.4.0-objdir'
make: *** [bootstrap-lean] Error 2
-----------------------8<----------------------------------------------------

I have run the above "xgcc" command with "-save-temps" and will attach
the resulting sol2-c1.s file.

gcc has been configured with:

../gcc-4.4.0/configure --prefix=/apps/local/gcc/4.4.0 --enable-languages=c,c++
--with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld

and make's argument was "bootstrap-lean"

If I run the above "xgcc" command without the "-m64" argument the build of
crt1.o succeeds.

Thanks,

  Peter


-- 
           Summary: gcc 4.4.0 fails to build on Sparc Solaris 10
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: peter dot kruse at lbbw dot de


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



More information about the Gcc-bugs mailing list