All of lore.kernel.org
 help / color / mirror / Atom feed
* [parisc-linux] binutils_2.14.90 bug
@ 2003-07-04 19:10 Grant Grundler
  2003-07-04 19:28 ` Grant Grundler
  2003-07-04 19:29 ` John David Anglin
  0 siblings, 2 replies; 4+ messages in thread
From: Grant Grundler @ 2003-07-04 19:10 UTC (permalink / raw)
  To: parisc-linux

Hi binutils lovers,

I can't build a 32-bit parisc kernel with binutils*2.14.90.0.4-0.1_hppa.deb
packages.  It dies with an error in arch/parisc/kernel/real2.S:

real2.S:126: Error: too many positional arguments

The offending line reads:
        load32  PA(save_cr_space + (N_SAVED_REGS * REG_SZ)), %r26

this gets reduced to:
        load32  ((save_cr_space + (9 * 4))-(0x10000000)), %r26


Older binutils*_2.12.90.0.1-4_hppa.deb works.

grant

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

* Re: [parisc-linux] binutils_2.14.90 bug
  2003-07-04 19:10 [parisc-linux] binutils_2.14.90 bug Grant Grundler
@ 2003-07-04 19:28 ` Grant Grundler
  2003-07-04 19:29 ` John David Anglin
  1 sibling, 0 replies; 4+ messages in thread
From: Grant Grundler @ 2003-07-04 19:28 UTC (permalink / raw)
  To: parisc-linux

On Fri, Jul 04, 2003 at 01:10:42PM -0600, Grant Grundler wrote:
...
> Older binutils*_2.12.90.0.1-4_hppa.deb works.

But I now have a dependency problem that dselect flagged:

binutils suggests binutils-doc (= 2.12.90.0.1-4)
gcc-3.3 depends on binutils (>= 2.13.90.0.10)
gcc-3.2 depends on binutils (>= 2.13.90.0.10)

I didn't see binutils*2.13.90.0.10_hppa.deb in the debian pool.
*sigh*

grant

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

* Re: [parisc-linux] binutils_2.14.90 bug
  2003-07-04 19:10 [parisc-linux] binutils_2.14.90 bug Grant Grundler
  2003-07-04 19:28 ` Grant Grundler
@ 2003-07-04 19:29 ` John David Anglin
  2003-07-05  1:03   ` Grant Grundler
  1 sibling, 1 reply; 4+ messages in thread
From: John David Anglin @ 2003-07-04 19:29 UTC (permalink / raw)
  To: Grant Grundler; +Cc: parisc-linux

Hi Grant,

Due to an "improvement" made for the detection of labels on ia64,
the PA assembler no longer tolerants whitespace in the operand field.
The only whitespace that is allowed is after `,'.  So, you need to
remove the whitespace around `+' and `*'.  If you look at the HP
assembler docs, you will see that they never show any whitespace
in the operands field.

Previously, the assembler used to strip the whitespace by default.
The reason that we can strip whitespace after `,' is that `,' never
ends an opcode.

This came up before on this list.

> Hi binutils lovers,
> 
> I can't build a 32-bit parisc kernel with binutils*2.14.90.0.4-0.1_hppa.deb
> packages.  It dies with an error in arch/parisc/kernel/real2.S:
> 
> real2.S:126: Error: too many positional arguments
> 
> The offending line reads:
>         load32  PA(save_cr_space + (N_SAVED_REGS * REG_SZ)), %r26
> 
> this gets reduced to:
>         load32  ((save_cr_space + (9 * 4))-(0x10000000)), %r26
> 
> 
> Older binutils*_2.12.90.0.1-4_hppa.deb works.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)

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

* Re: [parisc-linux] binutils_2.14.90 bug
  2003-07-04 19:29 ` John David Anglin
@ 2003-07-05  1:03   ` Grant Grundler
  0 siblings, 0 replies; 4+ messages in thread
From: Grant Grundler @ 2003-07-05  1:03 UTC (permalink / raw)
  To: John David Anglin; +Cc: parisc-linux

On Fri, Jul 04, 2003 at 03:29:36PM -0400, John David Anglin wrote:
> Hi Grant,
> 
> Due to an "improvement" made for the detection of labels on ia64,
> the PA assembler no longer tolerants whitespace in the operand field.
> The only whitespace that is allowed is after `,'.  So, you need to
> remove the whitespace around `+' and `*'.  If you look at the HP
> assembler docs, you will see that they never show any whitespace
> in the operands field.

ok. I can fix that. thanks!

grant

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

end of thread, other threads:[~2003-07-05  1:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-04 19:10 [parisc-linux] binutils_2.14.90 bug Grant Grundler
2003-07-04 19:28 ` Grant Grundler
2003-07-04 19:29 ` John David Anglin
2003-07-05  1:03   ` Grant Grundler

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.