This is the mail archive of the gcc-bugs@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]

[Bug other/11293] New: Failure to configure on Solaris 2.8: error: *** unable to determine endianness


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11293

           Summary: Failure to configure on Solaris 2.8: error: *** unable
                    to determine endianness
           Product: gcc
           Version: 3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ivor dot williams at lch dot com
                CC: gcc-bugs at gcc dot gnu dot org

Brand new 3.3 install gives this error during configure.

I believe this could be a repeat of bug 7980, which was closed (unable to 
reproduce).

/tmp/gccbld >/home/williami/bld/gcc-3.3/configure --prefix=/home/williami
Configuring for a sparc-sun-solaris2.8 host.
Created "Makefile" in /tmp/gccbld using "mh-frag"
./config.status is unchanged
Configuring libiberty...
loading cache ../config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for makeinfo... no
checking for perl... (cached) perl
checking host system type... sparc-sun-solaris2.8
checking build system type... sparc-sun-solaris2.8
checking for ar... (cached) ar
checking for ranlib... (cached) ranlib
checking for gcc... (cached) CC
checking whether we are using GNU C... (cached) no
checking whether CC and cc understand -c and -o together... (cached) no
checking for POSIXized ISC... no
checking for working const... (cached) no
checking for inline... (cached) inline
checking for a BSD compatible install... /home/williami/bld/gcc-
3.3/libiberty/../install-sh -c
xhost-mkfrag is unchanged
checking how to run the C preprocessor... (cached) CC -E
checking for sys/file.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for limits.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for time.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/mman.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for alloca.h... (cached) yes
checking for sys/pstat.h... (cached) no
checking for sys/sysmp.h... (cached) no
checking for sys/sysinfo.h... (cached) yes
checking for machine/hal_sysinfo.h... (cached) no
checking for sys/table.h... (cached) no
checking for sys/sysctl.h... (cached) no
checking for sys/systemcfg.h... (cached) no
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether errno must be declared... (cached) no
checking for ANSI C header files... (cached) no
checking for uintptr_t... (cached) yes
checking for pid_t... (cached) yes
checking whether the C compiler (CC -g ) works... yes
checking whether the C compiler (CC -g ) is a cross-compiler... no
checking for asprintf... (cached) no
checking for atexit... (cached) no
checking for basename... (cached) no
checking for bcmp... (cached) no
checking for bcopy... (cached) no
checking for bsearch... (cached) no
checking for bzero... (cached) no
checking for calloc... (cached) no
checking for clock... (cached) no
checking for ffs... (cached) no
checking for getcwd... (cached) no
checking for getpagesize... (cached) no
checking for index... (cached) no
checking for insque... (cached) no
checking for memchr... (cached) no
checking for memcmp... (cached) no
checking for memcpy... (cached) no
checking for memmove... (cached) no
checking for memset... (cached) no
checking for mkstemps... (cached) no
checking for putenv... (cached) no
checking for random... (cached) no
checking for rename... (cached) no
checking for rindex... (cached) no
checking for setenv... (cached) no
checking for sigsetmask... (cached) no
checking for strcasecmp... (cached) no
checking for strchr... (cached) no
checking for strdup... (cached) no
checking for strncasecmp... (cached) no
checking for strrchr... (cached) no
checking for strstr... (cached) no
checking for strtod... (cached) no
checking for strtol... (cached) no
checking for strtoul... (cached) no
checking for tmpnam... (cached) no
checking for vasprintf... (cached) no
checking for vfprintf... (cached) no
checking for vprintf... (cached) no
checking for vsprintf... (cached) no
checking for waitpid... (cached) no
checking whether alloca needs Cray hooks... (cached) no
checking stack direction for C alloca... (cached) -1
checking for vfork.h... (cached) no
checking for working vfork... (cached) no
checking for _doprnt... (cached) no
checking for sys_errlist... (cached) yes
checking for sys_nerr... (cached) yes
checking for sys_siglist... (cached) no
checking for _system_configuration... (cached) no
checking for getrusage... (cached) no
checking for on_exit... (cached) no
checking for psignal... (cached) no
checking for strerror... (cached) no
checking for strsignal... (cached) no
checking for sysconf... (cached) no
checking for times... (cached) no
checking for sbrk... (cached) no
checking for gettimeofday... (cached) no
checking for pstat_getstatic... (cached) no
checking for pstat_getdynamic... (cached) no
checking for sysmp... (cached) no
checking for getsysinfo... (cached) no
checking for table... (cached) no
checking for sysctl... (cached) no
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) no
checking for working mmap... (cached) no
checking for working strncmp... (cached) no
creating ./config.status
creating Makefile
creating testsuite/Makefile
creating config.h
config.h is unchanged
Configuring zlib...
loading cache ../config.cache
checking host system type... sparc-sun-solaris2.8
checking target system type... sparc-sun-solaris2.8
checking build system type... sparc-sun-solaris2.8
checking for a BSD compatible install... /home/williami/bld/gcc-
3.3/zlib/../install-sh -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... (cached) CC
checking whether we are using GNU C... (cached) no
checking for non-GNU ld... (cached) /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... (cached) no
checking for /usr/ccs/bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/ccs/bin/nm -p
checking whether ln -s works... (cached) yes
checking how to recognise dependant libraries... (cached) pass_all
checking for object suffix... (cached) o
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
loading cache ../config.cache within ltconfig
checking for objdir... .libs
checking for CC option to produce PIC...  -KPIC -DPIC
checking if CC PIC flag  -KPIC -DPIC works... (cached) yes
checking if CC static flag -Bstatic works... (cached) yes
finding the maximum length of command line arguments... (cached) 393217
checking if CC supports -c -o file.o... (cached) yes
checking whether the linker (/usr/ccs/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking dynamic linker characteristics... solaris2.8 ld.so
checking command to parse /usr/ccs/bin/nm -p output... ok
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
creating libtool
loading cache ../config.cache
checking how to run the C preprocessor... (cached) CC -E
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for getpagesize... (cached) no
checking for working mmap... (cached) no
checking for memcpy... (cached) no
checking for strerror... (cached) no
checking for unistd.h... (cached) yes
creating ./config.status
creating Makefile
Configuring gcc...
loading cache ../config.cache
checking LIBRARY_PATH variable... ok
checking GCC_EXEC_PREFIX variable... ok
checking host system type... sparc-sun-solaris2.8
checking target system type... sparc-sun-solaris2.8
checking build system type... sparc-sun-solaris2.8
checking for gcc... (cached) CC
checking whether the C compiler (CC -g ) works... yes
checking whether the C compiler (CC -g ) is a cross-compiler... no
checking whether we are using GNU C... (cached) no
checking whether CC accepts -g... yes
checking whether CC and cc understand -c and -o together... (cached) no
checking for gnatbind... no
checking for compiler driver that understands Ada... no
checking whether CC accepts -Wno-long-long... yes
checking how to run the C preprocessor... (cached) CC -E
checking for inline... (cached) inline
checking for volatile... yes
checking for long double... yes
checking for long long int... yes
checking for __int64... no
checking for built-in _Bool... no
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking execution character set... ASCII
checking whether make sets ${MAKE}... (cached) yes
checking whether a default assembler was specified... no
checking whether a default linker was specified... no
checking for GNU C library... no
checking for gawk... gawk
checking whether ln works... yes
checking whether ln -s works... yes
checking for ranlib... (cached) ranlib
checking for a BSD compatible install... /home/williami/bld/gcc-
3.3/gcc/../install-sh -c
checking for ANSI C header files... (cached) no
checking whether time.h and sys/time.h may both be included... (cached) yes
checking for working stdbool.h... no
checking whether string.h and strings.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for limits.h... (cached) 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... (cached) yes
checking for fcntl.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/file.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for sys/param.h... (cached) 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 thread.h... yes
checking for pthread.h... yes
checking for CHAR_BIT... yes
checking byte ordering... unknown
configure: error: *** unable to determine endianness
Configure in /tmp/gccbld/gcc failed, exiting.

/tmp/gccbld >uname -a
SunOS otcdv2 5.8 Generic_108528-20 sun4u sparc SUNW,Ultra-Enterprise


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