public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/11956] New: GCC fails to build on Solaris 9
@ 2003-08-17 18:17 ccx004 at coventry dot ac dot uk
  2003-08-17 19:03 ` [Bug c/11956] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: ccx004 at coventry dot ac dot uk @ 2003-08-17 18:17 UTC (permalink / raw)
  To: gcc-bugs

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

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

           Summary: GCC fails to build on Solaris 9
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ccx004 at coventry dot ac dot uk
                CC: gcc-bugs at gcc dot gnu dot org

Download gcc-3.3.1, uncompress and untar as normal.

./configure --enable-languages=c,c++

make CFLAGS='-O' LIBCFLAGS='-O2' LIBCXXFLAGS='-O2 -fno-implicit-templates'
bootstrap

After a lot of compilation it aborts with the error

  "MAKE=make"  "MAKEINFO=/usr/local/src/gcc-3.3.1/missing makeinfo " 
"PICFLAG="  "PICFLAG_FOR_TARGET="  "SHELL=/bin/sh"  "EXPECT=expect" 
"RUNTEST=runtest"  "RUNTESTFLAGS="  "exec_prefix=/usr/local" 
"infodir=/usr/local/info"  "libdir=/usr/local/lib"  "prefix=/usr/local" 
"tooldir=/usr/local/sparc-sun-solaris2.9"  "AR=ar"  "AS=@AS@" 
"CC=/usr/local/src/gcc-3.3.1/gcc/xgcc -B/usr/local/src/gcc-3.3.1/gcc/
-B/usr/local/sparc-sun-solaris2.9/bin/ -B/usr/local/sparc-sun-solaris2.9/lib/
-isystem /usr/local/sparc-sun-solaris2.9/include  -m64"  "CXX=@CXX@" 
"LD=/usr/ccs/bin/ld"  "LIBCFLAGS=-O2 -O  -m64"  "NM=/usr/ccs/bin/nm" 
"PICFLAG="  "RANLIB=true"  "DESTDIR=" DO=all multi-do
mksh: Fatal error in reader: = missing from replacement macro reference
Current working directory /usr/local/src/gcc-3.3.1/sparc-sun-solaris2.9/libjava
*** Error code 1
make: Fatal error: Command failed for target `all-target-libjava'
Current working directory /usr/local/src/gcc-3.3.1
*** Error code 1
make: Fatal error: Command failed for target `bootstrap'

This happens whether I allow it to build all the languages or restrict it to C
and c++. It also happens with gcc-3.3

I am running this on a Sunfire 280 running solaris 9 (Sunos 5.9) and using Sun's
C compiler version

cc: Forte Developer 7 C 5.4 2002/03/09


Best wishes....
Colin Bruce


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

* [Bug c/11956] GCC fails to build on Solaris 9
  2003-08-17 18:17 [Bug c/11956] New: GCC fails to build on Solaris 9 ccx004 at coventry dot ac dot uk
@ 2003-08-17 19:03 ` pinskia at gcc dot gnu dot org
  2003-08-18  2:26 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-17 19:03 UTC (permalink / raw)
  To: gcc-bugs

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

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-17 19:03 -------
You should be building in a different directory than the source directory.
We also recommend that you use the GNU make.
Also read <http://gcc.gnu.org/install/specific.html#*-*-solaris2*>.

Can you try both of these and try again.


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

* [Bug c/11956] GCC fails to build on Solaris 9
  2003-08-17 18:17 [Bug c/11956] New: GCC fails to build on Solaris 9 ccx004 at coventry dot ac dot uk
  2003-08-17 19:03 ` [Bug c/11956] " pinskia at gcc dot gnu dot org
@ 2003-08-18  2:26 ` pinskia at gcc dot gnu dot org
  2003-08-18 20:02 ` [Bug bootstrap/11956] " ccx004 at coventry dot ac dot uk
  2003-08-18 20:04 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-18  2:26 UTC (permalink / raw)
  To: gcc-bugs

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

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4                         |---


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

* [Bug bootstrap/11956] GCC fails to build on Solaris 9
  2003-08-17 18:17 [Bug c/11956] New: GCC fails to build on Solaris 9 ccx004 at coventry dot ac dot uk
  2003-08-17 19:03 ` [Bug c/11956] " pinskia at gcc dot gnu dot org
  2003-08-18  2:26 ` pinskia at gcc dot gnu dot org
@ 2003-08-18 20:02 ` ccx004 at coventry dot ac dot uk
  2003-08-18 20:04 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: ccx004 at coventry dot ac dot uk @ 2003-08-18 20:02 UTC (permalink / raw)
  To: gcc-bugs

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

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



------- Additional Comments From ccx004 at coventry dot ac dot uk  2003-08-18 20:02 -------
Subject: Re:  GCC fails to build on Solaris 9

Dear Pinskia,

I tried both of these and it now works fine. I should have realised about
that. Sorry to bother you.

Best wishes and thanks
Colin


On Sun, 17 Aug 2003, pinskia at gcc dot gnu dot org wrote:

> PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11956
>
>
> pinskia at gcc dot gnu dot org changed:
>
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |WAITING
>
>
> ------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-17 19:03 -------
> You should be building in a different directory than the source directory.
> We also recommend that you use the GNU make.
> Also read <http://gcc.gnu.org/install/specific.html#*-*-solaris2*>.
>
> Can you try both of these and try again.
>
>
>
>
> ------- You are receiving this mail because: -------
> You reported the bug, or are watching the reporter.
>


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

* [Bug bootstrap/11956] GCC fails to build on Solaris 9
  2003-08-17 18:17 [Bug c/11956] New: GCC fails to build on Solaris 9 ccx004 at coventry dot ac dot uk
                   ` (2 preceding siblings ...)
  2003-08-18 20:02 ` [Bug bootstrap/11956] " ccx004 at coventry dot ac dot uk
@ 2003-08-18 20:04 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-18 20:04 UTC (permalink / raw)
  To: gcc-bugs

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

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


pinskia at gcc dot gnu dot org changed:

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


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-18 20:04 -------
Another person did not follow the installation instructions.


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

end of thread, other threads:[~2003-08-18 20:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-17 18:17 [Bug c/11956] New: GCC fails to build on Solaris 9 ccx004 at coventry dot ac dot uk
2003-08-17 19:03 ` [Bug c/11956] " pinskia at gcc dot gnu dot org
2003-08-18  2:26 ` pinskia at gcc dot gnu dot org
2003-08-18 20:02 ` [Bug bootstrap/11956] " ccx004 at coventry dot ac dot uk
2003-08-18 20:04 ` 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).