From mboxrd@z Thu Jan 1 00:00:00 1970
From: bugzilla-daemon@freedesktop.org
Subject: [Bug 64810] EGL/Gles/Weston give segfault on RADEONSI with
egl_gallium.so
Date: Thu, 29 Aug 2013 23:51:40 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0643984038=="
Return-path:
Received: from culpepper.freedesktop.org (unknown [131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 98700E62E7
for ;
Thu, 29 Aug 2013 16:51:40 -0700 (PDT)
In-Reply-To:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org
To: dri-devel@lists.freedesktop.org
List-Id: dri-devel@lists.freedesktop.org
--===============0643984038==
Content-Type: multipart/alternative; boundary="1377820300.2f4d1.20185"; charset="us-ascii"
--1377820300.2f4d1.20185
Date: Thu, 29 Aug 2013 23:51:40 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
https://bugs.freedesktop.org/show_bug.cgi?id=64810
--- Comment #16 from tux_mind ---
applied your patch, got a missing mesalibdir error in automake.
added this:
dnl Where to install internal libraries
mesalibdir="\$(libdir)/mesa-${VERSION}"
AC_SUBST([mesalibdir])
to configure.ac to get automake works fine.
after a bit of compiling i get:
libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC
.libs/libllvmradeon9.2.0-rc1_la-radeon_uvd.o
.libs/libllvmradeon9.2.0-rc1_la-radeon_setup_tgsi_llvm.o
.libs/libllvmradeon9.2.0-rc1_la-radeon_llvm_emit.o
.libs/libllvmradeon9.2.0-rc1_la-radeon_llvm_util.o -Wl,--whole-archive
../../../../src/gallium/auxiliary/.libs/libgallium.a -Wl,--no-whole-archive
-L/usr/lib64/llvm -lz -lpthread -lffi -ldl -lm -Wl,--as-needed -lrt -lelf
-march=corei7 -O0 -Wl,--no-undefined -Wl,-R -Wl,/usr/lib64/llvm -Wl,-O1
-Wl,-soname -Wl,libllvmradeon9.2.0-rc1.so -o .libs/libllvmradeon9.2.0-rc1.so
.libs/libllvmradeon9.2.0-rc1_la-radeon_setup_tgsi_llvm.o: In function
`tgsi2llvmtype':
/var/tmp/portage/media-libs/mesa-9.2.0_rc1/work/Mesa-9.2.0-rc1/src/gallium/drivers/radeon/radeon_llvm.h:139:
undefined reference to `LLVMInt32TypeInContext'
followed by hundreds of:
undefined reference to `LLVM$whatever'
probably it's missing a -lllvm when making the shared object.
but i read that llvm ldflag it's something special and need to be taken from
llvm-config --ldflags output.
after a little search in mesa sources i find that a scons script ( never heard
of this language before ) call env.ParseConfig on llvm-config output:
http://www.scons.org/doc/1.2.0/HTML/scons-user/c1814.html
https://github.com/jobermayr/mesa/blob/master/scons/llvm.py
how can i fix that?
thanks for your support :)
PS: i'm keeping using my dirty-patched version without problems ;)
--
You are receiving this mail because:
You are the assignee for the bug.
--1377820300.2f4d1.20185
Date: Thu, 29 Aug 2013 23:51:40 +0000
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Comment # 16
on bug 64810
from tux_mind
applied your patch, got a missing mesalibdir error in automake.
added this:
dnl Where to install internal libraries
mesalibdir="\$(libdir)/mesa-${VERSION}"
AC_SUBST([mesalibdir])
to configure.ac to get automake works fine.
after a bit of compiling i get:
libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC
.libs/libllvmradeon9.2.0-rc1_la-radeon_uvd.o
.libs/libllvmradeon9.2.0-rc1_la-radeon_setup_tgsi_llvm.o
.libs/libllvmradeon9.2.0-rc1_la-radeon_llvm_emit.o
.libs/libllvmradeon9.2.0-rc1_la-radeon_llvm_util.o -Wl,--whole-archive
../../../../src/gallium/auxiliary/.libs/libgallium.a -Wl,--no-whole-archive
-L/usr/lib64/llvm -lz -lpthread -lffi -ldl -lm -Wl,--as-needed -lrt -lelf
-march=corei7 -O0 -Wl,--no-undefined -Wl,-R -Wl,/usr/lib64/llvm -Wl,-O1
-Wl,-soname -Wl,libllvmradeon9.2.0-rc1.so -o .libs/libllvmradeon9.2.0-rc1.so
.libs/libllvmradeon9.2.0-rc1_la-radeon_setup_tgsi_llvm.o: In function
`tgsi2llvmtype':
/var/tmp/portage/media-libs/mesa-9.2.0_rc1/work/Mesa-9.2.0-rc1/src/gallium/drivers/radeon/radeon_llvm.h:139:
undefined reference to `LLVMInt32TypeInContext'
followed by hundreds of:
undefined reference to `LLVM$whatever'
probably it's missing a -lllvm when making the shared object.
but i read that llvm ldflag it's something special and need to be taken from
llvm-config --ldflags output.
after a little search in mesa sources i find that a scons script ( never heard
of this language before ) call env.ParseConfig on llvm-config output:
http://www.scons.org/doc/1.2.0/HTML/scons-user/c1814.html
https://github.com/jobermayr/mesa/blob/master/scons/llvm.py
how can i fix that?
thanks for your support :)
PS: i'm keeping using my dirty-patched version without problems ;)
You are receiving this mail because:
- You are the assignee for the bug.
--1377820300.2f4d1.20185--
--===============0643984038==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
--===============0643984038==--