[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compiling Coreutils with masm=intel

From: Jay
Subject: Compiling Coreutils with masm=intel
Date: Tue, 12 Sep 2023 18:30:07 -0400


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? 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

[Prev in Thread] Current Thread [Next in Thread]