Closed eriktews closed 8 years ago
Hey is this still a problem? I got my hands on an RPi 3 and things compile fine on raspbian Jesse. If it doesn't would you mind doing 'make clean; make CFLAGS=-march=pentium;' and see if that helps?
Going to close for now sorry it took me so long to get to this. If you still have the problem and care feel free to reopen.
Hi, so this happens when running debian wheezy, but maybe it is not a problem when a newer version of Debian (and the glibc) is installed, which might provide the macro. Since backwards compatibility with Debian wheezy is not important, I assume it should be fine to keep this bug closed.
By the way, CFLAGS=-march=pentium should never yield in good results on ARM, until now there is no pentium ARM CPU.
Hi
When I try to compile duperemove on my Raspberry Pi 2, I get the following error message:
duperemove uses the __sync_add_and_fetch macro in https://github.com/markfasheh/duperemove/blob/f6963d4e89ed60538f36b234e56e99f70c889d0a/file_scan.c#L399 which probably uses some machine instructions that are not available on ARM, so I cannot compile it on my Raspberry Pi 2. The problem in general is discussed here: https://lists.gnu.org/archive/html/gnustep-dev/2015-04/msg00018.html The problem is present in v0.09 as well as in the master branch.
It would be great when I could also compile the utility on my RPI, so I would suggest to either use other instructions here, or alternatively just skip the print for ARM when a better solution is not available.