public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Adhemerval Zanella Netto <adhemerval.zanella@linaro.org>
To: libc-alpha@sourceware.org, caiyinyu <caiyinyu@loongson.cn>,
	Xi Ruoyao <xry111@xry111.site>,
	Carlos O'Donell <carlos@redhat.com>
Cc: joseph_myers@mentor.com
Subject: Re: [PATCH v6 00/13] GLIBC LoongArch PATCHES
Date: Wed, 13 Jul 2022 16:55:55 -0300	[thread overview]
Message-ID: <fc8cdaf6-a2a2-324a-d7ed-353c6a3bfff9@linaro.org> (raw)
In-Reply-To: <7cbacfadd642bafc42076eb5b7455a0acb7c720f.camel@xry111.site>



On 08/07/22 04:13, Xi Ruoyao via Libc-alpha wrote:
> On Fri, 2022-07-08 at 14:52 +0800, caiyinyu wrote:
> 
>> binutils:       https://github.com/loongson/binutils-gdb/tree/dev/new_reloc
> 
> There are too much changes in this branch.  Could you isolate a minimal
> binutils patch enough for eliminating R_LARCH_NONE and R_LARCH_IRELATIVE
> from .rela.plt, get it reviewed, and push it into GNU binutils repo?  I
> don't think it's a good idea to make *GNU* libc depend on some external
> linker code which is not reviewed by GNU binutils developers.
> 
> And we need to do this ASAP: we already missed binutils 2.39 release
> branch cut date [1] and if we don't move fast we'll miss glibc-2.36
> release date.
> 
> [1]: https://sourceware.org/pipermail/binutils/2022-July/121567.html
> 
> 

I finished my review for the port and it looks ok in general, however there
some pieces that would require a v7:

  1. Add R_LARCH_NONE handling on bootstrap, binutils 2.38 does generated it 
     and from previous discussion it should be considered a missed 
     optimizations instead of a linker error.

  2. Remove the __loongarch_soft_float parts, since there is no support for
     soft floating-point.

  3. Remove sysdeps/unix/sysv/linux/loongarch/ldconfig.h, this file is not
     required.

  4. Some minor style issues.

  5. Either remove HAVE_GETTIMEOFDAY_VSYSCALL or add a gettimeofday ifunc
     optimization.

The only part really prevent port inclusion is 1.  I am also assuming ifunc 
is support (at least you have added support on the Linux ABI part) with
binutils 2.38.  If not, you will need to remove support until you fix it on
binutils.

And also, you need to check and report the test results using the expected
defined release branches, using out-of-tree branches are not acceptable for
inclusion.

  parent reply	other threads:[~2022-07-13 19:56 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-08  6:52 caiyinyu
2022-07-08  6:52 ` [PATCH v6 01/13] LoongArch: Update NEWS and README for the LoongArch port caiyinyu
2022-07-12 11:06   ` Adhemerval Zanella Netto
2022-07-08  6:52 ` [PATCH v6 02/13] LoongArch: Add LoongArch entries to config.h.in caiyinyu
2022-07-12 18:51   ` Adhemerval Zanella Netto
2022-07-08  6:52 ` [PATCH v6 03/13] LoongArch: Add relocations and ELF flags to elf.h and scripts/glibcelf.py caiyinyu
2022-07-12 19:27   ` Adhemerval Zanella Netto
2022-07-08  6:52 ` [PATCH v6 04/13] LoongArch: ABI Implementation caiyinyu
2022-07-12 20:39   ` Adhemerval Zanella Netto
2022-07-15  1:46     ` caiyinyu
2022-07-08  6:52 ` [PATCH v6 05/13] LoongArch: Thread-Local Storage Support caiyinyu
2022-07-13 13:10   ` Adhemerval Zanella Netto
2022-07-08  6:52 ` [PATCH v6 06/13] LoongArch: Generic <math.h> and soft-fp Routines caiyinyu
2022-07-13 13:25   ` Adhemerval Zanella Netto
2022-07-08  6:52 ` [PATCH v6 07/13] LoongArch: Atomic and Locking Routines caiyinyu
2022-07-13 13:53   ` Adhemerval Zanella Netto
2022-07-15  1:46     ` caiyinyu
2022-07-08  6:52 ` [PATCH v6 08/13] LoongArch: Linux Syscall Interface caiyinyu
2022-07-13 16:19   ` Adhemerval Zanella Netto
2023-09-13 11:05     ` caiyinyu
2022-07-08  6:52 ` [PATCH v6 09/13] LoongArch: Linux ABI caiyinyu
2022-07-13 16:35   ` Adhemerval Zanella Netto
2022-07-15  1:48     ` caiyinyu
2022-07-08  6:52 ` [PATCH v6 10/13] LoongArch: Add ABI Lists caiyinyu
2022-07-13 17:12   ` Adhemerval Zanella Netto
2022-07-08  6:52 ` [PATCH v6 11/13] LoongArch: Build Infastructure caiyinyu
2022-07-13  3:07   ` Xi Ruoyao
2022-07-13  3:43     ` WANG Xuerui
2022-07-13  7:51       ` caiyinyu
2022-07-13 17:48   ` Adhemerval Zanella Netto
2022-07-15  1:49     ` caiyinyu
2022-07-08  6:52 ` [PATCH v6 12/13] LoongArch: Hard Float Support caiyinyu
2022-07-13 19:22   ` Adhemerval Zanella Netto
2022-07-14 13:00     ` caiyinyu
2022-07-08  7:13 ` [PATCH v6 00/13] GLIBC LoongArch PATCHES Xi Ruoyao
2022-07-08  7:15   ` Xi Ruoyao
2022-07-13 19:55   ` Adhemerval Zanella Netto [this message]
2022-07-14 11:33     ` Xi Ruoyao
2022-07-14 12:11       ` Adhemerval Zanella Netto
2022-07-18 13:54 ` Carlos O'Donell

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=fc8cdaf6-a2a2-324a-d7ed-353c6a3bfff9@linaro.org \
    --to=adhemerval.zanella@linaro.org \
    --cc=caiyinyu@loongson.cn \
    --cc=carlos@redhat.com \
    --cc=joseph_myers@mentor.com \
    --cc=libc-alpha@sourceware.org \
    --cc=xry111@xry111.site \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).