This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

m68k toolchain


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]