Skip to contentSkip to conversation

binutils bug/requirements

DISCUSSION J.A. Magallón 1 participant 1 message Nov 15, 2002

lore
Share & tools
lore
#0 lore raw

Hi all...

A little bug report haunting...
A user of -jam2 kernel reported me an strange error:

csum.S:65: invalid format `#line' directive

(in arch/i386/lib)

It is one of the files created by the fast-csum-D patch bt Denis Vlasenko.

The problem looks like as is taking the '# 2-' in:

30:
# 2-aligned, but not 4-aligned
cmpl $3, %ecx
jbe 60f

as a #line directive, like:

# 36 "csum.S"

Versions is his box (debian woody):
Gnu C 2.95.4
binutils 2.12.90.0.1-4

It works for me:
gcc (GCC) 3.2 (Mandrake Linux 9.1 3.2-3mdk) GNU assembler 2.13.90.0.8 20021008

Is is supposed to work ? Is it a bug in binutils ? Obvious solution is to change it to something like

    # Remark: 2-aligned.....

TIA

Signature · 4 lines
J.A. Magallon <[email protected]>      \                 Software is like sex:
werewolf.able.es                         \           It's better when it's free
Mandrake Linux release 9.1 (Cooker) for i586
Linux 2.4.20-rc1-jam2 (gcc 3.2 (Mandrake Linux 9.1 3.2-3mdk))