public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Suggest add to gcc 3.2.3 platform notes?
@ 2003-10-17  7:18 Peter Butterfield
  2003-10-17  7:19 ` Jeff Sturm
       [not found] ` <Pine.LNX.4.44.0310162236550.21907-100000@ops2.one-point.co m>
  0 siblings, 2 replies; 3+ messages in thread
From: Peter Butterfield @ 2003-10-17  7:18 UTC (permalink / raw)
  To: gcc

I just built gcc 3.2.3 (actually just C, not yet C++, java or the others) 
on my Sun Ultra-2 running Solaris 7.  I have installed Sun's latest 
recommended patch cluster for Solaris 7.  I followed all the tips I could 
in your solaris platform notes shipped with the gcc release.

Here is something else I found in my travails doing the build, which should 
perhaps be in those notes:

My /usr/ccs/bin/as is version 5.0 .  Using that, I got:
   from configure:  "checking assembler subsection support... no"
   from make bootstrap:
   /usr/local/bin/as: "/var/tmp/ccBFJ41m.s", line 4764: error: unknown 
opcode ".subsection"
   /usr/local/bin/as: "/var/tmp/ccBFJ41m.s", line 4764: error: statement syntax
   /usr/local/bin/as: "/var/tmp/ccBFJ41m.s", line 4853: error: unknown 
opcode ".previous"
   /usr/local/bin/as: "/var/tmp/ccBFJ41m.s", line 4853: error: statement syntax

When I switched to GNU as version 2.13, then it worked.  I got:
   from configure:  "checking assembler subsection support... working 
.subsection -1"
and "make bootstrap" gave no errors.

Your platform notes for sparc-sun-solaris2* state that Sun bug 4237974 (a 
similar error involving long symbol names) is fixed in later versions (5.x) 
of the assembler, starting with Solaris 7.  Maybe so, but it still gives 
this ".subsection" error.

-- Peter Butterfield

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

* Re: Suggest add to gcc 3.2.3 platform notes?
  2003-10-17  7:18 Suggest add to gcc 3.2.3 platform notes? Peter Butterfield
@ 2003-10-17  7:19 ` Jeff Sturm
       [not found] ` <Pine.LNX.4.44.0310162236550.21907-100000@ops2.one-point.co m>
  1 sibling, 0 replies; 3+ messages in thread
From: Jeff Sturm @ 2003-10-17  7:19 UTC (permalink / raw)
  To: Peter Butterfield; +Cc: gcc

On Thu, 16 Oct 2003, Peter Butterfield wrote:
> My /usr/ccs/bin/as is version 5.0.

Okay but...

>    /usr/local/bin/as: "/var/tmp/ccBFJ41m.s", line 4764: error: unknown
> opcode ".subsection"

... this isn't the Solaris as.

Suggest --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld unless you're
trying to build for GNU binutils.

Jeff

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

* Re: Suggest add to gcc 3.2.3 platform notes?
       [not found] ` <Pine.LNX.4.44.0310162236550.21907-100000@ops2.one-point.co m>
@ 2003-10-17 10:26   ` Peter Butterfield
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Butterfield @ 2003-10-17 10:26 UTC (permalink / raw)
  To: Jeff Sturm; +Cc: gcc

Jeff,

Thanks for the response.

Actually it really was the Solaris as I used.  In /usr/local/bin, the three 
tools as, ld and ar were all linked to those in /usr/ccs/bin.
Then, I positively linked to the GNU tools, and the configure and make went 
through without those errors.

-- Peter

At 10:39 PM 10/16/2003 -0400, you wrote:
>On Thu, 16 Oct 2003, Peter Butterfield wrote:
> > My /usr/ccs/bin/as is version 5.0.
>
>Okay but...
>
> >    /usr/local/bin/as: "/var/tmp/ccBFJ41m.s", line 4764: error: unknown
> > opcode ".subsection"
>
>... this isn't the Solaris as.
>
>Suggest --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld unless you're
>trying to build for GNU binutils.
>
>Jeff

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

end of thread, other threads:[~2003-10-17  7:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-17  7:18 Suggest add to gcc 3.2.3 platform notes? Peter Butterfield
2003-10-17  7:19 ` Jeff Sturm
     [not found] ` <Pine.LNX.4.44.0310162236550.21907-100000@ops2.one-point.co m>
2003-10-17 10:26   ` Peter Butterfield

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