Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mesa-17.1.10: undefined `gbm_bo_create_with_modifiers'
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
kajzer
Guru
Guru


Joined: 27 Nov 2014
Posts: 434

PostPosted: Fri Dec 08, 2017 2:12 am    Post subject: mesa-17.1.10: undefined `gbm_bo_create_with_modifiers' Reply with quote

[Moderator note: this was originally a Me-too post on mesa does not build, but that thread is a different problem. -Hu]

It fails to build for me as well, had to mask mesa 17.1.10, llvm version I have is 3.9.1-r1

Code:
libtool: relink: x86_64-pc-linux-gnu-gcc -m32 -shared  -fPIC -DPIC  -Wl,--whole-archive ./.libs/libEGL_common.a -Wl,--no-whole-archive  -lpthread -L/usr/lib32 -lxcb-dri2 -lX11-xcb -lX11 -lxcb -lxcb-dri3 -lxcb-xfixes -lxcb-present -lxcb-sync -lxshmfence -L/var/tmp/portage/media-libs/mesa-17.1.10/image//usr/lib32 -lgbm -lexpat -lm -ldl -ldrm  -m32 -march=native -O2 -Wl,-Bsymbolic -Wl,--gc-sections -Wl,--no-undefined -Wl,-O1 -Wl,--as-needed   -pthread -Wl,-soname -Wl,libEGL.so.1 -o .libs/libEGL.so.1.0.0
./.libs/libEGL_common.a(platform_drm.o): In function `get_back_bo':
platform_drm.c:(.text+0x1dd): undefined reference to `gbm_bo_create_with_modifiers'
collect2: error: ld returned 1 exit status
libtool:   error: error: relink 'libEGL.la' with the above command before installing it
make[5]: *** [Makefile:959: install-libLTLIBRARIES] Error 1
make[5]: Leaving directory '/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10-abi_x86_32.x86/src/egl'
make[4]: *** [Makefile:1459: install-am] Error 2
make[4]: Leaving directory '/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10-abi_x86_32.x86/src/egl'
make[3]: *** [Makefile:1453: install] Error 2
make[3]: Leaving directory '/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10-abi_x86_32.x86/src/egl'
make[2]: *** [Makefile:851: install-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10-abi_x86_32.x86/src'
make[1]: *** [Makefile:1008: install] Error 2
make[1]: Leaving directory '/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10-abi_x86_32.x86/src'
make: *** [Makefile:643: install-recursive] Error 1
 * ERROR: media-libs/mesa-17.1.10::gentoo failed (install phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=media-libs/mesa-17.1.10::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/mesa-17.1.10::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/mesa-17.1.10/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/mesa-17.1.10/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10-abi_x86_32.x86'
 * S: '/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10'

>>> Failed to emerge media-libs/mesa-17.1.10, Log file:

>>>  '/var/tmp/portage/media-libs/mesa-17.1.10/temp/build.log'

 * Messages for package media-libs/mesa-17.1.10:

 * ERROR: media-libs/mesa-17.1.10::gentoo failed (install phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=media-libs/mesa-17.1.10::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/mesa-17.1.10::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/mesa-17.1.10/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/mesa-17.1.10/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10-abi_x86_32.x86'
 * S: '/var/tmp/portage/media-libs/mesa-17.1.10/work/mesa-17.1.10'
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 21797
Location: here

PostPosted: Fri Dec 08, 2017 10:34 am    Post subject: Reply with quote

Related bug
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
kajzer
Guru
Guru


Joined: 27 Nov 2014
Posts: 434

PostPosted: Fri Dec 08, 2017 2:35 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Related bug


Worked fine after I removed /usr/lib32/libgbm.so, as suggested in that bug report from some users.
That removal should be done in the ebuild itself I guess, or something.

Edit: But Steam refuses to launch and gives segfault
Code:
[  +0.288150] steam[4862]: segfault at 11c ip 00000000f6b82a1d sp 00000000ffe39e30 error 4 in i915g_dri.so[f66ff000+6f5000]


Though this is most likely something in Mesa and has nothing to do with Gentoo, I just don't have the time to investigate this further at this point so I reverted back to 17.0.6

Edit 2: Steam not launching was due to something else and had nothing to do with mesa and this bug.


Last edited by kajzer on Sat Dec 23, 2017 8:34 pm; edited 1 time in total
Back to top
View user's profile Send private message
lostpaperclips
n00b
n00b


Joined: 19 Jun 2011
Posts: 13
Location: United States

PostPosted: Tue Dec 12, 2017 7:17 am    Post subject: Useful, but first to get here... Reply with quote

This forum posting was useful, but to first get here I need to add the egl use flag for x11-apps/mesa-progs:

Code:
x11-apps/mesa-progs egl
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum