Re: dh_shlibdeps warnings concerning undefined OpenMP symbols

2011-04-05 Thread Dmitry Katsubo
On 31.03.2011 22:16, Jakub Wilk wrote: You do need -lgomp. You normally don't (need to) link to gomp explicitly. My wild guess is: Dmitry used -fopenmp while compiling *.o, but not when linking the shared library. Exactly! Thank you, Jakub, for nice guess. AC_OPENMP() macro documentation

Re: dh_shlibdeps warnings concerning undefined OpenMP symbols

2011-04-01 Thread Dmitry Katsubo
On 31.03.2011 22:16, Jakub Wilk wrote: You do need -lgomp. You normally don't (need to) link to gomp explicitly. My wild guess is: Dmitry used -fopenmp while compiling *.o, but not when linking the shared library. Exactly! Thank you, Jakub, for nice guess. AC_OPENMP() macro documentation

Re: dh_shlibdeps warnings concerning undefined OpenMP symbols

2011-04-01 Thread Vincent Danjean
On 01/04/2011 10:21, Dmitry Katsubo wrote: On 31.03.2011 22:16, Jakub Wilk wrote: You do need -lgomp. You normally don't (need to) link to gomp explicitly. My wild guess is: Dmitry used -fopenmp while compiling *.o, but not when linking the shared library. Exactly! Thank you, Jakub, for

Re: dh_shlibdeps warnings concerning undefined OpenMP symbols

2011-04-01 Thread Jakub Wilk
* Vincent Danjean vdanjean...@free.fr, 2011-04-01, 14:38: AC_OPENMP() macro documentation looks to be a bit incomplete (e.g. if it provides $OPENMP_LDFLAGS I wouldn't mess things), Please, report a bug for this macro if it is provided by another package. I don't think there's anything wrong

dh_shlibdeps warnings concerning undefined OpenMP symbols

2011-03-31 Thread Dmitry Katsubo
Dear developers, I have the question concerning the following dh_shlibdeps warning, which is triggered for library that is compiled witn OpenMP support: dh_shlibdeps dpkg-shlibdeps: warning: symbol GOMP_critical_start used by debian/libosra0/usr/lib/libosra.so.0.0.10308 found in none of

Re: dh_shlibdeps warnings concerning undefined OpenMP symbols

2011-03-31 Thread Cyril Brulebois
Hi, Dmitry Katsubo dm...@mail.ru (31/03/2011): The mentioned symbols are exported from libgomp (a part of gcc-4.4 package), which is correctly linked to the SO: # ldd ./src/libosra_java.so | grep gomp libgomp.so.1 = /usr/lib/libgomp.so.1 (0xb68df000) you may want to check through

Re: dh_shlibdeps warnings concerning undefined OpenMP symbols

2011-03-31 Thread Dmitry Katsubo
On 31.03.2011 18:20, Cyril Brulebois wrote: you may want to check through objdump -x $foo.so|grep NEEDED; ldd shows recursive dependencies. KiBi. KiBi, thanks for the hint. It turned out that libgomp is not listed as direct dependency of my library. Does it mean I have to put gcc-4.4 into

Re: dh_shlibdeps warnings concerning undefined OpenMP symbols

2011-03-31 Thread brian m. carlson
On Thu, Mar 31, 2011 at 09:35:49PM +0200, Dmitry Katsubo wrote: KiBi, thanks for the hint. It turned out that libgomp is not listed as direct dependency of my library. Does it mean I have to put gcc-4.4 into debian/control - Depends and add -lgomp to LIBS explicitly during the linking stage?

Re: dh_shlibdeps warnings concerning undefined OpenMP symbols

2011-03-31 Thread Jakub Wilk
* brian m. carlson sand...@crustytoothpaste.net, 2011-03-31, 20:09: KiBi, thanks for the hint. It turned out that libgomp is not listed as direct dependency of my library. Does it mean I have to put gcc-4.4 into debian/control - Depends and add -lgomp to LIBS explicitly during the linking