[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 06/20] tools: Correct PTHREAD options in config/StdGNU.mk

On Tue, 2012-03-20 at 16:47 +0000, Roger Pau Monnà wrote:
> Sorry, I've mean to send this to the list, but my phone doesn't like
> that, so I'm sending the mail again (you will receive this one two
> times Ian Campbell).

No problem.

> On Mar 20, 2012 9:44 AM, "Ian Campbell" <Ian.Campbell@xxxxxxxxxx> wrote:
> >
> > On Fri, 2012-03-16 at 16:26 +0000, Ian Jackson wrote:
> > > It is not correct to say -lpthread.  The correct option is -pthread,
> > > which may have sundry other effects on code generation etc.  It needs
> > > to be passed both to compilation and linking.
> >
> > I guess this is a gcc-ism rather than a Linux-ism and so applies to the
> > BSDs too (at least so long as they use gcc and not clang)?
> From what I've read (not tested) BSD is fine with -pthread, but
> Solaris seems to only accept -lpthread (again from the information
> I've found online).

I think we should end the pretence that Solaris is a supported dom0
platform any more. I'm reasonably certain it won't even build.


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.