On 30/06/2011 23.24, Bernhard Reutner-Fischer wrote: > On Jun 30, 2011 7:56 PM, "Rich Felker" <[email protected]> wrote: >> >> On Fri, Jul 01, 2011 at 03:38:04AM +1000, Nemykal wrote: >>> Actually I think I may have found the culprit: I only get this error > when >>> DOMULTI=y >>> >>> With uClibc development/debugging options >>> -> [*] Compile all sources at once into an object >>> >>> I get that error. But when I disable that option, libpthread.a is > compiled >>> successfully. >>> >>> Guess that's solved, kinda... Sorry for wasting your time... >> >> For what it's worth, if you will be using static linking, this option >> (DOMULTI) is extremely harmful to bloat. It will cause the whole libc >> to be included in every program. I would avoid it unless you intend to >> use only dynamic linking, and even then I would treat this option with >> a great deal of suspicion. It can also lead to obscure bugs due to the >> compiler performing cross-module optimizations that it "shouldn't be >> able to see". > > Hi, > > This is why it states "use only if you know what you do". Given that there > is LTO nowadays, I will remove this option.
good idea ! > _______________________________________________ > uClibc mailing list > [email protected] > http://lists.busybox.net/mailman/listinfo/uclibc > _______________________________________________ uClibc mailing list [email protected] http://lists.busybox.net/mailman/listinfo/uclibc
