public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/37035]  New: gcc-4.2.2 build failed on solaris-8
@ 2008-08-06  7:37 halder dot malay at gmail dot com
  2008-08-10 20:09 ` [Bug bootstrap/37035] " pinskia at gcc dot gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: halder dot malay at gmail dot com @ 2008-08-06  7:37 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug bootstrap/37035] gcc-4.2.2 build failed on solaris-8
  2008-08-06  7:37 [Bug bootstrap/37035] New: gcc-4.2.2 build failed on solaris-8 halder dot malay at gmail dot com
@ 2008-08-10 20:09 ` 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
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-08-10 20:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2008-08-10 20:08 -------
Did you set CONFIG_SHELL?


-- 


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug bootstrap/37035] gcc-4.2.2 build failed on solaris-8
  2008-08-06  7:37 [Bug bootstrap/37035] New: gcc-4.2.2 build failed on solaris-8 halder dot malay at gmail dot com
  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
  2 siblings, 0 replies; 4+ messages in thread
From: halder dot malay at gmail dot com @ 2008-08-12 10:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from halder dot malay at gmail dot com  2008-08-12 10:54 -------
(In reply to comment #1)
> Did you set CONFIG_SHELL?
> no i haven't set CONFIG_SHELL


-- 


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug bootstrap/37035] gcc-4.2.2 build failed on solaris-8
  2008-08-06  7:37 [Bug bootstrap/37035] New: gcc-4.2.2 build failed on solaris-8 halder dot malay at gmail dot com
  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
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-11-15  0:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2008-11-15 00:37 -------
(In reply to comment #2)
> (In reply to comment #1)
> > Did you set CONFIG_SHELL?
> no i haven't set CONFIG_SHELL

Then you have not read the documentation which states you should set the
environment variable CONFIG_SHELL to a real shell (/bin/sh on Solaris is not a
POSIX based shell).


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-11-15  0:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-06  7:37 [Bug bootstrap/37035] New: gcc-4.2.2 build failed on solaris-8 halder dot malay at gmail dot com
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

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).