mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ammar Faizi <ammarfaizi2@gnuweeb.org>
To: "Thomas Weißschuh" <linux@weissschuh.net>
Cc: Willy Tarreau <w@1wt.eu>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 3/3] tools/nolibc: x86_64: use local label in memcpy/memmove
Date: Tue, 13 Aug 2024 07:15:11 +0700	[thread overview]
Message-ID: <Zrqlj5OHi6dFulxh@biznet-home.integral.gnuweeb.org> (raw)
In-Reply-To: <20240812-nolibc-lto-v2-3-736af7bbefa8@weissschuh.net>

On Mon, Aug 12, 2024 at 10:50:19PM +0200, Thomas Weißschuh wrote:
> Compiling arch-x86_64.h with clang and binutils LD yields
> duplicate label errors:
> 
> .../gcc-13.2.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: error: LLVM gold plugin: <inline asm>:44:1: symbol '.Lbackward_copy' is already defined
> .Lbackward_copy:leaq -1(%rdi, %rcx, 1), %rdi
> 
> Instead of a local symbol use a local label which can be defined
> multiple times and therefore avoids the error.
> 
> Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
> ---

Reviewed-by: Ammar Faizi <ammarfaizi2@gnuweeb.org>

-- 
Ammar Faizi


  reply	other threads:[~2024-08-13  0:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-12 20:50 [PATCH v2 0/3] tools/nolibc: clang LTO compatibility Thomas Weißschuh
2024-08-12 20:50 ` [PATCH v2 1/3] tools/nolibc: crt: mark _start_c() as used Thomas Weißschuh
2024-08-12 20:50 ` [PATCH v2 2/3] tools/nolibc: stackprotector: mark implicitly used symbols " Thomas Weißschuh
2024-08-12 20:50 ` [PATCH v2 3/3] tools/nolibc: x86_64: use local label in memcpy/memmove Thomas Weißschuh
2024-08-13  0:15   ` Ammar Faizi [this message]
2024-08-12 21:00 ` [PATCH v2 0/3] tools/nolibc: clang LTO compatibility Willy Tarreau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Zrqlj5OHi6dFulxh@biznet-home.integral.gnuweeb.org \
    --to=ammarfaizi2@gnuweeb.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@weissschuh.net \
    --cc=w@1wt.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®