On 2007-10-23 12:01, Brian Dessent wrote: > Wim VAN-ACKOOIJ wrote: > > > ./configure --prefix=/users/ackooij/softs/gcc-4.2.1SunOS/ > > --with-gmp=/logiciels/public/gmp-4.1.4 > > --with-mpfr=/logiciels/public/mpfr-2.2.0 --with-gnu-as > > --with-as=/logiciels/public/binutils-2.16/bin/as --with-gnu-ld > > --with-ld=/logiciels/public/binutils-2.16/bin/ld > > --enable-languages=c,c++,fortran --disable-libgcj > > --build=sparc-sun-solaris2.8 > > You're using a recent gcc with a binutils that is several years old. > That is never a good idea, try using a current version. Those errors > are due to bugs in the assembler relating to alignment in DWARF2 debug > output, from what I can tell from searching the archives. > > Brian > I have installed binutils2.18 now. All seems to have been ok during this install. I cleaned up all of the gcc stuff using make clean and make distclean. I reran configure using the following options : ./configure --prefix=/users/ackooij/softs/gcc-4.2.1SunOS/ --with-gmp=/logiciels/public/gmp-4.1.4 --with-mpfr=/logiciels/public/mpfr-2.2.0 --with-gnu-as --with-gnu-ld --enable-languages=c,c++,fortran --disable-libgcj --build=sparc-sun-solaris2.8 Changed as before : *-*-beos* | \ *-*-elf* | \ *-*-hpux* | \ *-*-netware* | \ *-*-nto-qnx* | \ *-*-rtems* | \ *-*-solaris2* | \ *-*-sysv45* | \ *-*-vxworks* | \ *-wrs-windiss) #md_exec_prefix=/usr/ccs/bin md_exec_prefix=/users/ackooij/softs/binutils-2.18SunOS/bin echo "Solaris Modif : /usr/ccs/bin : changed into $md_exec_prefix \n" ;; Makefile : echo Comparing stages 2 and 3 ; \ cd ${HOST_SUBDIR} ; \ cd stage3-gcc; \ Now i tried to rebuild using "make" but i got an error message. The configure script for "configure-stage1-gcc" did not work correctly : (So afterwards the whole processus of make just stopped) make configure-stage1-gcc Configuring stage 1 in host-sparc-sun-solaris2.8/gcc configure: loading cache ./config.cache checking build system type... sparc-sun-solaris2.8 checking host system type... sparc-sun-solaris2.8 checking target system type... sparc-sun-solaris2.8 checking LIBRARY_PATH variable... ok checking GCC_EXEC_PREFIX variable... ok checking whether to place generated files in the source directory... no checking whether a default linker was specified... no checking whether a default assembler was specified... no checking for sparc-sun-solaris2.8-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking whether gcc and cc understand -c and -o together... yes checking how to run the C preprocessor... gcc -E checking for inline... inline checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... no checking for unistd.h... yes checking for void *... yes checking size of void *... 4 checking for short... yes checking size of short... 2 checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 4 checking for long long... yes checking for long long... (cached) yes checking size of long long... 8 checking for __int64... no checking whether gcc accepts -Wno-long-long... yes checking whether gcc accepts -Wno-variadic-macros... yes checking whether gcc accepts -Wno-overlength-strings... no checking whether gcc accepts -Wold-style-definition... yes checking whether gcc accepts -Wmissing-format-attribute... yes checking whether gcc accepts -Wc++-compat... yes checking valgrind.h usability... no checking valgrind.h presence... no checking for valgrind.h... no checking whether make sets $(MAKE)... yes checking for gawk... gawk checking whether ln -s works... yes checking whether ln works... yes checking for sparc-sun-solaris2.8-ranlib... ranlib checking for a BSD compatible install... /logiciels/public/bin/install -c checking for cmp's capabilities... gnucompare checking for mktemp... no checking for makeinfo... /users/ackooij/softs/gcc-4.2.1i/missing makeinfo checking for modern makeinfo... no configure: WARNING: *** Makeinfo is missing or too old. *** Info documentation will not be built. checking for recent Pod::Man... no checking for flex... flex checking for bison... bison checking for nm... nm checking for ar... ar checking for GNU C library... no checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking whether string.h and strings.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for limits.h... yes checking for stddef.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for stdlib.h... (cached) yes checking for time.h... yes checking for iconv.h... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking for sys/file.h... yes checking for sys/time.h... yes checking for sys/mman.h... yes checking for sys/resource.h... yes checking for sys/param.h... yes checking for sys/times.h... yes checking for sys/stat.h... (cached) yes checking for direct.h... no checking for malloc.h... yes checking for langinfo.h... yes checking for ldfcn.h... no checking for locale.h... yes checking for wchar.h... yes checking for thread.h... yes checking for pthread.h... yes checking for CHAR_BIT... yes checking whether byte ordering is bigendian... yes checking for collect2 libraries... none required checking for library containing exc_resume... no checking for library containing ldexp... none required checking for inttypes.h... yes checking for times... yes checking for clock... yes checking for kill... yes checking for getrlimit... yes checking for setrlimit... yes checking for atoll... yes checking for atoq... no checking for sysconf... yes checking for strsignal... yes checking for getrusage... yes checking for nl_langinfo... yes checking for scandir... no checking for alphasort... no checking for gettimeofday... yes checking for mbstowcs... yes checking for wcswidth... yes checking for mmap... yes checking for mincore... yes checking for setlocale... yes checking for clearerr_unlocked... no checking for feof_unlocked... no checking for ferror_unlocked... no checking for fflush_unlocked... no checking for fgetc_unlocked... no checking for fgets_unlocked... no checking for fileno_unlocked... no checking for fprintf_unlocked... no checking for fputc_unlocked... no checking for fputs_unlocked... no checking for fread_unlocked... no checking for fwrite_unlocked... no checking for getchar_unlocked... yes checking for getc_unlocked... yes checking for putchar_unlocked... yes checking for putc_unlocked... yes checking whether mbstowcs works... yes checking for ssize_t... yes checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for sys/mman.h... (cached) yes checking for mmap... (cached) yes checking whether read-only mmap of a plain file works... yes checking whether mmap from /dev/zero works... yes checking for MAP_ANON(YMOUS)... yes checking whether mmap with MAP_ANON(YMOUS) works... yes checking for pid_t... yes checking for unistd.h... (cached) yes checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for ld used by GCC... /logiciels/public/binutils-2.13.1/bin/ld checking if the linker (/logiciels/public/binutils-2.13.1/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for LC_MESSAGES... yes checking for nl_langinfo and CODESET... yes checking whether getenv is declared... yes checking whether atol is declared... yes checking whether asprintf is declared... no checking whether sbrk is declared... yes checking whether abort is declared... yes checking whether atof is declared... yes checking whether getcwd is declared... yes checking whether getwd is declared... yes checking whether strsignal is declared... yes checking whether strstr is declared... yes checking whether strverscmp is declared... no checking whether errno is declared... yes checking whether snprintf is declared... yes checking whether vsnprintf is declared... yes checking whether vasprintf is declared... no checking whether malloc is declared... yes checking whether realloc is declared... yes checking whether calloc is declared... yes checking whether free is declared... yes checking whether basename is declared... no checking whether getopt is declared... yes checking whether clock is declared... yes checking whether getpagesize is declared... yes checking whether clearerr_unlocked is declared... no checking whether feof_unlocked is declared... no checking whether ferror_unlocked is declared... no checking whether fflush_unlocked is declared... no checking whether fgetc_unlocked is declared... no checking whether fgets_unlocked is declared... no checking whether fileno_unlocked is declared... no checking whether fprintf_unlocked is declared... no checking whether fputc_unlocked is declared... no checking whether fputs_unlocked is declared... no checking whether fread_unlocked is declared... no checking whether fwrite_unlocked is declared... no checking whether getchar_unlocked is declared... no checking whether getc_unlocked is declared... no checking whether putchar_unlocked is declared... no checking whether putc_unlocked is declared... no checking whether getrlimit is declared... yes checking whether setrlimit is declared... yes checking whether getrusage is declared... yes checking whether ldgetname is declared... no checking whether times is declared... yes checking whether sigaltstack is declared... yes checking for struct tms... yes checking for clock_t... yes checking for .preinit_array/.init_array/.fini_array support... yes checking if mkdir takes one argument... no Using `../.././gcc/config/sparc/sparc.c' for machine-specific logic. Using `../.././gcc/config/sparc/sparc.md' as machine description file. Using the following target machine macro files: ../.././gcc/config/sparc/biarch64.h ../.././gcc/config/sparc/sparc.h ../.././gcc/config/dbxelf.h ../.././gcc/config/elfos.h ../.././gcc/config/svr4.h ../.././gcc/config/sparc/sysv4.h ../.././gcc/config/sol2.h ../.././gcc/config/sparc/sol2.h ../.././gcc/config/sparc/sol2-gld.h ../.././gcc/config/sparc/sol2-gas.h ../.././gcc/config/sparc/sol2-bi.h ../.././gcc/config/sparc/sol2-gld-bi.h ../.././gcc/config/sparc/sol2-gas-bi.h ../.././gcc/config/tm-dwarf2.h Using host-solaris.o for host machine hooks. checking whether NLS is requested... yes checking for catalogs to be installed... be ca da de el es fr ja nl ru rw sr sv tr zh_CN zh_TW be ca da de el es fr ja nl ru rw sr sv tr zh_CN zh_TW checking what assembler to use... /users/ackooij/softs/binutils-2.18SunOS/bin/as checking what linker to use... /users/ackooij/softs/binutils-2.18SunOS/bin/ld checking what nm to use... /users/ackooij/softs/binutils-2.18SunOS/bin/nm checking what objdump to use... /users/ackooij/softs/binutils-2.18SunOS/bin/objdump checking assembler for .balign and .p2align... yes checking assembler for .p2align with maximum skip... yes checking assembler for working .subsection -1... yes checking assembler for .weak... yes checking assembler for .weakref... yes checking assembler for .nsubspa comdat... no checking assembler for .hidden... yes checking linker for .hidden support... yes checking assembler for .sleb128 and .uleb128... /users/ackooij/softs/gcc-4.2.1i/gcc/configure: test: unknown operator assembler What is this new error all about ? It seems to use the right assembler no ? Thanks again in advance !