Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 502956 - sys-apps/hwloc-1.8.1 USE=gl - configure: WARNING: Specified --enable-gl switch, but could not find appropriate support -/ /- ld: /usr/lib/libXNVCtrl.a(NVCtrl.o): undefined reference to symbol '_XSetLastRequestRead'
Summary: sys-apps/hwloc-1.8.1 USE=gl - configure: WARNING: Specified --enable-gl switc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Kacper Kowalik (Xarthisius) (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-02-27 10:12 UTC by Andrew Savchenko
Modified: 2014-02-28 17:26 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,13.33 KB, text/plain)
2014-02-27 10:15 UTC, Andrew Savchenko
Details
config.log (config.log,307.07 KB, text/plain)
2014-02-27 10:15 UTC, Andrew Savchenko
Details
emerge --info (emerge.info,9.00 KB, text/plain)
2014-02-27 10:15 UTC, Andrew Savchenko
Details
hwloc-1.8.1-gl.patch (hwloc-1.8.1-gl.patch,542 bytes, patch)
2014-02-27 10:18 UTC, Andrew Savchenko
Details | Diff
hwloc-1.8.1.ebuild.patch (hwloc-1.8.1.ebuild.patch,325 bytes, patch)
2014-02-27 10:21 UTC, Andrew Savchenko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Savchenko gentoo-dev 2014-02-27 10:12:26 UTC
Hello,

hwloc-1.8.1[gl] fails to configure due to underlinking in configute test:

checking for XNVCTRLQueryTargetAttribute in -lXNVCtrl... no
configure: WARNING: Specified --enable-gl switch, but could not
configure: WARNING: find appropriate support
configure: error: Cannot continue

from config.log:
configure:14890: checking for XNVCTRLQueryTargetAttribute in -lXNVCtrl
configure:14915: i686-pc-linux-gnu-gcc -o conftest -march=native -m32 -O2 -funswitch-loops -fpredictive-commoning -ftree-vectorize -ftree-slp-vectorize -fvect-cost-model  -fgcse-after-reload -ftree-partial-pre -ftree-loop-im -fweb -frename-registers -fomit-frame-pointer  -mfpmath=sse -pipe -frecord-gcc-switches  -march=native -m32 -O2 -funswitch-loops -fpredictive-commoning -pipe -Wl,-O1,--as-needed,--sort-common,-z,combreloc,-z,relro,-z,now,--relax,--hash-style=gnu conftest.c -lXNVCtrl -lXext  >&5
/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../../i686-pc-linux-gnu/bin/ld: /usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../../lib/libXNVCtrl.a(NVCtrl.o): undefined reference to symbol '_XSetLastRequestRead'
Comment 1 Andrew Savchenko gentoo-dev 2014-02-27 10:15:10 UTC
Created attachment 371378 [details]
build.log
Comment 2 Andrew Savchenko gentoo-dev 2014-02-27 10:15:24 UTC
Created attachment 371380 [details]
config.log
Comment 3 Andrew Savchenko gentoo-dev 2014-02-27 10:15:37 UTC
Created attachment 371382 [details]
emerge --info
Comment 4 Andrew Savchenko gentoo-dev 2014-02-27 10:18:50 UTC
Created attachment 371384 [details, diff]
hwloc-1.8.1-gl.patch

Fix underlinking in configure test.
Comment 5 Andrew Savchenko gentoo-dev 2014-02-27 10:21:38 UTC
Created attachment 371386 [details, diff]
hwloc-1.8.1.ebuild.patch

Ebuild patch to apply gl fix.
Comment 6 Sébastien Fabbro (RETIRED) gentoo-dev 2014-02-28 17:26:08 UTC
+  28 Feb 2014; Sébastien Fabbro <bicatali@gentoo.org>
+  +files/hwloc-1.8.1-gl.patch, hwloc-1.8.1.ebuild:
+  Fixed underlinking for gl flag, thanks Andrew Savchenko bug #502956
+