交叉编译openGL,Ubuntu20.04 to aarch64 (三)

 编译eudev

进入解压后的文件夹:/home/huhu/third_part/openGL/eudev-3.2.5/

新建了一个build和install文件夹

先执行:sudo apt-get install gperf

./configure --prefix=/home/huhu/third_part/openGL/eudev-3.2.5/install CC=aarch64-none-linux-gnu-gcc CXX=aarch64-none-linux-gnu-g++ --disable-selinux --disable-blkid --host=arm-linux

huhu@huhu-System-Product-Name:~/third_part/openGL/eudev-3.2.5$ ./configure --prefix=/home/huhu/third_part/openGL/eudev-3.2.5/install CC=aarch64-none-linux-gnu-gcc CXX=aarch64-none-linux-gnu-g++ --disable-selinux --disable-blkid --host=arm-linux
checking for arm-linux-gcc... aarch64-none-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether aarch64-none-linux-gnu-gcc accepts -g... yes
checking for aarch64-none-linux-gnu-gcc option to accept ISO C89... none needed
checking whether aarch64-none-linux-gnu-gcc understands -c and -o together... yes
checking how to run the C preprocessor... aarch64-none-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-linux-strip... no
checking for strip... strip
configure: WARNING: using cross tools not prefixed with host triplet
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of aarch64-none-linux-gnu-gcc... gcc3
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... arm-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by aarch64-none-linux-gnu-gcc... /opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld
checking if the linker (/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... no
checking for arm-linux-dumpbin... no
checking for arm-linux-link... no
checking for dumpbin... no
checking for link... link -dump
checking the name lister (nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to arm-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld option to reload object files... -r
checking for arm-linux-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for arm-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for arm-linux-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for arm-linux-strip... strip
checking for arm-linux-ranlib... no
checking for ranlib... ranlib
checking command to parse nm output from aarch64-none-linux-gnu-gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for arm-linux-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if aarch64-none-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for aarch64-none-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if aarch64-none-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if aarch64-none-linux-gnu-gcc static flag -static works... yes
checking if aarch64-none-linux-gnu-gcc supports -c -o file.o... yes
checking if aarch64-none-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the aarch64-none-linux-gnu-gcc linker (/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for gawk... (cached) mawk
checking for aarch64-none-linux-gnu-gcc option to accept ISO C99... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether aarch64-none-linux-gnu-g++ accepts -g... yes
checking dependency style of aarch64-none-linux-gnu-g++... gcc3
checking how to run the C++ preprocessor... aarch64-none-linux-gnu-g++ -E
checking for ld used by aarch64-none-linux-gnu-g++... /opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld
checking if the linker (/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld) is GNU ld... yes
checking whether the aarch64-none-linux-gnu-g++ linker (/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld) supports shared libraries... yes
checking for aarch64-none-linux-gnu-g++ option to produce PIC... -fPIC -DPIC
checking if aarch64-none-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes
checking if aarch64-none-linux-gnu-g++ static flag -static works... yes
checking if aarch64-none-linux-gnu-g++ supports -c -o file.o... yes
checking if aarch64-none-linux-gnu-g++ supports -c -o file.o... (cached) yes
checking whether the aarch64-none-linux-gnu-g++ linker (/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking how to run the C preprocessor... aarch64-none-linux-gnu-gcc -E
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for m4... /usr/bin/m4
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking mtd/mtd-user.h usability... yes
checking mtd/mtd-user.h presence... yes
checking for mtd/mtd-user.h... yes
checking linux/btrfs.h usability... yes
checking linux/btrfs.h presence... yes
checking for linux/btrfs.h... yes
checking for uid_t in sys/types.h... yes
checking for inline... inline
checking for mode_t... yes
checking for pid_t... yes
checking for struct stat.st_rdev... yes
checking whether getrandom is declared... no
checking whether gettid is declared... yes
checking whether name_to_handle_at is declared... yes
checking whether accept4 is declared... yes
checking whether mkostemp is declared... yes
checking whether ppoll is declared... yes
checking whether strndupa is declared... yes
checking size of pid_t... 4
checking size of uid_t... 4
checking size of gid_t... 4
checking size of dev_t... 8
checking size of time_t... 8
checking size of rlim_t... 8
checking for unistd.h... (cached) yes
checking for working chown... no
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... cross
configure: WARNING: result yes guessed because of cross compilation
checking for working vfork... (cached) yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking type of array argument to getgroups... gid_t
checking for size_t... yes
checking for getgroups... yes
checking for working getgroups... no
checking whether lstat correctly handles trailing slash... no
checking whether sys/types.h defines makedev... no
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
checking for sys/sysmacros.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... no
checking for alarm... yes
checking for dup2... yes
checking for ftruncate... yes
checking for localtime_r... yes
checking for mempcpy... yes
checking for mkdir... yes
checking for munmap... yes
checking for nl_langinfo... yes
checking for rmdir... yes
checking for setlocale... yes
checking for socket... yes
checking for stpcpy... yes
checking for uname... yes
checking for library containing clock_gettime... none required
checking for cos in -lm... yes
checking for arm-linux-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gobject-introspection... no
checking for mallinfo... yes
checking whether unshare is declared... yes
checking for arm-linux-gperf... no
checking for gperf... /usr/bin/gperf
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating hwdb/Makefile
config.status: creating man/Makefile
config.status: creating rule_generator/Makefile
config.status: creating rule_generator/write_net_rules
config.status: creating rules/Makefile
config.status: creating src/Makefile
config.status: creating src/ata_id/Makefile
config.status: creating src/cdrom_id/Makefile
config.status: creating src/collect/Makefile
config.status: creating src/mtd_probe/Makefile
config.status: creating src/scsi_id/Makefile
config.status: creating src/v4l_id/Makefile
config.status: creating src/shared/Makefile
config.status: creating src/libudev/Makefile
config.status: creating src/libudev/libudev.pc
config.status: creating src/udev/Makefile
config.status: creating src/udev/udev.pc
config.status: creating test/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

        prefix:                  /home/huhu/third_part/openGL/eudev-3.2.5/install
        exec_prefix:             ${prefix}
        sysconfdir:              ${prefix}/etc
        datadir:                 ${datarootdir}
        includedir:              ${prefix}/include
        libdir:                  ${exec_prefix}/lib

        rootprefix:              ${prefix}
        rootlibdir:              ${exec_prefix}/lib
        rootlibexecdir:          ${exec_prefix}/lib/udev
        datarootdir:             ${prefix}/share
        rootrundir:              /run

        udevconfdir:             ${prefix}/etc/udev
        udevconffile:            ${prefix}/etc/udev/udev.conf
        udevhwdbdir:             ${prefix}/etc/udev/hwdb.d
        udevhwdbbin:             ${prefix}/etc/udev/hwdb.bin
        udevlibexecdir:          ${exec_prefix}/lib/udev
        udevkeymapdir:           ${exec_prefix}/lib/udev/keymaps
        udevkeymapforceredir:    ${exec_prefix}/lib/udev/keymaps/force-release
        udevrulesdir:            ${exec_prefix}/lib/udev/rules.d

        pkgconfiglibdir:         ${exec_prefix}/lib/pkgconfig
        sharepkgconfigdir        ${datarootdir}/pkgconfig

        girdir                   ${datarootdir}/gir-1.0
        typelibsdir              ${exec_prefix}/lib/girepository-1.0

make

make install

huhu@huhu-System-Product-Name:~/third_part/openGL/eudev-3.2.5$ make
make  all-recursive
make[1]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5”
Making all in src
make[2]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/src”
Making all in shared
make[3]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/shared”
  CC       conf-files.lo
  CC       device-nodes.lo
  CC       dev-setup.lo
  CC       fileio.lo
  CC       hashmap.lo
  CC       label.lo
  CC       log.lo
  CC       mempool.lo
  CC       mkdir.lo
  CC       mkdir-label.lo
  CC       MurmurHash2.lo
  CC       path-util.lo
  CC       process-util.lo
  CC       random-util.lo
  CC       selinux-util.lo
  CC       siphash24.lo
  CC       smack-util.lo
  CC       strbuf.lo
  CC       strv.lo
  CC       strxcpyx.lo
  CC       sysctl-util.lo
  CC       terminal-util.lo
  CC       time-util.lo
  CC       util.lo
util.c: 在函数‘tempfn_xxxxxx’中:
util.c:1729:23: 警告: passing argument 1 of ‘__xpg_basename’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
 1729 |         fn = basename(p);
      |                       ^
In file included from util.c:55:
/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/libgen.h:34:36: 附注: 需要类型‘char *’,但实参的类型为‘const char *’
   34 | extern char *__xpg_basename (char *__path) __THROW;
      |                              ~~~~~~^~~~~~
  CC       utf8.lo
  CC       virt.lo
  CCLD     libudev_shared.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[3]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/shared”
Making all in libudev
make[3]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/libudev”
  CC       libudev_la-libudev.lo
  CC       libudev_la-libudev-list.lo
  CC       libudev_la-libudev-util.lo
  CC       libudev_la-libudev-device.lo
  CC       libudev_la-libudev-enumerate.lo
  CC       libudev_la-libudev-monitor.lo
  CC       libudev_la-libudev-queue.lo
  CC       libudev_la-libudev-hwdb.lo
In file included from libudev-hwdb-def.h:23,
                 from libudev-hwdb.c:32:
../../src/shared/sparse-endian.h:32: 警告: “__bitwise”重定义
   32 | #define __bitwise
      | 
In file included from /opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/asm/sigcontext.h:22,
                 from /opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/bits/sigcontext.h:30,
                 from /opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/signal.h:288,
                 from libudev-private.h:23,
                 from libudev-hwdb.c:31:
/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/types.h:22: 附注: 这是先前定义的位置
   22 | #define __bitwise __bitwise__
      | 
  CCLD     libudev.la
ar: `u' modifier ignored since `D' is the default (see `U')
  CC       libudev_private_la-libudev.lo
  CC       libudev_private_la-libudev-list.lo
  CC       libudev_private_la-libudev-util.lo
  CC       libudev_private_la-libudev-device.lo
  CC       libudev_private_la-libudev-enumerate.lo
  CC       libudev_private_la-libudev-monitor.lo
  CC       libudev_private_la-libudev-queue.lo
  CC       libudev_private_la-libudev-hwdb.lo
In file included from libudev-hwdb-def.h:23,
                 from libudev-hwdb.c:32:
../../src/shared/sparse-endian.h:32: 警告: “__bitwise”重定义
   32 | #define __bitwise
      | 
In file included from /opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/asm/sigcontext.h:22,
                 from /opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/bits/sigcontext.h:30,
                 from /opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/signal.h:288,
                 from libudev-private.h:23,
                 from libudev-hwdb.c:31:
/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/types.h:22: 附注: 这是先前定义的位置
   22 | #define __bitwise __bitwise__
      | 
  CC       libudev_private_la-libudev-device-private.lo
  CCLD     libudev-private.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[3]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/libudev”
Making all in udev
make[3]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/udev”
  GEN      keyboard-keys.txt
  GEN      keyboard-keys-from-name.gperf
/usr/bin/gperf -L ANSI-C -t -N keyboard_lookup_key -H hash_key_name -p -C < keyboard-keys-from-name.gperf > keyboard-keys-from-name.h
  GEN      keyboard-keys-to-name.h
make  all-am
make[4]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/udev”
  CC       libudev_core_la-udev-event.lo
udev-event.c: 在函数‘udev_event_apply_format’中:
udev-event.c:204:27: 警告: assignment to ‘char *’ from incompatible pointer type ‘char (*)[1024]’ [-Wincompatible-pointer-types]
  204 |                         s = &sbuf;
      |                           ^
  CC       libudev_core_la-udev-watch.lo
  CC       libudev_core_la-udev-node.lo
  CC       libudev_core_la-udev-rules.lo
  CC       libudev_core_la-udev-ctrl.lo
  CC       libudev_core_la-udev-builtin.lo
  CC       libudev_core_la-udev-builtin-btrfs.lo
  CC       libudev_core_la-udev-builtin-hwdb.lo
  CC       libudev_core_la-udev-builtin-input_id.lo
  CC       libudev_core_la-udev-builtin-net_id.lo
  CC       libudev_core_la-udev-builtin-path_id.lo
  CC       libudev_core_la-udev-builtin-usb_id.lo
  CC       libudev_core_la-udev-builtin-keyboard.lo
  CCLD     libudev-core.la
ar: `u' modifier ignored since `D' is the default (see `U')
  CC       udevadm.o
  CC       udevadm-info.o
  CC       udevadm-control.o
  CC       udevadm-monitor.o
  CC       udevadm-hwdb.o
In file included from ../../src/libudev/libudev-hwdb-def.h:23,
                 from udevadm-hwdb.c:31:
../../src/shared/sparse-endian.h:32: 警告: “__bitwise”重定义
   32 | #define __bitwise
      | 
In file included from /opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/asm/sigcontext.h:22,
                 from /opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/bits/sigcontext.h:30,
                 from /opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/signal.h:288,
                 from /opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/sys/param.h:28,
                 from ../../src/shared/macro.h:23,
                 from ../../src/shared/time-util.h:29,
                 from ../../src/shared/util.h:36,
                 from udevadm-hwdb.c:26:
/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/types.h:22: 附注: 这是先前定义的位置
   22 | #define __bitwise __bitwise__
      | 
  CC       udevadm-settle.o
  CC       udevadm-trigger.o
  CC       udevadm-test.o
  CC       udevadm-test-builtin.o
  CC       udevadm-util.o
  CCLD     udevadm
  CC       udevd.o
  CCLD     udevd
make[4]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/udev”
make[3]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/udev”
Making all in ata_id
make[3]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/ata_id”
  CC       ata_id.o
  CCLD     ata_id
make[3]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/ata_id”
Making all in cdrom_id
make[3]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/cdrom_id”
  CC       cdrom_id.o
  CCLD     cdrom_id
make[3]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/cdrom_id”
Making all in collect
make[3]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/collect”
  CC       collect.o
  CCLD     collect
make[3]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/collect”
Making all in scsi_id
make[3]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/scsi_id”
  CC       scsi_id.o
  CC       scsi_serial.o
  CCLD     scsi_id
make[3]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/scsi_id”
Making all in v4l_id
make[3]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/v4l_id”
  CC       v4l_id.o
  CCLD     v4l_id
make[3]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/v4l_id”
Making all in mtd_probe
make[3]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/mtd_probe”
  CC       mtd_probe.o
  CC       probe_smartmedia.o
  CCLD     mtd_probe
make[3]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/mtd_probe”
make[3]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/src”
make[3]: 对“all-am”无需做任何事。
make[3]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/src”
make[2]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/src”
Making all in rules
make[2]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/rules”
make[2]: 对“all”无需做任何事。
make[2]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/rules”
Making all in test
make[2]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/test”
  CC       test_libudev-test-libudev.o
  CCLD     test-libudev
  CC       test_udev-test-udev.o
  CCLD     test-udev
make[2]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/test”
Making all in hwdb
make[2]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/hwdb”
make[2]: 对“all”无需做任何事。
make[2]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/hwdb”
make[2]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5”
make[2]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5”
make[1]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5”
huhu@huhu-System-Product-Name:~/third_part/openGL/eudev-3.2.5$ make install
Making install in src
make[1]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/src”
Making install in shared
make[2]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/shared”
make[3]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/shared”
make[3]: 对“install-exec-am”无需做任何事。
make[3]: 对“install-data-am”无需做任何事。
make[3]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/shared”
make[2]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/shared”
Making install in libudev
make[2]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/libudev”
make[3]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/libudev”
 /usr/bin/mkdir -p '/home/huhu/third_part/openGL/eudev-3.2.5/install/lib'
 /bin/bash ../../libtool   --mode=install /usr/bin/install -c   libudev.la '/home/huhu/third_part/openGL/eudev-3.2.5/install/lib'
libtool: install: /usr/bin/install -c .libs/libudev.so.1.6.3 /home/huhu/third_part/openGL/eudev-3.2.5/install/lib/libudev.so.1.6.3
libtool: install: (cd /home/huhu/third_part/openGL/eudev-3.2.5/install/lib && { ln -s -f libudev.so.1.6.3 libudev.so.1 || { rm -f libudev.so.1 && ln -s libudev.so.1.6.3 libudev.so.1; }; })
libtool: install: (cd /home/huhu/third_part/openGL/eudev-3.2.5/install/lib && { ln -s -f libudev.so.1.6.3 libudev.so || { rm -f libudev.so && ln -s libudev.so.1.6.3 libudev.so; }; })
libtool: install: /usr/bin/install -c .libs/libudev.lai /home/huhu/third_part/openGL/eudev-3.2.5/install/lib/libudev.la
libtool: install: /usr/bin/install -c .libs/libudev.a /home/huhu/third_part/openGL/eudev-3.2.5/install/lib/libudev.a
libtool: install: chmod 644 /home/huhu/third_part/openGL/eudev-3.2.5/install/lib/libudev.a
libtool: install: ranlib /home/huhu/third_part/openGL/eudev-3.2.5/install/lib/libudev.a
libtool: finish: PATH="/opt/ros/noetic/bin:/home/huhu/third_part/qt5.14/5.14.1/gcc_64:/home/huhu/third_part/qt5.14/Tools/QtCreator/bin:/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/sbin" ldconfig -n /home/huhu/third_part/openGL/eudev-3.2.5/install/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /home/huhu/third_part/openGL/eudev-3.2.5/install/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make  install-exec-hook
make[4]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/libudev”
libname=libudev.so && 	if test "/home/huhu/third_part/openGL/eudev-3.2.5/install/lib" != "/home/huhu/third_part/openGL/eudev-3.2.5/install/lib"; then /usr/bin/mkdir -p /home/huhu/third_part/openGL/eudev-3.2.5/install/lib && so_img_name=$(readlink /home/huhu/third_part/openGL/eudev-3.2.5/install/lib/$libname) && so_img_rel_target_prefix=$(echo /home/huhu/third_part/openGL/eudev-3.2.5/install/lib | sed 's,\(^/\|\)[^/][^/]*,..,g') && ln -s -f $so_img_rel_target_prefix/home/huhu/third_part/openGL/eudev-3.2.5/install/lib/$so_img_name /home/huhu/third_part/openGL/eudev-3.2.5/install/lib/$libname && mv /home/huhu/third_part/openGL/eudev-3.2.5/install/lib/$libname.* /home/huhu/third_part/openGL/eudev-3.2.5/install/lib; fi
make[4]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/libudev”
 /usr/bin/mkdir -p '/home/huhu/third_part/openGL/eudev-3.2.5/install/include'
 /usr/bin/install -c -m 644 libudev.h '/home/huhu/third_part/openGL/eudev-3.2.5/install/include'
 /usr/bin/mkdir -p '/home/huhu/third_part/openGL/eudev-3.2.5/install/lib/pkgconfig'
 /usr/bin/install -c -m 644 libudev.pc '/home/huhu/third_part/openGL/eudev-3.2.5/install/lib/pkgconfig'
make[3]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/libudev”
make[2]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/libudev”
Making install in udev
make[2]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/udev”
make  install-am
make[3]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/udev”
make[4]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/udev”
 /usr/bin/mkdir -p '/home/huhu/third_part/openGL/eudev-3.2.5/install/bin'
  /bin/bash ../../libtool   --mode=install /usr/bin/install -c udevadm '/home/huhu/third_part/openGL/eudev-3.2.5/install/bin'
libtool: install: /usr/bin/install -c udevadm /home/huhu/third_part/openGL/eudev-3.2.5/install/bin/udevadm
 /usr/bin/mkdir -p '/home/huhu/third_part/openGL/eudev-3.2.5/install/sbin'
  /bin/bash ../../libtool   --mode=install /usr/bin/install -c udevd '/home/huhu/third_part/openGL/eudev-3.2.5/install/sbin'
libtool: install: /usr/bin/install -c udevd /home/huhu/third_part/openGL/eudev-3.2.5/install/sbin/udevd
make  install-exec-hook
make[5]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/udev”
if test "/home/huhu/third_part/openGL/eudev-3.2.5/install/bin" != "/home/huhu/third_part/openGL/eudev-3.2.5/install/sbin"; then \
	ln -s -n -f /home/huhu/third_part/openGL/eudev-3.2.5/install/bin/udevadm /home/huhu/third_part/openGL/eudev-3.2.5/install/sbin/udevadm; \
fi
make[5]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/udev”
 /usr/bin/mkdir -p '/home/huhu/third_part/openGL/eudev-3.2.5/install/etc/udev'
 /usr/bin/install -c -m 644 udev.conf '/home/huhu/third_part/openGL/eudev-3.2.5/install/etc/udev'
 /usr/bin/mkdir -p '/home/huhu/third_part/openGL/eudev-3.2.5/install/include'
 /usr/bin/install -c -m 644 udev.h '/home/huhu/third_part/openGL/eudev-3.2.5/install/include'
 /usr/bin/mkdir -p '/home/huhu/third_part/openGL/eudev-3.2.5/install/share/pkgconfig'
 /usr/bin/install -c -m 644 udev.pc '/home/huhu/third_part/openGL/eudev-3.2.5/install/share/pkgconfig'
make[4]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/udev”
make[3]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/udev”
make[2]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/udev”
Making install in ata_id
make[2]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/ata_id”
make[3]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/ata_id”
 /usr/bin/mkdir -p '/home/huhu/third_part/openGL/eudev-3.2.5/install/lib/udev'
  /bin/bash ../../libtool   --mode=install /usr/bin/install -c ata_id '/home/huhu/third_part/openGL/eudev-3.2.5/install/lib/udev'
libtool: install: /usr/bin/install -c ata_id /home/huhu/third_part/openGL/eudev-3.2.5/install/lib/udev/ata_id
make[3]: 对“install-data-am”无需做任何事。
make[3]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/ata_id”
make[2]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/ata_id”
Making install in cdrom_id
make[2]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/cdrom_id”
make[3]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/cdrom_id”
 /usr/bin/mkdir -p '/home/huhu/third_part/openGL/eudev-3.2.5/install/lib/udev'
  /bin/bash ../../libtool   --mode=install /usr/bin/install -c cdrom_id '/home/huhu/third_part/openGL/eudev-3.2.5/install/lib/udev'
libtool: install: /usr/bin/install -c cdrom_id /home/huhu/third_part/openGL/eudev-3.2.5/install/lib/udev/cdrom_id
make[3]: 对“install-data-am”无需做任何事。
make[3]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/cdrom_id”
make[2]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/cdrom_id”
Making install in collect
make[2]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/collect”
make[3]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/collect”
 /usr/bin/mkdir -p '/home/huhu/third_part/openGL/eudev-3.2.5/install/lib/udev'
  /bin/bash ../../libtool   --mode=install /usr/bin/install -c collect '/home/huhu/third_part/openGL/eudev-3.2.5/install/lib/udev'
libtool: install: /usr/bin/install -c collect /home/huhu/third_part/openGL/eudev-3.2.5/install/lib/udev/collect
make[3]: 对“install-data-am”无需做任何事。
make[3]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/collect”
make[2]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/collect”
Making install in scsi_id
make[2]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/scsi_id”
make[3]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/scsi_id”
 /usr/bin/mkdir -p '/home/huhu/third_part/openGL/eudev-3.2.5/install/lib/udev'
  /bin/bash ../../libtool   --mode=install /usr/bin/install -c scsi_id '/home/huhu/third_part/openGL/eudev-3.2.5/install/lib/udev'
libtool: install: /usr/bin/install -c scsi_id /home/huhu/third_part/openGL/eudev-3.2.5/install/lib/udev/scsi_id
make[3]: 对“install-data-am”无需做任何事。
make[3]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/scsi_id”
make[2]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/scsi_id”
Making install in v4l_id
make[2]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/v4l_id”
make[3]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/v4l_id”
 /usr/bin/mkdir -p '/home/huhu/third_part/openGL/eudev-3.2.5/install/lib/udev'
  /bin/bash ../../libtool   --mode=install /usr/bin/install -c v4l_id '/home/huhu/third_part/openGL/eudev-3.2.5/install/lib/udev'
libtool: install: /usr/bin/install -c v4l_id /home/huhu/third_part/openGL/eudev-3.2.5/install/lib/udev/v4l_id
make[3]: 对“install-data-am”无需做任何事。
make[3]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/v4l_id”
make[2]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/v4l_id”
Making install in mtd_probe
make[2]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/mtd_probe”
make[3]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/mtd_probe”
 /usr/bin/mkdir -p '/home/huhu/third_part/openGL/eudev-3.2.5/install/lib/udev'
  /bin/bash ../../libtool   --mode=install /usr/bin/install -c mtd_probe '/home/huhu/third_part/openGL/eudev-3.2.5/install/lib/udev'
libtool: install: /usr/bin/install -c mtd_probe /home/huhu/third_part/openGL/eudev-3.2.5/install/lib/udev/mtd_probe
make[3]: 对“install-data-am”无需做任何事。
make[3]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/mtd_probe”
make[2]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/src/mtd_probe”
make[2]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/src”
make[3]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/src”
make[3]: 对“install-exec-am”无需做任何事。
make[3]: 对“install-data-am”无需做任何事。
make[3]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/src”
make[2]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/src”
make[1]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/src”
Making install in rules
make[1]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/rules”
make[2]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/rules”
make[2]: 对“install-exec-am”无需做任何事。
/usr/bin/mkdir -p /home/huhu/third_part/openGL/eudev-3.2.5/install/etc/udev/rules.d
 /usr/bin/mkdir -p '/home/huhu/third_part/openGL/eudev-3.2.5/install/lib/udev/rules.d'
 /usr/bin/install -c -m 644 50-udev-default.rules 60-block.rules 60-cdrom_id.rules 60-drm.rules 60-evdev.rules 60-persistent-alsa.rules 60-persistent-input.rules 60-persistent-storage-tape.rules 60-persistent-v4l.rules 60-sensor.rules 60-serial.rules 64-btrfs.rules 70-mouse.rules 70-touchpad.rules 75-net-description.rules 78-sound-card.rules 80-net-name-slot.rules 75-probe_mtd.rules '/home/huhu/third_part/openGL/eudev-3.2.5/install/lib/udev/rules.d'
make[2]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/rules”
make[1]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/rules”
Making install in test
make[1]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/test”
make[2]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/test”
make[2]: 对“install-exec-am”无需做任何事。
make[2]: 对“install-data-am”无需做任何事。
make[2]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/test”
make[1]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/test”
Making install in hwdb
make[1]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/hwdb”
make[2]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5/hwdb”
make[2]: 对“install-exec-am”无需做任何事。
 /usr/bin/mkdir -p '/home/huhu/third_part/openGL/eudev-3.2.5/install/etc/udev/hwdb.d'
 /usr/bin/install -c -m 644 20-OUI.hwdb 20-acpi-vendor.hwdb 20-bluetooth-vendor-product.hwdb 20-net-ifname.hwdb 20-pci-classes.hwdb 20-pci-vendor-model.hwdb 20-sdio-classes.hwdb 20-sdio-vendor-model.hwdb 20-usb-classes.hwdb 20-usb-vendor-model.hwdb 60-evdev.hwdb 60-keyboard.hwdb 60-sensor.hwdb 70-mouse.hwdb 70-pointingstick.hwdb 70-touchpad.hwdb '/home/huhu/third_part/openGL/eudev-3.2.5/install/etc/udev/hwdb.d'
make[2]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/hwdb”
make[1]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5/hwdb”
make[1]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5”
make[2]: 进入目录“/home/huhu/third_part/openGL/eudev-3.2.5”
make[2]: 对“install-exec-am”无需做任何事。
make[2]: 对“install-data-am”无需做任何事。
make[2]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5”
make[1]: 离开目录“/home/huhu/third_part/openGL/eudev-3.2.5”

可以看到install文件夹下就出现了编译好后的文件(接下来的libxua交叉编译时需要依赖如下的文件)

huhu@huhu-System-Product-Name:~/third_part/openGL/eudev-3.2.5$ cd install/
huhu@huhu-System-Product-Name:~/third_part/openGL/eudev-3.2.5/install$ ls
bin  etc  include  lib  sbin  share

同时在~/.bashrc文件中添加如下的包路径

export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/home/huhu/third_part/openGL/eudev-3.2.5/install/lib/pkgconfig"

source .bashrc


 编译mesa

进入解压后的文件夹:/home/huhu/third_part/openGL/mesa-12.0.5/

新建了一个build和install文件夹

先执行:sudo apt install libudev-dev

./configure --prefix=/home/huhu/third_part/openGL/mesa-12.0.5/install CC=aarch64-none-linux-gnu-gcc CXX=aarch64-none-linux-gnu-g++ CPPFLAGS="-I/home/huhu/third_part/openGL/libpciaccess-0.16/install/include -I/home/huhu/third_part/openGL/eudev-3.2.5/install/include -I/home/huhu/third_part/openGL/expat-2.2.7/install/include -I/home/huhu/third_part/openGL/libxshmfence-1.3/install/include -I/home/huhu/third_part/openGL/xproto-7.0.23/install/include -I/home/huhu/third_part/openGL/libxcb-1.5/install/include -I/home/huhu/third_part/openGL/openssl-openssl-master/install/include" LDFLAGS="-L/home/huhu/third_part/openGL/libpciaccess-0.16/install/lib -L/home/huhu/third_part/openGL/eudev-3.2.5/install/lib -L/home/huhu/third_part/openGL/expat-2.2.7/install/lib -L/home/huhu/third_part/openGL/libxshmfence-1.3/install/lib -L/home/huhu/third_part/openGL/xproto-7.0.23/install/lib -L/home/huhu/third_part/openGL/libxcb-1.5/install/lib -L/home/huhu/third_part/openGL/openssl-openssl-master/install/lib" --enable-opengl --enable-gles1 --enable-gles2 --disable-cairo-tests --disable-dri3 --disable-glx --disable-egl --enable-intel --host=arm-linux

huhu@huhu-System-Product-Name:~/third_part/openGL/mesa-12.0.5$ ./configure --prefix=/home/huhu/third_part/openGL/mesa-12.0.5/install CC=aarch64-none-linux-gnu-gcc CXX=aarch64-none-linux-gnu-g++ CPPFLAGS="-I/home/huhu/third_part/openGL/libpciaccess-0.16/install/include -I/home/huhu/third_part/openGL/eudev-3.2.5/install/include -I/home/huhu/third_part/openGL/expat-2.2.7/install/include -I/home/huhu/third_part/openGL/libxshmfence-1.3/install/include -I/home/huhu/third_part/openGL/xproto-7.0.23/install/include -I/home/huhu/third_part/openGL/libxcb-1.5/install/include -I/home/huhu/third_part/openGL/openssl-openssl-master/install/include" LDFLAGS="-L/home/huhu/third_part/openGL/libpciaccess-0.16/install/lib -L/home/huhu/third_part/openGL/eudev-3.2.5/install/lib -L/home/huhu/third_part/openGL/expat-2.2.7/install/lib -L/home/huhu/third_part/openGL/libxshmfence-1.3/install/lib -L/home/huhu/third_part/openGL/xproto-7.0.23/install/lib -L/home/huhu/third_part/openGL/libxcb-1.5/install/lib -L/home/huhu/third_part/openGL/openssl-openssl-master/install/lib" --enable-opengl --enable-gles1 --enable-gles2 --disable-cairo-tests --disable-dri3 --disable-glx --disable-egl --enable-intel --host=arm-linux
configure: WARNING: unrecognized options: --disable-cairo-tests, --enable-intel
checking build system type... x86_64-unknown-linux-gnu
checking host system type... arm-unknown-linux-gnu
checking target system type... arm-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-linux-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for arm-linux-gcc... aarch64-none-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether aarch64-none-linux-gnu-gcc accepts -g... yes
checking for aarch64-none-linux-gnu-gcc option to accept ISO C89... none needed
checking whether aarch64-none-linux-gnu-gcc understands -c and -o together... yes
checking dependency style of aarch64-none-linux-gnu-gcc... gcc3
checking for arm-linux-ar... no
checking for arm-linux-lib... no
checking for arm-linux-link... no
checking for ar... ar
configure: WARNING: using cross tools not prefixed with host triplet
checking the archiver (ar) interface... ar
checking how to run the C preprocessor... aarch64-none-linux-gnu-gcc -E
checking for arm-linux-gcc... (cached) aarch64-none-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether aarch64-none-linux-gnu-gcc accepts -g... (cached) yes
checking for aarch64-none-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking whether aarch64-none-linux-gnu-gcc understands -c and -o together... (cached) yes
checking dependency style of aarch64-none-linux-gnu-gcc... (cached) gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether aarch64-none-linux-gnu-g++ accepts -g... yes
checking dependency style of aarch64-none-linux-gnu-g++... gcc3
checking dependency style of aarch64-none-linux-gnu-gcc... gcc3
checking for GNU make... make
checking for python2.7... python2.7
checking for a sed that does not truncate output... /usr/bin/sed
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by aarch64-none-linux-gnu-gcc... /opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld
checking if the linker (/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... no
checking for arm-linux-dumpbin... no
checking for arm-linux-link... no
checking for dumpbin... no
checking for link... link -dump
checking the name lister (nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-unknown-linux-gnu file names to arm-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld option to reload object files... -r
checking for arm-linux-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for arm-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for arm-linux-ar... ar
checking for archiver @FILE support... @
checking for arm-linux-strip... strip
checking for arm-linux-ranlib... no
checking for ranlib... ranlib
checking command to parse nm output from aarch64-none-linux-gnu-gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for arm-linux-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if aarch64-none-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for aarch64-none-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if aarch64-none-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if aarch64-none-linux-gnu-gcc static flag -static works... yes
checking if aarch64-none-linux-gnu-gcc supports -c -o file.o... yes
checking if aarch64-none-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the aarch64-none-linux-gnu-gcc linker (/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... aarch64-none-linux-gnu-g++ -E
checking for ld used by aarch64-none-linux-gnu-g++... /opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld
checking if the linker (/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld) is GNU ld... yes
checking whether the aarch64-none-linux-gnu-g++ linker (/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld) supports shared libraries... yes
checking for aarch64-none-linux-gnu-g++ option to produce PIC... -fPIC -DPIC
checking if aarch64-none-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes
checking if aarch64-none-linux-gnu-g++ static flag -static works... yes
checking if aarch64-none-linux-gnu-g++ supports -c -o file.o... yes
checking if aarch64-none-linux-gnu-g++ supports -c -o file.o... (cached) yes
checking whether the aarch64-none-linux-gnu-g++ linker (/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for rm... rm -f
checking for bison... no
checking for byacc... no
checking if bison is the parser generator... no
checking for flex... no
checking for lex... no
checking if flex is the lexer generator... no
checking for indent... cat
checking if module mako in python is installed... No module named mako
no
checking if compiling with clang... no
checking whether gcc version is sufficient... yes
checking whether __SUNPRO_C is declared... no
checking for __builtin_bswap32... yes
checking for __builtin_bswap64... yes
checking for __builtin_clz... yes
checking for __builtin_clzll... yes
checking for __builtin_ctz... yes
checking for __builtin_expect... yes
checking for __builtin_ffs... yes
checking for __builtin_ffsll... yes
checking for __builtin_popcount... yes
checking for __builtin_popcountll... yes
checking for __builtin_unreachable... yes
checking for __attribute__((const))... yes
checking for __attribute__((flatten))... yes
checking for __attribute__((format))... yes
checking for __attribute__((malloc))... yes
checking for __attribute__((packed))... yes
checking for __attribute__((pure))... yes
checking for __attribute__((returns_nonnull))... yes
checking for __attribute__((unused))... yes
checking for __attribute__((visibility))... yes
checking for __attribute__((warn_unused_result))... yes
checking for __attribute__((weak))... yes
checking for arm-linux-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether aarch64-none-linux-gnu-gcc supports -Werror=missing-prototypes... yes
checking whether aarch64-none-linux-gnu-gcc supports -fvisibility=hidden... yes
checking whether aarch64-none-linux-gnu-gcc supports -Werror=vla... yes
checking whether aarch64-none-linux-gnu-g++ supports -fvisibility=hidden... yes
checking whether byte ordering is bigendian... unknown
checking whether gcc supports -mpower8-vector... no
checking if ld supports -Bsymbolic... yes
checking whether ld supports --gc-sections... yes
checking if the linker supports version-scripts... yes
checking if the linker supports --dynamic-list... yes
checking whether to enable assembly... no, platform not supported
checking whether sys/types.h defines makedev... no
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
checking for sys/sysmacros.h... yes
checking xlocale.h usability... no
checking xlocale.h presence... no
checking for xlocale.h... no
checking sys/sysctl.h usability... no
checking sys/sysctl.h presence... no
checking for sys/sysctl.h... no
checking for strtof... yes
checking for mkostemp... yes
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for dladdr... yes
checking for clock_gettime... yes
checking for posix_memalign... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for PTHREADSTUBS... yes
checking for LIBDRM... yes
checking for SHA1Init... no
checking for CC_SHA1_Init... no
checking for wincrypt.h... no
checking for SHA1Init in -lmd... no
checking for LIBSHA1... no
checking for nettle_sha1_init in -lnettle... no
checking for gcry_md_open in -lgcrypt... no
checking for SHA1_Init in -lcrypto... no
checking for OPENSSL... yes
checking for SHA1 implementation... libcrypto
checking for LIBUDEV... yes
checking for EXPAT... yes
checking for INTEL... yes
checking for INTEL... yes
checking for NVVIEUX... yes
checking for RADEON... yes
checking for RADEON... yes
checking for LIBELF... no
checking for elf_memory in -lelf... no
checking for WAYLAND_SCANNER... no
checking for wayland-scanner... no
Package libomxil-bellagio was not found in the pkg-config search path.
Perhaps you should add the directory containing `libomxil-bellagio.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libomxil-bellagio' found
checking for RADEON... yes
checking for RADEON... yes
Package libva was not found in the pkg-config search path.
Perhaps you should add the directory containing `libva.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libva' found
Package libva was not found in the pkg-config search path.
Perhaps you should add the directory containing `libva.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libva' found
checking for VALGRIND... no
checking whether to enable Valgrind support... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/compiler/Makefile
config.status: creating src/egl/Makefile
config.status: creating src/egl/main/egl.pc
config.status: creating src/egl/wayland/wayland-drm/Makefile
config.status: creating src/egl/wayland/wayland-egl/Makefile
config.status: creating src/egl/wayland/wayland-egl/wayland-egl.pc
config.status: creating src/gallium/Makefile
config.status: creating src/gallium/auxiliary/Makefile
config.status: creating src/gallium/auxiliary/pipe-loader/Makefile
config.status: creating src/gallium/drivers/freedreno/Makefile
config.status: creating src/gallium/drivers/ddebug/Makefile
config.status: creating src/gallium/drivers/i915/Makefile
config.status: creating src/gallium/drivers/ilo/Makefile
config.status: creating src/gallium/drivers/llvmpipe/Makefile
config.status: creating src/gallium/drivers/noop/Makefile
config.status: creating src/gallium/drivers/nouveau/Makefile
config.status: creating src/gallium/drivers/r300/Makefile
config.status: creating src/gallium/drivers/r600/Makefile
config.status: creating src/gallium/drivers/radeon/Makefile
config.status: creating src/gallium/drivers/radeonsi/Makefile
config.status: creating src/gallium/drivers/rbug/Makefile
config.status: creating src/gallium/drivers/softpipe/Makefile
config.status: creating src/gallium/drivers/svga/Makefile
config.status: creating src/gallium/drivers/swr/Makefile
config.status: creating src/gallium/drivers/trace/Makefile
config.status: creating src/gallium/drivers/vc4/Makefile
config.status: creating src/gallium/drivers/virgl/Makefile
config.status: creating src/gallium/state_trackers/clover/Makefile
config.status: creating src/gallium/state_trackers/dri/Makefile
config.status: creating src/gallium/state_trackers/glx/xlib/Makefile
config.status: creating src/gallium/state_trackers/nine/Makefile
config.status: creating src/gallium/state_trackers/omx/Makefile
config.status: creating src/gallium/state_trackers/osmesa/Makefile
config.status: creating src/gallium/state_trackers/va/Makefile
config.status: creating src/gallium/state_trackers/vdpau/Makefile
config.status: creating src/gallium/state_trackers/xa/Makefile
config.status: creating src/gallium/state_trackers/xvmc/Makefile
config.status: creating src/gallium/targets/d3dadapter9/Makefile
config.status: creating src/gallium/targets/d3dadapter9/d3d.pc
config.status: creating src/gallium/targets/dri/Makefile
config.status: creating src/gallium/targets/libgl-xlib/Makefile
config.status: creating src/gallium/targets/omx/Makefile
config.status: creating src/gallium/targets/opencl/Makefile
config.status: creating src/gallium/targets/opencl/mesa.icd
config.status: creating src/gallium/targets/osmesa/Makefile
config.status: creating src/gallium/targets/osmesa/osmesa.pc
config.status: creating src/gallium/targets/pipe-loader/Makefile
config.status: creating src/gallium/targets/va/Makefile
config.status: creating src/gallium/targets/vdpau/Makefile
config.status: creating src/gallium/targets/xa/Makefile
config.status: creating src/gallium/targets/xa/xatracker.pc
config.status: creating src/gallium/targets/xvmc/Makefile
config.status: creating src/gallium/tests/trivial/Makefile
config.status: creating src/gallium/tests/unit/Makefile
config.status: creating src/gallium/winsys/freedreno/drm/Makefile
config.status: creating src/gallium/winsys/i915/drm/Makefile
config.status: creating src/gallium/winsys/intel/drm/Makefile
config.status: creating src/gallium/winsys/nouveau/drm/Makefile
config.status: creating src/gallium/winsys/radeon/drm/Makefile
config.status: creating src/gallium/winsys/amdgpu/drm/Makefile
config.status: creating src/gallium/winsys/svga/drm/Makefile
config.status: creating src/gallium/winsys/sw/dri/Makefile
config.status: creating src/gallium/winsys/sw/kms-dri/Makefile
config.status: creating src/gallium/winsys/sw/null/Makefile
config.status: creating src/gallium/winsys/sw/wrapper/Makefile
config.status: creating src/gallium/winsys/sw/xlib/Makefile
config.status: creating src/gallium/winsys/vc4/drm/Makefile
config.status: creating src/gallium/winsys/virgl/drm/Makefile
config.status: creating src/gallium/winsys/virgl/vtest/Makefile
config.status: creating src/gbm/Makefile
config.status: creating src/gbm/main/gbm.pc
config.status: creating src/glx/Makefile
config.status: creating src/glx/apple/Makefile
config.status: creating src/glx/tests/Makefile
config.status: creating src/gtest/Makefile
config.status: creating src/intel/Makefile
config.status: creating src/intel/genxml/Makefile
config.status: creating src/intel/isl/Makefile
config.status: creating src/intel/vulkan/Makefile
config.status: creating src/loader/Makefile
config.status: creating src/mapi/Makefile
config.status: creating src/mapi/es1api/glesv1_cm.pc
config.status: creating src/mapi/es2api/glesv2.pc
config.status: creating src/mapi/glapi/gen/Makefile
config.status: creating src/mesa/Makefile
config.status: creating src/mesa/gl.pc
config.status: creating src/mesa/drivers/dri/dri.pc
config.status: creating src/mesa/drivers/dri/common/Makefile
config.status: creating src/mesa/drivers/dri/common/xmlpool/Makefile
config.status: creating src/mesa/drivers/dri/i915/Makefile
config.status: creating src/mesa/drivers/dri/i965/Makefile
config.status: creating src/mesa/drivers/dri/Makefile
config.status: creating src/mesa/drivers/dri/nouveau/Makefile
config.status: creating src/mesa/drivers/dri/r200/Makefile
config.status: creating src/mesa/drivers/dri/radeon/Makefile
config.status: creating src/mesa/drivers/dri/swrast/Makefile
config.status: creating src/mesa/drivers/osmesa/Makefile
config.status: creating src/mesa/drivers/osmesa/osmesa.pc
config.status: creating src/mesa/drivers/x11/Makefile
config.status: creating src/mesa/main/tests/Makefile
config.status: creating src/util/Makefile
config.status: creating src/util/tests/hash_table/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --disable-cairo-tests, --enable-intel

        prefix:          /home/huhu/third_part/openGL/mesa-12.0.5/install
        exec_prefix:     ${prefix}
        libdir:          ${exec_prefix}/lib
        includedir:      ${prefix}/include

        OpenGL:          yes (ES1: yes ES2: yes)

        OSMesa:          no

        DRI platform:    drm
        DRI drivers:     i915 i965 nouveau r200 radeon swrast 
        DRI driver dir:  ${libdir}/dri
        GLX:             no

        EGL:             no

        Vulkan drivers:  no

        llvm:            no

        Gallium drivers: r300 r600 svga swrast
        Gallium st:      mesa

        Shader cache:    yes
        With SHA1 from:  libcrypto

        Shared libs:     yes
        Static libs:     no
        Shared-glapi:    yes

        CFLAGS:          -g -O2 -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-strict-aliasing -fno-math-errno -fno-trapping-math -fno-builtin-memcmp
        CXXFLAGS:        -g -O2 -Wall -fno-strict-aliasing -fno-builtin-memcmp
        Macros:          -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_GNU_SOURCE -DNDEBUG -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DHAVE_LIBDRM -DHAVE_SHA1 -DHAVE_LIBUDEV -DHAVE_ALIAS -DMESA_EGL_NO_X11_HEADERS

        PYTHON2:         python2.7

        Run 'make' to build Mesa

make

huhu@huhu-System-Product-Name:~/third_part/openGL/mesa-12.0.5$ make
Making all in src
make[1]: 进入目录“/home/huhu/third_part/openGL/mesa-12.0.5/src”
updating git_sha1.h
make  all-recursive
make[2]: 进入目录“/home/huhu/third_part/openGL/mesa-12.0.5/src”
Making all in .
make[3]: 进入目录“/home/huhu/third_part/openGL/mesa-12.0.5/src”
  CC       mesa/main/imports.lo
  CC       mesa/program/prog_hash_table.lo
  CC       mesa/program/symbol_table.lo
  CC       mesa/program/dummy_errors.lo
  CCLD     libglsl_util.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[3]: 离开目录“/home/huhu/third_part/openGL/mesa-12.0.5/src”
Making all in gtest
make[3]: 进入目录“/home/huhu/third_part/openGL/mesa-12.0.5/src/gtest”
make[3]: 对“all”无需做任何事。
make[3]: 离开目录“/home/huhu/third_part/openGL/mesa-12.0.5/src/gtest”
Making all in util
make[3]: 进入目录“/home/huhu/third_part/openGL/mesa-12.0.5/src/util”
make  all-recursive
make[4]: 进入目录“/home/huhu/third_part/openGL/mesa-12.0.5/src/util”
Making all in .
make[5]: 进入目录“/home/huhu/third_part/openGL/mesa-12.0.5/src/util”
  CC       libmesautil_la-debug.lo
  CC       libmesautil_la-half_float.lo
  CC       libmesautil_la-hash_table.lo
  CC       libmesautil_la-mesa-sha1.lo
mesa-sha1.c: 在函数‘_mesa_sha1_init’中:
mesa-sha1.c:266:4: 警告: ‘SHA1_Init’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  266 |    ret = SHA1_Init(ctx);
      |    ^~~
In file included from mesa-sha1.c:256:
/home/huhu/third_part/openGL/openssl-openssl-master/install/include/openssl/sha.h:49:27: 附注: 在此声明
   49 | OSSL_DEPRECATEDIN_3_0 int SHA1_Init(SHA_CTX *c);
      |                           ^~~~~~~~~
mesa-sha1.c: 在函数‘_mesa_sha1_update’中:
mesa-sha1.c:280:4: 警告: ‘SHA1_Update’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  280 |    ret = SHA1_Update(sha_ctx, data, size);
      |    ^~~
In file included from mesa-sha1.c:256:
/home/huhu/third_part/openGL/openssl-openssl-master/install/include/openssl/sha.h:50:27: 附注: 在此声明
   50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len);
      |                           ^~~~~~~~~~~
mesa-sha1.c: 在函数‘_mesa_sha1_final’中:
mesa-sha1.c:292:4: 警告: ‘SHA1_Final’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
  292 |    ret = SHA1_Final(result, (SHA_CTX *) sha_ctx);
      |    ^~~
In file included from mesa-sha1.c:256:
/home/huhu/third_part/openGL/openssl-openssl-master/install/include/openssl/sha.h:51:27: 附注: 在此声明
   51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c);
      |                           ^~~~~~~~~~
  CC       libmesautil_la-ralloc.lo
  CC       libmesautil_la-register_allocate.lo
  CC       libmesautil_la-rgtc.lo
  CC       libmesautil_la-set.lo
  CC       libmesautil_la-strndup.lo
  CC       libmesautil_la-strtod.lo
  CC       libmesautil_la-format_srgb.lo
  CCLD     libmesautil.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[5]: 离开目录“/home/huhu/third_part/openGL/mesa-12.0.5/src/util”
Making all in tests/hash_table
make[5]: 进入目录“/home/huhu/third_part/openGL/mesa-12.0.5/src/util/tests/hash_table”
make[5]: 对“all”无需做任何事。
make[5]: 离开目录“/home/huhu/third_part/openGL/mesa-12.0.5/src/util/tests/hash_table”
make[4]: 离开目录“/home/huhu/third_part/openGL/mesa-12.0.5/src/util”
make[3]: 离开目录“/home/huhu/third_part/openGL/mesa-12.0.5/src/util”
Making all in mapi/glapi/gen
make[3]: 进入目录“/home/huhu/third_part/openGL/mesa-12.0.5/src/mapi/glapi/gen”
make  all-am
make[4]: 进入目录“/home/huhu/third_part/openGL/mesa-12.0.5/src/mapi/glapi/gen”
make[4]: 对“all-am”无需做任何事。
make[4]: 离开目录“/home/huhu/third_part/openGL/mesa-12.0.5/src/mapi/glapi/gen”
make[3]: 离开目录“/home/huhu/third_part/openGL/mesa-12.0.5/src/mapi/glapi/gen”
Making all in mapi
make[3]: 进入目录“/home/huhu/third_part/openGL/mesa-12.0.5/src/mapi”
make  all-recursive
make[4]: 进入目录“/home/huhu/third_part/openGL/mesa-12.0.5/src/mapi”
make[5]: 进入目录“/home/huhu/third_part/openGL/mesa-12.0.5/src/mapi”
  CC       shared_glapi_libglapi_la-entry.lo
  CC       shared_glapi_libglapi_la-mapi_glapi.lo
  CC       shared_glapi_libglapi_la-stub.lo
  CC       shared_glapi_libglapi_la-table.lo
  CC       shared_glapi_libglapi_la-u_current.lo
  CC       shared_glapi_libglapi_la-u_execmem.lo
  CCLD     shared-glapi/libglapi.la
  CC       es1api_libGLESv1_CM_la-entry.lo
  CCLD     es1api/libGLESv1_CM.la
  CC       es2api_libGLESv2_la-entry.lo
  CCLD     es2api/libGLESv2.la
  CC       glapi_libglapi_la-entry.lo
  CCLD     glapi/libglapi.la
ar: `u' modifier ignored since `D' is the default (see `U')
  GEN      .install-mesa-links
make[5]: 离开目录“/home/huhu/third_part/openGL/mesa-12.0.5/src/mapi”
make[4]: 离开目录“/home/huhu/third_part/openGL/mesa-12.0.5/src/mapi”
make[3]: 离开目录“/home/huhu/third_part/openGL/mesa-12.0.5/src/mapi”
Making all in compiler
make[3]: 进入目录“/home/huhu/third_part/openGL/mesa-12.0.5/src/compiler”
make  all-am
make[4]: 进入目录“/home/huhu/third_part/openGL/mesa-12.0.5/src/compiler”
  CXX      glsl_types.lo
  CXX      nir_types.lo
  CC       shader_enums.lo
  CXXLD    libcompiler.la
ar: `u' modifier ignored since `D' is the default (see `U')
  CXX      glsl/glsl_lexer.lo
glsl/glsl_lexer.cpp: 在函数‘int yy_get_next_buffer(yyscan_t)’中:
glsl/glsl_lexer.cpp:1422:18: 警告: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
 1422 |   for ( n = 0; n < max_size && \
glsl/glsl_lexer.cpp:3298:3: 附注: in expansion of macro ‘YY_INPUT’
 3298 |   YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]),
      |   ^~~~~~~~
glsl/glsl_lexer.cpp: 在函数‘yy_buffer_state* _mesa_glsl_lexer__scan_bytes(const char*, int, yyscan_t)’中:
glsl/glsl_lexer.cpp:3823:17: 警告: comparison of integer expressions of different signedness: ‘yy_size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
 3823 |  for ( i = 0; i < _yybytes_len; ++i )
      |               ~~^~~~~~~~~~~~~~
  CXX      glsl/glsl_parser.lo
  CXX      glsl/ast_array_index.lo
  CXX      glsl/ast_expr.lo
  CXX      glsl/ast_function.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/compiler/glsl_types.h:116,
                 from glsl/ir.h:33,
                 from glsl/glsl_symbol_table.h:34,
                 from glsl/ast_function.cpp:24:
glsl/ast_function.cpp: 在函数‘char* prototype_string(const glsl_type*, const char*, exec_list*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘param’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ast_function.cpp:91:4: 附注: in expansion of macro ‘foreach_in_list’
   91 |    foreach_in_list(const ir_variable, param, parameters) {
      |    ^~~~~~~~~~~~~~~
glsl/ast_function.cpp: 在函数‘bool verify_parameter_modes(_mesa_glsl_parse_state*, ir_function_signature*, exec_list&, exec_list&)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘formal’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ast_function.cpp:192:4: 附注: in expansion of macro ‘foreach_in_list’
  192 |    foreach_in_list(const ir_variable, formal, &sig->parameters) {
      |    ^~~~~~~~~~~~~~~
glsl/ast_function.cpp: 在函数‘void print_function_prototypes(_mesa_glsl_parse_state*, YYLTYPE*, ir_function*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘sig’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ast_function.cpp:680:4: 附注: in expansion of macro ‘foreach_in_list’
  680 |    foreach_in_list(ir_function_signature, sig, &f->signatures) {
      |    ^~~~~~~~~~~~~~~
glsl/ast_function.cpp: 在函数‘ir_rvalue* process_vec_mat_constructor(exec_list*, const glsl_type*, YYLTYPE*, exec_list*, _mesa_glsl_parse_state*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘rhs’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ast_function.cpp:977:4: 附注: in expansion of macro ‘foreach_in_list’
  977 |    foreach_in_list(ir_rvalue, rhs, &actual_parameters) {
      |    ^~~~~~~~~~~~~~~
glsl/ast_function.cpp: 在函数‘ir_rvalue* process_array_constructor(exec_list*, const glsl_type*, YYLTYPE*, exec_list*, _mesa_glsl_parse_state*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘rhs’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ast_function.cpp:1141:4: 附注: in expansion of macro ‘foreach_in_list’
 1141 |    foreach_in_list(ir_rvalue, rhs, &actual_parameters) {
      |    ^~~~~~~~~~~~~~~
glsl/ast_function.cpp: 在函数‘ir_constant* constant_record_constructor(const glsl_type*, exec_list*, void*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ast_function.cpp:1162:4: 附注: in expansion of macro ‘foreach_in_list’
 1162 |    foreach_in_list(ir_instruction, node, parameters) {
      |    ^~~~~~~~~~~~~~~
glsl/ast_function.cpp: 在函数‘ir_rvalue* emit_inline_vector_constructor(const glsl_type*, exec_list*, exec_list*, void*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘param’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ast_function.cpp:1241:7: 附注: in expansion of macro ‘foreach_in_list’
 1241 |       foreach_in_list(ir_rvalue, param, parameters) {
      |       ^~~~~~~~~~~~~~~
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘param’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ast_function.cpp:1301:7: 附注: in expansion of macro ‘foreach_in_list’
 1301 |       foreach_in_list(ir_rvalue, param, parameters) {
      |       ^~~~~~~~~~~~~~~
glsl/ast_function.cpp: 在函数‘ir_rvalue* emit_inline_matrix_constructor(const glsl_type*, exec_list*, exec_list*, void*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘rhs’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ast_function.cpp:1608:7: 附注: in expansion of macro ‘foreach_in_list’
 1608 |       foreach_in_list(ir_rvalue, rhs, parameters) {
      |       ^~~~~~~~~~~~~~~
  CXX      glsl/ast_to_hir.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/compiler/glsl_types.h:116,
                 from glsl/ir.h:33,
                 from glsl/glsl_symbol_table.h:34,
                 from glsl/ast_to_hir.cpp:52:
glsl/ast_to_hir.cpp: 在成员函数‘virtual ir_rvalue* ast_function_definition::hir(exec_list*, _mesa_glsl_parse_state*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘var’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ast_to_hir.cpp:5616:4: 附注: in expansion of macro ‘foreach_in_list’
 5616 |    foreach_in_list(ir_variable, var, &signature->parameters) {
      |    ^~~~~~~~~~~~~~~
glsl/ast_to_hir.cpp: 在成员函数‘virtual ir_rvalue* ast_case_statement_list::hir(exec_list*, _mesa_glsl_parse_state*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘ir’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ast_to_hir.cpp:6062:7: 附注: in expansion of macro ‘foreach_in_list’
 6062 |       foreach_in_list(ir_instruction, ir, &after_default) {
      |       ^~~~~~~~~~~~~~~
glsl/ast_to_hir.cpp: 在成员函数‘virtual ir_rvalue* ast_tcs_output_layout::hir(exec_list*, _mesa_glsl_parse_state*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ast_to_hir.cpp:7716:4: 附注: in expansion of macro ‘foreach_in_list’
 7716 |    foreach_in_list (ir_instruction, node, instructions) {
      |    ^~~~~~~~~~~~~~~
glsl/ast_to_hir.cpp: 在成员函数‘virtual ir_rvalue* ast_gs_input_layout::hir(exec_list*, _mesa_glsl_parse_state*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ast_to_hir.cpp:7776:4: 附注: in expansion of macro ‘foreach_in_list’
 7776 |    foreach_in_list(ir_instruction, node, instructions) {
      |    ^~~~~~~~~~~~~~~
glsl/ast_to_hir.cpp: 在函数‘void detect_conflicting_assignments(_mesa_glsl_parse_state*, exec_list*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ast_to_hir.cpp:7911:4: 附注: in expansion of macro ‘foreach_in_list’
 7911 |    foreach_in_list(ir_instruction, node, instructions) {
      |    ^~~~~~~~~~~~~~~
  CXX      glsl/ast_type.lo
  CC       glsl/blob.lo
  CXX      glsl/builtin_functions.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/mesa/main/errors.h:43,
                 from ../../src/mesa/main/imports.h:44,
                 from ../../src/mesa/main/core.h:44,
                 from glsl/builtin_functions.cpp:58:
glsl/builtin_functions.cpp: 在成员函数‘ir_call* {anonymous}::builtin_builder::call(ir_function*, ir_variable*, exec_list)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘var’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/builtin_functions.cpp:3306:4: 附注: in expansion of macro ‘foreach_in_list’
 3306 |    foreach_in_list(ir_variable, var, ¶ms) {
      |    ^~~~~~~~~~~~~~~
  CXX      glsl/builtin_types.lo
  CXX      glsl/builtin_variables.lo
  CXX      glsl/glsl_parser_extras.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/mesa/main/errors.h:43,
                 from ../../src/mesa/main/imports.h:44,
                 from ../../src/mesa/main/core.h:44,
                 from glsl/glsl_parser_extras.cpp:28:
glsl/glsl_parser_extras.cpp: 在函数‘void _mesa_glsl_compile_shader(gl_context*, gl_shader*, bool, bool)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘ir’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/glsl_parser_extras.cpp:1894:4: 附注: in expansion of macro ‘foreach_in_list’
 1894 |    foreach_in_list (ir_instruction, ir, shader->ir) {
      |    ^~~~~~~~~~~~~~~
  CXX      glsl/glsl_symbol_table.lo
  CXX      glsl/glsl_to_nir.lo
In file included from ../../src/compiler/nir/nir.h:31,
                 from glsl/glsl_to_nir.h:28,
                 from glsl/glsl_to_nir.cpp:28:
glsl/glsl_to_nir.cpp: 在函数‘nir_constant* constant_copy(ir_constant*, void*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘field’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/glsl_to_nir.cpp:282:7: 附注: in expansion of macro ‘foreach_in_list’
  282 |       foreach_in_list(ir_constant, field, &ir->components) {
      |       ^~~~~~~~~~~~~~~
glsl/glsl_to_nir.cpp: 在成员函数‘virtual ir_visitor_status {anonymous}::nir_function_visitor::visit_enter(ir_function*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘sig’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/glsl_to_nir.cpp:441:4: 附注: in expansion of macro ‘foreach_in_list’
  441 |    foreach_in_list(ir_function_signature, sig, &ir->signatures) {
      |    ^~~~~~~~~~~~~~~
glsl/glsl_to_nir.cpp: 在成员函数‘virtual void {anonymous}::nir_visitor::visit(ir_function*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘sig’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/glsl_to_nir.cpp:464:4: 附注: in expansion of macro ‘foreach_in_list’
  464 |    foreach_in_list(ir_function_signature, sig, &ir->signatures)
      |    ^~~~~~~~~~~~~~~
glsl/glsl_to_nir.cpp: 在成员函数‘virtual void {anonymous}::nir_visitor::visit(ir_call*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘param’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/glsl_to_nir.cpp:1052:4: 附注: in expansion of macro ‘foreach_in_list’
 1052 |    foreach_in_list(ir_dereference, param, &ir->actual_parameters) {
      |    ^~~~~~~~~~~~~~~
  CXX      glsl/hir_field_selection.lo
  CXX      glsl/ir_basic_block.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/compiler/glsl_types.h:116,
                 from glsl/ir.h:33,
                 from glsl/ir_basic_block.cpp:30:
glsl/ir_basic_block.cpp: 在函数‘void call_for_basic_blocks(exec_list*, void (*)(ir_instruction*, ir_instruction*, void*), void*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘ir’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ir_basic_block.cpp:59:4: 附注: in expansion of macro ‘foreach_in_list’
   59 |    foreach_in_list(ir_instruction, ir, instructions) {
      |    ^~~~~~~~~~~~~~~
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘ir_sig’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ir_basic_block.cpp:90:3: 附注: in expansion of macro ‘foreach_in_list’
   90 |   foreach_in_list(ir_function_signature, ir_sig, &ir_function->signatures) {
      |   ^~~~~~~~~~~~~~~
  CXX      glsl/ir_builder.lo
  CXX      glsl/ir_clone.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/compiler/glsl_types.h:116,
                 from glsl/ir.h:33,
                 from glsl/ir_clone.cpp:26:
glsl/ir_clone.cpp: 在成员函数‘virtual ir_if* ir_if::clone(void*, hash_table*) const’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘ir’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ir_clone.cpp:119:4: 附注: in expansion of macro ‘foreach_in_list’
  119 |    foreach_in_list(ir_instruction, ir, &this->then_instructions) {
      |    ^~~~~~~~~~~~~~~
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘ir’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ir_clone.cpp:123:4: 附注: in expansion of macro ‘foreach_in_list’
  123 |    foreach_in_list(ir_instruction, ir, &this->else_instructions) {
      |    ^~~~~~~~~~~~~~~
glsl/ir_clone.cpp: 在成员函数‘virtual ir_loop* ir_loop::clone(void*, hash_table*) const’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘ir’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ir_clone.cpp:135:4: 附注: in expansion of macro ‘foreach_in_list’
  135 |    foreach_in_list(ir_instruction, ir, &this->body_instructions) {
      |    ^~~~~~~~~~~~~~~
glsl/ir_clone.cpp: 在成员函数‘virtual ir_call* ir_call::clone(void*, hash_table*) const’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘ir’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ir_clone.cpp:151:4: 附注: in expansion of macro ‘foreach_in_list’
  151 |    foreach_in_list(ir_instruction, ir, &this->actual_parameters) {
      |    ^~~~~~~~~~~~~~~
glsl/ir_clone.cpp: 在成员函数‘virtual ir_function* ir_function::clone(void*, hash_table*) const’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘sig’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ir_clone.cpp:279:4: 附注: in expansion of macro ‘foreach_in_list’
  279 |    foreach_in_list(const ir_function_signature, sig, &this->signatures) {
      |    ^~~~~~~~~~~~~~~
glsl/ir_clone.cpp: 在成员函数‘virtual ir_function_signature* ir_function_signature::clone(void*, hash_table*) const’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘inst’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ir_clone.cpp:300:4: 附注: in expansion of macro ‘foreach_in_list’
  300 |    foreach_in_list(const ir_instruction, inst, &this->body) {
      |    ^~~~~~~~~~~~~~~
glsl/ir_clone.cpp: 在成员函数‘ir_function_signature* ir_function_signature::clone_prototype(void*, hash_table*) const’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘param’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ir_clone.cpp:320:4: 附注: in expansion of macro ‘foreach_in_list’
  320 |    foreach_in_list(const ir_variable, param, &this->parameters) {
      |    ^~~~~~~~~~~~~~~
glsl/ir_clone.cpp: 在函数‘void clone_ir_list(void*, exec_list*, const exec_list*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘original’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ir_clone.cpp:427:4: 附注: in expansion of macro ‘foreach_in_list’
  427 |    foreach_in_list(const ir_instruction, original, in) {
      |    ^~~~~~~~~~~~~~~
  CXX      glsl/ir_constant_expression.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/mesa/main/errors.h:43,
                 from ../../src/mesa/main/imports.h:44,
                 from ../../src/mesa/main/core.h:44,
                 from glsl/ir_constant_expression.cpp:37:
glsl/ir_constant_expression.cpp: 在成员函数‘bool ir_function_signature::constant_expression_evaluate_expression_list(const exec_list&, hash_table*, ir_constant**)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘inst’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ir_constant_expression.cpp:1928:4: 附注: in expansion of macro ‘foreach_in_list’
 1928 |    foreach_in_list(ir_instruction, inst, &body) {
      |    ^~~~~~~~~~~~~~~
glsl/ir_constant_expression.cpp: 在成员函数‘ir_constant* ir_function_signature::constant_expression_value(exec_list*, hash_table*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘n’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ir_constant_expression.cpp:2067:4: 附注: in expansion of macro ‘foreach_in_list’
 2067 |    foreach_in_list(ir_rvalue, n, actual_parameters) {
      |    ^~~~~~~~~~~~~~~
  CXX      glsl/ir.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/mesa/main/errors.h:43,
                 from ../../src/mesa/main/imports.h:44,
                 from ../../src/mesa/main/core.h:44,
                 from glsl/ir.cpp:24:
glsl/ir.cpp: 在构造函数‘ir_constant::ir_constant(const glsl_type*, exec_list*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘value’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ir.cpp:775:7: 附注: in expansion of macro ‘foreach_in_list’
  775 |       foreach_in_list(ir_constant, value, value_list) {
      |       ^~~~~~~~~~~~~~~
glsl/ir.cpp: 在成员函数‘void ir_constant::copy_offset(ir_constant*, int)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘orig’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ir.cpp:1119:7: 附注: in expansion of macro ‘foreach_in_list’
 1119 |       foreach_in_list(ir_constant, orig, &src->components) {
      |       ^~~~~~~~~~~~~~~
glsl/ir.cpp: 在成员函数‘bool ir_function::has_user_signature()’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘sig’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ir.cpp:1833:4: 附注: in expansion of macro ‘foreach_in_list’
 1833 |    foreach_in_list(ir_function_signature, sig, &this->signatures) {
      |    ^~~~~~~~~~~~~~~
glsl/ir.cpp: 在函数‘void steal_memory(ir_instruction*, void*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘field’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ir.cpp:1880:3: 附注: in expansion of macro ‘foreach_in_list’
 1880 |   foreach_in_list(ir_constant, field, &constant->components) {
      |   ^~~~~~~~~~~~~~~
glsl/ir.cpp: 在函数‘void reparent_ir(exec_list*, void*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ir.cpp:1897:4: 附注: in expansion of macro ‘foreach_in_list’
 1897 |    foreach_in_list(ir_instruction, node, list) {
      |    ^~~~~~~~~~~~~~~
glsl/ir.cpp: 在构造函数‘ir_swizzle::ir_swizzle(ir_rvalue*, ir_swizzle_mask)’中:
glsl/ir.cpp:1519:1: 附注: parameter passing for argument of type ‘ir_swizzle_mask’ changed in GCC 9.1
 1519 | ir_swizzle::ir_swizzle(ir_rvalue *val, ir_swizzle_mask mask)
      | ^~~~~~~~~~
  CXX      glsl/ir_equals.lo
  CXX      glsl/ir_expression_flattening.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/compiler/glsl_types.h:116,
                 from glsl/ir.h:33,
                 from glsl/ir_expression_flattening.cpp:34:
glsl/ir_expression_flattening.cpp: 在函数‘void do_expression_flattening(exec_list*, bool (*)(ir_instruction*))’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘ir’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ir_expression_flattening.cpp:60:4: 附注: in expansion of macro ‘foreach_in_list’
   60 |    foreach_in_list(ir_instruction, ir, instructions) {
      |    ^~~~~~~~~~~~~~~
  CXX      glsl/ir_function_can_inline.lo
  CXX      glsl/ir_function_detect_recursion.lo
  CXX      glsl/ir_function.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/compiler/glsl_types.h:116,
                 from glsl/ir_function.cpp:24:
glsl/ir_function.cpp: 在成员函数‘ir_function_signature* ir_function::matching_signature(_mesa_glsl_parse_state*, const exec_list*, bool, bool*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘sig’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ir_function.cpp:317:4: 附注: in expansion of macro ‘foreach_in_list’
  317 |    foreach_in_list(ir_function_signature, sig, &this->signatures) {
      |    ^~~~~~~~~~~~~~~
glsl/ir_function.cpp: 在成员函数‘ir_function_signature* ir_function::exact_matching_signature(_mesa_glsl_parse_state*, const exec_list*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘sig’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ir_function.cpp:395:4: 附注: in expansion of macro ‘foreach_in_list’
  395 |    foreach_in_list(ir_function_signature, sig, &this->signatures) {
      |    ^~~~~~~~~~~~~~~
  CXX      glsl/ir_hierarchical_visitor.lo
  CXX      glsl/ir_hv_accept.lo
  CXX      glsl/ir_import_prototypes.lo
  CXX      glsl/ir_print_visitor.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/compiler/glsl_types.h:116,
                 from glsl/ir.h:33,
                 from glsl/ir_print_visitor.h:29,
                 from glsl/ir_print_visitor.cpp:24:
glsl/ir_print_visitor.cpp: 在函数‘void _mesa_print_ir(FILE*, exec_list*, _mesa_glsl_parse_state*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘ir’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ir_print_visitor.cpp:70:4: 附注: in expansion of macro ‘foreach_in_list’
   70 |    foreach_in_list(ir_instruction, ir, instructions) {
      |    ^~~~~~~~~~~~~~~
glsl/ir_print_visitor.cpp: 在成员函数‘virtual void ir_print_visitor::visit(ir_function_signature*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘inst’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ir_print_visitor.cpp:209:4: 附注: in expansion of macro ‘foreach_in_list’
  209 |    foreach_in_list(ir_variable, inst, &ir->parameters) {
      |    ^~~~~~~~~~~~~~~
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘inst’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ir_print_visitor.cpp:224:4: 附注: in expansion of macro ‘foreach_in_list’
  224 |    foreach_in_list(ir_instruction, inst, &ir->body) {
      |    ^~~~~~~~~~~~~~~
glsl/ir_print_visitor.cpp: 在成员函数‘virtual void ir_print_visitor::visit(ir_function*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘sig’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ir_print_visitor.cpp:241:4: 附注: in expansion of macro ‘foreach_in_list’
  241 |    foreach_in_list(ir_function_signature, sig, &ir->signatures) {
      |    ^~~~~~~~~~~~~~~
glsl/ir_print_visitor.cpp: 在成员函数‘virtual void ir_print_visitor::visit(ir_call*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘param’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ir_print_visitor.cpp:488:4: 附注: in expansion of macro ‘foreach_in_list’
  488 |    foreach_in_list(ir_rvalue, param, &ir->actual_parameters) {
      |    ^~~~~~~~~~~~~~~
glsl/ir_print_visitor.cpp: 在成员函数‘virtual void ir_print_visitor::visit(ir_if*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘inst’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ir_print_visitor.cpp:533:4: 附注: in expansion of macro ‘foreach_in_list’
  533 |    foreach_in_list(ir_instruction, inst, &ir->then_instructions) {
      |    ^~~~~~~~~~~~~~~
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘inst’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ir_print_visitor.cpp:548:7: 附注: in expansion of macro ‘foreach_in_list’
  548 |       foreach_in_list(ir_instruction, inst, &ir->else_instructions) {
      |       ^~~~~~~~~~~~~~~
glsl/ir_print_visitor.cpp: 在成员函数‘virtual void ir_print_visitor::visit(ir_loop*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘inst’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ir_print_visitor.cpp:568:4: 附注: in expansion of macro ‘foreach_in_list’
  568 |    foreach_in_list(ir_instruction, inst, &ir->body_instructions) {
      |    ^~~~~~~~~~~~~~~
  CXX      glsl/ir_reader.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/compiler/glsl_types.h:116,
                 from glsl/ir.h:33,
                 from glsl/ir_reader.h:29,
                 from glsl/ir_reader.cpp:24:
glsl/ir_reader.cpp: 在成员函数‘void {anonymous}::ir_reader::scan_for_prototypes(exec_list*, s_expression*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘sub’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ir_reader.cpp:174:4: 附注: in expansion of macro ‘foreach_in_list’
  174 |    foreach_in_list(s_list, sub, &list->subexpressions) {
      |    ^~~~~~~~~~~~~~~
glsl/ir_reader.cpp: 在成员函数‘void {anonymous}::ir_reader::read_instructions(exec_list*, s_expression*, ir_loop*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘sub’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ir_reader.cpp:320:4: 附注: in expansion of macro ‘foreach_in_list’
  320 |    foreach_in_list(s_expression, sub, &list->subexpressions) {
      |    ^~~~~~~~~~~~~~~
glsl/ir_reader.cpp: 在成员函数‘ir_variable* {anonymous}::ir_reader::read_declaration(s_expression*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘qualifier’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ir_reader.cpp:409:4: 附注: in expansion of macro ‘foreach_in_list’
  409 |    foreach_in_list(s_symbol, qualifier, &s_quals->subexpressions) {
      |    ^~~~~~~~~~~~~~~
glsl/ir_reader.cpp: 在成员函数‘ir_call* {anonymous}::ir_reader::read_call(s_expression*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘e’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ir_reader.cpp:671:4: 附注: in expansion of macro ‘foreach_in_list’
  671 |    foreach_in_list(s_expression, e, ¶ms->subexpressions) {
      |    ^~~~~~~~~~~~~~~
glsl/ir_reader.cpp: 在成员函数‘ir_constant* {anonymous}::ir_reader::read_constant(s_expression*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘elt’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ir_reader.cpp:810:7: 附注: in expansion of macro ‘foreach_in_list’
  810 |       foreach_in_list(s_expression, elt, &values->subexpressions) {
      |       ^~~~~~~~~~~~~~~
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘expr’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ir_reader.cpp:830:4: 附注: in expansion of macro ‘foreach_in_list’
  830 |    foreach_in_list(s_expression, expr, &values->subexpressions) {
      |    ^~~~~~~~~~~~~~~
  CXX      glsl/ir_rvalue_visitor.lo
  CXX      glsl/ir_set_program_inouts.lo
  CXX      glsl/ir_validate.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/compiler/glsl_types.h:116,
                 from glsl/ir.h:33,
                 from glsl/ir_validate.cpp:36:
glsl/ir_validate.cpp: 在成员函数‘virtual ir_visitor_status {anonymous}::ir_validate::visit_enter(ir_function*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘sig’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/ir_validate.cpp:192:4: 附注: in expansion of macro ‘foreach_in_list’
  192 |    foreach_in_list(ir_instruction, sig, &ir->signatures) {
      |    ^~~~~~~~~~~~~~~
  CXX      glsl/ir_variable_refcount.lo
  CXX      glsl/linker.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/mesa/main/errors.h:43,
                 from ../../src/mesa/main/imports.h:44,
                 from ../../src/mesa/main/core.h:44,
                 from glsl/linker.cpp:69:
glsl/linker.cpp: 在函数‘void link_invalidate_variable_locations(exec_list*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/linker.cpp:616:4: 附注: in expansion of macro ‘foreach_in_list’
  616 |    foreach_in_list(ir_instruction, node, ir) {
      |    ^~~~~~~~~~~~~~~
glsl/linker.cpp: 在函数‘void cross_validate_globals(gl_shader_program*, gl_shader**, unsigned int, bool)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/linker.cpp:987:7: 附注: in expansion of macro ‘foreach_in_list’
  987 |       foreach_in_list(ir_instruction, node, shader_list[i]->ir) {
      |       ^~~~~~~~~~~~~~~
glsl/linker.cpp: 在函数‘void populate_symbol_table(gl_shader*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘inst’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/linker.cpp:1324:4: 附注: in expansion of macro ‘foreach_in_list’
 1324 |    foreach_in_list(ir_instruction, inst, sh->ir) {
      |    ^~~~~~~~~~~~~~~
glsl/linker.cpp: 在函数‘gl_shader* link_intrastage_shaders(void*, gl_context*, gl_shader_program*, gl_shader**, unsigned int)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/linker.cpp:2183:7: 附注: in expansion of macro ‘foreach_in_list’
 2183 |       foreach_in_list(ir_instruction, node, shader_list[i]->ir) {
      |       ^~~~~~~~~~~~~~~
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘sig’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/linker.cpp:2199:6: 附注: in expansion of macro ‘foreach_in_list’
 2199 |      foreach_in_list(ir_function_signature, sig, &f->signatures) {
      |      ^~~~~~~~~~~~~~~
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘ir’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/linker.cpp:2358:7: 附注: in expansion of macro ‘foreach_in_list’
 2358 |       foreach_in_list(ir_instruction, ir, linked->ir) {
      |       ^~~~~~~~~~~~~~~
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘ir’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/linker.cpp:2369:7: 附注: in expansion of macro ‘foreach_in_list’
 2369 |       foreach_in_list(ir_instruction, ir, linked->ir) {
      |       ^~~~~~~~~~~~~~~
glsl/linker.cpp: 在函数‘void update_array_sizes(gl_shader_program*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/linker.cpp:2399:7: 附注: in expansion of macro ‘foreach_in_list’
 2399 |       foreach_in_list(ir_instruction, node, prog->_LinkedShaders[i]->ir) {
      |       ^~~~~~~~~~~~~~~
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node2’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/linker.cpp:2425:6: 附注: in expansion of macro ‘foreach_in_list’
 2425 |      foreach_in_list(ir_instruction, node2, prog->_LinkedShaders[j]->ir) {
      |      ^~~~~~~~~~~~~~~
glsl/linker.cpp: 在函数‘void resize_tes_inputs(gl_context*, gl_shader_program*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘ir’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/linker.cpp:2485:4: 附注: in expansion of macro ‘foreach_in_list’
 2485 |    foreach_in_list(ir_instruction, ir, tes->ir) {
      |    ^~~~~~~~~~~~~~~
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘ir’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/linker.cpp:2493:7: 附注: in expansion of macro ‘foreach_in_list’
 2493 |       foreach_in_list(ir_instruction, ir, tes->ir) {
      |       ^~~~~~~~~~~~~~~
glsl/linker.cpp: 在函数‘bool assign_attribute_or_color_locations(gl_shader_program*, gl_constants*, unsigned int)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/linker.cpp:2639:4: 附注: in expansion of macro ‘foreach_in_list’
 2639 |    foreach_in_list(ir_instruction, node, sh->ir) {
      |    ^~~~~~~~~~~~~~~
glsl/linker.cpp: 在函数‘void match_explicit_outputs_to_inputs(gl_shader*, gl_shader*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/linker.cpp:2995:4: 附注: in expansion of macro ‘foreach_in_list’
 2995 |    foreach_in_list(ir_instruction, node, producer->ir) {
      |    ^~~~~~~~~~~~~~~
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/linker.cpp:3010:4: 附注: in expansion of macro ‘foreach_in_list’
 3010 |    foreach_in_list(ir_instruction, node, consumer->ir) {
      |    ^~~~~~~~~~~~~~~
glsl/linker.cpp: 在函数‘void store_fragdepth_layout(gl_shader_program*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/linker.cpp:3049:4: 附注: in expansion of macro ‘foreach_in_list’
 3049 |    foreach_in_list(ir_instruction, node, ir) {
      |    ^~~~~~~~~~~~~~~
glsl/linker.cpp: 在函数‘void check_image_resources(gl_context*, gl_shader_program*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/linker.cpp:3258:13: 附注: in expansion of macro ‘foreach_in_list’
 3258 |             foreach_in_list(ir_instruction, node, sh->ir) {
      |             ^~~~~~~~~~~~~~~
glsl/linker.cpp: 在函数‘unsigned int check_explicit_uniform_locations(gl_context*, gl_shader_program*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/linker.cpp:3430:7: 附注: in expansion of macro ‘foreach_in_list’
 3430 |       foreach_in_list(ir_instruction, node, sh->ir) {
      |       ^~~~~~~~~~~~~~~
glsl/linker.cpp: 在函数‘uint8_t build_stageref(gl_shader_program*, const char*, unsigned int)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/linker.cpp:3637:7: 附注: in expansion of macro ‘foreach_in_list’
 3637 |       foreach_in_list(ir_instruction, node, sh->ir) {
      |       ^~~~~~~~~~~~~~~
glsl/linker.cpp: 在函数‘bool add_interface_variables(gl_shader_program*, unsigned int, GLenum)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/linker.cpp:3828:4: 附注: in expansion of macro ‘foreach_in_list’
 3828 |    foreach_in_list(ir_instruction, node, ir) {
      |    ^~~~~~~~~~~~~~~
glsl/linker.cpp: 在函数‘bool add_packed_varyings(gl_shader_program*, int, GLenum)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/linker.cpp:3890:4: 附注: in expansion of macro ‘foreach_in_list’
 3890 |    foreach_in_list(ir_instruction, node, sh->packed_varyings) {
      |    ^~~~~~~~~~~~~~~
glsl/linker.cpp: 在函数‘bool add_fragdata_arrays(gl_shader_program*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/linker.cpp:3925:4: 附注: in expansion of macro ‘foreach_in_list’
 3925 |    foreach_in_list(ir_instruction, node, sh->fragdata_arrays) {
      |    ^~~~~~~~~~~~~~~
glsl/linker.cpp: 在函数‘void calculate_array_size_and_stride(gl_shader_program*, gl_uniform_storage*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/linker.cpp:4120:7: 附注: in expansion of macro ‘foreach_in_list’
 4120 |       foreach_in_list(ir_instruction, node, stage->ir) {
      |       ^~~~~~~~~~~~~~~
glsl/linker.cpp: 在函数‘void link_assign_subroutine_types(gl_shader_program*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/linker.cpp:4353:7: 附注: in expansion of macro ‘foreach_in_list’
 4353 |       foreach_in_list(ir_instruction, node, sh->ir) {
      |       ^~~~~~~~~~~~~~~
glsl/linker.cpp: 在函数‘void set_always_active_io(exec_list*, ir_variable_mode)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/linker.cpp:4412:4: 附注: in expansion of macro ‘foreach_in_list’
 4412 |    foreach_in_list(ir_instruction, node, ir) {
      |    ^~~~~~~~~~~~~~~
  CXX      glsl/link_atomics.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/compiler/glsl_types.h:116,
                 from glsl/ir.h:33,
                 from glsl/glsl_symbol_table.h:34,
                 from glsl/glsl_parser_extras.h:35,
                 from glsl/link_atomics.cpp:24:
glsl/link_atomics.cpp: 在函数‘{anonymous}::active_atomic_buffer* {anonymous}::find_active_atomic_counters(gl_context*, gl_shader_program*, unsigned int*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/link_atomics.cpp:157:10: 附注: in expansion of macro ‘foreach_in_list’
  157 |          foreach_in_list(ir_instruction, node, sh->ir) {
      |          ^~~~~~~~~~~~~~~
  CXX      glsl/link_functions.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/mesa/main/errors.h:43,
                 from ../../src/mesa/main/imports.h:44,
                 from ../../src/mesa/main/core.h:44,
                 from glsl/link_functions.cpp:24:
glsl/link_functions.cpp: 在成员函数‘virtual ir_visitor_status {anonymous}::call_link_visitor::visit_enter(ir_call*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘original’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/link_functions.cpp:148:7: 附注: in expansion of macro ‘foreach_in_list’
  148 |       foreach_in_list(const ir_instruction, original, &sig->parameters) {
      |       ^~~~~~~~~~~~~~~
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘original’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/link_functions.cpp:160:10: 附注: in expansion of macro ‘foreach_in_list’
  160 |          foreach_in_list(const ir_instruction, original, &sig->body) {
      |          ^~~~~~~~~~~~~~~
  CXX      glsl/link_interface_blocks.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/compiler/glsl_types.h:116,
                 from glsl/ir.h:33,
                 from glsl/link_interface_blocks.cpp:29:
glsl/link_interface_blocks.cpp: 在函数‘void validate_intrastage_interface_blocks(gl_shader_program*, const gl_shader**, unsigned int)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/link_interface_blocks.cpp:297:7: 附注: in expansion of macro ‘foreach_in_list’
  297 |       foreach_in_list(ir_instruction, node, shader_list[i]->ir) {
      |       ^~~~~~~~~~~~~~~
glsl/link_interface_blocks.cpp: 在函数‘void validate_interstage_inout_blocks(gl_shader_program*, const gl_shader*, const gl_shader*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/link_interface_blocks.cpp:356:4: 附注: in expansion of macro ‘foreach_in_list’
  356 |    foreach_in_list(ir_instruction, node, consumer->ir) {
      |    ^~~~~~~~~~~~~~~
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/link_interface_blocks.cpp:365:4: 附注: in expansion of macro ‘foreach_in_list’
  365 |    foreach_in_list(ir_instruction, node, producer->ir) {
      |    ^~~~~~~~~~~~~~~
glsl/link_interface_blocks.cpp: 在函数‘void validate_interstage_uniform_blocks(gl_shader_program*, gl_shader**, int)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/link_interface_blocks.cpp:396:7: 附注: in expansion of macro ‘foreach_in_list’
  396 |       foreach_in_list(ir_instruction, node, stage->ir) {
      |       ^~~~~~~~~~~~~~~
  CXX      glsl/link_uniforms.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/mesa/main/errors.h:43,
                 from ../../src/mesa/main/imports.h:44,
                 from ../../src/mesa/main/core.h:44,
                 from glsl/link_uniforms.cpp:24:
glsl/link_uniforms.cpp: 在函数‘void link_update_uniform_buffer_variables(gl_shader*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/link_uniforms.cpp:886:4: 附注: in expansion of macro ‘foreach_in_list’
  886 |    foreach_in_list(ir_instruction, node, shader->ir) {
      |    ^~~~~~~~~~~~~~~
glsl/link_uniforms.cpp: 在函数‘void link_assign_uniform_locations(gl_shader_program*, unsigned int, unsigned int, unsigned int)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/link_uniforms.cpp:1043:7: 附注: in expansion of macro ‘foreach_in_list’
 1043 |       foreach_in_list(ir_instruction, node, sh->ir) {
      |       ^~~~~~~~~~~~~~~
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/link_uniforms.cpp:1096:7: 附注: in expansion of macro ‘foreach_in_list’
 1096 |       foreach_in_list(ir_instruction, node, prog->_LinkedShaders[i]->ir) {
      |       ^~~~~~~~~~~~~~~
  CXX      glsl/link_uniform_initializers.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/mesa/main/errors.h:43,
                 from ../../src/mesa/main/imports.h:44,
                 from ../../src/mesa/main/core.h:44,
                 from glsl/link_uniform_initializers.cpp:24:
glsl/link_uniform_initializers.cpp: 在函数‘void link_set_uniform_initializers(gl_shader_program*, unsigned int)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/link_uniform_initializers.cpp:271:7: 附注: in expansion of macro ‘foreach_in_list’
  271 |       foreach_in_list(ir_instruction, node, shader->ir) {
      |       ^~~~~~~~~~~~~~~
  CXX      glsl/link_uniform_block_active_visitor.lo
  CXX      glsl/link_uniform_blocks.lo
  CXX      glsl/link_varyings.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from glsl/link_varyings.cpp:32:
glsl/link_varyings.cpp: 在函数‘bool process_xfb_layout_qualifiers(void*, const gl_shader*, unsigned int*, char***)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/link_varyings.cpp:126:4: 附注: in expansion of macro ‘foreach_in_list’
  126 |    foreach_in_list(ir_instruction, node, sh->ir) {
      |    ^~~~~~~~~~~~~~~
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/link_varyings.cpp:155:4: 附注: in expansion of macro ‘foreach_in_list’
  155 |    foreach_in_list(ir_instruction, node, sh->ir) {
      |    ^~~~~~~~~~~~~~~
glsl/link_varyings.cpp: 在函数‘void cross_validate_outputs_to_inputs(gl_shader_program*, gl_shader*, gl_shader*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/link_varyings.cpp:399:4: 附注: in expansion of macro ‘foreach_in_list’
  399 |    foreach_in_list(ir_instruction, node, producer->ir) {
      |    ^~~~~~~~~~~~~~~
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/link_varyings.cpp:485:4: 附注: in expansion of macro ‘foreach_in_list’
  485 |    foreach_in_list(ir_instruction, node, consumer->ir) {
      |    ^~~~~~~~~~~~~~~
glsl/link_varyings.cpp: 在函数‘void remove_unused_shader_inputs_and_outputs(bool, gl_shader*, ir_variable_mode)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/link_varyings.cpp:583:4: 附注: in expansion of macro ‘foreach_in_list’
  583 |    foreach_in_list(ir_instruction, node, sh->ir) {
      |    ^~~~~~~~~~~~~~~
glsl/link_varyings.cpp: 在函数‘void linker::populate_consumer_input_sets(void*, exec_list*, hash_table*, hash_table*, ir_variable**)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/link_varyings.cpp:1815:4: 附注: in expansion of macro ‘foreach_in_list’
 1815 |    foreach_in_list(ir_instruction, node, ir) {
      |    ^~~~~~~~~~~~~~~
glsl/link_varyings.cpp: 在函数‘void canonicalize_shader_io(exec_list*, ir_variable_mode)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/link_varyings.cpp:1919:4: 附注: in expansion of macro ‘foreach_in_list’
 1919 |    foreach_in_list(ir_instruction, node, ir) {
      |    ^~~~~~~~~~~~~~~
glsl/link_varyings.cpp: 在函数‘uint64_t reserved_varying_slot(gl_shader*, ir_variable_mode)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/link_varyings.cpp:1972:4: 附注: in expansion of macro ‘foreach_in_list’
 1972 |    foreach_in_list(ir_instruction, node, stage->ir) {
      |    ^~~~~~~~~~~~~~~
glsl/link_varyings.cpp: 在函数‘bool assign_varying_locations(gl_context*, void*, gl_shader_program*, gl_shader*, gl_shader*, unsigned int, tfeedback_decl*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/link_varyings.cpp:2121:7: 附注: in expansion of macro ‘foreach_in_list’
 2121 |       foreach_in_list(ir_instruction, node, producer->ir) {
      |       ^~~~~~~~~~~~~~~
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/link_varyings.cpp:2169:7: 附注: in expansion of macro ‘foreach_in_list’
 2169 |       foreach_in_list(ir_instruction, node, consumer->ir) {
      |       ^~~~~~~~~~~~~~~
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/link_varyings.cpp:2223:7: 附注: in expansion of macro ‘foreach_in_list’
 2223 |       foreach_in_list(ir_instruction, node, consumer->ir) {
      |       ^~~~~~~~~~~~~~~
glsl/link_varyings.cpp: 在函数‘bool check_against_output_limit(gl_context*, gl_shader_program*, gl_shader*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/link_varyings.cpp:2289:4: 附注: in expansion of macro ‘foreach_in_list’
 2289 |    foreach_in_list(ir_instruction, node, producer->ir) {
      |    ^~~~~~~~~~~~~~~
glsl/link_varyings.cpp: 在函数‘bool check_against_input_limit(gl_context*, gl_shader_program*, gl_shader*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/link_varyings.cpp:2331:4: 附注: in expansion of macro ‘foreach_in_list’
 2331 |    foreach_in_list(ir_instruction, node, consumer->ir) {
      |    ^~~~~~~~~~~~~~~
  CXX      glsl/loop_analysis.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/compiler/glsl_types.h:116,
                 from glsl/loop_analysis.cpp:24:
glsl/loop_analysis.cpp: 在成员函数‘virtual ir_visitor_status {anonymous}::loop_analysis::visit_enter(ir_call*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘ls’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/loop_analysis.cpp:230:4: 附注: in expansion of macro ‘foreach_in_list’
  230 |    foreach_in_list(loop_variable_state, ls, &this->state) {
      |    ^~~~~~~~~~~~~~~
glsl/loop_analysis.cpp: 在成员函数‘virtual ir_visitor_status {anonymous}::loop_analysis::visit(ir_dereference_variable*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘ls’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/loop_analysis.cpp:248:4: 附注: in expansion of macro ‘foreach_in_list’
  248 |    foreach_in_list(loop_variable_state, ls, &this->state) {
      |    ^~~~~~~~~~~~~~~
glsl/loop_analysis.cpp: 在成员函数‘virtual ir_visitor_status {anonymous}::loop_analysis::visit_leave(ir_loop*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/loop_analysis.cpp:288:4: 附注: in expansion of macro ‘foreach_in_list’
  288 |    foreach_in_list(ir_instruction, node, &ir->body_instructions) {
      |    ^~~~~~~~~~~~~~~
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘t’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/loop_analysis.cpp:396:4: 附注: in expansion of macro ‘foreach_in_list’
  396 |    foreach_in_list(loop_terminator, t, &ls->terminators) {
      |    ^~~~~~~~~~~~~~~
  CXX      glsl/loop_controls.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/compiler/glsl_types.h:116,
                 from glsl/loop_controls.cpp:26:
glsl/loop_controls.cpp: 在成员函数‘virtual ir_visitor_status {anonymous}::loop_control_visitor::visit_leave(ir_loop*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘t’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/loop_controls.cpp:220:4: 附注: in expansion of macro ‘foreach_in_list’
  220 |    foreach_in_list(loop_terminator, t, &ls->terminators) {
      |    ^~~~~~~~~~~~~~~
  CXX      glsl/loop_unroll.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/compiler/glsl_types.h:116,
                 from glsl/loop_unroll.cpp:24:
glsl/loop_unroll.cpp: 在成员函数‘virtual ir_visitor_status {anonymous}::loop_unroll_visitor::visit_leave(ir_loop*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘cur_ir’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/loop_unroll.cpp:397:4: 附注: in expansion of macro ‘foreach_in_list’
  397 |    foreach_in_list(ir_instruction, cur_ir, &ir->body_instructions) {
      |    ^~~~~~~~~~~~~~~
  CXX      glsl/lower_buffer_access.lo
  CXX      glsl/lower_const_arrays_to_uniforms.lo
  CXX      glsl/lower_discard.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/compiler/glsl_types.h:116,
                 from glsl/lower_discard.cpp:108:
glsl/lower_discard.cpp: 在函数‘ir_discard* find_discard(exec_list&)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/lower_discard.cpp:141:4: 附注: in expansion of macro ‘foreach_in_list’
  141 |    foreach_in_list(ir_instruction, node, &instructions) {
      |    ^~~~~~~~~~~~~~~
  CXX      glsl/lower_discard_flow.lo
  CXX      glsl/lower_distance.lo
  CXX      glsl/lower_if_to_cond_assign.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/compiler/glsl_types.h:116,
                 from glsl/lower_if_to_cond_assign.cpp:48:
glsl/lower_if_to_cond_assign.cpp: 在成员函数‘virtual ir_visitor_status {anonymous}::ir_if_to_cond_assign_visitor::visit_leave(ir_if*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘then_ir’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/lower_if_to_cond_assign.cpp:179:4: 附注: in expansion of macro ‘foreach_in_list’
  179 |    foreach_in_list(ir_instruction, then_ir, &ir->then_instructions) {
      |    ^~~~~~~~~~~~~~~
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘else_ir’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/lower_if_to_cond_assign.cpp:182:4: 附注: in expansion of macro ‘foreach_in_list’
  182 |    foreach_in_list(ir_instruction, else_ir, &ir->else_instructions) {
      |    ^~~~~~~~~~~~~~~
  CXX      glsl/lower_instructions.lo
  CXX      glsl/lower_jumps.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/compiler/glsl_types.h:116,
                 from glsl/lower_jumps.cpp:59:
glsl/lower_jumps.cpp: 在成员函数‘{anonymous}::block_record {anonymous}::ir_lower_jumps_visitor::visit_block(exec_list*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/lower_jumps.cpp:511:7: 附注: in expansion of macro ‘foreach_in_list’
  511 |       foreach_in_list(ir_instruction, node, list) {
      |       ^~~~~~~~~~~~~~~
  CXX      glsl/lower_mat_op_to_vec.lo
  CXX      glsl/lower_noise.lo
  CXX      glsl/lower_offset_array.lo
  CXX      glsl/lower_packed_varyings.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/compiler/glsl_types.h:116,
                 from glsl/ir.h:33,
                 from glsl/glsl_symbol_table.h:34,
                 from glsl/lower_packed_varyings.cpp:147:
glsl/lower_packed_varyings.cpp: 在成员函数‘void {anonymous}::lower_packed_varyings_visitor::run(gl_shader*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/lower_packed_varyings.cpp:265:4: 附注: in expansion of macro ‘foreach_in_list’
  265 |    foreach_in_list(ir_instruction, node, shader->ir) {
      |    ^~~~~~~~~~~~~~~
glsl/lower_packed_varyings.cpp: 在成员函数‘virtual ir_visitor_status lower_packed_varyings_gs_splicer::visit_leave(ir_emit_vertex*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘ir’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/lower_packed_varyings.cpp:722:4: 附注: in expansion of macro ‘foreach_in_list’
  722 |    foreach_in_list(ir_instruction, ir, this->instructions) {
      |    ^~~~~~~~~~~~~~~
glsl/lower_packed_varyings.cpp: 在成员函数‘virtual ir_visitor_status lower_packed_varyings_return_splicer::visit_leave(ir_return*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘ir’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/lower_packed_varyings.cpp:762:4: 附注: in expansion of macro ‘foreach_in_list’
  762 |    foreach_in_list(ir_instruction, ir, this->instructions) {
      |    ^~~~~~~~~~~~~~~
  CXX      glsl/lower_named_interface_blocks.lo
  CXX      glsl/lower_packing_builtins.lo
  CXX      glsl/lower_subroutine.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/compiler/glsl_types.h:116,
                 from glsl/lower_subroutine.cpp:30:
glsl/lower_subroutine.cpp: 在成员函数‘ir_call* {anonymous}::lower_subroutine_visitor::call_clone(ir_call*, ir_function_signature*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘ir’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/lower_subroutine.cpp:72:4: 附注: in expansion of macro ‘foreach_in_list’
   72 |    foreach_in_list(ir_instruction, ir, &call->actual_parameters) {
      |    ^~~~~~~~~~~~~~~
  CXX      glsl/lower_tess_level.lo
  CXX      glsl/lower_texture_projection.lo
  CXX      glsl/lower_variable_index_to_cond_assign.lo
  CXX      glsl/lower_vec_index_to_cond_assign.lo
  CXX      glsl/lower_vec_index_to_swizzle.lo
  CXX      glsl/lower_vector.lo
  CXX      glsl/lower_vector_derefs.lo
  CXX      glsl/lower_vector_insert.lo
  CXX      glsl/lower_vertex_id.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/compiler/glsl_types.h:116,
                 from glsl/ir.h:33,
                 from glsl/glsl_symbol_table.h:34,
                 from glsl/lower_vertex_id.cpp:34:
glsl/lower_vertex_id.cpp: 在构造函数‘{anonymous}::lower_vertex_id_visitor::lower_vertex_id_visitor(ir_function_signature*, exec_list*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘ir’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/lower_vertex_id.cpp:50:7: 附注: in expansion of macro ‘foreach_in_list’
   50 |       foreach_in_list(ir_instruction, ir, ir_list) {
      |       ^~~~~~~~~~~~~~~
  CXX      glsl/lower_output_reads.lo
  CXX      glsl/lower_shared_reference.lo
  CXX      glsl/lower_ubo_reference.lo
  CXX      glsl/opt_algebraic.lo
  CXX      glsl/opt_array_splitting.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/compiler/glsl_types.h:116,
                 from glsl/ir.h:33,
                 from glsl/opt_array_splitting.cpp:36:
glsl/opt_array_splitting.cpp: 在成员函数‘{anonymous}::opt_array_splitting::variable_entry* {anonymous}::ir_array_reference_visitor::get_variable_entry(ir_variable*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘entry’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/opt_array_splitting.cpp:143:4: 附注: in expansion of macro ‘foreach_in_list’
  143 |    foreach_in_list(variable_entry, entry, &this->variable_list) {
      |    ^~~~~~~~~~~~~~~
glsl/opt_array_splitting.cpp: 在成员函数‘bool {anonymous}::ir_array_reference_visitor::get_split_list(exec_list*, bool)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘node’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/opt_array_splitting.cpp:257:7: 附注: in expansion of macro ‘foreach_in_list’
  257 |       foreach_in_list(ir_instruction, node, instructions) {
      |       ^~~~~~~~~~~~~~~
glsl/opt_array_splitting.cpp: 在成员函数‘{anonymous}::opt_array_splitting::variable_entry* ir_array_splitting_visitor::get_splitting_entry(ir_variable*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘entry’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/opt_array_splitting.cpp:312:4: 附注: in expansion of macro ‘foreach_in_list’
  312 |    foreach_in_list(variable_entry, entry, this->variable_list) {
      |    ^~~~~~~~~~~~~~~
glsl/opt_array_splitting.cpp: 在函数‘bool optimize_split_arrays(exec_list*, bool)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘entry’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/opt_array_splitting.cpp:436:4: 附注: in expansion of macro ‘foreach_in_list’
  436 |    foreach_in_list(variable_entry, entry, &refs.variable_list) {
      |    ^~~~~~~~~~~~~~~
  CXX      glsl/opt_conditional_discard.lo
  CXX      glsl/opt_constant_folding.lo
  CXX      glsl/opt_constant_propagation.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/compiler/glsl_types.h:116,
                 from glsl/ir.h:33,
                 from glsl/opt_constant_propagation.cpp:37:
glsl/opt_constant_propagation.cpp: 在成员函数‘void {anonymous}::ir_constant_propagation_visitor::constant_propagation(ir_rvalue**)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘entry’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/opt_constant_propagation.cpp:198:7: 附注: in expansion of macro ‘foreach_in_list’
  198 |       foreach_in_list(acp_entry, entry, this->acp) {
      |       ^~~~~~~~~~~~~~~
glsl/opt_constant_propagation.cpp: 在成员函数‘void {anonymous}::ir_constant_propagation_visitor::handle_if_block(exec_list*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘a’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/opt_constant_propagation.cpp:356:4: 附注: in expansion of macro ‘foreach_in_list’
  356 |    foreach_in_list(acp_entry, a, orig_acp) {
      |    ^~~~~~~~~~~~~~~
  CXX      glsl/opt_constant_variable.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/compiler/glsl_types.h:116,
                 from glsl/ir.h:33,
                 from glsl/opt_constant_variable.cpp:35:
glsl/opt_constant_variable.cpp: 在函数‘bool do_constant_variable_unlinked(exec_list*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘ir’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/opt_constant_variable.cpp:214:4: 附注: in expansion of macro ‘foreach_in_list’
  214 |    foreach_in_list(ir_instruction, ir, instructions) {
      |    ^~~~~~~~~~~~~~~
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘sig’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/opt_constant_variable.cpp:217:3: 附注: in expansion of macro ‘foreach_in_list’
  217 |   foreach_in_list(ir_function_signature, sig, &f->signatures) {
      |   ^~~~~~~~~~~~~~~
  CXX      glsl/opt_copy_propagation.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/compiler/glsl_types.h:116,
                 from glsl/ir.h:33,
                 from glsl/opt_copy_propagation.cpp:35:
glsl/opt_copy_propagation.cpp: 在成员函数‘virtual ir_visitor_status {anonymous}::ir_copy_propagation_visitor::visit(ir_dereference_variable*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘entry’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/opt_copy_propagation.cpp:173:4: 附注: in expansion of macro ‘foreach_in_list’
  173 |    foreach_in_list(acp_entry, entry, this->acp) {
      |    ^~~~~~~~~~~~~~~
glsl/opt_copy_propagation.cpp: 在成员函数‘void {anonymous}::ir_copy_propagation_visitor::handle_if_block(exec_list*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘a’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/opt_copy_propagation.cpp:220:4: 附注: in expansion of macro ‘foreach_in_list’
  220 |    foreach_in_list(acp_entry, a, orig_acp) {
      |    ^~~~~~~~~~~~~~~
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘k’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/opt_copy_propagation.cpp:236:4: 附注: in expansion of macro ‘foreach_in_list’
  236 |    foreach_in_list(kill_entry, k, new_kills) {
      |    ^~~~~~~~~~~~~~~
glsl/opt_copy_propagation.cpp: 在成员函数‘virtual ir_visitor_status {anonymous}::ir_copy_propagation_visitor::visit_enter(ir_loop*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘k’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/opt_copy_propagation.cpp:282:4: 附注: in expansion of macro ‘foreach_in_list’
  282 |    foreach_in_list(kill_entry, k, new_kills) {
      |    ^~~~~~~~~~~~~~~
  CXX      glsl/opt_copy_propagation_elements.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/compiler/glsl_types.h:116,
                 from glsl/ir.h:33,
                 from glsl/opt_copy_propagation_elements.cpp:44:
glsl/opt_copy_propagation_elements.cpp: 在成员函数‘virtual void {anonymous}::ir_copy_propagation_elements_visitor::handle_rvalue(ir_rvalue**)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘entry’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/opt_copy_propagation_elements.cpp:251:4: 附注: in expansion of macro ‘foreach_in_list’
  251 |    foreach_in_list(acp_entry, entry, this->acp) {
      |    ^~~~~~~~~~~~~~~
glsl/opt_copy_propagation_elements.cpp: 在成员函数‘void {anonymous}::ir_copy_propagation_elements_visitor::handle_if_block(exec_list*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘a’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/opt_copy_propagation_elements.cpp:339:4: 附注: in expansion of macro ‘foreach_in_list’
  339 |    foreach_in_list(acp_entry, a, orig_acp) {
      |    ^~~~~~~~~~~~~~~
  CXX      glsl/opt_dead_builtin_variables.lo
  CXX      glsl/opt_dead_builtin_varyings.lo
  CXX      glsl/opt_dead_code.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/compiler/glsl_types.h:116,
                 from glsl/ir.h:33,
                 from glsl/opt_dead_code.cpp:30:
glsl/opt_dead_code.cpp: 在函数‘bool do_dead_code_unlinked(exec_list*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘ir’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/opt_dead_code.cpp:181:4: 附注: in expansion of macro ‘foreach_in_list’
  181 |    foreach_in_list(ir_instruction, ir, instructions) {
      |    ^~~~~~~~~~~~~~~
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘sig’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/opt_dead_code.cpp:184:3: 附注: in expansion of macro ‘foreach_in_list’
  184 |   foreach_in_list(ir_function_signature, sig, &f->signatures) {
      |   ^~~~~~~~~~~~~~~
  CXX      glsl/opt_dead_code_local.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/compiler/glsl_types.h:116,
                 from glsl/ir.h:33,
                 from glsl/opt_dead_code_local.cpp:36:
glsl/opt_dead_code_local.cpp: 在函数‘bool process_assignment(void*, ir_assignment*, exec_list*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘entry’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/opt_dead_code_local.cpp:281:7: 附注: in expansion of macro ‘foreach_in_list’
  281 |       foreach_in_list(assignment_entry, entry, assignments) {
      |       ^~~~~~~~~~~~~~~
  CXX      glsl/opt_dead_functions.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/compiler/glsl_types.h:116,
                 from glsl/ir.h:33,
                 from glsl/opt_dead_functions.cpp:30:
glsl/opt_dead_functions.cpp: 在成员函数‘{anonymous}::signature_entry* {anonymous}::ir_dead_functions_visitor::get_signature_entry(ir_function_signature*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘entry’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/opt_dead_functions.cpp:77:4: 附注: in expansion of macro ‘foreach_in_list’
   77 |    foreach_in_list(signature_entry, entry, &this->signature_list) {
      |    ^~~~~~~~~~~~~~~
  CXX      glsl/opt_flatten_nested_if_blocks.lo
  CXX      glsl/opt_flip_matrices.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/compiler/glsl_types.h:116,
                 from glsl/ir.h:33,
                 from glsl/opt_flip_matrices.cpp:35:
glsl/opt_flip_matrices.cpp: 在构造函数‘{anonymous}::matrix_flipper::matrix_flipper(exec_list*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘ir’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/opt_flip_matrices.cpp:48:7: 附注: in expansion of macro ‘foreach_in_list’
   48 |       foreach_in_list(ir_instruction, ir, instructions) {
      |       ^~~~~~~~~~~~~~~
  CXX      glsl/opt_function_inlining.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/compiler/glsl_types.h:116,
                 from glsl/ir.h:33,
                 from glsl/opt_function_inlining.cpp:30:
glsl/opt_function_inlining.cpp: 在成员函数‘void ir_call::generate_inline(ir_instruction*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘ir’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/opt_function_inlining.cpp:159:4: 附注: in expansion of macro ‘foreach_in_list’
  159 |    foreach_in_list(ir_instruction, ir, &callee->body) {
      |    ^~~~~~~~~~~~~~~
  CXX      glsl/opt_if_simplification.lo
  CXX      glsl/opt_minmax.lo
  CXX      glsl/opt_noop_swizzle.lo
  CXX      glsl/opt_rebalance_tree.lo
  CXX      glsl/opt_redundant_jumps.lo
  CXX      glsl/opt_structure_splitting.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/compiler/glsl_types.h:116,
                 from glsl/ir.h:33,
                 from glsl/opt_structure_splitting.cpp:35:
glsl/opt_structure_splitting.cpp: 在成员函数‘{anonymous}::variable_entry* {anonymous}::ir_structure_reference_visitor::get_variable_entry(ir_variable*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘entry’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/opt_structure_splitting.cpp:111:4: 附注: in expansion of macro ‘foreach_in_list’
  111 |    foreach_in_list(variable_entry, entry, &this->variable_list) {
      |    ^~~~~~~~~~~~~~~
glsl/opt_structure_splitting.cpp: 在成员函数‘{anonymous}::variable_entry* {anonymous}::ir_structure_splitting_visitor::get_splitting_entry(ir_variable*)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘entry’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/opt_structure_splitting.cpp:212:4: 附注: in expansion of macro ‘foreach_in_list’
  212 |    foreach_in_list(variable_entry, entry, this->variable_list) {
      |    ^~~~~~~~~~~~~~~
  CXX      glsl/opt_swizzle_swizzle.lo
  CXX      glsl/opt_tree_grafting.lo
  CXX      glsl/opt_vectorize.lo
  CXX      glsl/propagate_invariance.lo
  CXX      glsl/s_expression.lo
In file included from ../../src/mesa/main/mtypes.h:47,
                 from ../../src/mesa/main/errors.h:43,
                 from ../../src/mesa/main/imports.h:44,
                 from ../../src/mesa/main/core.h:44,
                 from glsl/s_expression.h:29,
                 from glsl/s_expression.cpp:28:
glsl/s_expression.cpp: 在成员函数‘virtual void s_list::print()’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘expr’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/s_expression.cpp:166:4: 附注: in expansion of macro ‘foreach_in_list’
  166 |    foreach_in_list(s_expression, expr, &this->subexpressions) {
      |    ^~~~~~~~~~~~~~~
glsl/s_expression.cpp: 在函数‘bool s_match(s_expression*, unsigned int, s_pattern*, bool)’中:
../../src/compiler/glsl/list.h:625:17: 警告: unnecessary parentheses in declaration of ‘expr’ [-Wparentheses]
  625 |    for (__type *(__inst) = (__type *)(__list)->head; \
      |                 ^
glsl/s_expression.cpp:204:4: 附注: in expansion of macro ‘foreach_in_list’
  204 |    foreach_in_list(s_expression, expr, &list->subexpressions) {
      |    ^~~~~~~~~~~~~~~
  CC       nir/nir.lo
  CC       nir/nir_clone.lo
  CC       nir/nir_control_flow.lo
  CC       nir/nir_dominance.lo
  CC       nir/nir_from_ssa.lo
  CC       nir/nir_gather_info.lo
  CC       nir/nir_gs_count_vertices.lo
  CC       nir/nir_inline_functions.lo
  CC       nir/nir_instr_set.lo
  CC       nir/nir_intrinsics.lo
  CC       nir/nir_liveness.lo
  CC       nir/nir_lower_alu_to_scalar.lo
  CC       nir/nir_lower_atomics.lo
  CC       nir/nir_lower_bitmap.lo
  CC       nir/nir_lower_clamp_color_outputs.lo
  CC       nir/nir_lower_clip.lo
  CC       nir/nir_lower_double_ops.lo
  CC       nir/nir_lower_double_packing.lo
  CC       nir/nir_lower_drawpixels.lo
  CC       nir/nir_lower_global_vars_to_local.lo
  CC       nir/nir_lower_gs_intrinsics.lo
  CC       nir/nir_lower_load_const_to_scalar.lo
  CC       nir/nir_lower_locals_to_regs.lo
  CC       nir/nir_lower_idiv.lo
  CC       nir/nir_lower_indirect_derefs.lo
  CC       nir/nir_lower_io.lo
  CC       nir/nir_lower_io_to_temporaries.lo
  CC       nir/nir_lower_io_types.lo
  CC       nir/nir_lower_passthrough_edgeflags.lo
  CC       nir/nir_lower_phis_to_scalar.lo
  CC       nir/nir_lower_returns.lo
  CC       nir/nir_lower_samplers.lo
  CC       nir/nir_lower_system_values.lo
  CC       nir/nir_lower_tex.lo
  CC       nir/nir_lower_to_source_mods.lo
  CC       nir/nir_lower_two_sided_color.lo
  CC       nir/nir_lower_vars_to_ssa.lo
  CC       nir/nir_lower_var_copies.lo
  CC       nir/nir_lower_vec_to_movs.lo
  CC       nir/nir_lower_wpos_center.lo
  CC       nir/nir_lower_wpos_ytransform.lo
  CC       nir/nir_metadata.lo
  CC       nir/nir_move_vec_src_uses_to_dest.lo
  CC       nir/nir_normalize_cubemap_coords.lo
  CC       nir/nir_opt_constant_folding.lo
  CC       nir/nir_opt_copy_propagate.lo
  CC       nir/nir_opt_cse.lo
  CC       nir/nir_opt_dce.lo
  CC       nir/nir_opt_dead_cf.lo
  CC       nir/nir_opt_gcm.lo
  CC       nir/nir_opt_global_to_local.lo
  CC       nir/nir_opt_peephole_select.lo
  CC       nir/nir_opt_remove_phis.lo
  CC       nir/nir_opt_undef.lo
  CC       nir/nir_phi_builder.lo
  CC       nir/nir_print.lo
  CC       nir/nir_propagate_invariant.lo
  CC       nir/nir_remove_dead_variables.lo
  CC       nir/nir_repair_ssa.lo
  CC       nir/nir_search.lo
  CC       nir/nir_split_var_copies.lo
  CC       nir/nir_sweep.lo
  CC       nir/nir_to_ssa.lo
  CC       nir/nir_validate.lo
  CC       nir/nir_worklist.lo
  CC       spirv/spirv_info.lo
  CC       spirv/spirv_to_nir.lo
  CC       spirv/vtn_alu.lo
  CC       spirv/vtn_cfg.lo
  CC       spirv/vtn_glsl450.lo
  CC       spirv/vtn_variables.lo
spirv/vtn_variables.c: 在函数‘var_decoration_cb’中:
spirv/vtn_variables.c:1073:16: 警告: 此函数中的‘is_vertex_input’在使用前可能未初始化 [-Wmaybe-uninitialized]
 1073 |                glsl_count_attribute_slots(vtn_var->members[i]->interface_type,
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1074 |                                           is_vertex_input);
      |                                           ~~~~~~~~~~~~~~~~
  CC       nir/nir_constant_expressions.lo
  CC       nir/nir_opcodes.lo
  CC       nir/nir_opt_algebraic.lo
  CCLD     nir/libnir.la
ar: `u' modifier ignored since `D' is the default (see `U')
  CC       glsl/glcpp/glcpp-lex.lo
  CC       glsl/glcpp/glcpp-parse.lo
  CC       glsl/glcpp/pp.lo
  CCLD     glsl/libglcpp.la
ar: `u' modifier ignored since `D' is the default (see `U')
  CXXLD    glsl/libglsl.la
ar: `u' modifier ignored since `D' is the default (see `U')
  CXX      glsl/standalone_scaffolding.lo
  CXX      glsl/standalone.lo
  CXXLD    glsl/libstandalone.la
copying selected object files to avoid basename conflicts...
ar: `u' modifier ignored since `D' is the default (see `U')
  CXX      glsl/main.o
  CXXLD    glsl_compiler
/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/../lib/gcc/aarch64-none-linux-gnu/10.3.1/../../../../aarch64-none-linux-gnu/bin/ld: cannot find -lssl
/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/../lib/gcc/aarch64-none-linux-gnu/10.3.1/../../../../aarch64-none-linux-gnu/bin/ld: cannot find -lcrypto
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:1936:glsl_compiler] 错误 1
make[4]: 离开目录“/home/huhu/third_part/openGL/mesa-12.0.5/src/compiler”
make[3]: *** [Makefile:1436:all] 错误 2
make[3]: 离开目录“/home/huhu/third_part/openGL/mesa-12.0.5/src/compiler”
make[2]: *** [Makefile:849:all-recursive] 错误 1
make[2]: 离开目录“/home/huhu/third_part/openGL/mesa-12.0.5/src”
make[1]: *** [Makefile:643:all] 错误 2
make[1]: 离开目录“/home/huhu/third_part/openGL/mesa-12.0.5/src”
make: *** [Makefile:649:all-recursive] 错误 1

 鬼使神差重新configure发现下面的错误(make distclean之后重新执行configure命令):

huhu@huhu-System-Product-Name:~/third_part/openGL/mesa-12.0.5$ ./configure --prefix=/home/huhu/third_part/openGL/mesa-12.0.5/install CC=aarch64-none-linux-gnu-gcc CXX=aarch64-none-linux-gnu-g++ CPPFLAGS="-I/home/huhu/third_part/openGL/libpciaccess-0.16/install/include -I/home/huhu/third_part/openGL/eudev-3.2.5/install/include -I/home/huhu/third_part/openGL/expat-2.2.7/install/include -I/home/huhu/third_part/openGL/libxshmfence-1.3/install/include -I/home/huhu/third_part/openGL/xproto-7.0.23/install/include -I/home/huhu/third_part/openGL/libxcb-1.5/install/include -I/home/huhu/third_part/openGL/openssl-openssl-master/install/include" LDFLAGS="-L/home/huhu/third_part/openGL/libpciaccess-0.16/install/lib -L/home/huhu/third_part/openGL/eudev-3.2.5/install/lib -L/home/huhu/third_part/openGL/expat-2.2.7/install/lib -L/home/huhu/third_part/openGL/libxshmfence-1.3/install/lib -L/home/huhu/third_part/openGL/xproto-7.0.23/install/lib -L/home/huhu/third_part/openGL/libxcb-1.5/install/lib -L/home/huhu/third_part/openGL/openssl-openssl-master/install/lib" --enable-opengl --enable-gles1 --enable-gles2 --disable-cairo-tests --disable-dri3 --disable-glx --disable-egl --enable-intel --host=arm-linux
configure: WARNING: unrecognized options: --disable-cairo-tests, --enable-intel
checking build system type... x86_64-unknown-linux-gnu
checking host system type... arm-unknown-linux-gnu
checking target system type... arm-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-linux-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for arm-linux-gcc... aarch64-none-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether aarch64-none-linux-gnu-gcc accepts -g... yes
checking for aarch64-none-linux-gnu-gcc option to accept ISO C89... none needed
checking whether aarch64-none-linux-gnu-gcc understands -c and -o together... yes
checking dependency style of aarch64-none-linux-gnu-gcc... gcc3
checking for arm-linux-ar... no
checking for arm-linux-lib... no
checking for arm-linux-link... no
checking for ar... ar
configure: WARNING: using cross tools not prefixed with host triplet
checking the archiver (ar) interface... ar
checking how to run the C preprocessor... aarch64-none-linux-gnu-gcc -E
checking for arm-linux-gcc... (cached) aarch64-none-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether aarch64-none-linux-gnu-gcc accepts -g... (cached) yes
checking for aarch64-none-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking whether aarch64-none-linux-gnu-gcc understands -c and -o together... (cached) yes
checking dependency style of aarch64-none-linux-gnu-gcc... (cached) gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether aarch64-none-linux-gnu-g++ accepts -g... yes
checking dependency style of aarch64-none-linux-gnu-g++... gcc3
checking dependency style of aarch64-none-linux-gnu-gcc... gcc3
checking for GNU make... make
checking for python2.7... python2.7
checking for a sed that does not truncate output... /usr/bin/sed
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by aarch64-none-linux-gnu-gcc... /opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld
checking if the linker (/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... no
checking for arm-linux-dumpbin... no
checking for arm-linux-link... no
checking for dumpbin... no
checking for link... link -dump
checking the name lister (nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-unknown-linux-gnu file names to arm-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld option to reload object files... -r
checking for arm-linux-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for arm-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for arm-linux-ar... ar
checking for archiver @FILE support... @
checking for arm-linux-strip... strip
checking for arm-linux-ranlib... no
checking for ranlib... ranlib
checking command to parse nm output from aarch64-none-linux-gnu-gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for arm-linux-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if aarch64-none-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for aarch64-none-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if aarch64-none-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if aarch64-none-linux-gnu-gcc static flag -static works... yes
checking if aarch64-none-linux-gnu-gcc supports -c -o file.o... yes
checking if aarch64-none-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the aarch64-none-linux-gnu-gcc linker (/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... aarch64-none-linux-gnu-g++ -E
checking for ld used by aarch64-none-linux-gnu-g++... /opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld
checking if the linker (/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld) is GNU ld... yes
checking whether the aarch64-none-linux-gnu-g++ linker (/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld) supports shared libraries... yes
checking for aarch64-none-linux-gnu-g++ option to produce PIC... -fPIC -DPIC
checking if aarch64-none-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes
checking if aarch64-none-linux-gnu-g++ static flag -static works... yes
checking if aarch64-none-linux-gnu-g++ supports -c -o file.o... yes
checking if aarch64-none-linux-gnu-g++ supports -c -o file.o... (cached) yes
checking whether the aarch64-none-linux-gnu-g++ linker (/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for rm... rm -f
checking for bison... no
checking for byacc... no
checking if bison is the parser generator... no
configure: error: bison not found - unable to compile glcpp-parse.y

sudo apt-get install bison

 又configure

huhu@huhu-System-Product-Name:~/third_part/openGL/mesa-12.0.5$ ./configure --prefix=/home/huhu/third_part/openGL/mesa-12.0.5/install CC=aarch64-none-linux-gnu-gcc CXX=aarch64-none-linux-gnu-g++ CPPFLAGS="-I/home/huhu/third_part/openGL/libpciaccess-0.16/install/include -I/home/huhu/third_part/openGL/eudev-3.2.5/install/include -I/home/huhu/third_part/openGL/expat-2.2.7/install/include -I/home/huhu/third_part/openGL/libxshmfence-1.3/install/include -I/home/huhu/third_part/openGL/xproto-7.0.23/install/include -I/home/huhu/third_part/openGL/libxcb-1.5/install/include -I/home/huhu/third_part/openGL/openssl-openssl-master/install/include" LDFLAGS="-L/home/huhu/third_part/openGL/libpciaccess-0.16/install/lib -L/home/huhu/third_part/openGL/eudev-3.2.5/install/lib -L/home/huhu/third_part/openGL/expat-2.2.7/install/lib -L/home/huhu/third_part/openGL/libxshmfence-1.3/install/lib -L/home/huhu/third_part/openGL/xproto-7.0.23/install/lib -L/home/huhu/third_part/openGL/libxcb-1.5/install/lib -L/home/huhu/third_part/openGL/openssl-openssl-master/install/lib" --enable-opengl --enable-gles1 --enable-gles2 --disable-cairo-tests --disable-dri3 --disable-glx --disable-egl --enable-intel --host=arm-linux
configure: WARNING: unrecognized options: --disable-cairo-tests, --enable-intel
checking build system type... x86_64-unknown-linux-gnu
checking host system type... arm-unknown-linux-gnu
checking target system type... arm-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-linux-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for arm-linux-gcc... aarch64-none-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether aarch64-none-linux-gnu-gcc accepts -g... yes
checking for aarch64-none-linux-gnu-gcc option to accept ISO C89... none needed
checking whether aarch64-none-linux-gnu-gcc understands -c and -o together... yes
checking dependency style of aarch64-none-linux-gnu-gcc... gcc3
checking for arm-linux-ar... no
checking for arm-linux-lib... no
checking for arm-linux-link... no
checking for ar... ar
configure: WARNING: using cross tools not prefixed with host triplet
checking the archiver (ar) interface... ar
checking how to run the C preprocessor... aarch64-none-linux-gnu-gcc -E
checking for arm-linux-gcc... (cached) aarch64-none-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether aarch64-none-linux-gnu-gcc accepts -g... (cached) yes
checking for aarch64-none-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking whether aarch64-none-linux-gnu-gcc understands -c and -o together... (cached) yes
checking dependency style of aarch64-none-linux-gnu-gcc... (cached) gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether aarch64-none-linux-gnu-g++ accepts -g... yes
checking dependency style of aarch64-none-linux-gnu-g++... gcc3
checking dependency style of aarch64-none-linux-gnu-gcc... gcc3
checking for GNU make... make
checking for python2.7... python2.7
checking for a sed that does not truncate output... /usr/bin/sed
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by aarch64-none-linux-gnu-gcc... /opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld
checking if the linker (/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... no
checking for arm-linux-dumpbin... no
checking for arm-linux-link... no
checking for dumpbin... no
checking for link... link -dump
checking the name lister (nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-unknown-linux-gnu file names to arm-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld option to reload object files... -r
checking for arm-linux-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for arm-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for arm-linux-ar... ar
checking for archiver @FILE support... @
checking for arm-linux-strip... strip
checking for arm-linux-ranlib... no
checking for ranlib... ranlib
checking command to parse nm output from aarch64-none-linux-gnu-gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for arm-linux-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if aarch64-none-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for aarch64-none-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if aarch64-none-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if aarch64-none-linux-gnu-gcc static flag -static works... yes
checking if aarch64-none-linux-gnu-gcc supports -c -o file.o... yes
checking if aarch64-none-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the aarch64-none-linux-gnu-gcc linker (/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... aarch64-none-linux-gnu-g++ -E
checking for ld used by aarch64-none-linux-gnu-g++... /opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld
checking if the linker (/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld) is GNU ld... yes
checking whether the aarch64-none-linux-gnu-g++ linker (/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld) supports shared libraries... yes
checking for aarch64-none-linux-gnu-g++ option to produce PIC... -fPIC -DPIC
checking if aarch64-none-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes
checking if aarch64-none-linux-gnu-g++ static flag -static works... yes
checking if aarch64-none-linux-gnu-g++ supports -c -o file.o... yes
checking if aarch64-none-linux-gnu-g++ supports -c -o file.o... (cached) yes
checking whether the aarch64-none-linux-gnu-g++ linker (/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for rm... rm -f
checking for bison... bison -y
checking if bison is the parser generator... yes
checking for flex... no
checking for lex... no
checking if flex is the lexer generator... no
configure: error: flex not found - unable to compile glcpp-lex.l

sudo apt-get install flex

huhu@huhu-System-Product-Name:~/third_part/openGL/mesa-12.0.5$ ./configure --prefix=/home/huhu/third_part/openGL/mesa-12.0.5/install CC=aarch64-none-linux-gnu-gcc CXX=aarch64-none-linux-gnu-g++ CPPFLAGS="-I/home/huhu/third_part/openGL/libpciaccess-0.16/install/include -I/home/huhu/third_part/openGL/eudev-3.2.5/install/include -I/home/huhu/third_part/openGL/expat-2.2.7/install/include -I/home/huhu/third_part/openGL/libxshmfence-1.3/install/include -I/home/huhu/third_part/openGL/xproto-7.0.23/install/include -I/home/huhu/third_part/openGL/libxcb-1.5/install/include -I/home/huhu/third_part/openGL/openssl-openssl-master/install/include" LDFLAGS="-L/home/huhu/third_part/openGL/libpciaccess-0.16/install/lib -L/home/huhu/third_part/openGL/eudev-3.2.5/install/lib -L/home/huhu/third_part/openGL/expat-2.2.7/install/lib -L/home/huhu/third_part/openGL/libxshmfence-1.3/install/lib -L/home/huhu/third_part/openGL/xproto-7.0.23/install/lib -L/home/huhu/third_part/openGL/libxcb-1.5/install/lib -L/home/huhu/third_part/openGL/openssl-openssl-master/install/lib" --enable-opengl --enable-gles1 --enable-gles2 --disable-cairo-tests --disable-dri3 --disable-glx --disable-egl --enable-intel --host=arm-linux
configure: WARNING: unrecognized options: --disable-cairo-tests, --enable-intel
checking build system type... x86_64-unknown-linux-gnu
checking host system type... arm-unknown-linux-gnu
checking target system type... arm-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-linux-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for arm-linux-gcc... aarch64-none-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether aarch64-none-linux-gnu-gcc accepts -g... yes
checking for aarch64-none-linux-gnu-gcc option to accept ISO C89... none needed
checking whether aarch64-none-linux-gnu-gcc understands -c and -o together... yes
checking dependency style of aarch64-none-linux-gnu-gcc... gcc3
checking for arm-linux-ar... no
checking for arm-linux-lib... no
checking for arm-linux-link... no
checking for ar... ar
configure: WARNING: using cross tools not prefixed with host triplet
checking the archiver (ar) interface... ar
checking how to run the C preprocessor... aarch64-none-linux-gnu-gcc -E
checking for arm-linux-gcc... (cached) aarch64-none-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether aarch64-none-linux-gnu-gcc accepts -g... (cached) yes
checking for aarch64-none-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking whether aarch64-none-linux-gnu-gcc understands -c and -o together... (cached) yes
checking dependency style of aarch64-none-linux-gnu-gcc... (cached) gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether aarch64-none-linux-gnu-g++ accepts -g... yes
checking dependency style of aarch64-none-linux-gnu-g++... gcc3
checking dependency style of aarch64-none-linux-gnu-gcc... gcc3
checking for GNU make... make
checking for python2.7... python2.7
checking for a sed that does not truncate output... /usr/bin/sed
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by aarch64-none-linux-gnu-gcc... /opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld
checking if the linker (/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... no
checking for arm-linux-dumpbin... no
checking for arm-linux-link... no
checking for dumpbin... no
checking for link... link -dump
checking the name lister (nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-unknown-linux-gnu file names to arm-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld option to reload object files... -r
checking for arm-linux-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for arm-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for arm-linux-ar... ar
checking for archiver @FILE support... @
checking for arm-linux-strip... strip
checking for arm-linux-ranlib... no
checking for ranlib... ranlib
checking command to parse nm output from aarch64-none-linux-gnu-gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for arm-linux-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if aarch64-none-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for aarch64-none-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if aarch64-none-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if aarch64-none-linux-gnu-gcc static flag -static works... yes
checking if aarch64-none-linux-gnu-gcc supports -c -o file.o... yes
checking if aarch64-none-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the aarch64-none-linux-gnu-gcc linker (/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... aarch64-none-linux-gnu-g++ -E
checking for ld used by aarch64-none-linux-gnu-g++... /opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld
checking if the linker (/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld) is GNU ld... yes
checking whether the aarch64-none-linux-gnu-g++ linker (/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld) supports shared libraries... yes
checking for aarch64-none-linux-gnu-g++ option to produce PIC... -fPIC -DPIC
checking if aarch64-none-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes
checking if aarch64-none-linux-gnu-g++ static flag -static works... yes
checking if aarch64-none-linux-gnu-g++ supports -c -o file.o... yes
checking if aarch64-none-linux-gnu-g++ supports -c -o file.o... (cached) yes
checking whether the aarch64-none-linux-gnu-g++ linker (/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for rm... rm -f
checking for bison... bison -y
checking if bison is the parser generator... yes
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... none needed
checking whether yytext is a pointer... no
checking if flex is the lexer generator... yes
checking for indent... cat
checking if module mako in python is installed... No module named mako
no
configure: error: Python mako module v0.3.4 or higher not found

查询是否安装了mako

huhu@huhu-System-Product-Name:~/third_part/openGL/mesa-12.0.5$ pip install mako
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Requirement already satisfied: mako in /usr/lib/python3/dist-packages (1.1.0)
huhu@huhu-System-Product-Name:~/third_part/openGL/mesa-12.0.5$ pip --version
pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8)

 原来我的python是2.7 

并且configure过程中checking也是2.7

交叉编译openGL,Ubuntu20.04 to aarch64 (三)_第1张图片

 我尝试给python2.7安装pip,折腾了好久装上了

huhu@huhu-System-Product-Name:~$ pip -V
pip 9.0.1 from /usr/local/lib/python2.7/dist-packages/pip-9.0.1-py2.7.egg (python 2.7)

直接安装mako失败

huhu@huhu-System-Product-Name:~$ pip install mako
Collecting mako
  Could not fetch URL https://pypi.tuna.tsinghua.edu.cn/simple/mako/: There was a problem confirming the ssl certificate: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727) - skipping
  Could not find a version that satisfies the requirement mako (from versions: )
No matching distribution found for mako
You are using pip version 9.0.1, however version 23.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

 换了这个命令才安装成功(不知道如果不安装pip-9.0.1,直接运行下面的命令会不会成功,待验证)

 sudo python -m pip install mako

执行configure结果返回成功:

huhu@huhu-System-Product-Name:~/third_part/openGL/mesa-12.0.5$ ./configure --prefix=/home/huhu/third_part/openGL/mesa-12.0.5/install CC=aarch64-none-linux-gnu-gcc CXX=aarch64-none-linux-gnu-g++ CPPFLAGS="-I/home/huhu/third_part/openGL/libpciaccess-0.16/install/include -I/home/huhu/third_part/openGL/eudev-3.2.5/install/include -I/home/huhu/third_part/openGL/expat-2.2.7/install/include -I/home/huhu/third_part/openGL/libxshmfence-1.3/install/include -I/home/huhu/third_part/openGL/xproto-7.0.23/install/include -I/home/huhu/third_part/openGL/libxcb-1.5/install/include -I/home/huhu/third_part/openGL/openssl-openssl-master/install/include" LDFLAGS="-L/home/huhu/third_part/openGL/libpciaccess-0.16/install/lib -L/home/huhu/third_part/openGL/eudev-3.2.5/install/lib -L/home/huhu/third_part/openGL/expat-2.2.7/install/lib -L/home/huhu/third_part/openGL/libxshmfence-1.3/install/lib -L/home/huhu/third_part/openGL/xproto-7.0.23/install/lib -L/home/huhu/third_part/openGL/libxcb-1.5/install/lib -L/home/huhu/third_part/openGL/openssl-openssl-master/install/lib" --enable-opengl --enable-gles1 --enable-gles2 --disable-cairo-tests --disable-dri3 --disable-glx --disable-egl --enable-intel --host=arm-linux
configure: WARNING: unrecognized options: --disable-cairo-tests, --enable-intel
checking build system type... x86_64-unknown-linux-gnu
checking host system type... arm-unknown-linux-gnu
checking target system type... arm-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-linux-strip... no
checking for strip... strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for arm-linux-gcc... aarch64-none-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether aarch64-none-linux-gnu-gcc accepts -g... yes
checking for aarch64-none-linux-gnu-gcc option to accept ISO C89... none needed
checking whether aarch64-none-linux-gnu-gcc understands -c and -o together... yes
checking dependency style of aarch64-none-linux-gnu-gcc... gcc3
checking for arm-linux-ar... no
checking for arm-linux-lib... no
checking for arm-linux-link... no
checking for ar... ar
configure: WARNING: using cross tools not prefixed with host triplet
checking the archiver (ar) interface... ar
checking how to run the C preprocessor... aarch64-none-linux-gnu-gcc -E
checking for arm-linux-gcc... (cached) aarch64-none-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether aarch64-none-linux-gnu-gcc accepts -g... (cached) yes
checking for aarch64-none-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking whether aarch64-none-linux-gnu-gcc understands -c and -o together... (cached) yes
checking dependency style of aarch64-none-linux-gnu-gcc... (cached) gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether aarch64-none-linux-gnu-g++ accepts -g... yes
checking dependency style of aarch64-none-linux-gnu-g++... gcc3
checking dependency style of aarch64-none-linux-gnu-gcc... gcc3
checking for GNU make... make
checking for python2.7... python2.7
checking for a sed that does not truncate output... /usr/bin/sed
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by aarch64-none-linux-gnu-gcc... /opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld
checking if the linker (/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... no
checking for arm-linux-dumpbin... no
checking for arm-linux-link... no
checking for dumpbin... no
checking for link... link -dump
checking the name lister (nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-unknown-linux-gnu file names to arm-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld option to reload object files... -r
checking for arm-linux-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for arm-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for arm-linux-ar... ar
checking for archiver @FILE support... @
checking for arm-linux-strip... strip
checking for arm-linux-ranlib... no
checking for ranlib... ranlib
checking command to parse nm output from aarch64-none-linux-gnu-gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for arm-linux-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if aarch64-none-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for aarch64-none-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if aarch64-none-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if aarch64-none-linux-gnu-gcc static flag -static works... yes
checking if aarch64-none-linux-gnu-gcc supports -c -o file.o... yes
checking if aarch64-none-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the aarch64-none-linux-gnu-gcc linker (/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... aarch64-none-linux-gnu-g++ -E
checking for ld used by aarch64-none-linux-gnu-g++... /opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld
checking if the linker (/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld) is GNU ld... yes
checking whether the aarch64-none-linux-gnu-g++ linker (/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld) supports shared libraries... yes
checking for aarch64-none-linux-gnu-g++ option to produce PIC... -fPIC -DPIC
checking if aarch64-none-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes
checking if aarch64-none-linux-gnu-g++ static flag -static works... yes
checking if aarch64-none-linux-gnu-g++ supports -c -o file.o... yes
checking if aarch64-none-linux-gnu-g++ supports -c -o file.o... (cached) yes
checking whether the aarch64-none-linux-gnu-g++ linker (/opt/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for rm... rm -f
checking for bison... bison -y
checking if bison is the parser generator... yes
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... none needed
checking whether yytext is a pointer... no
checking if flex is the lexer generator... yes
checking for indent... cat
checking if module mako in python is installed... yes
checking if compiling with clang... no
checking whether gcc version is sufficient... yes
checking whether __SUNPRO_C is declared... no
checking for __builtin_bswap32... yes
checking for __builtin_bswap64... yes
checking for __builtin_clz... yes
checking for __builtin_clzll... yes
checking for __builtin_ctz... yes
checking for __builtin_expect... yes
checking for __builtin_ffs... yes
checking for __builtin_ffsll... yes
checking for __builtin_popcount... yes
checking for __builtin_popcountll... yes
checking for __builtin_unreachable... yes
checking for __attribute__((const))... yes
checking for __attribute__((flatten))... yes
checking for __attribute__((format))... yes
checking for __attribute__((malloc))... yes
checking for __attribute__((packed))... yes
checking for __attribute__((pure))... yes
checking for __attribute__((returns_nonnull))... yes
checking for __attribute__((unused))... yes
checking for __attribute__((visibility))... yes
checking for __attribute__((warn_unused_result))... yes
checking for __attribute__((weak))... yes
checking for arm-linux-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether aarch64-none-linux-gnu-gcc supports -Werror=missing-prototypes... yes
checking whether aarch64-none-linux-gnu-gcc supports -fvisibility=hidden... yes
checking whether aarch64-none-linux-gnu-gcc supports -Werror=vla... yes
checking whether aarch64-none-linux-gnu-g++ supports -fvisibility=hidden... yes
checking whether byte ordering is bigendian... unknown
checking whether gcc supports -mpower8-vector... no
checking if ld supports -Bsymbolic... yes
checking whether ld supports --gc-sections... yes
checking if the linker supports version-scripts... yes
checking if the linker supports --dynamic-list... yes
checking whether to enable assembly... no, platform not supported
checking whether sys/types.h defines makedev... no
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
checking for sys/sysmacros.h... yes
checking xlocale.h usability... no
checking xlocale.h presence... no
checking for xlocale.h... no
checking sys/sysctl.h usability... no
checking sys/sysctl.h presence... no
checking for sys/sysctl.h... no
checking for strtof... yes
checking for mkostemp... yes
checking for dlopen... no
checking for dlopen in -ldl... yes
checking for dladdr... yes
checking for clock_gettime... yes
checking for posix_memalign... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for PTHREADSTUBS... yes
checking for LIBDRM... yes
checking for SHA1Init... no
checking for CC_SHA1_Init... no
checking for wincrypt.h... no
checking for SHA1Init in -lmd... no
checking for LIBSHA1... no
checking for nettle_sha1_init in -lnettle... no
checking for gcry_md_open in -lgcrypt... no
checking for SHA1_Init in -lcrypto... yes
checking for OPENSSL... yes
checking for SHA1 implementation... libcrypto
checking for LIBUDEV... yes
checking for EXPAT... yes
checking for INTEL... yes
checking for INTEL... yes
checking for NVVIEUX... yes
checking for RADEON... yes
checking for RADEON... yes
checking for LIBELF... no
checking for elf_memory in -lelf... no
checking for WAYLAND_SCANNER... no
checking for wayland-scanner... no
Package libomxil-bellagio was not found in the pkg-config search path.
Perhaps you should add the directory containing `libomxil-bellagio.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libomxil-bellagio' found
checking for RADEON... yes
checking for RADEON... yes
Package libva was not found in the pkg-config search path.
Perhaps you should add the directory containing `libva.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libva' found
Package libva was not found in the pkg-config search path.
Perhaps you should add the directory containing `libva.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libva' found
checking for VALGRIND... no
checking whether to enable Valgrind support... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/compiler/Makefile
config.status: creating src/egl/Makefile
config.status: creating src/egl/main/egl.pc
config.status: creating src/egl/wayland/wayland-drm/Makefile
config.status: creating src/egl/wayland/wayland-egl/Makefile
config.status: creating src/egl/wayland/wayland-egl/wayland-egl.pc
config.status: creating src/gallium/Makefile
config.status: creating src/gallium/auxiliary/Makefile
config.status: creating src/gallium/auxiliary/pipe-loader/Makefile
config.status: creating src/gallium/drivers/freedreno/Makefile
config.status: creating src/gallium/drivers/ddebug/Makefile
config.status: creating src/gallium/drivers/i915/Makefile
config.status: creating src/gallium/drivers/ilo/Makefile
config.status: creating src/gallium/drivers/llvmpipe/Makefile
config.status: creating src/gallium/drivers/noop/Makefile
config.status: creating src/gallium/drivers/nouveau/Makefile
config.status: creating src/gallium/drivers/r300/Makefile
config.status: creating src/gallium/drivers/r600/Makefile
config.status: creating src/gallium/drivers/radeon/Makefile
config.status: creating src/gallium/drivers/radeonsi/Makefile
config.status: creating src/gallium/drivers/rbug/Makefile
config.status: creating src/gallium/drivers/softpipe/Makefile
config.status: creating src/gallium/drivers/svga/Makefile
config.status: creating src/gallium/drivers/swr/Makefile
config.status: creating src/gallium/drivers/trace/Makefile
config.status: creating src/gallium/drivers/vc4/Makefile
config.status: creating src/gallium/drivers/virgl/Makefile
config.status: creating src/gallium/state_trackers/clover/Makefile
config.status: creating src/gallium/state_trackers/dri/Makefile
config.status: creating src/gallium/state_trackers/glx/xlib/Makefile
config.status: creating src/gallium/state_trackers/nine/Makefile
config.status: creating src/gallium/state_trackers/omx/Makefile
config.status: creating src/gallium/state_trackers/osmesa/Makefile
config.status: creating src/gallium/state_trackers/va/Makefile
config.status: creating src/gallium/state_trackers/vdpau/Makefile
config.status: creating src/gallium/state_trackers/xa/Makefile
config.status: creating src/gallium/state_trackers/xvmc/Makefile
config.status: creating src/gallium/targets/d3dadapter9/Makefile
config.status: creating src/gallium/targets/d3dadapter9/d3d.pc
config.status: creating src/gallium/targets/dri/Makefile
config.status: creating src/gallium/targets/libgl-xlib/Makefile
config.status: creating src/gallium/targets/omx/Makefile
config.status: creating src/gallium/targets/opencl/Makefile
config.status: creating src/gallium/targets/opencl/mesa.icd
config.status: creating src/gallium/targets/osmesa/Makefile
config.status: creating src/gallium/targets/osmesa/osmesa.pc
config.status: creating src/gallium/targets/pipe-loader/Makefile
config.status: creating src/gallium/targets/va/Makefile
config.status: creating src/gallium/targets/vdpau/Makefile
config.status: creating src/gallium/targets/xa/Makefile
config.status: creating src/gallium/targets/xa/xatracker.pc
config.status: creating src/gallium/targets/xvmc/Makefile
config.status: creating src/gallium/tests/trivial/Makefile
config.status: creating src/gallium/tests/unit/Makefile
config.status: creating src/gallium/winsys/freedreno/drm/Makefile
config.status: creating src/gallium/winsys/i915/drm/Makefile
config.status: creating src/gallium/winsys/intel/drm/Makefile
config.status: creating src/gallium/winsys/nouveau/drm/Makefile
config.status: creating src/gallium/winsys/radeon/drm/Makefile
config.status: creating src/gallium/winsys/amdgpu/drm/Makefile
config.status: creating src/gallium/winsys/svga/drm/Makefile
config.status: creating src/gallium/winsys/sw/dri/Makefile
config.status: creating src/gallium/winsys/sw/kms-dri/Makefile
config.status: creating src/gallium/winsys/sw/null/Makefile
config.status: creating src/gallium/winsys/sw/wrapper/Makefile
config.status: creating src/gallium/winsys/sw/xlib/Makefile
config.status: creating src/gallium/winsys/vc4/drm/Makefile
config.status: creating src/gallium/winsys/virgl/drm/Makefile
config.status: creating src/gallium/winsys/virgl/vtest/Makefile
config.status: creating src/gbm/Makefile
config.status: creating src/gbm/main/gbm.pc
config.status: creating src/glx/Makefile
config.status: creating src/glx/apple/Makefile
config.status: creating src/glx/tests/Makefile
config.status: creating src/gtest/Makefile
config.status: creating src/intel/Makefile
config.status: creating src/intel/genxml/Makefile
config.status: creating src/intel/isl/Makefile
config.status: creating src/intel/vulkan/Makefile
config.status: creating src/loader/Makefile
config.status: creating src/mapi/Makefile
config.status: creating src/mapi/es1api/glesv1_cm.pc
config.status: creating src/mapi/es2api/glesv2.pc
config.status: creating src/mapi/glapi/gen/Makefile
config.status: creating src/mesa/Makefile
config.status: creating src/mesa/gl.pc
config.status: creating src/mesa/drivers/dri/dri.pc
config.status: creating src/mesa/drivers/dri/common/Makefile
config.status: creating src/mesa/drivers/dri/common/xmlpool/Makefile
config.status: creating src/mesa/drivers/dri/i915/Makefile
config.status: creating src/mesa/drivers/dri/i965/Makefile
config.status: creating src/mesa/drivers/dri/Makefile
config.status: creating src/mesa/drivers/dri/nouveau/Makefile
config.status: creating src/mesa/drivers/dri/r200/Makefile
config.status: creating src/mesa/drivers/dri/radeon/Makefile
config.status: creating src/mesa/drivers/dri/swrast/Makefile
config.status: creating src/mesa/drivers/osmesa/Makefile
config.status: creating src/mesa/drivers/osmesa/osmesa.pc
config.status: creating src/mesa/drivers/x11/Makefile
config.status: creating src/mesa/main/tests/Makefile
config.status: creating src/util/Makefile
config.status: creating src/util/tests/hash_table/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --disable-cairo-tests, --enable-intel

        prefix:          /home/huhu/third_part/openGL/mesa-12.0.5/install
        exec_prefix:     ${prefix}
        libdir:          ${exec_prefix}/lib
        includedir:      ${prefix}/include

        OpenGL:          yes (ES1: yes ES2: yes)

        OSMesa:          no

        DRI platform:    drm
        DRI drivers:     i915 i965 nouveau r200 radeon swrast 
        DRI driver dir:  ${libdir}/dri
        GLX:             no

        EGL:             no

        Vulkan drivers:  no

        llvm:            no

        Gallium drivers: r300 r600 svga swrast
        Gallium st:      mesa

        Shader cache:    yes
        With SHA1 from:  libcrypto

        Shared libs:     yes
        Static libs:     no
        Shared-glapi:    yes

        CFLAGS:          -g -O2 -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-strict-aliasing -fno-math-errno -fno-trapping-math -fno-builtin-memcmp
        CXXFLAGS:        -g -O2 -Wall -fno-strict-aliasing -fno-builtin-memcmp
        Macros:          -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_GNU_SOURCE -DNDEBUG -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DHAVE_LIBDRM -DHAVE_SHA1 -DHAVE_LIBUDEV -DHAVE_ALIAS -DMESA_EGL_NO_X11_HEADERS

        PYTHON2:         python2.7

        Run 'make' to build Mesa

make

make install (输出内容过多,不展示了)

 其中make出现小插曲

home/huhu/third_part/openGL/mesa-12.0.5/src/mesa/drivers/dri/radeon/radeon_debug.c

60行出现重复定义的情况,把他改个名字。重新make就好了

交叉编译openGL,Ubuntu20.04 to aarch64 (三)_第2张图片

可以看到install文件夹下就出现了编译好后的文件

huhu@huhu-System-Product-Name:~/third_part/openGL/mesa-12.0.5$ cd install/
huhu@huhu-System-Product-Name:~/third_part/openGL/mesa-12.0.5/install$ ls
etc  include  lib
huhu@huhu-System-Product-Name:~/third_part/openGL/mesa-12.0.5/install$ cd include/
huhu@huhu-System-Product-Name:~/third_part/openGL/mesa-12.0.5/install/include$ ls
GL  GLES  GLES2  GLES3
huhu@huhu-System-Product-Name:~/third_part/openGL/mesa-12.0.5/install/include$ cd ../lib/
huhu@huhu-System-Product-Name:~/third_part/openGL/mesa-12.0.5/install/lib$ ls
dri          libglapi.so.0      libGLESv1_CM.so        libGLESv2.la    libGLESv2.so.2.0.0
libglapi.la  libglapi.so.0.0.0  libGLESv1_CM.so.1      libGLESv2.so    pkgconfig
libglapi.so  libGLESv1_CM.la    libGLESv1_CM.so.1.1.0  libGLESv2.so.2

同时在~/.bashrc文件中添加如下的包路径

export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/home/huhu/third_part/openGL/mesa-12.0.5/install/lib/pkgconfig"

source .bashrc

你可能感兴趣的:(c++,linux,arm开发,运维)