public inbox for libc-help@sourceware.org
 help / color / mirror / Atom feed
From: <rsbecker@nexbridge.com>
To: "'Florian Weimer'" <fweimer@redhat.com>
Cc: <libc-help@sourceware.org>, <mike_kilpatrick@nskopensource.com>,
	"'Shiva Subramanian'" <shiva.subramanian@tcm.uk.com>,
	"'Bill Honaker'" <bhonaker@xid.com>, <jojo@schmitz-digital.de>
Subject: RE: Re-port Intent for HPE NonStop (a.k.a. Tandem)
Date: Mon, 14 Mar 2022 08:48:22 -0400	[thread overview]
Message-ID: <025601d837a1$ce111d00$6a335700$@nexbridge.com> (raw)
In-Reply-To: <87k0cxynn8.fsf@oldenburg.str.redhat.com>

On March 14, 2022 3:55 AM, Florian Weimer wrote:
>> I have been asked by members of the HPE NonStop (formerly Tandem)
>> community to consider re-porting Glibc to the platform. There was a
>> port back around
>> 2.12 but that never made it to x86.
>
>It must have been a private port, not released to the general public.

The port was released to the public, but not through standard glibc
mechanisms. Both binaries and sources were available to the NonStop
community.

>Does HPE NonStop provide a stable kernel interface?  Linux is somewhat
unique in
>that.  Other systems require some level of synchronization between libc and
>kernel updates.

Yes. The kernel is highly stable, with HPE providing long-term compatibility
statements. The POSIX components date back to 1995 and continuously
upgraded. To date, source compatibility has been maintained even across
chipset changes.

>> The current situation is that the platform is not on the list of known
>> ports. Glibc is a dependency of many projects that we want to bring to
>> the platform. How can this be pursued? My team is willing to
>> officially support the port once done. Although POSIX compliant, we
>> are limited to using a c99 compiler. gcc does not port, making this
>> interesting.
>
>Can you use a GCC cross-compiler?

No. GCC does not generate code that will run on the platform. While it is
x86-based, there are complex endian concerns in the code generator,
significant ELF header differences, and major ELF debug section differences
that cannot be emitted by GCC. There have been at least 3 unsuccessful
attempts I know of to port gcc to the platform and/or to generate cross
compile code for it.

>We need a publicly available, free (libre) toolchain for any port.  This is
both a
>matter of policy, and also to prevent the port from bit-rotting.

I have successfully done ports of other products with the same constraint
(git, openssh, openssl). Usually ports are possible with minimal changes. I
would like to do a bit of an impact analysis to see how difficult this one
would be. Glibc is an ongoing concern because it is a dependency for many
Open-Source projects.

>> Note: The link http://www.gnu.org/software/libc/development.html on
>> your wiki page https://sourceware.org/glibc/wiki/#Development gets a 404.
>
>I've removed this section because it is outdated.  I'm not sure if we would
accept
>ports to new kernels at this point.  (New targets is a different matter.)

How should I proceed, if I need glibc as a dependency?

Thanks,
Randall


  parent reply	other threads:[~2022-03-14 12:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-13 12:43 rsbecker
2022-03-14  7:54 ` Florian Weimer
2022-03-14  8:12   ` AW: " Joachim Schmitz
2022-03-14  8:32     ` Florian Weimer
2022-03-14  8:49       ` AW: " Joachim Schmitz
2022-03-14  8:55         ` Florian Weimer
2022-03-14 12:48   ` rsbecker [this message]
2022-03-14 13:12     ` Florian Weimer
2022-03-14 14:20       ` Adhemerval Zanella

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='025601d837a1$ce111d00$6a335700$@nexbridge.com' \
    --to=rsbecker@nexbridge.com \
    --cc=bhonaker@xid.com \
    --cc=fweimer@redhat.com \
    --cc=jojo@schmitz-digital.de \
    --cc=libc-help@sourceware.org \
    --cc=mike_kilpatrick@nskopensource.com \
    --cc=shiva.subramanian@tcm.uk.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.
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).