Re: CVS commit: src/external/gpl3/gcc/lib/libstdc++-v3
In article pine.neb.4.64.1405301548250.17...@screamer.whooppee.com, Paul Goyette p...@whooppee.com wrote: Joerg Sonnenberger writes: 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. Just curious - is this going to be changed? I'll take a look at it. christos
Re: CVS commit: src/external/gpl3/gcc/lib/libstdc++-v3
Joerg Sonnenberger writes: 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. Just curious - is this going to be changed? - | Paul Goyette | PGP Key fingerprint: | E-mail addresses: | | Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com| | Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net | | Kernel Developer | | pgoyette at netbsd.org | -
re: CVS commit: src/external/gpl3/gcc/lib/libstdc++-v3
Paul Goyette writes: Joerg Sonnenberger writes: 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. Just curious - is this going to be changed? that's the plan, but i haven't even begun to look at it. if someone else wants to do it, please go ahead. i don't expect to find time anytime soon... .mrg.
Re: CVS commit: src/external/gpl3/gcc/lib/libstdc++-v3
On Wed, May 28, 2014 at 04:41:06PM +, 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. Joerg
re: CVS commit: src/external/gpl3/gcc/lib/libstdc++-v3
Joerg Sonnenberger writes: On Wed, May 28, 2014 at 04:41:06PM +, 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. .mrg.
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 +, 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