mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Max Filippov <jcmvbkbc@gmail.com>
To: Rich Felker <dalias@libc.org>
Cc: musl@lists.openwall.com
Subject: Re: [musl] [RFC v3 1/1] xtensa: add port
Date: Wed, 8 May 2024 10:39:18 -0700	[thread overview]
Message-ID: <CAMo8Bf+2CB87JZVk1AqqydBvL+Hrz-rk9geaAipy6mrp8bt_8w@mail.gmail.com> (raw)
In-Reply-To: <CAMo8BfLZK-NHDD5UmWN4+zK6WKq6CYX+279h5FpS3q4bH4qKCA@mail.gmail.com>

On Tue, May 7, 2024 at 11:41 AM Max Filippov <jcmvbkbc@gmail.com> wrote:
> On Tue, May 7, 2024 at 9:26 AM Rich Felker <dalias@libc.org> wrote:
> > On Tue, May 07, 2024 at 08:30:57AM -0700, Max Filippov wrote:
> > > I believe that in accordance with how Tensilica treats xtensa cores,
> > > core configuration should be one of the linkage boundaries, along with
> > > the FDPIC/non-FDPIC and call0/windowed. So ldso names would look
> > > like xtensa-dc233c-fdpic.
> >
> > Is there actually anything about the dc233c cpu variant that makes up
> > part of the linkage boundary?
>
> It's a particular feature set, instruction set and instruction encoding rules.
> Toolchain components will be configured for this core and there's no plan
> to support linking objects built for different configurations.

I thought about it for a bit and it seems to me that adding configuration
name to the ABI tag makes both of the following possible:
- a range of "standard" configurations can be defined. The end users may
  choose a configuration that is compatible with their hardware and use
  a toolchain with that tag.
- but they don't have to. If they prefer having their own ABI tag they're
  also free to do it.
Either way the decision about the compatibility is left to the end user and
when there's no compatibility with the standard variants or such
compatibility is not desired there's still a way to get a working system
without a name conflict.

-- 
Thanks.
-- Max

      reply	other threads:[~2024-05-08 17:39 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-06 18:01 [musl] [RFC v3 0/1] xtensa FDPIC port Max Filippov
2024-05-06 18:01 ` [musl] [RFC v3 1/1] xtensa: add port Max Filippov
2024-05-06 20:58   ` Rich Felker
2024-05-06 21:47     ` Max Filippov
2024-05-06 22:15       ` Rich Felker
2024-05-06 22:40         ` Max Filippov
2024-05-06 22:55           ` Rich Felker
2024-05-06 23:28             ` Max Filippov
2024-05-06 23:59               ` Rich Felker
2024-05-07  0:40                 ` Max Filippov
2024-05-07  1:37                   ` Rich Felker
2024-05-07 15:30                     ` Max Filippov
2024-05-07 16:27                       ` Rich Felker
2024-05-07 18:41                         ` Max Filippov
2024-05-08 17:39                           ` Max Filippov [this message]

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=CAMo8Bf+2CB87JZVk1AqqydBvL+Hrz-rk9geaAipy6mrp8bt_8w@mail.gmail.com \
    --to=jcmvbkbc@gmail.com \
    --cc=dalias@libc.org \
    --cc=musl@lists.openwall.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

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 NNTP newsgroup(s).