public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "aaronw at attbi dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/11785] New: Cannot compile gcc on 32-bit Sparc Solaris 2.7
Date: Mon, 04 Aug 2003 02:28:00 -0000	[thread overview]
Message-ID: <20030804022851.11785.aaronw@attbi.com> (raw)

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

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

           Summary: Cannot compile gcc on 32-bit Sparc Solaris 2.7
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: aaronw at attbi dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: sparc-sun-solaris2.7
  GCC host triplet: sparc-sun-solaris2.7
GCC target triplet: sparc-sun-solaris2.7

I am unable to get gcc 3.3.1 (20030728 snapshot) to compile on an Ultrasparc running Solaris 
2.7 in 32-bit mode.  I configured with: 
 
./configure --prefix=/tools/gcc-3.2 --disable-multilib --with-ld=/usr/ccs/bin/ld 
--with-as=/usr/ccs/bin/as 
 
Configuring for a sparc-sun-solaris2.7 host. 
 
When it gets to libiberty I get the following output: 
 
make[3]: Entering directory 
`/tools/gcc-3.2/archive/gcc-3.3-20030728/sparc-sun-solaris2.7/libiberty' 
rm -rf *.o pic core errs \#* *.E a.out 
rm -f needed.awk needed2.awk errors dummy needed-list config.h stamp-* 
rm -f   stamp-picdir 
rm -f libiberty.aux libiberty.cp libiberty.cps libiberty.fn libiberty.ky 
rm -f libiberty.log libiberty.tmp libiberty.tps libiberty.pg 
rm -f libiberty.pgs libiberty.toc libiberty.tp libiberty.tpl libiberty.vr 
rm -f libtexi.stamp 
make[3]: Leaving directory 
`/tools/gcc-3.2/archive/gcc-3.3-20030728/sparc-sun-solaris2.7/libiberty' 
rm -f *.a required-list tmpmulti.out 
rm -f libiberty.dvi libiberty.info* libiberty.html 
make[2]: Leaving directory 
`/tools/gcc-3.2/archive/gcc-3.3-20030728/sparc-sun-solaris2.7/libiberty' 
rm -f *~ Makefile config.status xhost-mkfrag TAGS multilib.out 
rm -f config.log 
rmdir testsuite 2>/dev/null 
make[1]: [distclean] Error 2 (ignored) 
make[1]: Leaving directory 
`/tools/gcc-3.2/archive/gcc-3.3-20030728/sparc-sun-solaris2.7/libiberty' 
creating cache ../config.cache 
checking whether to enable maintainer-specific portions of Makefiles... no 
checking for makeinfo... makeinfo 
checking for perl... perl 
checking host system type... sparc-sun-solaris2.7 
checking build system type... sparc-sun-solaris2.7 
checking for ar... ar 
checking for ranlib... true 
checking for gcc...  /tools/gcc-3.2/archive/gcc-3.3-20030728/gcc/xgcc 
-B/tools/gcc-3.2/archive/gcc-3.3-20030728/gcc/ -B/tools/gcc-3.2/sparc-sun-solaris2.7/bin/ 
-B/tools/gcc-3.2/sparc-sun-solaris2.7/lib/ -isystem 
/tools/gcc-3.2/sparc-sun-solaris2.7/include 
checking whether we are using GNU C... yes 
checking whether  /tools/gcc-3.2/archive/gcc-3.3-20030728/gcc/xgcc 
-B/tools/gcc-3.2/archive/gcc-3.3-20030728/gcc/ -B/tools/gcc-3.2/sparc-sun-solaris2.7/bin/ 
-B/tools/gcc-3.2/sparc-sun-solaris2.7/lib/ -isystem 
/tools/gcc-3.2/sparc-sun-solaris2.7/include accepts -g... yes 
checking whether  /tools/gcc-3.2/archive/gcc-3.3-20030728/gcc/xgcc 
-B/tools/gcc-3.2/archive/gcc-3.3-20030728/gcc/ -B/tools/gcc-3.2/sparc-sun-solaris2.7/bin/ 
-B/tools/gcc-3.2/sparc-sun-solaris2.7/lib/ -isystem 
/tools/gcc-3.2/sparc-sun-solaris2.7/include and cc understand -c and -o together... yes 
checking for POSIXized ISC... no 
checking for working const... yes 
checking for inline... inline 
checking for a BSD compatible install... /tools/kde/gnu/bin/install -c 
checking how to run the C preprocessor...  
/tools/gcc-3.2/archive/gcc-3.3-20030728/gcc/xgcc 
-B/tools/gcc-3.2/archive/gcc-3.3-20030728/gcc/ -B/tools/gcc-3.2/sparc-sun-solaris2.7/bin/ 
-B/tools/gcc-3.2/sparc-sun-solaris2.7/lib/ -isystem 
/tools/gcc-3.2/sparc-sun-solaris2.7/include -E 
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... no 
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 ANSI C header files... yes 
checking for uintptr_t... yes 
checking for pid_t... yes 
checking whether the C compiler ( /tools/gcc-3.2/archive/gcc-3.3-20030728/gcc/xgcc 
-B/tools/gcc-3.2/archive/gcc-3.3-20030728/gcc/ -B/tools/gcc-3.2/sparc-sun-solaris2.7/bin/ 
-B/tools/gcc-3.2/sparc-sun-solaris2.7/lib/ -isystem 
/tools/gcc-3.2/sparc-sun-solaris2.7/include -O2 -g -O2 ) works... yes 
checking whether the C compiler ( /tools/gcc-3.2/archive/gcc-3.3-20030728/gcc/xgcc 
-B/tools/gcc-3.2/archive/gcc-3.3-20030728/gcc/ -B/tools/gcc-3.2/sparc-sun-solaris2.7/bin/ 
-B/tools/gcc-3.2/sparc-sun-solaris2.7/lib/ -isystem 
/tools/gcc-3.2/sparc-sun-solaris2.7/include -O2 -g -O2 ) is a cross-compiler... no 
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 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 sigsetmask... 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 vsprintf... yes 
checking for waitpid... yes 
checking whether alloca needs Cray hooks... no 
checking stack direction for C alloca... -1 
checking for vfork.h... no 
checking for working vfork... 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... yes 
checking for strerror... yes 
checking for strsignal... yes 
checking for sysconf... yes 
checking for times... yes 
checking for sbrk... yes 
checking for gettimeofday... yes 
checking for pstat_getstatic... no 
checking for pstat_getdynamic... no 
checking for sysmp... no 
checking for getsysinfo... no 
checking for table... no 
checking for sysctl... no 
checking for stdlib.h... (cached) yes 
checking for unistd.h... (cached) yes 
checking for sys/stat.h... (cached) yes 
checking for sys/types.h... yes 
checking for getpagesize... (cached) yes 
checking for working mmap... yes 
checking for working strncmp... yes 
updating cache ../config.cache 
creating ./config.status 
creating Makefile 
creating testsuite/Makefile 
creating config.h 
make[1]: Entering directory 
`/tools/gcc-3.2/archive/gcc-3.3-20030728/sparc-sun-solaris2.7/libiberty' 
if [ x"" != x ] && [ ! -d pic ]; then \ 
  mkdir pic; \ 
else true; fi 
make[1]: *** Warning: File `config.h' has modification time in the future (2003-08-03 
19:12:00.513234 > 2003-08-03 19:11:59.836832206) 
make[1]: *** No rule to make target `../include/xregex.h', needed by `regex.o'.  Stop. 
make[1]: *** Waiting for unfinished jobs.... 
touch stamp-picdir 
make[1]: Leaving directory 
`/tools/gcc-3.2/archive/gcc-3.3-20030728/sparc-sun-solaris2.7/libiberty' 
make: *** [all-target-libiberty] Error 2 
 
 
Note that I did not have any problems compiling the 20030721 snapshot on a 64-bit Solaris 2.8 
machine. 
 
The target machine is Ultrasparc based, but the 32-bit version of Solaris is installed. 
 
This has been an issue since 3.0.  I can get it working by manually hacking the configure scripts 
to work around multilib issues when they should be disabled, but it's a pain.  Note that 2.95.3 
had no problems.


             reply	other threads:[~2003-08-04  2:28 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-04  2:28 aaronw at attbi dot com [this message]
2003-08-04  2:31 ` [Bug bootstrap/11785] " pinskia at physics dot uc dot edu
2003-08-04 11:16 ` pinskia at physics dot uc dot edu
2003-08-04 16:49 ` aaronw at attbi dot com
2003-08-04 20:22 ` pinskia at physics dot uc dot edu
2003-08-05  5:45 ` aaronw at attbi dot com
2003-08-05  5:49 ` pinskia at physics dot uc dot edu
2003-08-06 18:34 ` aaronw at attbi dot com
2003-08-06 18:36 ` aaronw at attbi dot com
2003-08-06 18:41 ` pinskia at physics dot uc dot edu
2003-08-08 17:51 ` aaronw at attbi dot com
2003-08-08 18:10 ` pinskia at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030804022851.11785.aaronw@attbi.com \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).