binutils bug/requirements

J.A. Magallón (jamagallon@able.es)
Fri, 15 Nov 2002 01:28:54 +0100


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

-- 
J.A. Magallon <jamagallon@able.es>      \                 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))
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/