[Mesa-dev] [Bug 48697] --with-llvm-shared-libs build fails for some drivers.
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Apr 14 18:21:10 PDT 2012
https://bugs.freedesktop.org/show_bug.cgi?id=48697
--- Comment #2 from jano.vesely at gmail.com 2012-04-14 18:21:10 PDT ---
I used to call autoreconf -vfi and ./configure instead of autogen.sh (should be
the same).
After make distclean and a fresh start it still fails for me with error:
g++ -Wall -march=native -O3 -fno-builtin-memcmp -Wall -std=c99
-Werror=implicit-function-declaration -Werror=missing-prototypes
-fno-strict-aliasing -fno-builtin-memcmp -m64 -Wall -march=native -O3
-fno-builtin-memcmp -fPIC -DUSE_X86_64_ASM -D_GNU_SOURCE -DPTHREADS
-DTEXTURE_FLOAT_ENABLED -DHAVE_POSIX_MEMALIGN -DUSE_XCB
-DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DUSE_EXTERNAL_DXTN_LIB=1
-DIN_DRI_DRIVER -DHAVE_ALIAS -D__STDC_CONSTANT_MACROS -DHAVE_LLVM=0x0300
-fvisibility=hidden -o nouveau_dri.so.test
../../../../src/mesa/drivers/dri/common/dri_test.o nouveau_dri.so.tmp
-L../../../../lib -Wl,-R/usr/local/lib/dri -ldricore -lglsl -ldrm -lexpat
-lm -lpthread -ldl -ldrm_nouveau -L/usr/lib64/llvm -lpthread -lffi -ldl -lm
;
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld:
warning: libLLVM-3.0.so, needed by nouveau_dri.so.tmp, not found (try using
-rpath or -rpath-link)
followed by dozens of udefined reference to errors
LLVM-3.0.so is in /usr/lib64/llvm
the commandline used for autogen:
NOUVEAU_LIBS="-L/home/me/drm/nouveau/.libs/ -ldrm_nouveau" NOUVEAU_CFLAGS="-I
/home/me/drm/include/drm/ -I /home/me/drm/nouveau/" CFLAGS="-Wall -march=native
-O3 -fno-builtin-memcmp" CXXFLAGS="-Wall -march=native -O3 -fno-builtin-memcmp"
./autogen.sh --enable-texture-float --enable-xvmc --enable-vdpau
--with-gallium-drivers=nouveau,swrast --with-dri-drivers= --disable-egl
--enable-64-bit --enable-gallium-g3dvl --with-dri-drivers=i965
--with-llvm-shared-libs
using NOUVEAU_LIBS and NOUVEAU_CFLAGS needed additional patches that replace
call to pkg-config with these variables, it is not related to this bug (I
experienced it before the nouveau changes).
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the mesa-dev
mailing list