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]
Other format: [Raw text]

gcj/sparc64?


This is an incomplete bug report.

 unified gcc 4.3.1/binutils 2.18/gmp/mpfr tree: 


  -bash-3.00$ gcc -v  
  Using built-in specs.  
  Target: sparc-sun-solaris2.10  
  Configured with: /home/jay/src/gcc/configure  
  Thread model: posix  
  gcc version 4.3.1 (GCC)  

    
  ~/src/gcc/configure sparc64-sun-solaris2.10 -disable-multilib -disable-bootstrap  \
   -disable-nls sparc64-sun-solaris2.10 CFLAGS=-m64 MAKEINFO=echo && make \
   MAKEINFO=echo CFLAGS=-m64  
    
    
  libtool: compile:  /home/jay/obj/gcc.1/gcc/gcj -B/home/jay/obj/gcc.1/sparc64-sun  
  -solaris2.10/libjava/ -B/home/jay/obj/gcc.1/gcc/ -Usun -fclasspath= -fbootclassp  
  ath=/home/jay/src/gcc/libjava/classpath/lib --encoding=UTF-8 -Wno-deprecated -fb  
  ootstrap-classes -g -O2 -c -fsource-filename=/home/jay/obj/gcc.1/sparc64-sun-sol  
  aris2.10/libjava/classpath/lib/classes -MT gnu/javax/swing/text/html/parser/HTML  
  _401F.lo -MD -MP -MF gnu/javax/swing/text/html/parser/HTML_401F.deps @gnu/javax/  
  swing/text/html/parser/HTML_401F.list  -fPIC -o gnu/javax/swing/text/html/parser  
  /.libs/HTML_401F.o  
  gcj: Internal error: Segmentation Fault (program jc1)  
  Please submit a full bug report.  
  See  for instructions.  
  make[3]: *** [gnu/javax/swing/text/html/parser/HTML_401F.lo] Error 1  
  make[3]: Leaving directory `/home/jay/obj/gcc.1/sparc64-sun-solaris2.10/libjava'  

    
  make[2]: *** [all-recursive] Error 1  
  make[2]: Leaving directory `/home/jay/obj/gcc.1/sparc64-sun-solaris2.10/libjava'  

    
  make[1]: *** [all-target-libjava] Error 2  
  make[1]: Leaving directory `/home/jay/obj/gcc.1'  
  make: *** [all] Error 2  


  -bash-3.00$ uname -a  
  SunOS unknown 5.10 Generic_118833-17 sun4u sparc SUNW,Sun-Blade-100  



 The build gcc -v itself was built with the output of "half Canadian" cross from 
 Cygwin. ie: target==host (==sparc-sun-solaris2.10), but target!=build (i686-pc-cygwin). 
 That should be all I need, but is having some problems, so I figured I'd just it to build native. 
 (I also had to rename away the output of fixincl, as they used the undefined macro _PARAMS.) 


 I'll try again with just -enable-languages=c,c++,fortran,objc.


 Perhaps I should suck it up, ignore the "biarch-ness" and:  


  ~/src/gcc/configure \
      -host=sparc64-sun-solaris2.10 \
      -target=sparc64-sun-solaris2.10 \
      -enable-languages=c,c++,fortran,objc \
      -disable-nls \
      -disable-multilib \
      MAKEINFO=echo && make MAKEINFO=echo 


  but that fails:  
    checking whether byte ordering is bigendian... unknown  
    configure: error: unknown endianness  
    presetting ac_cv_c_bigendian=no (or yes) will help  
    make[1]: *** [configure-libiberty] Error 1  
    make[1]: Leaving directory `/home/jay/obj/gcc.1'  
    make: *** [all] Error 2


I shouldn't need this MAKEINFO=echo, but I do for some reason.
btw, it'd be cool if one could easily add languages later, remove -disable-multilib later, etc.
  ie: "reconfigure slightly differently/larger && make" and have it be super duper smart about what to rebuild 
And -disable-libiconv would be nice.


 - Jay


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