binutils bug/requirements

From: J.A. Magallón (jamagallon@able.es)
Date: Thu Nov 14 2002 - 19:28:54 EST


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/



This archive was generated by hypermail 2b29 : Fri Nov 15 2002 - 22:00:35 EST