public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "christophe.lyon at st dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug preprocessor/60723] Line directives with incorrect system header flag
Date: Tue, 01 Jul 2014 14:13:00 -0000	[thread overview]
Message-ID: <bug-60723-4-c3zi1EAXsO@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-60723-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60723

christophe.lyon at st dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |christophe.lyon at st dot com

--- Comment #14 from christophe.lyon at st dot com ---
This patch breaks the build of glibc on ARM and AArch64 targets.

With GCC configured for target arm-none-linux-gnueabi

The command line used:
(echo '#define SYSCALL_NAME kill';  echo '#define SYSCALL_NARGS 2';  echo
'#define SYSCALL_SYMBOL __kill';  echo '#include <syscall-template.S>';  echo
'weak_alias (__kill, kill)';  echo 'libc_hidden_weak (kill)'; ) |
/work1/lyon/Work/ARM/Linaro/builds/gcc-fsf-trunk/tools/bin/arm-none-linux-gnueabi-gcc
-c -include ../include/libc-symbols.h       -DASSEMBLER -x assembler-with-cpp -
-I../include
-I/work1/lyon/Work/ARM/Linaro/builds/gcc-fsf-trunk/obj-arm-none-linux-gnueabi/glibc-1/signal

-I/work1/lyon/Work/ARM/Linaro/builds/gcc-fsf-trunk/obj-arm-none-linux-gnueabi/glibc-1
 -I../sysdeps/unix/sysv/linux/arm  -I../nptl/sysdeps/unix/sysv/linux 
-I../nptl/sysdeps/pthread  -I../sysdeps/pthread  -I../sysdeps/unix/sysv/linux 
-I../sysdeps/gnu  -I../sysdeps/unix/inet  -I../nptl/sysdeps/unix/sysv 
-I../sysdeps/unix/sysv  -I../sysdeps/unix/arm  -I../nptl/sysdeps/unix 
-I../sysdeps/unix  -I../sysdeps/posix -I../sysdeps/arm/armv7/multiarch 
-I../sysdeps/arm/armv7  -I../sysdeps/arm/armv6t2  -I../sysdeps/arm/armv6 
-I../sysdeps/arm/nptl  -I../sysdeps/arm/include -I../sysdeps/arm 
-I../sysdeps/arm/soft-fp  -I../sysdeps/wordsize-32  -I../sysdeps/ieee754/flt-32
 -I../sysdeps/ieee754/dbl-64  -I../sysdeps/ieee754  -I../sysdeps/generic 
-I../nptl  -I.. -I../libio -I.  
../sysdeps/unix/syscall-template.S: Assembler messages:
../sysdeps/unix/syscall-template.S:81: Error: missing ')'
../sysdeps/unix/syscall-template.S:81: Error: missing expression -- `ldr r7,=('
../sysdeps/unix/syscall-template.S:81: Error: junk at end of line, first
unrecognized character is `('
../sysdeps/unix/syscall-template.S:81: Error: junk at end of line, first
unrecognized character is `)'

Attached the output of the above command with -E and -E -dD.


  parent reply	other threads:[~2014-07-01 14:13 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-01  1:37 [Bug preprocessor/60723] New: " nicholas.ormrod at hotmail dot com
2014-04-01  1:37 ` [Bug preprocessor/60723] " nicholas.ormrod at hotmail dot com
2014-04-01  1:38 ` nicholas.ormrod at hotmail dot com
2014-04-01  1:39 ` nicholas.ormrod at hotmail dot com
2014-04-01  9:51 ` manu at gcc dot gnu.org
2014-04-01 15:30 ` nicholas.ormrod at hotmail dot com
2014-06-10  6:21 ` nicholas.ormrod at hotmail dot com
2014-06-10 13:18 ` matt at godbolt dot org
2014-06-15 22:31 ` nicholas.ormrod at hotmail dot com
2014-06-25 15:32 ` dodji at gcc dot gnu.org
2014-07-01  9:18 ` dodji at gcc dot gnu.org
2014-07-01 14:13 ` christophe.lyon at st dot com [this message]
2014-07-01 14:16 ` christophe.lyon at st dot com
2014-07-02 13:43 ` dodji at gcc dot gnu.org
2014-07-02 13:44 ` dodji at gcc dot gnu.org
2014-07-03 13:48 ` christophe.lyon at st dot com
2014-07-16  8:58 ` dodji at gcc dot gnu.org
2014-07-16 10:34 ` dodji at gcc dot gnu.org
2014-07-16 13:38 ` dodji at gcc dot gnu.org
2014-07-17  3:36 ` nicholas.ormrod at hotmail dot com
2014-07-22  9:55 ` ktkachov at gcc dot gnu.org
2014-07-24  8:22 ` ktkachov at gcc dot gnu.org
2015-02-05 10:07 ` jakub at gcc dot gnu.org
2021-03-26 23:31 ` egallager at gcc dot gnu.org
2022-10-12 22:16 ` cvs-commit at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-60723-4-c3zi1EAXsO@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).