On Thu, Apr 13, 2017 at 01:08:59PM +0200, John Paul Adrian Glaubitz wrote:
Hi! I have unsuccessfully been trying to build liburcu on Debian/m68k. After adding "m68k" as a detected architecture in configure.ac, the build fails with the assembler generating syntax error messages [1]: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../urcu -Wdate-time -D_FORTIFY_SOURCE=2 -I../.. -I../.. -I../../tests/common -g -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -pthread -c -o test_urcu_defer.o test_urcu_defer.c /tmp/ccXHVXOc.s: Assembler messages: /tmp/ccXHVXOc.s:312: Error: syntax error -- statement `add.l %d1,nr_writes@TLSLE+4(%a0)' ignored /tmp/ccXHVXOc.s:440: Error: syntax error -- statement `add.l %d1,nr_writes@TLSLE+4(%a0)' ignored Since the source code file in question doesn't contain any m68k inline assembly, I would suspect this to be a problem with the code generated by gcc. Any suggestions?
The comments in gcc/config/m68k/m68k.c:m68k_final_prescan_insn() mention this as potential problem but I have no deep insight or clue why the solution doesn't work. Richard -- Name and OpenPGP keys available from pgp key servers -- To unsubscribe from this list: send the line "unsubscribe linux-m68k" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html