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]

Anyone build 4.0.2 on IRIX 6.5?


I'm getting a SGI linker bug building 4.0.2 on IRIX 6.5.23m and
6.5.26m:
  $ cd /opt/build
  $ bzip2 -dc /opt/src/devel/gcc-4.0.2/src/gcc-4.0.2.tar.bz2 | tar xf -
  $ mkdir gcc
  $ cd gcc
  $ CC=cc /opt/build/gcc-4.0.2/configure --enable-shared \
  --with-gnu-as --with-as="/opt/TWWfsw/gcc402/mips-sgi-irix6.5/bin/as" \
  --enable-languages="c,c++" 
  $ gmake bootstrap
  ...
  /opt/fsw/bin/bash ../libtool --tag CXX --mode=link
/opt/build/gcc/gcc/xgcc -shared-libgcc ... -B/opt/build/gcc/gcc/
-nostdinc++ -L/opt/build/gcc/mips-sgi-irix6.5/libstdc++-v3/src
-L/opt/build/gcc/mips-sgi-irix6.5/libstdc++-v3/src/.libs
-B/usr/local/mips-sgi-irix6.5/bin/ -B/usr/local/mips-sgi-irix6.5/lib/
-isystem /usr/local/mips-sgi-irix6.5/include -isystem
/usr/local/mips-sgi-irix6.5/sys-include   -fno-implicit-templates
-Wall -Wextra -Wwrite-strings -Wcast-qual
-fdiagnostics-show-location=once  -ffunction-sections -fdata-sections
-o libstdc++.la -rpath /usr/local/lib/../lib32 -version-info 6:6:0
-lm  bitmap_allocator.lo ...
  ...
  ld32: FATAL   2  : Internal: at ../../ld/section_type.c In load_info() unknown section type
  collect2: ld returned 1 exit status
  gmake[4]: *** [libstdc++.la] Error 1
  gmake[4]: Leaving directory `/opt/build/gcc/mips-sgi-irix6.5/libstdc++-v3/src'
  gmake[3]: *** [all-recursive] Error 1

I'm building with GNU as because of:
  http://gcc.gnu.org/ml/gcc-help/2005-10/msg00048.html

Has anyone managed to build 4.0.2 on IRIX 6.5?

-- 
albert chin (china@thewrittenword.com)


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