Re: --as-needed linker option (was Re: binary-without-manpage)

2008-08-25 Thread Jeffrey Ratcliffe
2008/8/22 Bas Wijnen <[EMAIL PROTECTED]>: > --as-needed will let the linker throw away all symbols that aren't used. > It always does this when linking static libraries. That's why with > those, it's important that they're in the right order. The same is true > when using --as-needed. The order

Re: --as-needed

2008-06-12 Thread Jeffrey Ratcliffe
2008/6/12 Raphael Geissert <[EMAIL PROTECTED]>: > did you update your chroot? gcc in sid is 4.3, in lenny is 4.2. Duh... I assumed that gcc-4.3 had been in sid for more than the week since I last updated my chroot. Thanks. Jeff -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "u

Re: --as-needed

2008-06-11 Thread Raphael Geissert
Jeffrey Ratcliffe wrote: ... > that defaulted to 4.2.4-1. Why didn't I get 4.3? How do I force 4.3 in > the sid pbuilder? did you update your chroot? gcc in sid is 4.3, in lenny is 4.2. To force it, in your .pbuilderrc (I've never tried by using them directly on the shell): EXTRAPACKAGES="gcc-4.

Re: --as-needed

2008-06-08 Thread Jeffrey Ratcliffe
2008/6/8 Cyril Brulebois <[EMAIL PROTECTED]>: > It might be interesting to use a debug build, and share the backtraces, > so that one can check whether that's the same bug, when the segfault > happens. Below is the backtrace from tesseract built with gcc-4.2 and --as-needed. Repeating it without -

Re: --as-needed

2008-06-08 Thread Cyril Brulebois
On 08/06/2008, Jeffrey Ratcliffe wrote: > I uploaded tesseract-ocr 2.03-1 with --as-needed, but have had this > bug reported: > > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=484052 > > i.e. the test case in the bug report segfaults if tesseract is > compiled with gcc 4.2 with or with --as-ne