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 bootstrap/13443] config.guess error on HP-UX 11.11 using HP ANSI C++


------- Additional Comments From carsten dot traebing at de dot ina dot com  2004-01-20 13:58 -------
> Would it be possible for you to try a snapshot of 3.4 (either from cvs, or off
> the ftp server) and see if this problem is still present? I seem to remember 
it
> being fixed for certain other C++ compilers... Thanks.

This seems to work fine if I call the ANSI C++ compiler via a link called cc. 
If I call aCC direct (export CC=/.../aCC) it runs into trouble, see following 
log. But this isn't a serious problem because calling cc works fine. Thanks. 


-----
....> gmake bootstrap
Configuring in libiberty
configure: creating cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking for makeinfo... no
checking for perl... perl
checking build system type... hppa2.0w-hp-hpux11.11
checking host system type... hppa2.0w-hp-hpux11.11
checking for hppa2.0w-hp-hpux11.11-ar... ar
checking for hppa2.0w-hp-hpux11.11-ranlib... ranlib
checking for hppa2.0w-hp-hpux11.11-gcc... /opt/aCC/bin/aCC
checking for C compiler default output... 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... no
checking whether /opt/aCC/bin/aCC accepts -g... yes
checking for /opt/aCC/bin/aCC option to accept ANSI C... -Ae
checking how to run the C preprocessor... /opt/aCC/bin/aCC -Ae -E
checking whether /opt/aCC/bin/aCC -Ae and cc understand -c and -o together... 
yes
checking for an ANSI C-conforming const... yes
checking for inline... __inline
checking whether byte ordering is bigendian... yes
checking for a BSD-compatible install... ../../gcc-3.4-
20040114/libiberty/../install-sh -c
checking for sys/file.h... yes
checking for sys/param.h... yes
checking for limits.h... yes
checking for stdlib.h... yes
checking for malloc.h... yes
checking for string.h... yes
checking for unistd.h... yes
checking for strings.h... yes
checking for sys/time.h... yes
checking for time.h... yes
checking for sys/resource.h... yes
checking for sys/stat.h... yes
checking for sys/mman.h... yes
checking for fcntl.h... yes
checking for alloca.h... yes
checking for sys/pstat.h... yes
checking for sys/sysmp.h... no
checking for sys/sysinfo.h... yes
checking for machine/hal_sysinfo.h... no
checking for sys/table.h... no
checking for sys/sysctl.h... no
checking for sys/systemcfg.h... no
checking for sys/wait.h that is POSIX.1 compatible... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether errno must be declared... no
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... yes
checking for strings.h... (cached) yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... (cached) yes
checking for uintptr_t... yes
checking for pid_t... yes
checking for library containing strerror... none required
checking for asprintf... no
checking for atexit... yes
checking for basename... yes
checking for bcmp... yes
checking for bcopy... yes
checking for bsearch... yes
checking for bzero... yes
checking for calloc... yes
checking for clock... yes
checking for ffs... yes
checking for getcwd... yes
checking for getpagesize... yes
checking for index... yes
checking for insque... yes
checking for memchr... yes
checking for memcmp... yes
checking for memcpy... yes
checking for memmove... yes
checking for mempcpy... no
checking for memset... yes
checking for mkstemps... no
checking for putenv... yes
checking for random... yes
checking for rename... yes
checking for rindex... yes
checking for setenv... no
checking for snprintf... yes
checking for sigsetmask... yes
checking for stpcpy... no
checking for stpncpy... no
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strncasecmp... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtod... yes
checking for strtol... yes
checking for strtoul... yes
checking for tmpnam... yes
checking for vasprintf... no
checking for vfprintf... yes
checking for vprintf... yes
checking for vsnprintf... yes
checking for vsprintf... yes
checking for waitpid... yes
checking whether alloca needs Cray hooks... no
checking stack direction for C alloca... 1
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 _doprnt... yes
checking for sys_errlist... yes
checking for sys_nerr... yes
checking for sys_siglist... no
checking for external symbol _system_configuration... no
checking for getrusage... yes
checking for on_exit... no
checking for psignal... no
checking for strerror... yes
checking for strsignal... no
checking for sysconf... yes
checking for times... yes
checking for sbrk... yes
checking for gettimeofday... yes
checking for realpath... yes
checking for canonicalize_file_name... no
checking for pstat_getstatic... yes
checking for pstat_getdynamic... yes
checking for sysmp... no
checking for getsysinfo... no
checking for table... no
checking for sysctl... no
checking whether canonicalize_file_name must be declared... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... no
checking for working strncmp... yes
updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating config.h
config.status: executing default commands
gmake[1]: Entering directory `/home/femadm/compile/lala/libiberty'
if [ x"" != x ] && [ ! -d pic ]; then \
  mkdir pic; \
else true; fi
touch stamp-picdir
if [ x"" != x ]; then \
  /opt/aCC/bin/aCC -c -DHAVE_CONFIG_H -g -I. -I../../gcc-3.4-
20040114/libiberty/../include    ../../gcc-3.4-20040114/libiberty/regex.c -o 
pic/regex.o; \
else true; fi
/opt/aCC/bin/aCC -c -DHAVE_CONFIG_H -g -I. -I../../gcc-3.4-
20040114/libiberty/../include   ../../gcc-3.4-20040114/libiberty/regex.c -o 
regex.o
Error 628: "../../gcc-3.4-20040114/libiberty/regex.c", line 1495 # "byte_ 
fail_stack_elt"
    ["../../gcc-3.4-20040114/libiberty/regex.c", line 1495] cannot be defined 
to have an incomplete type.
    union PREFIX(fail_stack_elt)
          ^^^^^^                
Error 24: "../../gcc-3.4-20040114/libiberty/regex.c", line 1496 # ';' expected 
instead of '{'.
    {
    ^
Error 19: "../../gcc-3.4-20040114/libiberty/regex.c", line 1499 # 
Unexpected '}'.
    };
    ^ 
Error 173: "../../gcc-3.4-20040114/libiberty/regex.c", line 1501 # Redefined 
symbol 'fail_stack_elt';
    previously defined at ["../../gcc-3.4-20040114/libiberty/regex.c", line 
1495].
    typedef union PREFIX(fail_stack_elt) PREFIX(fail_stack_elt_t);
                  ^^^^^^                                          
Error 20: "../../gcc-3.4-20040114/libiberty/regex.c", line 1501 # ';' expected 
before 'byte_'.
    typedef union PREFIX(fail_stack_elt) PREFIX(fail_stack_elt_t);
                                         ^^^^^^                   
Error 628: "../../gcc-3.4-20040114/libiberty/regex.c", line 1501 # "byte_ 
fail_stack_elt_t"
    ["../../gcc-3.4-20040114/libiberty/regex.c", line 1501] cannot be defined 
to have an incomplete type.
    typedef union PREFIX(fail_stack_elt) PREFIX(fail_stack_elt_t);
                                         ^^^^^^                   
Error 19: "../../gcc-3.4-20040114/libiberty/regex.c", line 1505 # 
Unexpected 'fail_stack_elt_t'.
      PREFIX(fail_stack_elt_t) *stack;
      ^^^^^^                          
Error 173: "../../gcc-3.4-20040114/libiberty/regex.c", line 1508 # Redefined 
symbol 'byte_'; previously defined
    at ["../../gcc-3.4-20040114/libiberty/regex.c", line 1501].
    } PREFIX(fail_stack_type);
      ^^^^^^                  
Error 20: "../../gcc-3.4-20040114/libiberty/regex.c", line 1508 # ',' expected 
before 'fail_stack_type'.
    } PREFIX(fail_stack_type);
      ^^^^^^                  
Error 19: "../../gcc-3.4-20040114/libiberty/regex.c", line 1826 # 
Unexpected 'word'.
      PREFIX(fail_stack_elt_t) word;
                               ^^^^ 
Error 628: "../../gcc-3.4-20040114/libiberty/regex.c", line 1826 # "byte_ 
{unnamed.union.#11} [in file
    "../../gcc-3.4-20040114/libiberty/regex.c"]::fail_stack_elt_t" ["../../gcc-
3.4-20040114/libiberty/regex.c",
    line 1826] cannot be defined to have an incomplete type.
      PREFIX(fail_stack_elt_t) word;
      ^^^^^^                        
Error 239: "../../gcc-3.4-20040114/libiberty/regex.c", line 1826 # A 
class/union shall not contain a member
    with incomplete type.
      PREFIX(fail_stack_elt_t) word;
      ^^^^^^                        
Error 699: "../../gcc-3.4-20040114/libiberty/regex.c", line 1826 # Error limit 
reached; halting compilation.
      PREFIX(fail_stack_elt_t) word;
      ^^^^^^                        
gmake[1]: *** [regex.o] Error 2
gmake[1]: Leaving directory `/home/femadm/compile/lala/libiberty'
gmake: *** [all-libiberty] Error 2



-- 


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


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