Skip to contentSkip to conversation

binutils_2.14.90 bug

parisc-linux Grant Grundler 2 participants 4 messages Jul 4, 2003 – Jul 5, 2003

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

On Fri, Jul 04, 2003 at 01:10:42PM -0600, Grant Grundler wrote:
...

Quoted 1 line

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

#2 lore raw
In reply to Grant Grundler

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.

Quoted 7 lines

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

Quoted 8 lines

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

Signature · 2 lines
J. David Anglin                                  [email protected]
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)
#3 lore raw
Quoted 8 lines · John David Anglin

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