This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
m68k toolchain
- From: Waldemar Brodkorb <wbx at openadk dot org>
- To: gcc-help at gcc dot gnu dot org
- Date: Sat, 19 Mar 2016 09:50:25 +0100
- Subject: m68k toolchain
- Authentication-results: sourceware.org; auth=none
Hi GCC devs,
I like to enable m68k support in Buildroot. They use
a two-stage toolchain building method.
But libgcc contains a header which is not available at this time.
Removing the reference make compilation work fine.
It seems the inclusion of asm/unistd.h is unnecessary.
diff -Nur gcc-5.3.0.orig/libgcc/config/m68k/linux-atomic.c
gcc-5.3.0/libgcc/config/m68k/linux-atomic.c
--- gcc-5.3.0.orig/libgcc/config/m68k/linux-atomic.c 2015-01-05
13:33:28.000000000 +0100
+++ gcc-5.3.0/libgcc/config/m68k/linux-atomic.c 2016-03-19
09:25:07.000000000 +0100
@@ -33,7 +33,6 @@
using the kernel helper defined below. There is no support for
64-bit operations yet. */
-#include <asm/unistd.h>
#include <stdbool.h>
#ifndef __NR_atomic_cmpxchg_32
Should I open a bug report for such a change request or problem?
Thanks in advance
Waldemar