public inbox for libc-ports@sourceware.org
 help / color / mirror / Atom feed
* glibc am33 and cris architectures
@ 2012-02-21 15:21 Joseph S. Myers
  2012-02-21 17:24 ` Hans-Peter Nilsson
  2012-03-16  4:29 ` Alexandre Oliva
  0 siblings, 2 replies; 8+ messages in thread
From: Joseph S. Myers @ 2012-02-21 15:21 UTC (permalink / raw)
  To: libc-ports; +Cc: aoliva, hp

The am33 and cris glibc ports won't have worked since the 2.3-2.5 era for 
lack of NPTL/TLS support.  They are currently on the deprecation list for 
removal after glibc 2.16 is released 
<http://sourceware.org/glibc/wiki/Deprecation>.  But given how long they 
won't have worked, I wonder if we should just remove them now.  Alexandre, 
Hans-Peter - do you have, or know of, any near-term plans to bring your 
respective ports up to date with NPTL and TLS support and updates for all 
the other libc changes in the past several years?  If not, I think it's 
time to remove them.  (Alexandre, since you have write access you can just 
remove the am33 port yourself - "git rm" on the directories sysdeps/am33 
sysdeps/unix/am33 sysdeps/unix/sysv/linux/am33 with an appropriate entry 
in ChangeLog.am33.)

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: glibc am33 and cris architectures
  2012-02-21 15:21 glibc am33 and cris architectures Joseph S. Myers
@ 2012-02-21 17:24 ` Hans-Peter Nilsson
  2012-02-21 17:36   ` Joseph S. Myers
  2012-03-16  4:29 ` Alexandre Oliva
  1 sibling, 1 reply; 8+ messages in thread
From: Hans-Peter Nilsson @ 2012-02-21 17:24 UTC (permalink / raw)
  To: joseph; +Cc: libc-ports, aoliva

> From: "Joseph S. Myers" <joseph@codesourcery.com>
> Date: Tue, 21 Feb 2012 16:21:12 +0100

> The am33 and cris glibc ports won't have worked since the 2.3-2.5 era for 
> lack of NPTL/TLS support.  They are currently on the deprecation list for 
> removal after glibc 2.16 is released 
> <http://sourceware.org/glibc/wiki/Deprecation>.  But given how long they 
> won't have worked, I wonder if we should just remove them now.

For CRIS, I'd suggest to do that.

>  Alexandre, 
> Hans-Peter - do you have, or know of, any near-term plans to bring your 
> respective ports up to date with NPTL and TLS support and updates for all 
> the other libc changes in the past several years?

JFTR, there's a local port, specific to CRIS v32 (a later
variant), with the glibc part based on an import of the
eglibc-2.9 branch.  Linux TLS support (yes, I do mean just the
kernel) is currently missing for CRIS.  That is, it's missing
for CRIS v10, the original GNU/Linux-capable variant
(disregarding earlier MMU-less variants): anyone interested is
advised to please use either $IRP or $BRP as the thread-pointer
register; use the CRIS v32 Linux support as a template with
minor changes in thread-pointer-setting and most changes for
restoring that register at return from interrupt or breakpoint
or syscall return.

GCC TLS support for CRIS v32 needs to be updated and committed
anyway, by itself the least complex part, but not trivial and
even that part is not imminent though hopefully will happen in
the first half of this year.  Still, no commitment for any work
in a time-frame I'd dare call near-term.  Thus, just a glibc
CRIS port update right now wouldn't do much good in practice.

When doing the (e)glibc import part of the TLS support, I
noticed how much had changed since last synch.  I suggest that
even if someone else were to do independent work, it'd be better
to start from scratch than be distracted by the half-way-commit
of the originally submitted code that's currently in place.
Best to remove it; it'll just bloat any CRIS-related patches.

brgds, H-P
(PS. but at least the binutils TLS part is all committed. :)

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: glibc am33 and cris architectures
  2012-02-21 17:24 ` Hans-Peter Nilsson
