Hello,

I am trying to compile coreutils with the following commands:

CC=gcc CFLAGS="-O0 -gdwarf-2 -save-temps=obj -Wno-error
-fno-asynchronous-unwind-tables -fno-exceptions" ../configure --prefix
/home/Documents/coreutils/intelbuild && make -j8

However, it fails with the following message:
lib/mktime.s: Assembler messages:
lib/mktime.s:95: Error: invalid use of operator "shr"
lib/mktime.s:285: Error: invalid use of operator "shr"
lib/mktime.s:291: Error: invalid use of operator "shr"
...

After searching through, I found out that this is some bug?
https://gcc.gnu.org/bugzilla//show_bug.cgi?id=53929 but I could not find
any remedy to it. I am wondering whether this has been fixed or it is not
possible to compile Coreutils with the masm=intel option.

Thank you in advance.

Reply via email to