Hello, seems my question was wrong - sorry. Actually looks like your toolchain doesn't support this sys-call. Think, you could try or update your toolchain if it possible to be containing SYS_memfd_create or you could try to use meson ( https://ubuntu.pkgs.org/18.10/ubuntu-universe-i386/meson_0.47.2-1ubuntu2_all.deb.html) instead of autotools Note: for meson option '-Dtools' should't contain 'intel'
On Mon, Mar 18, 2019 at 12:32 PM Milav <milav.s...@teqdiligent.com> wrote: > Hello Romantsov, > > Here i have sent uname -a result. > > teqdiligent@ubuntu:~$ uname -a > Linux ubuntu 4.2.0-27-generic #32~14.04.1-Ubuntu SMP Fri Jan 22 15:32:26 > UTC 2016 x86_64 x86_64 x86_64 GNU/Linux > teqdiligent@ubuntu:~$ > > > ------------------------------------------------------------------------------------------------------------------------------- > > in '/usr/include/bits/syscall.h' there is no define of *memfd_create.* > > > ------------------------------------------------------------------------------------------------------------------------------- > > Regards > > Milav > On 3/15/19 5:12 PM, Sergii Romantsov wrote: > > /home/teqdiligent/sources/xorg/git/mesa/mesa/src/intel/tools/aub_mem.c: In >> function 'memfd_create': >> /home/teqdiligent/sources/xorg/git/mesa/mesa/src/intel/tools/aub_mem.c:37:19: >> error: 'SYS_memfd_create' undeclared (first use in this function) >> /home/teqdiligent/sources/xorg/git/mesa/mesa/src/intel/tools/aub_mem.c:37:19: >> note: each undeclared identifier is reported only once for each function it >> appears in > > What is your kernel (uname -a)? > Seems memfd_create is supported from 3.17 > And just for case what is content of file '/usr/include/bits/syscall.h'? > > On Fri, Mar 15, 2019 at 10:26 AM Milav <milav.s...@teqdiligent.com> wrote: > >> Hello Sir, >> >> This Is Milav Soni From TEQ DILIGENT. >> >> I cross compiled the xserver using jhbuild. >> >> I follow the following link. >> >> https://www.x.org/wiki/CrossCompilingXorg/ >> >> But when it comes in mesa configuration, it gives following error. >> >> >> /*------------------------------------------------------error-------------------------------------------------------------------------*/ >> >> copying selected object files to avoid basename conflicts... >> CXXLD glsl_compiler >> make[4]: Leaving directory >> `/home/teqdiligent/.cache/jhbuild/build/mesa/mesa/src/compiler' >> make[3]: Leaving directory >> `/home/teqdiligent/.cache/jhbuild/build/mesa/mesa/src/compiler' >> Making all in intel >> make[3]: Entering directory >> `/home/teqdiligent/.cache/jhbuild/build/mesa/mesa/src/intel' >> make all-am >> make[4]: Entering directory >> `/home/teqdiligent/.cache/jhbuild/build/mesa/mesa/src/intel' >> CC isl/libisl_tiled_memcpy_sse41_la-isl_tiled_memcpy_sse41.lo >> CC tools/tools_aubinator-aub_mem.o >> /home/teqdiligent/sources/xorg/git/mesa/mesa/src/intel/tools/aub_mem.c: >> In function 'memfd_create': >> /home/teqdiligent/sources/xorg/git/mesa/mesa/src/intel/tools/aub_mem.c:37:19: >> error: 'SYS_memfd_create' undeclared (first use in this function) >> /home/teqdiligent/sources/xorg/git/mesa/mesa/src/intel/tools/aub_mem.c:37:19: >> note: each undeclared identifier is reported only once for each function it >> appears in >> make[4]: *** [tools/tools_aubinator-aub_mem.o] Error 1 >> make[4]: *** Waiting for unfinished jobs.... >> *arm-cortexa8-linux-gnueabihf-gcc: error: unrecognized command line >> option '-msse4.1'* >> make[4]: *** [isl/libisl_tiled_memcpy_sse41_la-isl_tiled_memcpy_sse41.lo] >> Error 1 >> make[4]: Leaving directory >> `/home/teqdiligent/.cache/jhbuild/build/mesa/mesa/src/intel' >> make[3]: *** [all] Error 2 >> make[3]: Leaving directory >> `/home/teqdiligent/.cache/jhbuild/build/mesa/mesa/src/intel' >> make[2]: *** [all-recursive] Error 1 >> make[2]: Leaving directory >> `/home/teqdiligent/.cache/jhbuild/build/mesa/mesa/src' >> make[1]: *** [all] Error 2 >> make[1]: Leaving directory >> `/home/teqdiligent/.cache/jhbuild/build/mesa/mesa/src' >> make: *** [all-recursive] Error 1 >> *** Error during phase build of mesa-mesa: ########## Error running make >> -j 2 *** [37/38] >> >> [1] Rerun phase build >> [2] Ignore error and continue to install >> [3] Give up on module >> [4] Start shell >> [5] Reload configuration >> [6] Go to phase "wipe directory and start over" >> [7] Go to phase "configure" >> [8] Go to phase "clean" >> [9] Go to phase "distclean" >> choice: ^X^CInterrupted >> teqdiligent@ubuntu:~$ >> >> >> /*-----------------------------------------------------------------------------------------------------------------------------------*/ >> >> I use following configuration. >> >> $/home/teqdiligent/sources/xorg/git/mesa/mesa/autogen.sh --prefix >> /home/teqdiligent/jhbuild/wega_build/usr/local --disable-Werror >> --enable-autotools --enable-xa --disable-static --disable-dri2 >> --with-driver=dri --cache-file=~/sources/xorg/git/autoconf-cache >> --with-log-dir=/var/log --with-mesa-source=~/sources/xorg/git/mesa >> --enable-malloc0returnsnull --build=x86_64-unknown-linux-gnu >> --host=arm-cortexa8-linux-gnueabihf --target=arm-cortexa8-linux-gnueabihf >> AR="/home/teqdiligent/HMI_SCADA/Toolchain/arm-cortexa8-linux-gnueabihf/bin/arm-cortexa8-linux-gnueabihf-ar" >> RANLIB="/home/teqdiligent/HMI_SCADA/Toolchain/arm-cortexa8-linux-gnueabihf/bin/arm-cortexa8-linux-gnueabihf-ranlib" >> STRIP="/home/teqdiligent/HMI_SCADA/Toolchain/arm-cortexa8-linux-gnueabihf/bin/arm-cortexa8-linux-gnueabihf-strip" >> AS="/home/teqdiligent/HMI_SCADA/Toolchain/arm-cortexa8-linux-gnueabihf/bin/arm-cortexa8-linux-gnueabihf-as" >> OBJDUMP="/home/teqdiligent/HMI_SCADA/Toolchain/arm-cortexa8-linux-gnueabihf/bin/arm-cortexa8-linux-gnueabihf-objdump" >> NM="/home/teqdiligent/HMI_SCADA/Toolchain/arm-cortexa8-linux-gnueabihf/bin/arm-cortexa8-linux-gnueabihf-nm" >> >> >> >> please help me to sort out this problem. >> >> Looking forward hearing from you. >> >> Regards >> >> Milav Soni >> >> >> _______________________________________________ >> mesa-dev mailing list >> mesa-dev@lists.freedesktop.org >> https://lists.freedesktop.org/mailman/listinfo/mesa-dev > > > >
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev