Summary: | sci-libs/minuit[openmp]: fails with forced --as-needed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Gentoo Science Related Packages <sci> |
Status: | RESOLVED FIXED | ||
Severity: | QA | CC: | esigra, jarausch, xarthisius |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.gentoo.org/proj/en/qa/asneeded.xml | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 129413 | ||
Attachments: | Build log |
Description
Diego Elio Pettenò (RETIRED)
2010-04-09 12:23:51 UTC
Created attachment 227107 [details]
Build log
This one is tricky. It's rather problem with libtool. The linking call: /bin/sh ../libtool --tag=CXX --mode=link x86_64-pc-linux-gnu-g++ -fopenmp -O2 -pipe -Wall -fopenmp -Wl,--as-needed,--hash-style=gnu,-O1 -o libMinuit2.la -rpath /usr/lib64 *.lo results in: x86_64-pc-linux-gnu-g++ -shared -nostdlib *.o (some -L and -l) -Wl,--as-needed -Wl,--hash-style=gnu -Wl,-O1 -Wl,-soname -Wl,libMinuit2.so.0 -o .libs/libMinuit2.so.0.0.0 The flag that's missing is -fopenmp and according to GCC manual it _should_ be present during linking, as it brings required libs... *** Bug 300672 has been marked as a duplicate of this bug. *** Should work now: + 02 Jun 2010; Kacper Kowalik <xarthisius@gentoo.org> minuit-5.27.02.ebuild, + +files/minuit-5.27.02-asneeded.patch: + Adding workaround for bug 314095 though be advised that it's not properly fixed. Leaving this bug open. + 01 Jul 2010; Samuli Suominen <ssuominen@gentoo.org> + files/minuit-5.27.02-asneeded.patch: + Update -Wl,--as-needed patch with OpenMP library finding code from + ImageMagick's configure.ac wrt #314095. |