coreutils
[Top][All Lists]
Advanced

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

Re: Compiling Coreutils with masm=intel


From: Arsen Arsenović
Subject: Re: Compiling Coreutils with masm=intel
Date: Thu, 14 Sep 2023 00:31:13 +0200

Jay <siber222000@gmail.com> writes:

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

You, indeed, seem to have run into that bug.  Coreutils (and gnulib)
could work around them, but I'm not sure that's useful.

Why do you need the GCC<->AS interface to use Intel syntax, though?

> Thank you in advance.

Have a lovely day.
-- 
Arsen Arsenović

Attachment: signature.asc
Description: PGP signature


reply via email to

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