[Mesa-dev] OSMesa glapi linlking
Kevin DeKorte
kdekorte at gmail.com
Tue Jan 31 08:43:07 PST 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 01/31/2012 09:14 AM, Matt Turner wrote:
> On Tue, Jan 31, 2012 at 10:50 AM, Kevin H. Hobbs <hobbsk at ohio.edu>
> wrote:
>> On 01/31/2012 09:53 AM, Brian Paul wrote:
>>>
>>> Kevin,
>>>
>>> I just pushed a couple osmesa fixes to master and the 8.0
>>> branch. Can you give it a try?
>>>
>>> Thinks seem to fix things on the 8.0 branch but I'm unable to
>>> verify on master due to some other regressions ATM.
>>>
>>> -Brian
>>>
>>
>> [kevin at bubbles mesa]$ git branch * 8.0 master [kevin at bubbles
>> mesa]$ make make[1]: Entering directory `/home/kevin/mesa/src'
>> Making sources for autoconf gmake[2]: Entering directory
>> `/home/kevin/mesa/src/mapi/glapi' gmake[2]: Nothing to be done
>> for `default'. gmake[2]: Leaving directory
>> `/home/kevin/mesa/src/mapi/glapi' gmake[2]: Entering directory
>> `/home/kevin/mesa/src/glsl' g++ -g -O2 -Wall -fno-strict-aliasing
>> -fno-builtin-memcmp -fPIC -D_GNU_SOURCE -DPTHREADS
>> -DHAVE_POSIX_MEMALIGN -DHAVE_MINCORE -DHAVE_LIBUDEV
>> -D__STDC_CONSTANT_MACROS -DHAVE_LLVM=0x0208 -DFEATURE_GL=1
>> -fvisibility=hidden -c -o glsl_lexer.o glsl_lexer.cc In file
>> included from glsl_parser_extras.h:35:0, from ast.h:30, from
>> glsl_lexer.ll:27: glsl_symbol_table.h:32:34: fatal error:
>> program/symbol_table.h: No such file or directory compilation
>> terminated. gmake[2]: *** [glsl_lexer.o] Error 1 gmake[2]:
>> Leaving directory `/home/kevin/mesa/src/glsl' make[1]: ***
>> [subdirs] Error 1 make[1]: Leaving directory
>> `/home/kevin/mesa/src' make: *** [default] Error 1
>>
>>
>>
>> [kevin at bubbles mesa]$ git branch 8.0 * master [kevin at bubbles
>> mesa]$ make make[1]: Entering directory `/home/kevin/mesa/src'
>> Making sources for autoconf gmake[2]: Entering directory
>> `/home/kevin/mesa/src/mapi/glapi' gmake[2]: Nothing to be done
>> for `default'. gmake[2]: Leaving directory
>> `/home/kevin/mesa/src/mapi/glapi' gmake[2]: Entering directory
>> `/home/kevin/mesa/src/glsl' gmake all-recursive gmake[3]:
>> Entering directory `/home/kevin/mesa/src/glsl' Making all in
>> glcpp gmake[4]: Entering directory
>> `/home/kevin/mesa/src/glsl/glcpp' gmake all-am gmake[5]:
>> Entering directory `/home/kevin/mesa/src/glsl/glcpp' CCLD
>> libglcpp.la ar: .libs/glcpp-lex.o: No such file or directory
>> gmake[5]: *** [libglcpp.la] Error 1 gmake[5]: Leaving directory
>> `/home/kevin/mesa/src/glsl/glcpp' gmake[4]: *** [all] Error 2
>> gmake[4]: Leaving directory `/home/kevin/mesa/src/glsl/glcpp'
>> gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory
>> `/home/kevin/mesa/src/glsl' gmake[2]: *** [all] Error 2 gmake[2]:
>> Leaving directory `/home/kevin/mesa/src/glsl' make[1]: ***
>> [subdirs] Error 1 make[1]: Leaving directory
>> `/home/kevin/mesa/src' make: *** [default] Error 1
>
> You cannot change branches or bisect without running autogen.sh
> (and maybe git clean to be safe). I see glsl_lexer.cc in your log,
> which exists only in the master branch.
> _______________________________________________ mesa-dev mailing
> list mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
I think libglsl might not be being passed the linker flags..
I build with this setup that worked yesterday..
./autogen.sh --prefix=/usr --libdir=/usr/lib --with-dri-drivers=""
- --with-gallium-drivers=r600,swrast --enable-gallium-egl
- --enable-openvg --enable-gles1 --enable-gles2 --enable-texture-float
- --enable-vdpau --enable-xvmc --enable-osmesa --enable-32-bit
- --enable-gallium-llvm --enable-texture-float
I'm guessing it is not being passed the correct libpath. Because the
libaries should be coming from i686 rather than x86_64
CXXLD libglsl.la
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-redhat-linux/4.6.2/libstdc++.so when searching for
- -lstdc++
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-redhat-linux/4.6.2/../../../../lib64/libm.so when
searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/../lib64/libm.so when
searching for -lm
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-redhat-linux/4.6.2/../../../../lib64/libc.so when
searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/../lib64/libc.so when
searching for -lc
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-redhat-linux/4.6.2/libgcc_s.so when searching for
- -lgcc_s
/usr/bin/ld: i386:x86-64 architecture of input file
`/usr/lib/gcc/x86_64-redhat-linux/4.6.2/../../../../lib64/crti.o' is
incompatible with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file
`/usr/lib/gcc/x86_64-redhat-linux/4.6.2/crtbeginS.o' is incompatible
with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file
`/usr/lib/gcc/x86_64-redhat-linux/4.6.2/crtendS.o' is incompatible
with i386 output
/usr/bin/ld: i386:x86-64 architecture of input file
`/usr/lib/gcc/x86_64-redhat-linux/4.6.2/../../../../lib64/crtn.o' is
incompatible with i386 output
collect2: ld returned 1 exit status
gmake[4]: *** [libglsl.la] Error 1
gmake[4]: Leaving directory `/home/kdekorte/git/mesa-32/src/glsl'
- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk8oGhsACgkQ6w2kMH0L1dGSAgCeJwykl7o1E/9LN80DC4ydVdx5
AfkAmQHnPoUtsxNTVVArGYwAM/ie11jO
=9SJH
-----END PGP SIGNATURE-----
More information about the mesa-dev
mailing list