sparc-sun-solaris2.10 and pthread.h fixinclude

rkiesling rkiesling@earthlink.net
Sat Jun 28 09:26:00 GMT 2008


Kaveh R. GHAZI:
> On Tue, 24 Jun 2008, rkiesling wrote:
> 
> > Bruce Korb:
> > > Hi Robert,
> > >
> > > I'm adding Kaveh to the "To" line because he's fiddled a bit with Solaris
> > > fixinclude fixes.  The perennial favorite fixes for mutex initializers is
> > > pretty well nailed down.  There remains a problem with the
> > > glibc_c99_inline_2 fix when run on Solaris.
> >
> > I'm a relative newbie at fixincludes operation, but I'll try to get
> > these questions out of the way as soon as I can.  I'll only be able
> > to do additional compatibility testing for glibc_c99_inline_2 on a
> > Linux system, so someone else would need to perform additional
> > compatibility checking on other platforms.  However, if there aren't
> > any objectionst, I'll submit individual patches for each.
> >
> > The \t -> tab character issue is due to cut/paste translation.  I'll try
> > to watch for that in the patches.
> 
> Note: solaris has several different sed programs installed including
> /bin/sed, /usr/ucb/sed and /usr/xpg4/bin/sed.  I found that I got lots of
> problems when /usr/ucb was in my path first from various programs.  I
> eventually gave up trying to fix them and just put /bin first during gcc
> builds.
> 
> So make sure you try all three seds plus gnu sed to see which if any work.

Note that there still needs to be yet another set of fixes on
inclhack.def for the Solaris seds.  So if issues that the patches fix
seem to be on topic with your project, I would simply advise using GNU
sed in the meantime.  The sunfreeware.com packages of the GNU build
tools work fine with the GCC snapshots, as do the recent source
releases.

The Solaris /bin/sed and /usr/bin/sed appear to be identical, btw.
There are no seds in /usr/xpg4/bin or /usr/xpg6/bin in the 2008/05
Solaris release.  Haven't seen at /usr/ucb/sed yet.

-- 
Ctalk Home Page: http://www.ctalklang.org



More information about the Gcc-patches mailing list