Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-alt
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-alt@g.o
From: Nicolas Olivier <niko@...>
Subject: Re: gcc 4.3 fails on sparc-sun-solaris2.8
Date: Thu, 30 Apr 2009 11:14:08 +0200
On Thu, Apr 30, 2009 at 10:57 AM, Fabian Groffen <grobian@g.o> wrote:
>
> On 30-04-2009 10:51:10 +0200, Nicolas Olivier wrote:
> > I'm trying to upgrade gcc on sparc-sun-solaris2.8 and it fails with :
> >
> >  *
> >  * QA Notice: Package has poor programming practices which may compile
> >  *            but will almost certainly crash on 64bit architectures.
> >  *
> >  * Function `strtok_r' implicitly converted to pointer at /oss1/users/
> > niolivie/gentoo/var/tmp/portage/sys-devel/gcc-4.3.2-r4/work/gcc-4.3.2/
> > gcc/gcc.c:6504
>
> > Has anyone encountered this kind of problem ?
> > Should I file a bug on gentoo or gcc ?
>
> I think this is because of Solaris 8 lacking strtok_r, or strtok_r being
> in a header not included.  What does man strtok_r say?
>
> --
> Fabian Groffen
> Gentoo on a different level

I would think of a define not set actually. Manpage says it's defined
in string.h and actually it is in /usr/include/string.h as follow :

#if     defined(__EXTENSIONS__) || defined(_REENTRANT) || \
            (_POSIX_C_SOURCE - 0 >= 199506L)
extern char *strtok_r(char *, const char *, char **);
#endif  /* defined(__EXTENSIONS__) || defined(_REENTRANT) .. */


References:
gcc 4.3 fails on sparc-sun-solaris2.8
-- Nicolas Olivier
Re: gcc 4.3 fails on sparc-sun-solaris2.8
-- Fabian Groffen
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: gcc 4.3 fails on sparc-sun-solaris2.8
Next by thread:
perl is masked
Previous by date:
Re: gcc 4.3 fails on sparc-sun-solaris2.8
Next by date:
Re: Re: Mesa header in media-libs/apple-opengl-2


Updated Jun 17, 2009

Summary: Archive of the gentoo-alt mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.