Source-Changes-D archive

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

Re: CVS commit: src/external/gpl3/gcc/lib/libstdc++-v3



On Thu, May 29, 2014 at 07:56:31AM +1000, matthew green wrote:
> 
> Joerg Sonnenberger writes:
> > On Wed, May 28, 2014 at 04:41:06PM +0000, matthew green wrote:
> > > Module Name:      src
> > > Committed By:     mrg
> > > Date:             Wed May 28 16:41:06 UTC 2014
> > > 
> > > Modified Files:
> > >   src/external/gpl3/gcc/lib/libstdc++-v3: Makefile
> > > 
> > > Log Message:
> > > add -pthread to compiler/linker flags.  fixes 1/3 of the link issues.
> > 
> > IMO it is wrong to force every C++ program to link against libpthread,
> > which is not that cheap.
> 
> i'd buy that -- except that libstdc++ now references pthread_create()
> directly, and i don't know how to deal with that.

See how I did it for libc++? Make the reference weak and raise an error
for those things only that want to create a threead.

Joerg


Home | Main Index | Thread Index | Old Index