[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/2756] New: m68k-linux still has #APP/#NO_APP issue

From: balkohen at gmail dot com
Subject: [Bug gas/2756] New: m68k-linux still has #APP/#NO_APP issue
Date: 12 Jun 2006 12:15:23 -0000


while building glibc, the GNU assembler complains about

m68k-unknown-linux-gnu-gcc localealias.c -c -std=gnu99 -O -Wall -Winline
-Wwrite-strings -fmerge-all-constants -pipe -Wstrict-prototypes     
-I../include -I/home/lior/builds/m68k/src/build/intl
-I/home/lior/builds/m68k/src/build -I../ports/sysdeps/m68k/elf
-I../sysdeps/m68k/elf -I../ports/sysdeps/unix/sysv/linux/m68k
-I../linuxthreads/sysdeps/unix/sysv/linux/m68k -I../sysdeps/unix/sysv/linux/m68k
-I../ports/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/unix/sysv/linux
-I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread
-I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common
-I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../ports/sysdeps/unix/sysv
-I../linuxthreads/sysdeps/unix/sysv -I../sysdeps/unix/sysv
-I../ports/sysdeps/unix -I../linuxthreads/sysdeps/unix -I../sysdeps/unix
-I../sysdeps/posix -I../ports/sysdeps/m68k/m68020 -I../sysdeps/m68k/m68020
-I../ports/sysdeps/m68k/fpu -I../sysdeps/m68k/fpu -I../ports/sysdeps/m68k
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32
-I../linuxthreads/sysdeps/m68k -I../sysdeps/m68k -I../sysdeps/ieee754
-I../sysdeps/generic/elf -I../sysdeps/generic -I../ports -I../linuxthreads  -I..
-I../libio -I. -nostdinc -isystem
/home/lior/builds/m68k/cdk/lib/gcc/m68k-unknown-linux-gnu/4.1.1/include -isystem
/home/lior/builds/m68k/src/linux-2.6.16/include -D_LIBC_REENTRANT -include
../include/libc-symbols.h       -D'LOCALEDIR="/share/locale"'
-D'LOCALE_ALIAS_PATH="/share/locale"' -o
/home/lior/builds/m68k/src/build/intl/localealias.o -MD -MP -MF
/home/lior/builds/m68k/src/build/intl/localealias.o.dt -MT
{standard input}: Assembler messages:
{standard input}:504: Error: junk at end of line, first unrecognized character
is `,'
make[2]: *** [/home/lior/builds/m68k/src/build/intl/localealias.o] Error 1
make[2]: Leaving directory `/home/lior/builds/m68k/src/libc/intl'
make[1]: *** [intl/subdir_lib] Error 2
make[1]: Leaving directory `/home/lior/builds/m68k/src/libc'
make: *** [all] Error 2

After a little googleing I found a long diskussion and a patch from Andreas
Schwab that never went upstream.

This patch from Andreas works well for me:

diff -Naur binutils- binutils-
--- binutils-     2006-05-26 18:34:06.000000000 +0200
+++ binutils-    2006-06-12 13:42:08.000000000 +0200
@@ -1008,10 +1008,14 @@
              unsigned int new_length;
              char *tmp_buf = 0;
-             bump_line_counters ();
              s = input_line_pointer;
              if (strncmp (s, "APP\n", 4))
-               continue;       /* We ignore it */
+               {
+                 /* We ignore it */
+                 ignore_rest_of_line ();
+                 continue;
+               }
+             bump_line_counters ();
              s += 4;
              sb_new (&sbuf);
@@ -1110,7 +1114,7 @@
-         /* Report unknown char as ignored.  */
+         /* Report unknown char as error.  */
          demand_empty_rest_of_line ();

           Summary: m68k-linux still has #APP/#NO_APP issue
           Product: binutils
           Version: 2.17
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: balkohen at gmail dot com
                CC: bug-binutils at gnu dot org,schwab at suse dot de
 GCC build triplet: i686-linux
  GCC host triplet: i686-linux
GCC target triplet: m68k-linux


------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]