public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "halder dot malay at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/37035]  New: gcc-4.2.2 build failed on solaris-8
Date: Wed, 06 Aug 2008 07:37:00 -0000	[thread overview]
Message-ID: <bug-37035-15873@http.gcc.gnu.org/bugzilla/> (raw)

I am trying to build gcc-4.2.2 on a solaris-8 machine using gcc-3.4.4 

** my build machine details:-
SunOS  5.8 Generic_108528-20 sun4u sparc SUNW,Sun-Blade-100

** my gcc-3.4.4 configuration --> which is used to build new gcc-4.2.2

Configured with: ../gcc-3.4.4/configure
--prefix=/tools/openbin/gcc/3.4.4/sparc-sun-solaris8 --disable-nls
--enable-languages=c,c++,java --enable-shared --enable-threads=posix
--with-gnu-as
--with-as=/tools/openbin/binutils/2.16.1/sparc-sun-solaris8/bin/as
--with-gnu-ld
--with-ld=/tools/openbin/binutils/2.16.1/sparc-sun-solaris8/bin/ld
Thread model: posix
gcc version 3.4.4

** MY CONFIGURE OPTIONS **

--prefix=$(DEST_DIR) \
                                --disable-nls \
                                --enable-shared \
                                --enable-threads=posix \
                                --with-ld=/usr/ccs/bin/ld\
                                --with-as=/usr/ccs/bin/as \
                                --enable-languages=c,c++ \
                               
--with-mpfr=/tools/openbin/mpfr/2.3.1/sparc-sun-solaris10 \
                               
--with-mpfr-include=/tools/openbin/mpfr/2.3.1/sparc-sun-solaris10/include \
                               
--with-mpfr-lib=/tools/openbin/mpfr/2.3.1/sparc-sun-solaris10/lib \
                               
--with-gmp=/tools/openbin/gmp/4.2.2/sparc-sun-solaris10 \
                               
--with-gmp-lib=/tools/openbin/gmp/4.2.2/sparc-sun-solaris10/lib \
                               
--with-gmp-include=/tools/openbin/gmp/4.2.2/sparc-sun-solaris10/include


** i have used solaris native ld && as . because i need a gcc build with
solaris ld for building xemacs in future**


*** ERROR MESSAGES  --> coming in the build stage ***

