Bug#608145: bobcat build failure with ld --as needed

2010-12-29 Thread Frank B. Brokken
Dear George Danchev, you wrote: > Hi All, Hi George, thanks for joining the discussion! > > the correct tweak for icmake/libraries should be: > > run(GCC + " -shared -Wl,-z,def,-soname," + libsomajor + > " -o " + destDir + libsoshared + " */os/*.o " + g_sharedLibReq ); Changing the library con

Bug#608145: bobcat build failure with ld --as needed

2010-12-28 Thread George Danchev
On Tue, 28 Dec 2010 14:02:39 +0100, Matthias Klose wrote: Hi All, Thanks for the bug-report and the proposed fix. right, but the shared library uses ssl symbols. You do link with it, True, but if I were the linker then to resolve the externals I would start with the explicitly mentioned o

Bug#608145: bobcat build failure with ld --as needed

2010-12-28 Thread Frank B. Brokken
Dear Matthias Klose, you wrote: > > I can't see that. could you attach your build log? Maybe not the full log (if you think I should I'll do so, but the initial phase merely consists of compiling the sources. I've added one compilation to show what's going on: The compilation: g++ --std=c++0

Bug#608145: bobcat build failure with ld --as needed

2010-12-28 Thread Frank B. Brokken
Dear Matthias Klose, you wrote: > ... > > I can't see that. could you attach your build log? That would be a lot of output. Rather than doing that right now, please give me some time to do it all again from scratch; also I'll have a close look at your patch. Then I'll get back to you with the res

Bug#608145: bobcat build failure with ld --as needed

2010-12-28 Thread Matthias Klose
On 28.12.2010 13:41, Frank B. Brokken wrote: Dear Matthias Klose, you wrote: ^^^ the mistake is that shared libraries are placed before the object files on the command line. ^^^ this is the think to fix I did, but nothing changed. Here is what I just used to create the library: gcc -shar

Bug#608145: bobcat build failure with ld --as needed

2010-12-28 Thread Frank B. Brokken
Dear Matthias Klose, you wrote: > > >> > >>^^^ the mistake is that shared libraries are placed before the > >>object files on the command line. > > ^^^ this is the think to fix I did, but nothing changed. Here is what I just used to create the library: gcc -shared -Wl,-z,def,-soname,libbobcat.s

Bug#608145: bobcat build failure with ld --as needed

2010-12-28 Thread Matthias Klose
On 28.12.2010 13:11, Frank B. Brokken wrote: Dear Matthias Klose, you wrote: Package: bobcat Version: 2.10.01-2 Severity: normal User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu natty User: debian-...@lists.debian.org Usertags: ld-as-needed with ld --as-needed fails to build with: g

Bug#608145: bobcat build failure with ld --as needed

2010-12-28 Thread Frank B. Brokken
Dear Matthias Klose, you wrote: > Package: bobcat > Version: 2.10.01-2 > Severity: normal > User: ubuntu-de...@lists.ubuntu.com > Usertags: origin-ubuntu natty > User: debian-...@lists.debian.org > Usertags: ld-as-needed > > with ld --as-needed fails to build with: > > gcc -shared -Wl,-z,def,-son

Bug#608145: bobcat build failure with ld --as needed

2010-12-27 Thread Matthias Klose
Package: bobcat Version: 2.10.01-2 Severity: normal User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu natty User: debian-...@lists.debian.org Usertags: ld-as-needed with ld --as-needed fails to build with: gcc -shared -Wl,-z,def,-soname,libbobcat.so.2 -lmilter -L/usr/lib/libmilter -lX