Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 349078 - sys-devel/libtool should handle -fopenmp/-openmp similar to -pthreads and similar
Summary: sys-devel/libtool should handle -fopenmp/-openmp similar to -pthreads and sim...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://lists.gnu.org/archive/html/bug...
Whiteboard:
Keywords:
: 370117 375447 (view as bug list)
Depends on:
Blocks: 385813
  Show dependency tree
 
Reported: 2010-12-19 13:56 UTC by Justin Lecher (RETIRED)
Modified: 2024-03-24 08:41 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Lecher (RETIRED) gentoo-dev 2010-12-19 13:56:41 UTC
When passing -fopenmp to a linker, the compiler links against internally with the openmp lib. Current libtool doesn't pass -(f)openmp to the linker resulting in borken linkage against libgomp.so or similar. Libtool should handle it similar to *threads flag.
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2010-12-19 13:57:48 UTC
Similar bug like #314095 happen.
Comment 2 SpanKY gentoo-dev 2010-12-19 22:36:09 UTC
ive gotten us out of the business of changing libtool.  reports about libtool ignoring linker flags should go to bug-libtool@gnu.org:
http://lists.gnu.org/mailman/listinfo/bug-libtool
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2010-12-26 10:12:04 UTC
How is normally the contact to upstream? I didn't got any reply.
Comment 4 SpanKY gentoo-dev 2010-12-26 18:35:18 UTC
i saw your report to the list.  that is the correct place.  now to wait.
Comment 5 Sébastien Fabbro (RETIRED) gentoo-dev 2011-06-09 22:13:33 UTC
*** Bug 370117 has been marked as a duplicate of this bug. ***
Comment 6 Justin Lecher (RETIRED) gentoo-dev 2011-06-10 07:21:39 UTC
The bug was fixed upstream and the patches got accepted. Just waiting for the official release now.
Comment 7 SpanKY gentoo-dev 2011-06-11 23:50:10 UTC
if the patches are not invasive, and you can post the commit ids, we can add a rev bump with them in it
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2011-06-12 00:32:31 UTC
I'd suggest adding them to elibtoolize as well though.
Comment 9 Justin Lecher (RETIRED) gentoo-dev 2011-06-12 06:50:31 UTC
Its SHA 1b76054f4763a28ae1b01fbeee86ba0c524d1923 in upstream git with me as author.
Comment 10 Justin Lecher (RETIRED) gentoo-dev 2011-07-17 10:39:21 UTC
*** Bug 375447 has been marked as a duplicate of this bug. ***
Comment 11 Justin Lecher (RETIRED) gentoo-dev 2011-07-17 10:39:49 UTC
Can we get this bug fixed?
Comment 12 SpanKY gentoo-dev 2011-09-23 04:17:49 UTC
should be all set now in the tree; thanks for the report!

Commit message: Unify live/release ebuilds again.  Add patch from upstream for openmp when linking
http://sources.gentoo.org/sys-devel/libtool/files/libtool-2.4-openmp.patch?rev=1.1
http://sources.gentoo.org/sys-devel/libtool/libtool-2.4-r2.ebuild?rev=1.1
http://sources.gentoo.org/sys-devel/libtool/libtool-9999.ebuild?r1=1.6&r2=1.7