public inbox for libc-ports@sourceware.org
 help / color / mirror / Atom feed
From: Chris Metcalf <cmetcalf@tilera.com>
To: libc-alpha@sourceware.org, libc-ports@sourceware.org
Cc: Arnd Bergmann <arnd@arndb.de>,
	Linas Vepstas <linas@codeaurora.org>,
	       Guan Xuetao <gxt@mprc.pku.edu.cn>,
	Jonas Bonn <jonas@southpole.se>,
	       Chen Liqin <liqin.chen@gmail.com>
Subject: [PATCH v2 0/10] Tilera (and Linux asm-generic) support for glibc
Date: Thu, 10 Nov 2011 00:55:00 -0000	[thread overview]
Message-ID: <201111100054.pAA0sf6u025585@farm-0002.internal.tilera.com> (raw)

This is the second version of the patch, including feedback from
the detailed commentary by Joseph S. Myers.

The major issues raised are addressed as follows:

- tile now has a shlib-versions file with "GLIBC_2.12 GLIBC_2.15"
  as the default.  This will allow us to be backwards-compatible
  in glibc 2.15 and following with the RHEL 6-compatible 2.12 we are
  shipping to customers in our forthcoming 4.x release series.
  This requires a bugfix to firstversions.awk.

- The tile backtracing support has been entirely handed off to libgcc
  and glibc will just use _Unwind_Backtrace to access it.

- The "Linux generic" 32-bit APIs (stat, statfs, lseek) now check for
  and return EOVERFLOW when the 64-bit kernel APIs return too-large
  values.

- The platform-independent bits/byteswap.h now has GCC_PREREQ support
  for __builtin_bswap.

One other note which I should have mentioned in my original overview
email is that tile support will require syncing up the config.guess
and config.sub files, as they currently have some early tile support,
but not quite the right stuff (need to get 2011-06-03 or better).

For reference, the "v1" overview text follows, unchanged.

Thanks again to Joseph Myers for his thoughtful critiques.

--
The accompanying patches add support for the Tilera architecture chip
family (currently the 32-bit TILEPro and the 64-bit TILE-Gx).

The architecture is supported in the Linux kernel (as of 2.6.36 for
TILEPro, 3.0 for TILE-Gx); has been accepted into the binutils CVS
repository; and is in review for gcc.  More information on Tilera, the
company, is at http://www.tilera.com; our open source information is
at http://www.tilera.com/scm/.

The libc-ports portion of the patch consists of two pieces: the
Tilera chip support, plus an additional "generic ABI" Linux piece.

The first patch is the tile architecture support, in sysdeps/tile and
sysdeps/unix/sysv/linux/tile.

The second is the Linux asm-generic support, in
sysdeps/unix/sysv/linux/generic.  This component supports
architectures that are using the new, limited kernel ABI defined by
the <asm-generic/unistd.h> syscall header, and using the various
<asm-generic> definitions of kernel data structures such as "struct
stat", "struct statfs", etc.  The "score" architecture also uses the
asm-generic headers, though its use of the syscall header is in the
backwards-compatible mode that enables the old syscalls.  More
importantly, both the new "unicore32" and "openrisc" architectures
(both currently supported in the Linux kernel) use this mode.  They
will be able to share the proposed new "asm-generic ABI" linux support
included in this patch.

The first two patches are sent to just the glibc-ports mailing list.
The remaining seven (fairly minor) patches are to aspects of the core,
so will be sent to just the glibc-alpha mailing list (though at least
some of them are of interest to new ports maintainers as well, since
they include core changes required for each new port).

Running "make tests" reports almost all successes; I have spent time
cleaning up tests over the last couple of weeks and will continue to
do so going forward as time permits.  We have been shipping our
version of glibc to customers for over a year now, based on glibc
2.11.2 in our 3.x release stream, and more recently in our 4.x release
on the RedHat Enterprise Linux 6.0 version of glibc 2.12.

I have a current FSF copyright assignment on file through Tilera.

-- 
Chris Metcalf, Tilera Corp.
http://www.tilera.com

             reply	other threads:[~2011-11-10  0:55 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-10  0:55 Chris Metcalf [this message]
2011-11-10  0:58 ` [PATCH v2 2/10] " Chris Metcalf
2011-11-15  0:32   ` Joseph S. Myers
2011-11-10  4:14 ` [PATCH v2 0/10] " Mike Frysinger
2011-11-10  4:27   ` Chris Metcalf
2011-11-11 18:10     ` Roland McGrath
2011-11-11 18:35       ` Carlos O'Donell
2011-11-11 19:07         ` Roland McGrath
2011-11-11 19:22           ` Carlos O'Donell
2011-11-10  4:36 ` [PATCH v2 1a/10] sysdeps/tile support Chris Metcalf
2011-11-15  0:00   ` Joseph S. Myers
2011-11-15 15:54     ` Joseph S. Myers
2011-11-15 18:14       ` Chris Metcalf
2011-11-20 17:06         ` Joseph S. Myers
2011-11-20 17:34           ` Chris Metcalf
2011-11-20 17:48             ` Joseph S. Myers
2011-11-21 14:14             ` Carlos O'Donell
2011-11-21 14:41               ` Chris Metcalf
2011-12-04  0:02           ` Chris Metcalf
2011-12-04  0:28             ` Chris Metcalf
2011-12-04  1:17               ` Joseph S. Myers
2011-12-04  4:13                 ` Christopher Faylor
2011-12-04  9:35                   ` Andreas Schwab
2011-12-04  0:47       ` Chris Metcalf
2011-12-04  1:17         ` Joseph S. Myers
     [not found] ` <201111100435.pAA4ZuEh008673@farm-0002.internal.tilera.com>
2011-11-10  5:21   ` [PATCH v2 1b/10] sysdeps/unix/sysv/linux/tile support Chris Metcalf
2011-11-15  0:06     ` Joseph S. Myers
2011-11-15  3:32       ` Chris Metcalf
2011-11-11 17:48 ` [PATCH v2 0/10] Tilera (and Linux asm-generic) support for glibc Ulrich Drepper
2011-11-11 21:02   ` Mike Frysinger
2011-11-11 21:33   ` Chris Metcalf
2011-11-11 21:42     ` Roland McGrath
2011-11-12  2:43       ` Arnd Bergmann
2011-11-12  3:16         ` Roland McGrath
2011-11-12 15:05         ` Joseph S. Myers
2011-11-14 22:17           ` Arnd Bergmann
2011-11-14 23:38             ` Joseph S. Myers
2011-11-15  5:38               ` Arnd Bergmann
2011-11-15 16:15                 ` Joseph S. Myers
2011-11-15 17:43                   ` Richard Earnshaw
2011-11-15 17:50                     ` Joseph S. Myers
2011-11-15 17:46                   ` Arnd Bergmann
2011-11-15 18:05                     ` Joseph S. Myers
2011-11-15 17:21                 ` Richard Earnshaw
2011-11-15 17:45                   ` Joseph S. Myers
2011-11-15 17:50                     ` Richard Earnshaw
2011-11-11 21:58     ` Chris Metcalf
2011-11-11 22:15       ` Roland McGrath

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=201111100054.pAA0sf6u025585@farm-0002.internal.tilera.com \
    --to=cmetcalf@tilera.com \
    --cc=arnd@arndb.de \
    --cc=gxt@mprc.pku.edu.cn \
    --cc=jonas@southpole.se \
    --cc=libc-alpha@sourceware.org \
    --cc=libc-ports@sourceware.org \
    --cc=linas@codeaurora.org \
    --cc=liqin.chen@gmail.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).