This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: bootstrap fail on darwin, UNALIGNED_SHORT_ASM_OP ??


Did I shoot myself in the toe ?
(or do I have a monologue??)

Andreas Tobler wrote:
> 
> Andreas Tobler wrote:
> 
> > ./xgcc -B./ -B/Volume/reserved1/gcctmp/powerpc-apple-darwin1.3.7/bin/
> > -isystem /Volume/reserved1/gcctmp/powerpc-apple-darwin1.3.7/include -O2
> >  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes
> > -Wmissing-prototypes -isystem ./include   -g1  -DIN_LIBGCC2
> > -D__GCC_FLOAT_NOT_NEEDED  -I. -I. -I../../gcc/gcc -I../../gcc/gcc/.
> > -I../../gcc/gcc/config -I../../gcc/gcc/../include  -DL_divdi3 -c
> > ../../gcc/gcc/libgcc2.c -fexceptions -fnon-call-exceptions -o libgcc/./_divdi3.o
> > ../../gcc/gcc/libgcc2.c:2922: Internal compiler error in
> > assemble_integer, at varasm.c:1943
> 
> Is it possible that we have to add something like this in gcc/gcc/config/darwin.h?
> 
> #define UNALIGNED_SHORT_ASM_OP          "\t.int\t2,"
> #define UNALIGNED_INT_ASM_OP            "\t.long\t4,"
> #define UNALIGNED_DOUBLE_INT_ASM_OP     "\t.long\t8,"

The compiler did a bootstrap, I fail in compiling the libstdc++-v3:

/bin/sh ../libtool --tag CXX --mode=compile
/Users/andreast/gccsrc/objdir/gcc/xgcc
-B/Users/andreast/gccsrc/objdir/gcc/ -nostdinc++ 
-L/Users/andreast/gccsrc/objdir/powerpc-apple-darwin1.3.7/libstdc++-v3/src
-L/Users/andreast/gccsrc/objdir/powerpc-apple-darwin1.3.7/libstdc++-v3/src/.libs
-B/Volumes/reserved1/gcctmp/powerpc-apple-darwin1.3.7/bin/
-B/Volumes/reserved1/gcctmp/powerpc-apple-darwin1.3.7/lib/ -isystem
/Volumes/reserved1/gcctmp/powerpc-apple-darwin1.3.7/include -nostdinc++ 
      
-I/Users/andreast/gccsrc/objdir/powerpc-apple-darwin1.3.7/libstdc++-v3/include/powerpc-apple-darwin1.3.7
-I/Users/andreast/gccsrc/objdir/powerpc-apple-darwin1.3.7/libstdc++-v3/include
        -I../../../../gcc/libstdc++-v3/libsupc++ 
-I../../../../gcc/libstdc++-v3/libmath         -fno-implicit-templates  
              -Wall -Wno-format -W -Wwrite-strings -Winline 
-fdiagnostics-show-location=once src/ios.cc
/Users/andreast/gccsrc/objdir/gcc/xgcc
-B/Users/andreast/gccsrc/objdir/gcc/ -nostdinc++
-L/Users/andreast/gccsrc/objdir/powerpc-apple-darwin1.3.7/libstdc++-v3/src
-L/Users/andreast/gccsrc/objdir/powerpc-apple-darwin1.3.7/libstdc++-v3/src/.libs
-B/Volumes/reserved1/gcctmp/powerpc-apple-darwin1.3.7/bin/
-B/Volumes/reserved1/gcctmp/powerpc-apple-darwin1.3.7/lib/ -isystem
/Volumes/reserved1/gcctmp/powerpc-apple-darwin1.3.7/include -nostdinc++
-I/Users/andreast/gccsrc/objdir/powerpc-apple-darwin1.3.7/libstdc++-v3/include/powerpc-apple-darwin1.3.7
-I/Users/andreast/gccsrc/objdir/powerpc-apple-darwin1.3.7/libstdc++-v3/include
-I../../../../gcc/libstdc++-v3/libsupc++
-I../../../../gcc/libstdc++-v3/libmath -g -O2 -fno-implicit-templates
-Wall -Wno-format -W -Wwrite-strings -Winline
-fdiagnostics-show-location=once -g -c
../../../../gcc/libstdc++-v3/src/ios.cc -o ios.o
/var/tmp//ccnPg96C.s:1761:Invalid mnemonic '_*_ZZNSt8ios_base6xallocEvE3top:'
/var/tmp//ccnPg96C.s:1778:Can't relocate expression. Absolute 0 assumed.
/var/tmp//ccnPg96C.s:1778:Subtracting symbol "L12$pb"(segment"section")
is too hard. Absolute segment assumed.
/var/tmp//ccnPg96C.s:1783:Can't relocate expression. Absolute 0 assumed.
/var/tmp//ccnPg96C.s:1783:Subtracting symbol "L12$pb"(segment"section")
is too hard. Absolute segment assumed.
/var/tmp//ccnPg96C.s:1799:Can't relocate expression. Absolute 0 assumed.
make[4]: *** [ios.lo] Error 1


Note, I didn't read mail since 8:00 MEST

Any comment would be highly appreciated, even if I'm totally wrong!!

CHeers,
Andreas


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]