configure: creating ./config.status
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating config.h
config.status: executing default commands
gmake[4]: Entering directory
`/users/toolsrd/ws/si_ctoolrd/gcc/production/objects/gcc-4.2.2/build-sparc-sun-solaris2.8/libiberty'
if [ x"" != x ] && [ ! -d pic ]; then \
  mkdir pic; \
else true; fi
touch stamp-picdir
if [ x"" != x ]; then \
  /tools/openbin/gcc/4.2.2/sparc-sun-solaris10/bin/gcc -c -DHAVE_CONFIG_H -g
-I.
-I/users/toolsrd/ws/si_ctoolrd/gcc/production/sources/gcc-4.2.2/libiberty/../include
 -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat 
/users/toolsrd/ws/si_ctoolrd/gcc/production/sources/gcc-4.2.2/libiberty/regex.c
-o pic/regex.o; \
else true; fi
/tools/openbin/gcc/4.2.2/sparc-sun-solaris10/bin/gcc -c -DHAVE_CONFIG_H -g -I.
-I/users/toolsrd/ws/si_ctoolrd/gcc/production/sources/gcc-4.2.2/libiberty/../include
 -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat
/users/toolsrd/ws/si_ctoolrd/gcc/production/sources/gcc-4.2.2/libiberty/regex.c
-o regex.o
In file included from /usr/include/sys/types.h:19,
                 from
/users/toolsrd/ws/si_ctoolrd/gcc/production/sources/gcc-4.2.2/libiberty/regex.c:51:
/tools/openbin/gcc/4.2.2/sparc-sun-solaris10/bin/../lib/gcc/sparc-sun-solaris2.10/4.2.2/include/sys/feature_tests.h:20:26:
error: sys/ccompile.h: No such file or directory
In file included from /usr/include/sys/types.h:36,
                 from
/users/toolsrd/ws/si_ctoolrd/gcc/production/sources/gcc-4.2.2/libiberty/regex.c:51:
/usr/include/sys/int_types.h:111: error: duplicate 'unsigned'
/users/toolsrd/ws/si_ctoolrd/gcc/production/sources/gcc-4.2.2/libiberty/regex.c:130:
warning: function declaration isn't a prototype
/users/toolsrd/ws/si_ctoolrd/gcc/production/sources/gcc-4.2.2/libiberty/regex.c:130:
warning: conflicting types for built-in function 'malloc'
/users/toolsrd/ws/si_ctoolrd/gcc/production/sources/gcc-4.2.2/libiberty/regex.c:131:
warning: function declaration isn't a prototype
In file included from
/users/toolsrd/ws/si_ctoolrd/gcc/production/sources/gcc-4.2.2/libiberty/regex.c:638:
/users/toolsrd/ws/si_ctoolrd/gcc/production/sources/gcc-4.2.2/libiberty/regex.c:
In function 'byte_regex_compile':
/users/toolsrd/ws/si_ctoolrd/gcc/production/sources/gcc-4.2.2/libiberty/regex.c:2439:
warning: implicit declaration of function 'free'
/users/toolsrd/ws/si_ctoolrd/gcc/production/sources/gcc-4.2.2/libiberty/regex.c:
In function 'byte_re_compile_fastmap':
/users/toolsrd/ws/si_ctoolrd/gcc/production/sources/gcc-4.2.2/libiberty/regex.c:4835:
warning: implicit declaration of function 'abort'
/users/toolsrd/ws/si_ctoolrd/gcc/production/sources/gcc-4.2.2/libiberty/regex.c:4835:
warning: incompatible implicit declaration of built-in function
'abort'/users/toolsrd/ws/si_ctoolrd/gcc/production/sources/gcc-4.2.2/libiberty/regex.c:
In function 'byte_re_match_2_internal':
/users/toolsrd/ws/si_ctoolrd/gcc/production/sources/gcc-4.2.2/libiberty/regex.c:7421:
warning: incompatible implicit declaration of built-in function
'abort'/users/toolsrd/ws/si_ctoolrd/gcc/production/sources/gcc-4.2.2/libiberty/regex.c:
In function 'xregerror':
/users/toolsrd/ws/si_ctoolrd/gcc/production/sources/gcc-4.2.2/libiberty/regex.c:8078:
warning: incompatible implicit declaration of built-in function
'abort'gmake[4]: *** [regex.o] Error 1
gmake[4]: Leaving directory
`/users/toolsrd/ws/si_ctoolrd/gcc/production/objects/gcc-4.2.2/build-sparc-sun-solaris2.8/libiberty'
gmake[3]: *** [all-build-libiberty] Error 2
gmake[3]: Leaving directory
`/users/toolsrd/ws/si_ctoolrd/gcc/production/objects/gcc-4.2.2'
gmake[2]: *** [stage1-bubble] Error 2
gmake[2]: Leaving directory
`/users/toolsrd/ws/si_ctoolrd/gcc/production/objects/gcc-4.2.2'
gmake[1]: *** [bootstrap] Error 2
gmake[1]: Leaving directory
`/users/toolsrd/ws/si_ctoolrd/gcc/production/objects/gcc-4.2.2'
*** Error code 2
dmake: Fatal error: Command failed for target `build-gcc'


-- 
           Summary: gcc-4.2.2 build failed on solaris-8
           Product: gcc
           Version: 4.2.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: halder dot malay at gmail dot com


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


             reply	other threads:[~2008-08-06  7:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-06  7:37 halder dot malay at gmail dot com [this message]
2008-08-10 20:09 ` [Bug bootstrap/37035] " pinskia at gcc dot gnu dot org
2008-08-12 10:55 ` halder dot malay at gmail dot com
2008-11-15  0:38 ` 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=bug-37035-15873@http.gcc.gnu.org/bugzilla/ \
    --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).