issue with building 17.1 with llvm3.8.1, gcc5.3 and glibc2.17

Piotr Oniszczuk <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <[email protected]>
Hi,
I’m trying cross-compile mesa 17.1 on system with llvm3.8.1, gcc5.3.0 and glibc2.17

I’m receiving following error:

libtool: link: x86_64-minimyth-linux-gnu-ranlib glsl/.libs/libstandalone.a
libtool: link: rm -fr glsl/.libs/libstandalone.lax glsl/.libs/libstandalone.lax
libtool: link: ( cd "glsl/.libs" && rm -f "libstandalone.la" && ln -s "../libstandalone.la" "libstandalone.la" )
//home/piotro/minimyth-dev/images/build/bin/bash ../../libtool  --tag=CXX   --mode=link x86_64-minimyth-linux-gnu-g++ -fvisibility=hidden -Werror=pointer-arith -Werror=vla -ffat-lto-objects -lpthread -pipe -flto -pipe -march=x86-64 -mtune=generic -O3 -mfpmath=sse -flto -m64 -Wall -fno-math-errno -fno-trapping-math   -Wl,--as-needed -pipe -flto -pipe -march=x86-64 -mtune=generic -O3 -mfpmath=sse -flto -m64 -o glsl_compiler glsl/main.o glsl/libstandalone.la
libtool: link: x86_64-minimyth-linux-gnu-g++ -fvisibility=hidden -Werror=pointer-arith -Werror=vla -ffat-lto-objects -pipe -flto -pipe -march=x86-64 -mtune=generic -O3 -mfpmath=sse -flto -m64 -Wall -fno-math-errno -fno-trapping-math -Wl,--as-needed -pipe -flto -pipe -march=x86-64 -mtune=generic -O3 -mfpmath=sse -flto -m64 -o glsl_compiler glsl/main.o  glsl/.libs/libstandalone.a -lz -lpthread
/home/piotro/minimyth-dev/images/build/usr/lib/gcc/x86_64-minimyth-linux-gnu/5.3.0/libstdc++.so: undefined reference to `pthread_create'
/home/piotro/minimyth-dev/images/build/usr/lib/gcc/x86_64-minimyth-linux-gnu/5.3.0/libstdc++.so: undefined reference to `pthread_once'
/home/piotro/minimyth-dev/images/build/usr/lib/gcc/x86_64-minimyth-linux-gnu/5.3.0/libstdc++.so: undefined reference to `pthread_join'
collect2: error: ld returned 1 exit status
make[5]: *** [glsl_compiler] Error 1

Have anybody idea where issue is?


_______________________________________________
mesa-users mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.