Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X11 installation fails
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
johanneshau
n00b
n00b


Joined: 16 Oct 2011
Posts: 3

PostPosted: Sat Nov 05, 2011 2:25 pm    Post subject: X11 installation fails Reply with quote

I am trying to install Gentoo on a Siemens Fujitsu Secenic 510 laptop. I installed a basic system and it works. When I do "emerge xorg-server" it would fail. The package which fails is "llvm", which apparently is required by X11. Here is the error message when doing "emerge llvm":
Code:

make[1]: Entering directory `/var/tmp/portage/sys-devel/llvm-2.8-r2/work/llvm-2.8/tools/llvm-shlib'
llvm[1]: Linking Release Shared Library libLLVM-2.8.so
/var/tmp/portage/sys-devel/llvm-2.8-r2/work/llvm-2.8/Release/lib/libLLVMCodeGen.a(LLVMTargetMachine.o):(.data.rel.ro._ZTIN4llvm17LLVMTargetMachineE[typeinfo for llvm::LLVMTargetMachine]+0x8): undefined reference to `typeinfo for llvm::TargetMachine'
/var/tmp/portage/sys-devel/llvm-2.8-r2/work/llvm-2.8/Release/lib/libLLVMCodeGen.a(TargetInstrInfoImpl.o):(.data.rel.ro._ZTIN4llvm19TargetInstrInfoImplE[typeinfo for llvm::TargetInstrInfoImpl]+0x8): undefined reference to `typeinfo for llvm::TargetInstrInfo'
/var/tmp/portage/sys-devel/llvm-2.8-r2/work/llvm-2.8/Release/lib/libLLVMCodeGen.a(TargetLoweringObjectFileImpl.o):(.data.rel.ro._ZTIN4llvm28TargetLoweringObjectFileCOFFE[typeinfo for llvm::TargetLoweringObjectFileCOFF]+0x8): undefined reference to `typeinfo for llvm::TargetLoweringObjectFile'
/var/tmp/portage/sys-devel/llvm-2.8-r2/work/llvm-2.8/Release/lib/libLLVMCodeGen.a(TargetLoweringObjectFileImpl.o):(.data.rel.ro._ZTIN4llvm29TargetLoweringObjectFileMachOE[typeinfo for llvm::TargetLoweringObjectFileMachO]+0x8): undefined reference to `typeinfo for llvm::TargetLoweringObjectFile'
/var/tmp/portage/sys-devel/llvm-2.8-r2/work/llvm-2.8/Release/lib/libLLVMCodeGen.a(TargetLoweringObjectFileImpl.o):(.data.rel.ro._ZTIN4llvm27TargetLoweringObjectFileELFE[typeinfo for llvm::TargetLoweringObjectFileELF]+0x8): undefined reference to `typeinfo
for llvm::TargetLoweringObjectFile'
collect2: ld returned 1 exit status
make[1]: *** [/var/tmp/portage/sys-devel/llvm-2.8-r2/work/llvm-2.8/Release/lib/libLLVM-2.8.so] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-devel/llvm-2.8-r2/work/llvm-2.8/tools/llvm-shlib'
make: *** [all] Error 1

This is the output of "emerge -pqv llvm"
Code:

[ebuild  N    ] sys-devel/llvm-2.8-r2  USE="libffi -debug -llvm-gcc -multitarget -ocaml -test -udis86"

Do I have to set (or unset) a USE variable? Did anybody have a similar problem?
Any hints are appreciated! Thanks,

Johannes
Back to top
View user's profile Send private message
DawgG
l33t
l33t


Joined: 17 Sep 2003
Posts: 866

PostPosted: Mon Nov 07, 2011 10:24 am    Post subject: Reply with quote

llvm is pulled in by mesa; i think it is required by mesa's gallium useflag. if you want to use the modern features of free x-drivers (nouveau, radeon etc with kms, accelleration) gallium is required; if you use binary drivers (eg nvidia binary, fglrx) i think it is not required.
you can check with equery (part of app-portage/gentoolkit)
Code:
equery h llvm (...)
equery u mesa (...)
(sorry, i'm at a machine where all this is not installed so i can't post the output)

or read the corresponding ebuilds.
GOOD LUCK!
_________________
DUMM KLICKT GUT.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6196

PostPosted: Mon Nov 07, 2011 3:38 pm    Post subject: Reply with quote

The errors seem C++ related.

What's the same info on gcc (and 'gcc-config -l') ?
Back to top
View user's profile Send private message
johanneshau
n00b
n00b


Joined: 16 Oct 2011
Posts: 3

PostPosted: Sun Nov 13, 2011 7:39 pm    Post subject: Reply with quote

Thanks for the tip. I disabled gallium and it worked. Great forum here!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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