[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/22714] New: Two files, one containing one more character in a c
From: |
weo at reccoware dot de |
Subject: |
[Bug gas/22714] New: Two files, one containing one more character in a comment, one is translated, the other not |
Date: |
Mon, 15 Jan 2018 17:22:57 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=22714
Bug ID: 22714
Summary: Two files, one containing one more character in a
comment, one is translated, the other not
Product: binutils
Version: 2.29
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: weo at reccoware dot de
Target Milestone: ---
Created attachment 10750
--> https://sourceware.org/bugzilla/attachment.cgi?id=10750&action=edit
This archive contains the sample files demonstrating the problem
OS: Fedora 27, all updates
arm-linux-gnueabi-as, version 2.29.1, build from sources
$ arm-linux-gnueabi-as -version
GNU assembler (GNU Binutils) 2.29.1
Copyright (C) 2017 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `arm-linux-gnueabi'.
The attached file "entry-armv-okay-1. s" can be translated, the file
"entry-armv-fail-1. s" cannot. The error message is:
/home/user/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/kernel/linux/arch/arm/kernel/entry-header.S:
Assembler messages:
/home/user/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/kernel/linux/arch/arm/kernel/entry-header.S:319:
Warning: stray `\'
/home/user/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/kernel/linux/arch/arm/kernel/entry-armv.S:773:
Warning: stray `\'
/home/user/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/kernel/linux/arch/arm/kernel/entry-armv.S:773:
Error: bad expression
Command line:
arm-linux-gnueabi-as entry-armv-fail-1.s
The files differ in this way:
--- entry-armv-okay-1.s 2018-01-15 17:03:30.339301143 +0100
+++ entry-armv-fail-1.s 2018-01-15 17:00:43.578260650 +0100
@@ -7,7 +7,7 @@
# 1 "./include/generated/autoconf.h" 1
-# 16
"/home/user/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/kernel/linux/include/linux/kconfig.h"
2
+# 6
"/home/user/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/kernel/linux/include/linux/kconfig.h"
2
# 1 "<command-line>" 2
# 1
"/home/user/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/kernel/linux/arch/arm/include/asm/unified.h"
1
# 74
"/home/user/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/kernel/linux/arch/arm/include/asm/unified.h"
The error also occurs in other variations. The long file paths in the comments,
inserted by the preprocessor, are striking.
I also observed the bug with the assembler v2.28 (stable Debian).
The file comes from the Linux kernel: arch/arm/kernel/entry-armv.S
(preprocessed)
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gas/22714] New: Two files, one containing one more character in a comment, one is translated, the other not,
weo at reccoware dot de <=
- [Bug gas/22714] Two files, one containing one more character in a comment, one is translated, the other not, amodra at gmail dot com, 2018/01/30
- [Bug gas/22714] Assembler preprocessor loses track of \@, amodra at gmail dot com, 2018/01/30
- [Bug gas/22714] Assembler preprocessor loses track of \@, cvs-commit at gcc dot gnu.org, 2018/01/31
- [Bug gas/22714] Assembler preprocessor loses track of \@, amodra at gmail dot com, 2018/01/31