Gcc Cross Compile Problem; Linux -> Solaris 2.6

David G Oberbeck 622369 oberbdg@stamps.stortek.com
Tue Oct 3 12:35:00 GMT 2000


Greetings,

   Sitrep:
        (First time submission, please bear with me.)

        Setting up a number of cross compilation environments; one is having a seizure.

        Host: Linux wolflab11.stortek.com 2.2.14-15mdk #1 Tue Jan 4 22:24:20 CET 2000 i686 unknown

        Target: sparc-sun-solaris2.6

        Gcc version: Is the current CVS sources as of 2000_10_03, this AM MDT. The built
        cross compiler signs on as:

              ./xgcc --version
              2.97

   Problem: Came across the following internal compiler error:

/proj/twolf/tools/cross_compile/source/gcc-cvs_2000_10_03/gcc/ xgcc 
-B/proj/twolf/tools/cross_compile/source/gcc-cvs_2000_10_03/gcc/ 
-B/proj/twolf/tools/x_solaris-2.6/sparc-sun-solaris2.6/bin/ 
-B/proj/twolf/tools/x_solaris-2.6/sparc-sun-solaris2.6/lib/ -isystem 
/proj/twolf/tools/x_solaris-2.6/sparc-sun-solaris2.6/include -O2  -DCROSS_COMPILE -DIN_GCC    -g -O2 -W 
-Wall  -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes  -Wno-long-long -isystem ./include  
-fPIC -g1 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I./config 
-I./../include  -DL_divdi3 -c ./libgcc2.c -o libgcc/./_divdi3.o
./libgcc2.c: In function `__divdi3':
./libgcc2.c:576: USE or CLOBBER before SET:
(insn 376 2 330 (parallel[ 
            (clobber (reg:SI 15 %o7))
            (set (reg:SI 23 %l7)
                (unspec[ 
                        (symbol_ref:SI ("_GLOBAL_OFFSET_TABLE_"))
                        (symbol_ref:SI ("*.LLGETPC0"))
                    ]  2))
        ] ) -1 (nil)
    (nil))
./libgcc2.c:576: Internal compiler error in single_set_1, at rtlanal.c:882
   Please submit a full bug report.
   See <URL: http://www.gnu.org/software/gcc/bugs.html > for instructions.
make[2]: *** [libgcc/./_divdi3.o] Error 1
make[2]: Leaving directory `/proj/twolf/tools/cross_compile/source/gcc-cvs_2000_10_03/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/proj/twolf/tools/cross_compile/source/gcc-cvs_2000_10_03/gcc'
make: *** [all-gcc] Error 2

   Attached is a zip file containing the requested files, namely:

          -rw-r-----   1 oberbdg  oberbdg    101919 Oct  3 13:19 libgcc2.c
          -rw-r-----   1 oberbdg  oberbdg     27920 Oct  3 13:19 libgcc2.i
          -rw-r-----   1 oberbdg  oberbdg      7525 Oct  3 13:18 libgcc2.s

   Please let me know what this is, and what I can do to help...

TIA,
        David Oberbeck

David Oberbeck
StorageTek Library Development Engineering
Voice: (303) 673-8817
Fax:   (303) 661-5379
oberbdg@stamps.stortek.com <mailto: oberbdg@stamps.stortek.com>
"Entropy Requires No Maintenance"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dgo_2000_10_03.zip
Type: application/zip
Size: 33846 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-bugs/attachments/20001003/64ab6d8e/attachment.zip>


More information about the Gcc-bugs mailing list