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.