harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Gorr" <vvg...@gmail.com>
Subject Re: [drlvm] uses deprecated pthread function
Date Wed, 26 Jul 2006 04:21:18 GMT
I have same issue for FC5. The patch for H-977 helps to resolve it.
Therefore it'd be not bad to apply this patch to SVN repository for
convenience.

Thanks,
Vladimir.


On 7/26/06, Gregory Shimansky <gshimansky@gmail.com> wrote:
>
> On Wednesday 26 July 2006 01:18 Geir Magnusson Jr wrote:
> > Gregory Shimansky wrote:
> > > Hello
> > >
> > > I've tried to build drlvm on Linux and it didn't compile because when
> > > compiling signals_ia32.cpp file compiler produced a warning that
> > > pthread_attr_getstackaddr is deprecated. I looked in
> > > /usr/include/pthread.h [1] and found out that it is really deprecated
> by
> > > __attribute_deprecated__.
> > >
> > > I don't know why everything is fine for others but for me gcc [2] does
> > > gives a warning on this function. I used the recommended replacement
> > > pthread_attr_getstack which gives both address and stack size in one
> > > call. The patch is in HARMONY-977. StackTest and other vm smoke tests
> > > pass for me now.
> >
> > Weird.  It always has built for me on ubuntu 5/6 and passed the smoke
> > tests.
>
> Is it marked as deprecated in your /usr/include/pthread.h header too? I
> googled a bit and found some references to Debian and Fedora that
> pthread_attr_getstackaddr is deprecated. There are even a bugs on Sun JDK
> about it [1]. Maybe this change just didn't make it into Ubuntu yet.
>
> [1] http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6349489 and
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6339849
>
> --
> Gregory Shimansky, Intel Middleware Products Division
>
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message