@ 2012-02-21 17:36   ` Joseph S. Myers
  0 siblings, 0 replies; 8+ messages in thread
From: Joseph S. Myers @ 2012-02-21 17:36 UTC (permalink / raw)
  To: Hans-Peter Nilsson; +Cc: libc-ports, aoliva

On Tue, 21 Feb 2012, Hans-Peter Nilsson wrote:

> > From: "Joseph S. Myers" <joseph@codesourcery.com>
> > Date: Tue, 21 Feb 2012 16:21:12 +0100
> 
> > The am33 and cris glibc ports won't have worked since the 2.3-2.5 era for 
> > lack of NPTL/TLS support.  They are currently on the deprecation list for 
> > removal after glibc 2.16 is released 
> > <http://sourceware.org/glibc/wiki/Deprecation>.  But given how long they 
> > won't have worked, I wonder if we should just remove them now.
> 
> For CRIS, I'd suggest to do that.

Thanks, done.

> When doing the (e)glibc import part of the TLS support, I
> noticed how much had changed since last synch.  I suggest that
> even if someone else were to do independent work, it'd be better
> to start from scratch than be distracted by the half-way-commit
> of the originally submitted code that's currently in place.
> Best to remove it; it'll just bloat any CRIS-related patches.

I suspect ABI compatibility with the old port would also be quite tricky 
(and if it comes back, it may be better for it to come back with a least 
symbol version of GLIBC_2.17 or whatever is the next release version at 
the time, rather than attempting ABI compatibility).

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: glibc am33 and cris architectures
  2012-02-21 15:21 glibc am33 and cris architectures Joseph S. Myers
  2012-02-21 17:24 ` Hans-Peter Nilsson
@ 2012-03-16  4:29 ` Alexandre Oliva
  2012-03-26 17:10   ` Joseph S. Myers
  1 sibling, 1 reply; 8+ messages in thread
From: Alexandre Oliva @ 2012-03-16  4:29 UTC (permalink / raw)
  To: Joseph S. Myers; +Cc: Mark Salter, libc-ports, hp

On Feb 21, 2012, "Joseph S. Myers" <joseph@codesourcery.com> wrote:

> The am33 and cris glibc ports won't have worked since the 2.3-2.5 era for 
> lack of NPTL/TLS support.  They are currently on the deprecation list for 
> removal after glibc 2.16 is released 
> <http://sourceware.org/glibc/wiki/Deprecation>.  But given how long they 
> won't have worked, I wonder if we should just remove them now.  Alexandre, 
> Hans-Peter - do you have, or know of, any near-term plans to bring your 
> respective ports up to date with NPTL and TLS support and updates for all 
> the other libc changes in the past several years?  If not, I think it's 
> time to remove them.  (Alexandre, since you have write access you can just 
> remove the am33 port yourself - "git rm" on the directories sysdeps/am33 
> sysdeps/unix/am33 sysdeps/unix/sysv/linux/am33 with an appropriate entry 
> in ChangeLog.am33.)

I've long been out of touch WRT am33, but I finally brought this up
within Red Hat folks that are involved with it.

Mark Salter volunteered to contribute the updates he'd worked on, but
that had failed to be contributed because I failed to review the TLS
support patches for GCC and binutils (sorry)

So, instead of removing the port, I suggest we name Mark maintainer of
the am33 port.  Any objections?

-- 
Alexandre Oliva, freedom fighter    http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/   FSF Latin America board member
Free Software Evangelist      Red Hat Brazil Compiler Engineer

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: glibc am33 and cris architectures
  2012-03-16  4:29 ` Alexandre Oliva
@ 2012-03-26 17:10   ` Joseph S. Myers
  2012-03-27 13:34     ` Mark Salter
  0 siblings, 1 reply; 8+ messages in thread
From: Joseph S. Myers @ 2012-03-26 17:10 UTC (permalink / raw)
  To: Alexandre Oliva; +Cc: Mark Salter, libc-ports, hp

On Fri, 16 Mar 2012, Alexandre Oliva wrote:

> I've long been out of touch WRT am33, but I finally brought this up
> within Red Hat folks that are involved with it.
> 
> Mark Salter volunteered to contribute the updates he'd worked on, but
> that had failed to be contributed because I failed to review the TLS
> support patches for GCC and binutils (sorry)
> 
> So, instead of removing the port, I suggest we name Mark maintainer of
> the am33 port.  Any objections?

I haven't seen any objections; obviously some pretty large patches will be 
needed to bring the port up to date, replace the Linuxthreads port by an 
NPTL port and generally update sysdeps files for several years of libc 
changes that involve all-targets updates, so they are in sync with the 
libc versions again.  And then he'll need to keep a watch on libc commits 
for any that require am33 updates to keep am33 in sync, and make such 
updates to the port as and when such libc commits are made.

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: glibc am33 and cris architectures
  2012-03-26 17:10   ` Joseph S. Myers
@ 2012-03-27 13:34     ` Mark Salter
  2012-05-21 23:30       ` Joseph S. Myers
  0 siblings, 1 reply; 8+ messages in thread
From: Mark Salter @ 2012-03-27 13:34 UTC (permalink / raw)
  To: Joseph S. Myers; +Cc: Alexandre Oliva, libc-ports, hp

On Mon, 2012-03-26 at 17:09 +0000, Joseph S. Myers wrote:
> On Fri, 16 Mar 2012, Alexandre Oliva wrote:
> 
> > I've long been out of touch WRT am33, but I finally brought this up
> > within Red Hat folks that are involved with it.
> > 
> > Mark Salter volunteered to contribute the updates he'd worked on, but
> > that had failed to be contributed because I failed to review the TLS
> > support patches for GCC and binutils (sorry)
> > 
> > So, instead of removing the port, I suggest we name Mark maintainer of
> > the am33 port.  Any objections?
> 
> I haven't seen any objections; obviously some pretty large patches will be 
> needed to bring the port up to date, replace the Linuxthreads port by an 
> NPTL port and generally update sysdeps files for several years of libc 
> changes that involve all-targets updates, so they are in sync with the 
> libc versions again.  And then he'll need to keep a watch on libc commits 
> for any that require am33 updates to keep am33 in sync, and make such 
> updates to the port as and when such libc commits are made.
> 

I have patches which add NPTL to glibc 2.9 and I'm in the process of
bringing those forward to the devel head. And yes, going forward I
intend to keep an eye on the glibc devel and add am33 glibc to the
things I regularly build and test.

--Mark


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: glibc am33 and cris architectures
  2012-03-27 13:34     ` Mark Salter
@ 2012-05-21 23:30       ` Joseph S. Myers
  2012-05-22 13:24         ` Mark Salter
  0 siblings, 1 reply; 8+ messages in thread
From: Joseph S. Myers @ 2012-05-21 23:30 UTC (permalink / raw)
  To: Mark Salter; +Cc: Alexandre Oliva, libc-ports, hp

On Tue, 27 Mar 2012, Mark Salter wrote:

> I have patches which add NPTL to glibc 2.9 and I'm in the process of
> bringing those forward to the devel head. And yes, going forward I
> intend to keep an eye on the glibc devel and add am33 glibc to the
> things I regularly build and test.

Any news on this update of the am33 port ...?

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: glibc am33 and cris architectures
  2012-05-21 23:30       ` Joseph S. Myers
@ 2012-05-22 13:24         ` Mark Salter
  0 siblings, 0 replies; 8+ messages in thread
From: Mark Salter @ 2012-05-22 13:24 UTC (permalink / raw)
  To: Joseph S. Myers; +Cc: Alexandre Oliva, libc-ports, hp

On Mon, 2012-05-21 at 23:30 +0000, Joseph S. Myers wrote:
> On Tue, 27 Mar 2012, Mark Salter wrote:
> 
> > I have patches which add NPTL to glibc 2.9 and I'm in the process of
> > bringing those forward to the devel head. And yes, going forward I
> > intend to keep an eye on the glibc devel and add am33 glibc to the
> > things I regularly build and test.
> 
> Any news on this update of the am33 port ...?

I've been making slow progress, but expect the am33 patches to hit the
list within the next week or two.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-05-22 13:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-21 15:21 glibc am33 and cris architectures Joseph S. Myers
2012-02-21 17:24 ` Hans-Peter Nilsson
2012-02-21 17:36   ` Joseph S. Myers
2012-03-16  4:29 ` Alexandre Oliva
2012-03-26 17:10   ` Joseph S. Myers
2012-03-27 13:34     ` Mark Salter
2012-05-21 23:30       ` Joseph S. Myers
2012-05-22 13:24         ` Mark Salter

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).