From mboxrd@z Thu Jan 1 00:00:00 1970 From: hjl@lucon.org (H.J. Lu) To: binutils@sourceware.cygnus.com Subject: a bug in as Date: Tue, 13 Jul 1999 11:28:00 -0000 Message-id: <19990713182834.B101657BA@ocean.lucon.org> X-SW-Source: 1999-q3/msg00182.html Hi, I got this report. The code is wrong. But as message doesn't help either. Is there a way for as to report correct line number? Also it shouldn't be an internal error. H.J. --- >From okuji@kuicr.kyoto-u.ac.jp Tue Jul 13 09:08:44 1999 Return-Path: Delivered-To: hjl@lucon.org Received: from duff.kuicr.kyoto-u.ac.jp (duff.kuicr.kyoto-u.ac.jp [133.103.101.254]) by ocean.lucon.org (Postfix) with ESMTP id B24C157BA for ; Tue, 13 Jul 1999 09:08:42 -0700 (PDT) Received: from localhost (okuji@pppD225.kyoto-inet.or.jp [210.134.124.95]) by duff.kuicr.kyoto-u.ac.jp (8.9.3/3.7W) with ESMTP id BAA16754 for ; Wed, 14 Jul 1999 01:08:04 +0900 To: hjl@lucon.org Subject: a bug in as From: OKUJI Yoshinori X-Mailer: Mew version 1.93 on Emacs 20.3 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <19990713232801E.okuji@kuicr.kyoto-u.ac.jp> Date: Tue, 13 Jul 1999 23:28:01 +0900 X-Dispatcher: imput version 980905(IM100) Lines: 35 Hello, I found a bug in GNU Assembler (binutils-2.9.1.0.25, i586-linux-gnu). My code is actually more complex, but I can reproduce the bug by assembling this: .file "check.s" .text foo: jmp bar . = foo + 4 .byte 0 .byte 0 . = foo poo: .byte 0 bar: cli % as check.s -o check check.s: Assembler messages: check.s:12: Error: attempt to .org backwards ignored check.s:12: Error: attempt to .org backwards ignored check.s:12: Error: attempt to .org/.space backwards? (-2) check.s:12: Internal error! Assertion failure in write_contents at write.c line 1106. Please report this bug. Regards, OKUJI ---------------------------------------------------------------------- OKUJI Yoshinori ^o-o^ http://duff.kuicr.kyoto-u.ac.jp/~okuji (in English) m / -- H.J. Lu (hjl@gnu.org)