Closed junyuewang closed 4 years ago
Really shouldn't be any arch dependencies there, the arch defines for mips are totally generic:
#define read_barrier() __asm__ __volatile__("": : :"memory")
#define write_barrier() __asm__ __volatile__("": : :"memory")
#define nop __asm__ __volatile__("": : :"memory")
Are you sure this isn't a toolchain issue?
Does it work if you do:
$ make clean
$ ./configure --disable-optimizations
$ make
If that still fails, edit Makefile and remove the -march=native addition.
$ ./configure --disable-optimizations
worked, thanks a lot!
I got an error on mips64el, it looks like it is trying to build for mips32. Is it possible to make it work for mips64el? Thanks!
below is configuration result
and machine info: