Package: binutils
Version: 2.16.1cvs20060117-1
Severity: normal

I have some code that is doing weird stuff with inline assembly. There
are bugs. The GCC command being invoked is

gcc-3.3 -I /usr/src/rtai/include -I . -D__KERNEL__ -I/sources/linux/include 
-Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE 
-DMODULE -I. -DLXRT_MODULE -DLINUX_SIGNAL_HANDLER  -c -o lxrt.o lxrt.c

with result:

{standard input}: Assembler messages:
{standard input}:2617: Error: no instruction mnemonic suffix given and no 
register operands; can't size instruction

Since I don't have the assembler source by default, this isn't a very
helpful message!

Could `as' be changed so that when the source is {standard input}, it
prints the offending line as part of the error message? That would save
having to manually generate the assembler sources, and then look the
code up in there, and then work back to the C sources.

cheers, Rich.


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages binutils depends on:
ii  libc6                         2.3.6-3    GNU C Library: Shared libraries an

binutils recommends no packages.

-- debconf information:
  binutils/oformat_warning:
* binutils/kernel_link_warning:


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to