Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
media-libs/mesa-9.0.1 fails during emerge [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
todd93
l33t
l33t


Joined: 30 Oct 2006
Posts: 620
Location: Missouri

PostPosted: Sun Feb 17, 2013 2:49 pm    Post subject: media-libs/mesa-9.0.1 fails during emerge [SOLVED] Reply with quote

Hi, I am having trouble with a few packages, but the first is: media-libs/mesa-9.0.1. I had read on these forums that a re-emerge of gcc fixed the compile problem of mesa for them, but it did not work for me. I am getting the following error:

Code:

collect2: ld returned 1 exit status
/usr/lib64/llvm/libLLVMScalarOpts.a(MemCpyOptimizer.o): In function `_ZN12_GLOBAL__N_112MemsetRanges8addRangeEllPN4llvm5ValueEjPNS1_11InstructionE.constprop.243':
(.text+0xfcb): undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
/usr/lib64/llvm/libLLVMScalarOpts.a(MemCpyOptimizer.o): In function `_ZN12_GLOBAL__N_112MemsetRanges8addRangeEllPN4llvm5ValueEjPNS1_11InstructionE.constprop.243':
(.text+0x1104): undefined reference to `gmake[4]: std::__detail::_List_node_base::_M_unhook()'
/usr/lib64/llvm/libLLVMScalarOpts.a(Reg2Mem.o): In function `*** [lp_test_arit] Error 1
(anonymous namespace)::RegToMem::runOnFunction(llvm::Function&)':
(.text+0x1e7): undefined reference to `gmake[4]: *** Waiting for unfinished jobs....
std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
/usr/lib64/llvm/libLLVMScalarOpts.a(Reg2Mem.o): In function `(anonymous namespace)::RegToMem::runOnFunction(llvm::Function&)':
(.text+0x2c2): undefined reference to `std::__detail::_List_node_base::_M_hook(std::__detail::_List_node_base*)'
collect2: ld returned 1 exit status
gmake[4]: *** [lp_test_format] Error 1
gmake[4]: Leaving directory `/var/tmp/portage/media-libs/mesa-9.0.1/work/Mesa-9.0.1/src/gallium/drivers/llvmpipe'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/var/tmp/portage/media-libs/mesa-9.0.1/work/Mesa-9.0.1/src/gallium/drivers'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/var/tmp/portage/media-libs/mesa-9.0.1/work/Mesa-9.0.1/src/gallium'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/media-libs/mesa-9.0.1/work/Mesa-9.0.1/src'
make: *** [all-recursive] Error 1
 * ERROR: media-libs/mesa-9.0.1 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=media-libs/mesa-9.0.1'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/mesa-9.0.1'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/mesa-9.0.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/mesa-9.0.1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/mesa-9.0.1/work/Mesa-9.0.1'
 * S: '/var/tmp/portage/media-libs/mesa-9.0.1/work/Mesa-9.0.1'

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

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

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

 * ERROR: media-libs/mesa-9.0.1 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=media-libs/mesa-9.0.1'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/mesa-9.0.1'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/mesa-9.0.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/mesa-9.0.1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/mesa-9.0.1/work/Mesa-9.0.1'
 * S: '/var/tmp/portage/media-libs/mesa-9.0.1/work/Mesa-9.0.1'


I did not go back too far in the emerge output. I am happy to post more information as needed, but basically I was wondering if anyone else is having, or has had this issue, and what has to be done to resolve it? I appreciate any and all input I can get on this!

Thanks!

Todd


Last edited by todd93 on Sun Feb 17, 2013 8:17 pm; edited 1 time in total
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8936

PostPosted: Sun Feb 17, 2013 3:14 pm    Post subject: Reply with quote

Try `USE="-llvm" emerge -1v mesa` if you (most likely) don't have a use for it. Otherwise, `emerge --info` output would be useful.
Back to top
View user's profile Send private message
todd93
l33t
l33t


Joined: 30 Oct 2006
Posts: 620
Location: Missouri

PostPosted: Sun Feb 17, 2013 8:08 pm    Post subject: Reply with quote

genstorm wrote:
Try `USE="-llvm" emerge -1v mesa` if you (most likely) don't have a use for it. Otherwise, `emerge --info` output would be useful.


Well, that worked perfectly!! I never would've thought about llvm. it emerged without failure, it was so simple! This one is solved!!

Thanks!!

Todd
Back to top
View user's profile Send private message
chessmaster
Tux's lil' helper
Tux's lil' helper


Joined: 05 Apr 2013
Posts: 77

PostPosted: Tue Apr 09, 2013 8:01 pm    Post subject: Reply with quote

This is causing some grief for me. How can I post my emerge --info in forum? my remake keeps failing while trying to install xorg.
Back to top
View user's profile Send private message
chessmaster
Tux's lil' helper
Tux's lil' helper


Joined: 05 Apr 2013
Posts: 77

PostPosted: Tue Apr 09, 2013 9:37 pm    Post subject: Reply with quote

I just went ahead and installed the older mesa no work around was successful. mesa-9.0.1
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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