Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: ld.so: object '/usr/local/lib/bear/libexec.so' from LD_PRELOAD cannot be preloaded #597

Open
zhzhn1234 opened this issue Sep 11, 2024 · 5 comments

Comments

@zhzhn1234
Copy link

Describe the bug
ERROR: ld.so: object '/usr/local/lib/bear/libexec.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.

when running bear -- make

To Reproduce
bear -- make

Environment:

  • OS name: Linux
  • OS version: Ubuntu 22.04.4 LTS
  • OS architecture: x86_64
  • Bear version: 3.1.4
  • Bear install method: from source
    =======================================================

Additional context

the source files is below:

.
├── a.c //empty file only for test
├── a.o //generate by Makefile
└── Makefile

=======================================================
Makefile content is below:
all:
aarch64-himix100-linux-gcc -c a.c
#aarch64-none-linux-gnu-gcc -c a.c

=======================================================
my test is below:

  1. make (with out bear)
    (1).use aarch64-none-linux-gnu-gcc arm64 cross-compiler in Makefile
    no error,a.o generate
    file a.o:
    a.o: ELF 64-bit LSB relocatable, ARM aarch64, version 1 (SYSV), not stripped
    readelf -h a.o :
    ELF Header:
    Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00
    Class: ELF64
    Data: 2's complement, little endian
    Version: 1 (current)
    OS/ABI: UNIX - System V
    ABI Version: 0
    Type: REL (Relocatable file)
    Machine: AArch64
    Version: 0x1
    Entry point address: 0x0
    Start of program headers: 0 (bytes into file)
    Start of section headers: 408 (bytes into file)
    Flags: 0x0
    Size of this header: 64 (bytes)
    Size of program headers: 0 (bytes)
    Number of program headers: 0
    Size of section headers: 64 (bytes)
    Number of section headers: 9
    Section header string table index: 8
    (2).use aarch64-himix100-linux-gcc arm64 cross-compiler in Makefile
    no error,a.o generate
    file a.o:
    a.o: ELF 64-bit LSB relocatable, ARM aarch64, version 1 (SYSV), not stripped
    readelf -h a.o :
    ELF Header:
    Magic: 7f 45 4c 46 02 01 01 00 00 00 00 00 00 00 00 00
    Class: ELF64
    Data: 2's complement, little endian
    Version: 1 (current)
    OS/ABI: UNIX - System V
    ABI Version: 0
    Type: REL (Relocatable file)
    Machine: AArch64
    Version: 0x1
    Entry point address: 0x0
    Start of program headers: 0 (bytes into file)
    Start of section headers: 360 (bytes into file)
    Flags: 0x0
    Size of this header: 64 (bytes)
    Size of program headers: 0 (bytes)
    Number of program headers: 0
    Size of section headers: 64 (bytes)
    Number of section headers: 9
    Section header string table index: 8
  2. make (with bear)
    (1).use aarch64-none-linux-gnu-gcc arm64 cross-compiler in Makefile
    no error,a.o generate
    (2).use aarch64-himix100-linux-gcc arm64 cross-compiler in Makefile
    error code is below:
    aarch64-himix100-linux-gcc -c a.c
    ERROR: ld.so: object '/usr/local/lib/bear/libexec.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
    ERROR: ld.so: object '/usr/local/lib/bear/libexec.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
    ERROR: ld.so: object '/usr/local/lib/bear/libexec.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.

=======================================================

=======================================================
aarch64-himix100-linux-gcc -v:
Thread model: posix
gcc version 6.3.0 (HC&C V1R3C00SPC200B005_20190606)
aarch64-none-linux-gnu-gcc -v:
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 10.3.1 20210621 (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29))

I guess may the cross compiler aarch64-himix100-linux-gcc the problem,but i am not sure.
how to fix the problem?

@zhzhn1234
Copy link
Author

any body can help me?

@rizsotto
Copy link
Owner

@zhzhn1234 have you tried what's in the troubleshooting page recommends?

@zhzhn1234
Copy link
Author

all:
aarch64-himix100-linux-gcc -c a.c
#aarch64-none-linux-gnu-gcc -c a.c
Yes, I have read this document, but it seems to be different from the issue I am referring to. My initial guess is that the problem is caused by the use of Bear due to differences between two cross compilers. But it is uncertain where the difference between the two cross compilers caused the bear error. I conducted a comparative test of two cross compilers using 'bear -- verbose -- make', and the printed results are as follows. I hope to provide some suggestions.
The contents of the makefile for Test 1 are as follows:
all:
aarch64-none-linux-gnu-gcc -c a.c
In this case, the bear did not make the error mentioned earlier. The printed output is as follows:
======================================
abc@abc-virtual-machine:/mnt/hgfs/share/test/bear_test$ bear --verbose -- make
[17:31:51.309592, br, 24391] bear: 3.1.4
[17:31:51.309762, br, 24391] arguments: ["bear", "--verbose", "--", "make"]
[17:31:51.309900, br, 24391] environment: ["SHELL=/bin/bash", "SESSION_MANAGER=local/abc-virtual-machine:@/tmp/.ICE-unix/2428,unix/abc-virtual-machine:/tmp/.ICE-unix/2428", "QT_ACCESSIBILITY=1", "COLORTERM=truecolor", "XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu-xorg:/etc/xdg", "SSH_AGENT_LAUNCHER=gnome-keyring", "XDG_MENU_PREFIX=gnome-", "GNOME_DESKTOP_SESSION_ID=this-is-deprecated", "GTK_IM_MODULE=ibus", "LANGUAGE=en_US:en", "LC_ADDRESS=en_US.UTF-8", "GNOME_SHELL_SESSION_MODE=ubuntu", "LC_NAME=en_US.UTF-8", "SSH_AUTH_SOCK=/run/user/1000/keyring/ssh", "XMAKE_PROGRAM_FILE=/home/abc/.local/bin/xmake", "XMODIFIERS=@im=ibus", "DESKTOP_SESSION=ubuntu-xorg", "LC_MONETARY=en_US.UTF-8", "GTK_MODULES=gail:atk-bridge", "PWD=/mnt/hgfs/share/test/bear_test", "LOGNAME=abc", "XDG_SESSION_DESKTOP=ubuntu-xorg", "XDG_SESSION_TYPE=x11", "XMAKE_PROGRAM_DIR=/home/abc/.local/share/xmake", "GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1", "SYSTEMD_EXEC_PID=3405", "XAUTHORITY=/run/user/1000/gdm/Xauthority", "WINDOWPATH=2", "ALLUSERSPROFILE=/opt/MVS/MVFG", "HOME=/home/abc", "USERNAME=abc", "LC_PAPER=en_US.UTF-8", "LANG=en_US.UTF-8", "LS_COLORS=rs=0:di=01;35:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.webp=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:", "XDG_CURRENT_DESKTOP=ubuntu:GNOME", "VTE_VERSION=6800", "GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/9b9e865c_fd1b_477f_8b70_1b79c6ed03d8", "LESSCLOSE=/usr/bin/lesspipe %s %s", "XDG_SESSION_CLASS=user", "TERM=xterm-256color", "LC_IDENTIFICATION=en_US.UTF-8", "LESSOPEN=| /usr/bin/lesspipe %s", "USER=abc", "GNOME_TERMINAL_SERVICE=:1.95", "DISPLAY=:0", "XMAKE_ROOTDIR=/home/abc/.local/bin", "SHLVL=1", "LC_TELEPHONE=en_US.UTF-8", "QT_IM_MODULE=ibus", "LC_MEASUREMENT=en_US.UTF-8", "PAPERSIZE=letter", "LD_LIBRARY_PATH=/opt/MVS/lib/aarch64:", "XDG_RUNTIME_DIR=/run/user/1000", "XMAKE_SHELL=bash", "LC_TIME=en_US.UTF-8", "XDG_DATA_DIRS=/usr/share/ubuntu-xorg:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop", "PATH=/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin:/opt/linux/x86-arm/aarch64-v01c01-linux-gnu-gcc/bin:/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin:/home/abc/.local/bin:/home/abc/bin:/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin:/opt/linux/x86-arm/aarch64-v01c01-linux-gnu-gcc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin", "GDMSESSION=ubuntu-xorg", "DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus", "LC_NUMERIC=en_US.UTF-8", "OLDPWD=/opt/linux/x86-arm", "=/usr/local/bin/bear"]
[17:31:51.309947, br, 24391] sysname: Linux
[17:31:51.309958, br, 24391] release: 6.8.0-45-generic
[17:31:51.309981, br, 24391] version: #45~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Sep 11 15:25:05 UTC 2
[17:31:51.309988, br, 24391] machine: x86_64
[17:31:51.310011, br, 24391] arguments parsed: {program: bear, arguments: [{--: [make]}, {--bear-path: [/usr/local/bin/bear]}, {--library: [/usr/local/lib/bear/libexec.so]}, {--output: [compile_commands.json]}, {--verbose: []}, {--wrapper: [/usr/local/lib/bear/wrapper]}, {--wrapper-dir: [/usr/local/lib/bear/wrapper.d]}]}
[17:31:51.310747, br, 24391] Process spawned. [pid: 24392, command: ["/usr/local/bin/bear", "intercept", "--library", "/usr/local/lib/bear/libexec.so", "--wrapper", "/usr/local/lib/bear/wrapper", "--wrapper-dir", "/usr/local/lib/bear/wrapper.d", "--output", "compile_commands.events.json", "--verbose", "--", "make"]]
[17:31:51.310806, br, 24391] Process wait requested. [pid: 24392]
[17:31:51.378249, br, 24392] bear: 3.1.4
[17:31:51.378398, br, 24392] arguments: ["/usr/local/bin/bear", "intercept", "--library", "/usr/local/lib/bear/libexec.so", "--wrapper", "/usr/local/lib/bear/wrapper", "--wrapper-dir", "/usr/local/lib/bear/wrapper.d", "--output", "compile_commands.events.json", "--verbose", "--", "make"]
[17:31:51.378455, br, 24392] environment: ["ALLUSERSPROFILE=/opt/MVS/MVFG", "COLORTERM=truecolor", "DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus", "DESKTOP_SESSION=ubuntu-xorg", "DISPLAY=:0", "GDMSESSION=ubuntu-xorg", "GNOME_DESKTOP_SESSION_ID=this-is-deprecated", "GNOME_SHELL_SESSION_MODE=ubuntu", "GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/9b9e865c_fd1b_477f_8b70_1b79c6ed03d8", "GNOME_TERMINAL_SERVICE=:1.95", "GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1", "GTK_IM_MODULE=ibus", "GTK_MODULES=gail:atk-bridge", "HOME=/home/abc", "LANG=en_US.UTF-8", "LANGUAGE=en_US:en", "LC_ADDRESS=en_US.UTF-8", "LC_IDENTIFICATION=en_US.UTF-8", "LC_MEASUREMENT=en_US.UTF-8", "LC_MONETARY=en_US.UTF-8", "LC_NAME=en_US.UTF-8", "LC_NUMERIC=en_US.UTF-8", "LC_PAPER=en_US.UTF-8", "LC_TELEPHONE=en_US.UTF-8", "LC_TIME=en_US.UTF-8", "LD_LIBRARY_PATH=/opt/MVS/lib/aarch64:", "LESSCLOSE=/usr/bin/lesspipe %s %s", "LESSOPEN=| /usr/bin/lesspipe %s", "LOGNAME=abc", "LS_COLORS=rs=0:di=01;35:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.webp=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:", "OLDPWD=/opt/linux/x86-arm", "PAPERSIZE=letter", "PATH=/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin:/opt/linux/x86-arm/aarch64-v01c01-linux-gnu-gcc/bin:/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin:/home/abc/.local/bin:/home/abc/bin:/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin:/opt/linux/x86-arm/aarch64-v01c01-linux-gnu-gcc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin", "PWD=/mnt/hgfs/share/test/bear_test", "QT_ACCESSIBILITY=1", "QT_IM_MODULE=ibus", "SESSION_MANAGER=local/abc-virtual-machine:@/tmp/.ICE-unix/2428,unix/abc-virtual-machine:/tmp/.ICE-unix/2428", "SHELL=/bin/bash", "SHLVL=1", "SSH_AGENT_LAUNCHER=gnome-keyring", "SSH_AUTH_SOCK=/run/user/1000/keyring/ssh", "SYSTEMD_EXEC_PID=3405", "TERM=xterm-256color", "USER=abc", "USERNAME=abc", "VTE_VERSION=6800", "WINDOWPATH=2", "XAUTHORITY=/run/user/1000/gdm/Xauthority", "XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu-xorg:/etc/xdg", "XDG_CURRENT_DESKTOP=ubuntu:GNOME", "XDG_DATA_DIRS=/usr/share/ubuntu-xorg:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop", "XDG_MENU_PREFIX=gnome-", "XDG_RUNTIME_DIR=/run/user/1000", "XDG_SESSION_CLASS=user", "XDG_SESSION_DESKTOP=ubuntu-xorg", "XDG_SESSION_TYPE=x11", "XMAKE_PROGRAM_DIR=/home/abc/.local/share/xmake", "XMAKE_PROGRAM_FILE=/home/abc/.local/bin/xmake", "XMAKE_ROOTDIR=/home/abc/.local/bin", "XMAKE_SHELL=bash", "XMODIFIERS=@im=ibus", "
=/usr/local/bin/bear"]
[17:31:51.378513, br, 24392] sysname: Linux
[17:31:51.378517, br, 24392] release: 6.8.0-45-generic
[17:31:51.378520, br, 24392] version: #4522.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Sep 11 15:25:05 UTC 2
[17:31:51.378524, br, 24392] machine: x86_64
[17:31:51.378568, br, 24392] arguments parsed: {program: intercept, arguments: [{--: [make]}, {--library: [/usr/local/lib/bear/libexec.so]}, {--output: [compile_commands.events.json]}, {--verbose: []}, {--wrapper: [/usr/local/lib/bear/wrapper]}, {--wrapper-dir: [/usr/local/lib/bear/wrapper.d]}, {command: [intercept]}]}
[17:31:51.378729, br, 24392] Created library preload session. [library=/usr/local/lib/bear/libexec.so, executor=/usr/local/lib/bear/wrapper]
[17:31:51.381722, br, 24392] Running gRPC server. dns:///localhost:37305
[17:31:51.382226, br, 24392] Process spawned. [pid: 24397, command: ["/usr/local/lib/bear/wrapper", "--destination", "dns:///localhost:37305", "--verbose", "--execute", "/usr/bin/make", "--", "make"]]
[17:31:51.382296, br, 24392] Process wait requested. [pid: 24397]
[17:31:51.452339, el, 24397] lib.cc; on_load
[17:31:51.452617, wr, 24397, ppid: 24392] wrapper: 3.1.4
[17:31:51.452674, wr, 24397, ppid: 24392] arguments: ["/usr/local/lib/bear/wrapper", "--destination", "dns:///localhost:37305", "--verbose", "--execute", "/usr/bin/make", "--", "make"]
[17:31:51.452773, wr, 24397, ppid: 24392] environment: ["ALLUSERSPROFILE=/opt/MVS/MVFG", "COLORTERM=truecolor", "DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus", "DESKTOP_SESSION=ubuntu-xorg", "DISPLAY=:0", "GDMSESSION=ubuntu-xorg", "GNOME_DESKTOP_SESSION_ID=this-is-deprecated", "GNOME_SHELL_SESSION_MODE=ubuntu", "GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/9b9e865c_fd1b_477f_8b70_1b79c6ed03d8", "GNOME_TERMINAL_SERVICE=:1.95", "GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1", "GTK_IM_MODULE=ibus", "GTK_MODULES=gail:atk-bridge", "HOME=/home/abc", "INTERCEPT_REPORT_COMMAND=/usr/local/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:37305", "INTERCEPT_VERBOSE=true", "LANG=en_US.UTF-8", "LANGUAGE=en_US:en", "LC_ADDRESS=en_US.UTF-8", "LC_IDENTIFICATION=en_US.UTF-8", "LC_MEASUREMENT=en_US.UTF-8", "LC_MONETARY=en_US.UTF-8", "LC_NAME=en_US.UTF-8", "LC_NUMERIC=en_US.UTF-8", "LC_PAPER=en_US.UTF-8", "LC_TELEPHONE=en_US.UTF-8", "LC_TIME=en_US.UTF-8", "LD_LIBRARY_PATH=/opt/MVS/lib/aarch64:", "LD_PRELOAD=/usr/local/lib/bear/libexec.so", "LESSCLOSE=/usr/bin/lesspipe %s %s", "LESSOPEN=| /usr/bin/lesspipe %s", "LOGNAME=abc", "LS_COLORS=rs=0:di=01;35:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.webp=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:", "OLDPWD=/opt/linux/x86-arm", "PAPERSIZE=letter", "PATH=/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin:/opt/linux/x86-arm/aarch64-v01c01-linux-gnu-gcc/bin:/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin:/home/abc/.local/bin:/home/abc/bin:/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin:/opt/linux/x86-arm/aarch64-v01c01-linux-gnu-gcc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin", "PWD=/mnt/hgfs/share/test/bear_test", "QT_ACCESSIBILITY=1", "QT_IM_MODULE=ibus", "SESSION_MANAGER=local/abc-virtual-machine:@/tmp/.ICE-unix/2428,unix/abc-virtual-machine:/tmp/.ICE-unix/2428", "SHELL=/bin/bash", "SHLVL=1", "SSH_AGENT_LAUNCHER=gnome-keyring", "SSH_AUTH_SOCK=/run/user/1000/keyring/ssh", "SYSTEMD_EXEC_PID=3405", "TERM=xterm-256color", "USER=abc", "USERNAME=abc", "VTE_VERSION=6800", "WINDOWPATH=2", "XAUTHORITY=/run/user/1000/gdm/Xauthority", "XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu-xorg:/etc/xdg", "XDG_CURRENT_DESKTOP=ubuntu:GNOME", "XDG_DATA_DIRS=/usr/share/ubuntu-xorg:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop", "XDG_MENU_PREFIX=gnome-", "XDG_RUNTIME_DIR=/run/user/1000", "XDG_SESSION_CLASS=user", "XDG_SESSION_DESKTOP=ubuntu-xorg", "XDG_SESSION_TYPE=x11", "XMAKE_PROGRAM_DIR=/home/abc/.local/share/xmake", "XMAKE_PROGRAM_FILE=/home/abc/.local/bin/xmake", "XMAKE_ROOTDIR=/home/abc/.local/bin", "XMAKE_SHELL=bash", "XMODIFIERS=@im=ibus", "=/usr/local/bin/bear"]
[17:31:51.452824, wr, 24397, ppid: 24392] arguments parsed: {program: /usr/local/lib/bear/wrapper, arguments: [{--: [make]}, {--destination: [dns:///localhost:37305]}, {--execute: [/usr/bin/make]}, {--verbose: []}]}
[17:31:51.453633, wr, 24397, ppid: 24392] gRPC call requested: supervise::Supervisor::Resolve
[17:31:51.455924, br, 24392] trying to resolve for library: /usr/bin/make
[17:31:51.456325, wr, 24397, ppid: 24392] gRPC call [Resolve] finished: true
[17:31:51.456856, wr, 24397, ppid: 24392] Process spawned. [pid: 24402, command: ["make"]]
[17:31:51.456906, wr, 24397, ppid: 24392] gRPC call requested: supervise::Interceptor::Register
[17:31:51.459690, wr, 24397, ppid: 24392] gRPC call [Register] finished: true
[17:31:51.459802, wr, 24397, ppid: 24392] Process wait requested. [pid: 24402]
[17:31:51.468676, el, 24402] lib.cc; on_load
aarch64-none-linux-gnu-gcc -c a.c
[17:31:51.474258, el, 24402] lib.cc; posix_spawn path:/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-gcc
[17:31:51.542515, el, 24403] lib.cc; on_load
[17:31:51.542875, wr, 24403, ppid: 24402] wrapper: 3.1.4
[17:31:51.542916, wr, 24403, ppid: 24402] arguments: ["/usr/local/lib/bear/wrapper", "--destination", "dns:///localhost:37305", "--verbose", "--execute", "/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-gcc", "--", "aarch64-none-linux-gnu-gcc", "-c", "a.c"]
[17:31:51.543306, wr, 24403, ppid: 24402] environment: ["GNOME_SHELL_SESSION_MODE=ubuntu", "SSH_AGENT_LAUNCHER=gnome-keyring", "LC_NAME=en_US.UTF-8", "LC_NUMERIC=en_US.UTF-8", "WINDOWPATH=2", "LC_ADDRESS=en_US.UTF-8", "QT_ACCESSIBILITY=1", "PWD=/mnt/hgfs/share/test/bear_test", "XDG_DATA_DIRS=/usr/share/ubuntu-xorg:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop", "OLDPWD=/opt/linux/x86-arm", "LANG=en_US.UTF-8", "XAUTHORITY=/run/user/1000/gdm/Xauthority", "GNOME_TERMINAL_SERVICE=:1.95", "MAKEFLAGS=", "LESSOPEN=| /usr/bin/lesspipe %s", "MFLAGS=", "SSH_AUTH_SOCK=/run/user/1000/keyring/ssh", "XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu-xorg:/etc/xdg", "XDG_SESSION_DESKTOP=ubuntu-xorg", "XDG_SESSION_TYPE=x11", "SESSION_MANAGER=local/abc-virtual-machine:@/tmp/.ICE-unix/2428,unix/abc-virtual-machine:/tmp/.ICE-unix/2428", "LD_PRELOAD=/usr/local/lib/bear/libexec.so", "DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus", "GNOME_DESKTOP_SESSION_ID=this-is-deprecated", "SHELL=/bin/bash", "XMODIFIERS=@im=ibus", "LD_LIBRARY_PATH=/opt/MVS/lib/aarch64:", "SHLVL=1", "XMAKE_PROGRAM_FILE=/home/abc/.local/bin/xmake", "GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/9b9e865c_fd1b_477f_8b70_1b79c6ed03d8", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:37305", "PATH=/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin:/opt/linux/x86-arm/aarch64-v01c01-linux-gnu-gcc/bin:/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin:/home/abc/.local/bin:/home/abc/bin:/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin:/opt/linux/x86-arm/aarch64-v01c01-linux-gnu-gcc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin", "LANGUAGE=en_US:en", "LC_MONETARY=en_US.UTF-8", "LC_TIME=en_US.UTF-8", "USERNAME=abc", "LC_TELEPHONE=en_US.UTF-8", "LESSCLOSE=/usr/bin/lesspipe %s %s", "GTK_IM_MODULE=ibus", "XDG_CURRENT_DESKTOP=ubuntu:GNOME", "LS_COLORS=rs=0:di=01;35:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.webp=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:", "DESKTOP_SESSION=ubuntu-xorg", "LOGNAME=abc", "SYSTEMD_EXEC_PID=3405", "DISPLAY=:0", "GTK_MODULES=gail:atk-bridge", "USER=abc", "XMAKE_PROGRAM_DIR=/home/abc/.local/share/xmake", "XMAKE_ROOTDIR=/home/abc/.local/bin", "LC_MEASUREMENT=en_US.UTF-8", "
=/usr/local/bin/bear", "LC_PAPER=en_US.UTF-8", "MAKE_TERMOUT=/dev/pts/7", "XDG_RUNTIME_DIR=/run/user/1000", "GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1", "COLORTERM=truecolor", "MAKE_TERMERR=/dev/pts/7", "XMAKE_SHELL=bash", "XDG_SESSION_CLASS=user", "HOME=/home/abc", "QT_IM_MODULE=ibus", "TERM=xterm-256color", "PAPERSIZE=letter", "ALLUSERSPROFILE=/opt/MVS/MVFG", "INTERCEPT_VERBOSE=true", "VTE_VERSION=6800", "INTERCEPT_REPORT_COMMAND=/usr/local/lib/bear/wrapper", "XDG_MENU_PREFIX=gnome-", "GDMSESSION=ubuntu-xorg", "LC_IDENTIFICATION=en_US.UTF-8", "MAKELEVEL=1"]
[17:31:51.543371, wr, 24403, ppid: 24402] arguments parsed: {program: /usr/local/lib/bear/wrapper, arguments: [{--: [aarch64-none-linux-gnu-gcc, -c, a.c]}, {--destination: [dns:///localhost:37305]}, {--execute: [/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-gcc]}, {--verbose: []}]}
[17:31:51.544338, wr, 24403, ppid: 24402] gRPC call requested: supervise::Supervisor::Resolve
[17:31:51.545849, br, 24392] trying to resolve for library: /home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-gcc
[17:31:51.546175, wr, 24403, ppid: 24402] gRPC call [Resolve] finished: true
[17:31:51.546741, wr, 24403, ppid: 24402] Process spawned. [pid: 24407, command: ["aarch64-none-linux-gnu-gcc", "-c", "a.c"]]
[17:31:51.546809, wr, 24403, ppid: 24402] gRPC call requested: supervise::Interceptor::Register
[17:31:51.548910, wr, 24403, ppid: 24402] gRPC call [Register] finished: true
[17:31:51.549018, wr, 24403, ppid: 24402] Process wait requested. [pid: 24407]
[17:31:51.558716, el, 24407] lib.cc; on_load
[17:31:51.560949, el, 24410] lib.cc; execv path: /home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/../libexec/gcc/aarch64-none-linux-gnu/10.3.1/cc1
[17:31:51.626215, el, 24410] lib.cc; on_load
[17:31:51.626578, wr, 24410, ppid: 24407] wrapper: 3.1.4
[17:31:51.626631, wr, 24410, ppid: 24407] arguments: ["/usr/local/lib/bear/wrapper", "--destination", "dns:///localhost:37305", "--verbose", "--execute", "/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/../libexec/gcc/aarch64-none-linux-gnu/10.3.1/cc1", "--", "/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/../libexec/gcc/aarch64-none-linux-gnu/10.3.1/cc1", "-quiet", "-iprefix", "/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/../lib/gcc/aarch64-none-linux-gnu/10.3.1/", "-isysroot", "/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/../aarch64-none-linux-gnu/libc", "a.c", "-quiet", "-dumpbase", "a.c", "-mlittle-endian", "-mabi=lp64", "-auxbase", "a", "-o", "/tmp/ccrnbd2i.s"]
[17:31:51.626750, wr, 24410, ppid: 24407] environment: ["ALLUSERSPROFILE=/opt/MVS/MVFG", "COLORTERM=truecolor", "DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus", "DESKTOP_SESSION=ubuntu-xorg", "DISPLAY=:0", "GDMSESSION=ubuntu-xorg", "GNOME_DESKTOP_SESSION_ID=this-is-deprecated", "GNOME_SHELL_SESSION_MODE=ubuntu", "GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/9b9e865c_fd1b_477f_8b70_1b79c6ed03d8", "GNOME_TERMINAL_SERVICE=:1.95", "GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1", "GTK_IM_MODULE=ibus", "GTK_MODULES=gail:atk-bridge", "HOME=/home/abc", "INTERCEPT_REPORT_COMMAND=/usr/local/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:37305", "INTERCEPT_VERBOSE=true", "LANG=en_US.UTF-8", "LANGUAGE=en_US:en", "LC_ADDRESS=en_US.UTF-8", "LC_IDENTIFICATION=en_US.UTF-8", "LC_MEASUREMENT=en_US.UTF-8", "LC_MONETARY=en_US.UTF-8", "LC_NAME=en_US.UTF-8", "LC_NUMERIC=en_US.UTF-8", "LC_PAPER=en_US.UTF-8", "LC_TELEPHONE=en_US.UTF-8", "LC_TIME=en_US.UTF-8", "LD_LIBRARY_PATH=/opt/MVS/lib/aarch64:", "LD_PRELOAD=/usr/local/lib/bear/libexec.so", "LESSCLOSE=/usr/bin/lesspipe %s %s", "LESSOPEN=| /usr/bin/lesspipe %s", "LOGNAME=abc", "LS_COLORS=rs=0:di=01;35:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.webp=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:", "MAKEFLAGS=", "MAKELEVEL=1", "MAKE_TERMERR=/dev/pts/7", "MAKE_TERMOUT=/dev/pts/7", "MFLAGS=", "OLDPWD=/opt/linux/x86-arm", "PAPERSIZE=letter", "PATH=/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin:/opt/linux/x86-arm/aarch64-v01c01-linux-gnu-gcc/bin:/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin:/home/abc/.local/bin:/home/abc/bin:/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin:/opt/linux/x86-arm/aarch64-v01c01-linux-gnu-gcc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin", "PWD=/mnt/hgfs/share/test/bear_test", "QT_ACCESSIBILITY=1", "QT_IM_MODULE=ibus", "SESSION_MANAGER=local/abc-virtual-machine:@/tmp/.ICE-unix/2428,unix/abc-virtual-machine:/tmp/.ICE-unix/2428", "SHELL=/bin/bash", "SHLVL=1", "SSH_AGENT_LAUNCHER=gnome-keyring", "SSH_AUTH_SOCK=/run/user/1000/keyring/ssh", "SYSTEMD_EXEC_PID=3405", "TERM=xterm-256color", "USER=abc", "USERNAME=abc", "VTE_VERSION=6800", "WINDOWPATH=2", "XAUTHORITY=/run/user/1000/gdm/Xauthority", "XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu-xorg:/etc/xdg", "XDG_CURRENT_DESKTOP=ubuntu:GNOME", "XDG_DATA_DIRS=/usr/share/ubuntu-xorg:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop", "XDG_MENU_PREFIX=gnome-", "XDG_RUNTIME_DIR=/run/user/1000", "XDG_SESSION_CLASS=user", "XDG_SESSION_DESKTOP=ubuntu-xorg", "XDG_SESSION_TYPE=x11", "XMAKE_PROGRAM_DIR=/home/abc/.local/share/xmake", "XMAKE_PROGRAM_FILE=/home/abc/.local/bin/xmake", "XMAKE_ROOTDIR=/home/abc/.local/bin", "XMAKE_SHELL=bash", "XMODIFIERS=@im=ibus", "=/usr/local/bin/bear", "GCC_EXEC_PREFIX=/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/../lib/gcc/", "COLLECT_GCC=aarch64-none-linux-gnu-gcc", "COLLECT_GCC_OPTIONS='-c' '-mlittle-endian' '-mabi=lp64'"]
[17:31:51.626815, wr, 24410, ppid: 24407] arguments parsed: {program: /usr/local/lib/bear/wrapper, arguments: [{--: [/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/../libexec/gcc/aarch64-none-linux-gnu/10.3.1/cc1, -quiet, -iprefix, /home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/../lib/gcc/aarch64-none-linux-gnu/10.3.1/, -isysroot, /home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/../aarch64-none-linux-gnu/libc, a.c, -quiet, -dumpbase, a.c, -mlittle-endian, -mabi=lp64, -auxbase, a, -o, /tmp/ccrnbd2i.s]}, {--destination: [dns:///localhost:37305]}, {--execute: [/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/../libexec/gcc/aarch64-none-linux-gnu/10.3.1/cc1]}, {--verbose: []}]}
[17:31:51.627741, wr, 24410, ppid: 24407] gRPC call requested: supervise::Supervisor::Resolve
[17:31:51.629901, br, 24392] trying to resolve for library: /home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/../libexec/gcc/aarch64-none-linux-gnu/10.3.1/cc1
[17:31:51.630831, wr, 24410, ppid: 24407] gRPC call [Resolve] finished: true
[17:31:51.631527, wr, 24410, ppid: 24407] Process spawned. [pid: 24414, command: ["/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/../libexec/gcc/aarch64-none-linux-gnu/10.3.1/cc1", "-quiet", "-iprefix", "/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/../lib/gcc/aarch64-none-linux-gnu/10.3.1/", "-isysroot", "/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/../aarch64-none-linux-gnu/libc", "a.c", "-quiet", "-dumpbase", "a.c", "-mlittle-endian", "-mabi=lp64", "-auxbase", "a", "-o", "/tmp/ccrnbd2i.s"]]
[17:31:51.631572, wr, 24410, ppid: 24407] gRPC call requested: supervise::Interceptor::Register
[17:31:51.633247, wr, 24410, ppid: 24407] gRPC call [Register] finished: true
[17:31:51.633363, wr, 24410, ppid: 24407] Process wait requested. [pid: 24414]
[17:31:51.646596, el, 24414] lib.cc; on_load
[17:31:51.664099, el, 24414] lib.cc; on_unload
[17:31:51.666379, wr, 24410, ppid: 24407] Process wait request: done. [pid: 24414]
[17:31:51.666429, wr, 24410, ppid: 24407] gRPC call requested: supervise::Interceptor::Register
[17:31:51.667473, wr, 24410, ppid: 24407] gRPC call [Register] finished: true
[17:31:51.667840, wr, 24410, ppid: 24407] succeeded with: 0
[17:31:51.667895, el, 24410] lib.cc; on_unload
[17:31:51.669366, el, 24417] lib.cc; execv path: /home/abc/ax/tools/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/as
[17:31:51.738200, el, 24417] lib.cc; on_load
[17:31:51.738533, wr, 24417, ppid: 24407] wrapper: 3.1.4
[17:31:51.738587, wr, 24417, ppid: 24407] arguments: ["/usr/local/lib/bear/wrapper", "--destination", "dns:///localhost:37305", "--verbose", "--execute", "/home/abc/ax/tools/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/as", "--", "/home/abc/ax/tools/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/as", "-EL", "-mabi=lp64", "-o", "a.o", "/tmp/ccrnbd2i.s"]
[17:31:51.738672, wr, 24417, ppid: 24407] environment: ["ALLUSERSPROFILE=/opt/MVS/MVFG", "COLORTERM=truecolor", "DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus", "DESKTOP_SESSION=ubuntu-xorg", "DISPLAY=:0", "GDMSESSION=ubuntu-xorg", "GNOME_DESKTOP_SESSION_ID=this-is-deprecated", "GNOME_SHELL_SESSION_MODE=ubuntu", "GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/9b9e865c_fd1b_477f_8b70_1b79c6ed03d8", "GNOME_TERMINAL_SERVICE=:1.95", "GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1", "GTK_IM_MODULE=ibus", "GTK_MODULES=gail:atk-bridge", "HOME=/home/abc", "INTERCEPT_REPORT_COMMAND=/usr/local/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:37305", "INTERCEPT_VERBOSE=true", "LANG=en_US.UTF-8", "LANGUAGE=en_US:en", "LC_ADDRESS=en_US.UTF-8", "LC_IDENTIFICATION=en_US.UTF-8", "LC_MEASUREMENT=en_US.UTF-8", "LC_MONETARY=en_US.UTF-8", "LC_NAME=en_US.UTF-8", "LC_NUMERIC=en_US.UTF-8", "LC_PAPER=en_US.UTF-8", "LC_TELEPHONE=en_US.UTF-8", "LC_TIME=en_US.UTF-8", "LD_LIBRARY_PATH=/opt/MVS/lib/aarch64:", "LD_PRELOAD=/usr/local/lib/bear/libexec.so", "LESSCLOSE=/usr/bin/lesspipe %s %s", "LESSOPEN=| /usr/bin/lesspipe %s", "LOGNAME=abc", "LS_COLORS=rs=0:di=01;35:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.webp=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:", "MAKEFLAGS=", "MAKELEVEL=1", "MAKE_TERMERR=/dev/pts/7", "MAKE_TERMOUT=/dev/pts/7", "MFLAGS=", "OLDPWD=/opt/linux/x86-arm", "PAPERSIZE=letter", "PATH=/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin:/opt/linux/x86-arm/aarch64-v01c01-linux-gnu-gcc/bin:/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin:/home/abc/.local/bin:/home/abc/bin:/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin:/opt/linux/x86-arm/aarch64-v01c01-linux-gnu-gcc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin", "PWD=/mnt/hgfs/share/test/bear_test", "QT_ACCESSIBILITY=1", "QT_IM_MODULE=ibus", "SESSION_MANAGER=local/abc-virtual-machine:@/tmp/.ICE-unix/2428,unix/abc-virtual-machine:/tmp/.ICE-unix/2428", "SHELL=/bin/bash", "SHLVL=1", "SSH_AGENT_LAUNCHER=gnome-keyring", "SSH_AUTH_SOCK=/run/user/1000/keyring/ssh", "SYSTEMD_EXEC_PID=3405", "TERM=xterm-256color", "USER=abc", "USERNAME=abc", "VTE_VERSION=6800", "WINDOWPATH=2", "XAUTHORITY=/run/user/1000/gdm/Xauthority", "XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu-xorg:/etc/xdg", "XDG_CURRENT_DESKTOP=ubuntu:GNOME", "XDG_DATA_DIRS=/usr/share/ubuntu-xorg:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop", "XDG_MENU_PREFIX=gnome-", "XDG_RUNTIME_DIR=/run/user/1000", "XDG_SESSION_CLASS=user", "XDG_SESSION_DESKTOP=ubuntu-xorg", "XDG_SESSION_TYPE=x11", "XMAKE_PROGRAM_DIR=/home/abc/.local/share/xmake", "XMAKE_PROGRAM_FILE=/home/abc/.local/bin/xmake", "XMAKE_ROOTDIR=/home/abc/.local/bin", "XMAKE_SHELL=bash", "XMODIFIERS=@im=ibus", "
=/usr/local/bin/bear", "GCC_EXEC_PREFIX=/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/../lib/gcc/", "COLLECT_GCC=aarch64-none-linux-gnu-gcc", "COLLECT_GCC_OPTIONS='-c' '-mlittle-endian' '-mabi=lp64'"]
[17:31:51.738787, wr, 24417, ppid: 24407] arguments parsed: {program: /usr/local/lib/bear/wrapper, arguments: [{--: [/home/abc/ax/tools/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/as, -EL, -mabi=lp64, -o, a.o, /tmp/ccrnbd2i.s]}, {--destination: [dns:///localhost:37305]}, {--execute: [/home/abc/ax/tools/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/as]}, {--verbose: []}]}
[17:31:51.739711, wr, 24417, ppid: 24407] gRPC call requested: supervise::Supervisor::Resolve
[17:31:51.741798, br, 24392] trying to resolve for library: /home/abc/ax/tools/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/as
[17:31:51.742136, wr, 24417, ppid: 24407] gRPC call [Resolve] finished: true
[17:31:51.742703, wr, 24417, ppid: 24407] Process spawned. [pid: 24421, command: ["/home/abc/ax/tools/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/as", "-EL", "-mabi=lp64", "-o", "a.o", "/tmp/ccrnbd2i.s"]]
[17:31:51.742823, wr, 24417, ppid: 24407] gRPC call requested: supervise::Interceptor::Register
[17:31:51.744806, wr, 24417, ppid: 24407] gRPC call [Register] finished: true
[17:31:51.744917, wr, 24417, ppid: 24407] Process wait requested. [pid: 24421]
[17:31:51.756730, el, 24421] lib.cc; on_load
[17:31:51.765857, el, 24421] lib.cc; on_unload
[17:31:51.766603, wr, 24417, ppid: 24407] Process wait request: done. [pid: 24421]
[17:31:51.766683, wr, 24417, ppid: 24407] gRPC call requested: supervise::Interceptor::Register
[17:31:51.767649, wr, 24417, ppid: 24407] gRPC call [Register] finished: true
[17:31:51.768111, wr, 24417, ppid: 24407] succeeded with: 0
[17:31:51.768173, el, 24417] lib.cc; on_unload
[17:31:51.770215, el, 24407] lib.cc; on_unload
[17:31:51.770852, wr, 24403, ppid: 24402] Process wait request: done. [pid: 24407]
[17:31:51.770898, wr, 24403, ppid: 24402] gRPC call requested: supervise::Interceptor::Register
[17:31:51.771928, wr, 24403, ppid: 24402] gRPC call [Register] finished: true
[17:31:51.772361, wr, 24403, ppid: 24402] succeeded with: 0
[17:31:51.772413, el, 24403] lib.cc; on_unload
[17:31:51.774182, el, 24402] lib.cc; on_unload
[17:31:51.774687, wr, 24397, ppid: 24392] Process wait request: done. [pid: 24402]
[17:31:51.774794, wr, 24397, ppid: 24392] gRPC call requested: supervise::Interceptor::Register
[17:31:51.776003, wr, 24397, ppid: 24392] gRPC call [Register] finished: true
[17:31:51.776332, wr, 24397, ppid: 24392] succeeded with: 0
[17:31:51.776388, el, 24397] lib.cc; on_unload
[17:31:51.777918, br, 24392] Process wait request: done. [pid: 24397]
[17:31:51.777977, br, 24392] Running command. [Exited with 0]
[17:31:51.778014, br, 24392] Stopping gRPC server.
[17:31:51.778405, br, 24392] succeeded with: 0
[17:31:51.779990, br, 24391] Process wait request: done. [pid: 24392]
[17:31:51.780057, br, 24391] Running intercept finished. [Exited with 0]
[17:31:51.780945, br, 24391] Process spawned. [pid: 24426, command: ["/usr/local/bin/bear", "citnames", "--input", "compile_commands.events.json", "--output", "compile_commands.json", "--run-checks", "--verbose"]]
[17:31:51.781018, br, 24391] Process wait requested. [pid: 24426]
[17:31:51.845827, br, 24426] bear: 3.1.4
[17:31:51.845955, br, 24426] arguments: ["/usr/local/bin/bear", "citnames", "--input", "compile_commands.events.json", "--output", "compile_commands.json", "--run-checks", "--verbose"]
[17:31:51.846080, br, 24426] environment: ["ALLUSERSPROFILE=/opt/MVS/MVFG", "COLORTERM=truecolor", "DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus", "DESKTOP_SESSION=ubuntu-xorg", "DISPLAY=:0", "GDMSESSION=ubuntu-xorg", "GNOME_DESKTOP_SESSION_ID=this-is-deprecated", "GNOME_SHELL_SESSION_MODE=ubuntu", "GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/9b9e865c_fd1b_477f_8b70_1b79c6ed03d8", "GNOME_TERMINAL_SERVICE=:1.95", "GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1", "GTK_IM_MODULE=ibus", "GTK_MODULES=gail:atk-bridge", "HOME=/home/abc", "LANG=en_US.UTF-8", "LANGUAGE=en_US:en", "LC_ADDRESS=en_US.UTF-8", "LC_IDENTIFICATION=en_US.UTF-8", "LC_MEASUREMENT=en_US.UTF-8", "LC_MONETARY=en_US.UTF-8", "LC_NAME=en_US.UTF-8", "LC_NUMERIC=en_US.UTF-8", "LC_PAPER=en_US.UTF-8", "LC_TELEPHONE=en_US.UTF-8", "LC_TIME=en_US.UTF-8", "LD_LIBRARY_PATH=/opt/MVS/lib/aarch64:", "LESSCLOSE=/usr/bin/lesspipe %s %s", "LESSOPEN=| /usr/bin/lesspipe %s", "LOGNAME=abc", "LS_COLORS=rs=0:di=01;35:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.webp=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:", "OLDPWD=/opt/linux/x86-arm", "PAPERSIZE=letter", "PATH=/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin:/opt/linux/x86-arm/aarch64-v01c01-linux-gnu-gcc/bin:/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin:/home/abc/.local/bin:/home/abc/bin:/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin:/opt/linux/x86-arm/aarch64-v01c01-linux-gnu-gcc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin", "PWD=/mnt/hgfs/share/test/bear_test", "QT_ACCESSIBILITY=1", "QT_IM_MODULE=ibus", "SESSION_MANAGER=local/abc-virtual-machine:@/tmp/.ICE-unix/2428,unix/abc-virtual-machine:/tmp/.ICE-unix/2428", "SHELL=/bin/bash", "SHLVL=1", "SSH_AGENT_LAUNCHER=gnome-keyring", "SSH_AUTH_SOCK=/run/user/1000/keyring/ssh", "SYSTEMD_EXEC_PID=3405", "TERM=xterm-256color", "USER=abc", "USERNAME=abc", "VTE_VERSION=6800", "WINDOWPATH=2", "XAUTHORITY=/run/user/1000/gdm/Xauthority", "XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu-xorg:/etc/xdg", "XDG_CURRENT_DESKTOP=ubuntu:GNOME", "XDG_DATA_DIRS=/usr/share/ubuntu-xorg:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop", "XDG_MENU_PREFIX=gnome-", "XDG_RUNTIME_DIR=/run/user/1000", "XDG_SESSION_CLASS=user", "XDG_SESSION_DESKTOP=ubuntu-xorg", "XDG_SESSION_TYPE=x11", "XMAKE_PROGRAM_DIR=/home/abc/.local/share/xmake", "XMAKE_PROGRAM_FILE=/home/abc/.local/bin/xmake", "XMAKE_ROOTDIR=/home/abc/.local/bin", "XMAKE_SHELL=bash", "XMODIFIERS=@im=ibus", "_=/usr/local/bin/bear"]
[17:31:51.846137, br, 24426] sysname: Linux
[17:31:51.846146, br, 24426] release: 6.8.0-45-generic
[17:31:51.846149, br, 24426] version: #45
22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Sep 11 15:25:05 UTC 2
[17:31:51.846153, br, 24426] machine: x86_64
[17:31:51.846200, br, 24426] arguments parsed: {program: citnames, arguments: [{--input: [compile_commands.events.json]}, {--output: [compile_commands.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]}
[17:31:51.846351, br, 24426] Configuration: {"compilation":null,"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}}
[17:31:51.848468, br, 24426] [pid: 24402] execution: {"executable":"/usr/bin/make","arguments":["make"],"workingDir":"/mnt/hgfs/share/test/bear_test","environment":{"LC_IDENTIFICATION":"en_US.UTF-8","PATH":"/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin:/opt/linux/x86-arm/aarch64-v01c01-linux-gnu-gcc/bin:/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin:/home/abc/.local/bin:/home/abc/bin:/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin:/opt/linux/x86-arm/aarch64-v01c01-linux-gnu-gcc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin","SYSTEMD_EXEC_PID":"3405","XDG_CURRENT_DESKTOP":"ubuntu:GNOME","":"/usr/local/bin/bear","QT_ACCESSIBILITY":"1","XDG_DATA_DIRS":"/usr/share/ubuntu-xorg:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop","OLDPWD":"/opt/linux/x86-arm","LC_MEASUREMENT":"en_US.UTF-8","LC_TIME":"en_US.UTF-8","GNOME_DESKTOP_SESSION_ID":"this-is-deprecated","LC_PAPER":"en_US.UTF-8","XDG_SESSION_TYPE":"x11","INTERCEPT_VERBOSE":"true","XDG_SESSION_CLASS":"user","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:37305","GNOME_SHELL_SESSION_MODE":"ubuntu","GNOME_TERMINAL_SERVICE":":1.95","SESSION_MANAGER":"local/abc-virtual-machine:@/tmp/.ICE-unix/2428,unix/abc-virtual-machine:/tmp/.ICE-unix/2428","DBUS_SESSION_BUS_ADDRESS":"unix:path=/run/user/1000/bus","XMAKE_ROOTDIR":"/home/abc/.local/bin","XMODIFIERS":"@im=ibus","GTK_MODULES":"gail:atk-bridge","XDG_RUNTIME_DIR":"/run/user/1000","GPG_AGENT_INFO":"/run/user/1000/gnupg/S.gpg-agent:0:1","GTK_IM_MODULE":"ibus","SSH_AGENT_LAUNCHER":"gnome-keyring","LD_LIBRARY_PATH":"/opt/MVS/lib/aarch64:","USERNAME":"abc","LD_PRELOAD":"/usr/local/lib/bear/libexec.so","GNOME_TERMINAL_SCREEN":"/org/gnome/Terminal/screen/9b9e865c_fd1b_477f_8b70_1b79c6ed03d8","LOGNAME":"abc","XMAKE_PROGRAM_FILE":"/home/abc/.local/bin/xmake","LC_MONETARY":"en_US.UTF-8","XMAKE_PROGRAM_DIR":"/home/abc/.local/share/xmake","SSH_AUTH_SOCK":"/run/user/1000/keyring/ssh","VTE_VERSION":"6800","LANGUAGE":"en_US:en","HOME":"/home/abc","LESSOPEN":"| /usr/bin/lesspipe %s","LC_TELEPHONE":"en_US.UTF-8","COLORTERM":"truecolor","XDG_MENU_PREFIX":"gnome-","ALLUSERSPROFILE":"/opt/MVS/MVFG","GDMSESSION":"ubuntu-xorg","TERM":"xterm-256color","INTERCEPT_REPORT_COMMAND":"/usr/local/lib/bear/wrapper","LC_ADDRESS":"en_US.UTF-8","XAUTHORITY":"/run/user/1000/gdm/Xauthority","WINDOWPATH":"2","LC_NAME":"en_US.UTF-8","XMAKE_SHELL":"bash","SHLVL":"1","PAPERSIZE":"letter","QT_IM_MODULE":"ibus","LS_COLORS":"rs=0:di=01;35:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.webp=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:","DISPLAY":":0","LANG":"en_US.UTF-8","USER":"abc","PWD":"/mnt/hgfs/share/test/bear_test","DESKTOP_SESSION":"ubuntu-xorg","LC_NUMERIC":"en_US.UTF-8","XDG_CONFIG_DIRS":"/etc/xdg/xdg-ubuntu-xorg:/etc/xdg","XDG_SESSION_DESKTOP":"ubuntu-xorg","SHELL":"/bin/bash","LESSCLOSE":"/usr/bin/lesspipe %s %s"}}
[17:31:51.848827, br, 24426] [pid: 24402] recognition failed: No tools recognize this execution.
[17:31:51.849249, br, 24426] [pid: 24407] execution: {"executable":"/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/aarch64-none-linux-gnu-gcc","arguments":["aarch64-none-linux-gnu-gcc","-c","a.c"],"workingDir":"/mnt/hgfs/share/test/bear_test","environment":{"DISPLAY":":0","LANG":"en_US.UTF-8","USER":"abc","PWD":"/mnt/hgfs/share/test/bear_test","DESKTOP_SESSION":"ubuntu-xorg","LC_NUMERIC":"en_US.UTF-8","XDG_CONFIG_DIRS":"/etc/xdg/xdg-ubuntu-xorg:/etc/xdg","MAKELEVEL":"1","XDG_SESSION_DESKTOP":"ubuntu-xorg","SHELL":"/bin/bash","LESSCLOSE":"/usr/bin/lesspipe %s %s","MAKE_TERMERR":"/dev/pts/7","LC_IDENTIFICATION":"en_US.UTF-8","PATH":"/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin:/opt/linux/x86-arm/aarch64-v01c01-linux-gnu-gcc/bin:/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin:/home/abc/.local/bin:/home/abc/bin:/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin:/opt/linux/x86-arm/aarch64-v01c01-linux-gnu-gcc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin","SYSTEMD_EXEC_PID":"3405","MAKE_TERMOUT":"/dev/pts/7","XDG_CURRENT_DESKTOP":"ubuntu:GNOME","
":"/usr/local/bin/bear","QT_ACCESSIBILITY":"1","XDG_DATA_DIRS":"/usr/share/ubuntu-xorg:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop","OLDPWD":"/opt/linux/x86-arm","LC_MEASUREMENT":"en_US.UTF-8","LC_TIME":"en_US.UTF-8","GNOME_DESKTOP_SESSION_ID":"this-is-deprecated","LC_PAPER":"en_US.UTF-8","XDG_SESSION_TYPE":"x11","INTERCEPT_VERBOSE":"true","XDG_SESSION_CLASS":"user","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:37305","GNOME_SHELL_SESSION_MODE":"ubuntu","GNOME_TERMINAL_SERVICE":":1.95","SESSION_MANAGER":"local/abc-virtual-machine:@/tmp/.ICE-unix/2428,unix/abc-virtual-machine:/tmp/.ICE-unix/2428","DBUS_SESSION_BUS_ADDRESS":"unix:path=/run/user/1000/bus","XMAKE_ROOTDIR":"/home/abc/.local/bin","XMODIFIERS":"@im=ibus","GTK_MODULES":"gail:atk-bridge","XDG_RUNTIME_DIR":"/run/user/1000","MFLAGS":"","GPG_AGENT_INFO":"/run/user/1000/gnupg/S.gpg-agent:0:1","GTK_IM_MODULE":"ibus","SSH_AGENT_LAUNCHER":"gnome-keyring","LD_LIBRARY_PATH":"/opt/MVS/lib/aarch64:","USERNAME":"abc","LD_PRELOAD":"/usr/local/lib/bear/libexec.so","GNOME_TERMINAL_SCREEN":"/org/gnome/Terminal/screen/9b9e865c_fd1b_477f_8b70_1b79c6ed03d8","LOGNAME":"abc","XMAKE_PROGRAM_FILE":"/home/abc/.local/bin/xmake","LC_MONETARY":"en_US.UTF-8","XMAKE_PROGRAM_DIR":"/home/abc/.local/share/xmake","MAKEFLAGS":"","SSH_AUTH_SOCK":"/run/user/1000/keyring/ssh","VTE_VERSION":"6800","LANGUAGE":"en_US:en","HOME":"/home/abc","LESSOPEN":"| /usr/bin/lesspipe %s","LC_TELEPHONE":"en_US.UTF-8","COLORTERM":"truecolor","XDG_MENU_PREFIX":"gnome-","TERM":"xterm-256color","ALLUSERSPROFILE":"/opt/MVS/MVFG","GDMSESSION":"ubuntu-xorg","INTERCEPT_REPORT_COMMAND":"/usr/local/lib/bear/wrapper","LC_ADDRESS":"en_US.UTF-8","XAUTHORITY":"/run/user/1000/gdm/Xauthority","WINDOWPATH":"2","LC_NAME":"en_US.UTF-8","XMAKE_SHELL":"bash","SHLVL":"1","PAPERSIZE":"letter","QT_IM_MODULE":"ibus","LS_COLORS":"rs=0:di=01;35:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.webp=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:"}}
[17:31:51.849340, br, 24426] [pid: 24407] recognized.
[17:31:51.849754, br, 24426] [pid: 24414] execution: {"executable":"/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/../libexec/gcc/aarch64-none-linux-gnu/10.3.1/cc1","arguments":["/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/../libexec/gcc/aarch64-none-linux-gnu/10.3.1/cc1","-quiet","-iprefix","/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/../lib/gcc/aarch64-none-linux-gnu/10.3.1/","-isysroot","/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/../aarch64-none-linux-gnu/libc","a.c","-quiet","-dumpbase","a.c","-mlittle-endian","-mabi=lp64","-auxbase","a","-o","/tmp/ccrnbd2i.s"],"workingDir":"/mnt/hgfs/share/test/bear_test","environment":{"VTE_VERSION":"6800","LANGUAGE":"en_US:en","HOME":"/home/abc","LESSOPEN":"| /usr/bin/lesspipe %s","LC_TELEPHONE":"en_US.UTF-8","COLORTERM":"truecolor","XDG_MENU_PREFIX":"gnome-","TERM":"xterm-256color","ALLUSERSPROFILE":"/opt/MVS/MVFG","GDMSESSION":"ubuntu-xorg","INTERCEPT_REPORT_COMMAND":"/usr/local/lib/bear/wrapper","LC_ADDRESS":"en_US.UTF-8","XAUTHORITY":"/run/user/1000/gdm/Xauthority","WINDOWPATH":"2","LC_NAME":"en_US.UTF-8","XMAKE_SHELL":"bash","SHLVL":"1","QT_IM_MODULE":"ibus","PAPERSIZE":"letter","LS_COLORS":"rs=0:di=01;35:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.webp=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:","DISPLAY":":0","LANG":"en_US.UTF-8","COLLECT_GCC":"aarch64-none-linux-gnu-gcc","USER":"abc","PWD":"/mnt/hgfs/share/test/bear_test","DESKTOP_SESSION":"ubuntu-xorg","LC_NUMERIC":"en_US.UTF-8","XDG_CONFIG_DIRS":"/etc/xdg/xdg-ubuntu-xorg:/etc/xdg","MAKELEVEL":"1","XDG_SESSION_DESKTOP":"ubuntu-xorg","SHELL":"/bin/bash","LESSCLOSE":"/usr/bin/lesspipe %s %s","MAKE_TERMERR":"/dev/pts/7","LC_IDENTIFICATION":"en_US.UTF-8","COLLECT_GCC_OPTIONS":"'-c' '-mlittle-endian' '-mabi=lp64'","PATH":"/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin:/opt/linux/x86-arm/aarch64-v01c01-linux-gnu-gcc/bin:/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin:/home/abc/.local/bin:/home/abc/bin:/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin:/opt/linux/x86-arm/aarch64-v01c01-linux-gnu-gcc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin","SYSTEMD_EXEC_PID":"3405","MAKE_TERMOUT":"/dev/pts/7","XDG_CURRENT_DESKTOP":"ubuntu:GNOME","":"/usr/local/bin/bear","QT_ACCESSIBILITY":"1","XDG_DATA_DIRS":"/usr/share/ubuntu-xorg:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop","OLDPWD":"/opt/linux/x86-arm","LC_MEASUREMENT":"en_US.UTF-8","LC_TIME":"en_US.UTF-8","GNOME_DESKTOP_SESSION_ID":"this-is-deprecated","LC_PAPER":"en_US.UTF-8","XDG_SESSION_TYPE":"x11","INTERCEPT_VERBOSE":"true","XDG_SESSION_CLASS":"user","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:37305","GNOME_SHELL_SESSION_MODE":"ubuntu","GNOME_TERMINAL_SERVICE":":1.95","SESSION_MANAGER":"local/abc-virtual-machine:@/tmp/.ICE-unix/2428,unix/abc-virtual-machine:/tmp/.ICE-unix/2428","GCC_EXEC_PREFIX":"/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/../lib/gcc/","DBUS_SESSION_BUS_ADDRESS":"unix:path=/run/user/1000/bus","XMAKE_ROOTDIR":"/home/abc/.local/bin","XMODIFIERS":"@im=ibus","GTK_MODULES":"gail:atk-bridge","XDG_RUNTIME_DIR":"/run/user/1000","MFLAGS":"","GPG_AGENT_INFO":"/run/user/1000/gnupg/S.gpg-agent:0:1","GTK_IM_MODULE":"ibus","SSH_AGENT_LAUNCHER":"gnome-keyring","LD_LIBRARY_PATH":"/opt/MVS/lib/aarch64:","USERNAME":"abc","LD_PRELOAD":"/usr/local/lib/bear/libexec.so","GNOME_TERMINAL_SCREEN":"/org/gnome/Terminal/screen/9b9e865c_fd1b_477f_8b70_1b79c6ed03d8","LOGNAME":"abc","XMAKE_PROGRAM_FILE":"/home/abc/.local/bin/xmake","LC_MONETARY":"en_US.UTF-8","XMAKE_PROGRAM_DIR":"/home/abc/.local/share/xmake","MAKEFLAGS":"","SSH_AUTH_SOCK":"/run/user/1000/keyring/ssh"}}
[17:31:51.849834, br, 24426] [pid: 24414] recognition failed: No tools recognize this execution.
[17:31:51.850235, br, 24426] [pid: 24421] execution: {"executable":"/home/abc/ax/tools/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/as","arguments":["/home/abc/ax/tools/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/as","-EL","-mabi=lp64","-o","a.o","/tmp/ccrnbd2i.s"],"workingDir":"/mnt/hgfs/share/test/bear_test","environment":{"USERNAME":"abc","LD_PRELOAD":"/usr/local/lib/bear/libexec.so","GNOME_TERMINAL_SCREEN":"/org/gnome/Terminal/screen/9b9e865c_fd1b_477f_8b70_1b79c6ed03d8","LOGNAME":"abc","XMAKE_PROGRAM_FILE":"/home/abc/.local/bin/xmake","LC_MONETARY":"en_US.UTF-8","XMAKE_PROGRAM_DIR":"/home/abc/.local/share/xmake","MAKEFLAGS":"","SSH_AUTH_SOCK":"/run/user/1000/keyring/ssh","VTE_VERSION":"6800","LANGUAGE":"en_US:en","HOME":"/home/abc","LESSOPEN":"| /usr/bin/lesspipe %s","LC_TELEPHONE":"en_US.UTF-8","COLORTERM":"truecolor","XDG_MENU_PREFIX":"gnome-","TERM":"xterm-256color","ALLUSERSPROFILE":"/opt/MVS/MVFG","GDMSESSION":"ubuntu-xorg","INTERCEPT_REPORT_COMMAND":"/usr/local/lib/bear/wrapper","LC_ADDRESS":"en_US.UTF-8","XAUTHORITY":"/run/user/1000/gdm/Xauthority","WINDOWPATH":"2","LC_NAME":"en_US.UTF-8","XMAKE_SHELL":"bash","SHLVL":"1","QT_IM_MODULE":"ibus","PAPERSIZE":"letter","LS_COLORS":"rs=0:di=01;35:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.webp=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:","DISPLAY":":0","LANG":"en_US.UTF-8","COLLECT_GCC":"aarch64-none-linux-gnu-gcc","USER":"abc","PWD":"/mnt/hgfs/share/test/bear_test","DESKTOP_SESSION":"ubuntu-xorg","LC_NUMERIC":"en_US.UTF-8","XDG_CONFIG_DIRS":"/etc/xdg/xdg-ubuntu-xorg:/etc/xdg","MAKELEVEL":"1","XDG_SESSION_DESKTOP":"ubuntu-xorg","SHELL":"/bin/bash","LESSCLOSE":"/usr/bin/lesspipe %s %s","MAKE_TERMERR":"/dev/pts/7","LC_IDENTIFICATION":"en_US.UTF-8","COLLECT_GCC_OPTIONS":"'-c' '-mlittle-endian' '-mabi=lp64'","PATH":"/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin:/opt/linux/x86-arm/aarch64-v01c01-linux-gnu-gcc/bin:/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin:/home/abc/.local/bin:/home/abc/bin:/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin:/opt/linux/x86-arm/aarch64-v01c01-linux-gnu-gcc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin","SYSTEMD_EXEC_PID":"3405","MAKE_TERMOUT":"/dev/pts/7","XDG_CURRENT_DESKTOP":"ubuntu:GNOME","
":"/usr/local/bin/bear","QT_ACCESSIBILITY":"1","XDG_DATA_DIRS":"/usr/share/ubuntu-xorg:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop","OLDPWD":"/opt/linux/x86-arm","LC_MEASUREMENT":"en_US.UTF-8","LC_TIME":"en_US.UTF-8","GNOME_DESKTOP_SESSION_ID":"this-is-deprecated","LC_PAPER":"en_US.UTF-8","XDG_SESSION_TYPE":"x11","INTERCEPT_VERBOSE":"true","XDG_SESSION_CLASS":"user","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:37305","GNOME_SHELL_SESSION_MODE":"ubuntu","GNOME_TERMINAL_SERVICE":":1.95","SESSION_MANAGER":"local/abc-virtual-machine:@/tmp/.ICE-unix/2428,unix/abc-virtual-machine:/tmp/.ICE-unix/2428","GCC_EXEC_PREFIX":"/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/../lib/gcc/","DBUS_SESSION_BUS_ADDRESS":"unix:path=/run/user/1000/bus","XMAKE_ROOTDIR":"/home/abc/.local/bin","XMODIFIERS":"@im=ibus","GTK_MODULES":"gail:atk-bridge","XDG_RUNTIME_DIR":"/run/user/1000","MFLAGS":"","GPG_AGENT_INFO":"/run/user/1000/gnupg/S.gpg-agent:0:1","GTK_IM_MODULE":"ibus","SSH_AGENT_LAUNCHER":"gnome-keyring","LD_LIBRARY_PATH":"/opt/MVS/lib/aarch64:"}}
[17:31:51.850297, br, 24426] [pid: 24421] recognition failed: No tools recognize this execution.
[17:31:51.850404, br, 24426] compilation entries created. [size: 1]
[17:31:51.850430, br, 24426] compilation entries to output. [size: 1]
[17:31:51.852862, br, 24426] compilation entries written. [size: 1]
[17:31:51.852901, br, 24426] succeeded with: 0
[17:31:51.853696, br, 24391] Process wait request: done. [pid: 24426]
[17:31:51.853740, br, 24391] Running citnames finished. [Exited with 0]
[17:31:51.854034, br, 24391] succeeded with: 0

============================================================

The content of the makefile for Test 2 is as follows (with the cross compiler replaced):
all:
aarch64-himix100-linux-gcc -c a.c
In this situation, Bear made the mistake mentioned earlier. The printed output is as follows:

abc@abc-virtual-machine:/mnt/hgfs/share/test/bear_test$ bear --verbose -- make
[17:36:38.910402, br, 24482] bear: 3.1.4
[17:36:38.910491, br, 24482] arguments: ["bear", "--verbose", "--", "make"]
[17:36:38.910589, br, 24482] environment: ["SHELL=/bin/bash", "SESSION_MANAGER=local/abc-virtual-machine:@/tmp/.ICE-unix/2428,unix/abc-virtual-machine:/tmp/.ICE-unix/2428", "QT_ACCESSIBILITY=1", "COLORTERM=truecolor", "XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu-xorg:/etc/xdg", "SSH_AGENT_LAUNCHER=gnome-keyring", "XDG_MENU_PREFIX=gnome-", "GNOME_DESKTOP_SESSION_ID=this-is-deprecated", "GTK_IM_MODULE=ibus", "LANGUAGE=en_US:en", "LC_ADDRESS=en_US.UTF-8", "GNOME_SHELL_SESSION_MODE=ubuntu", "LC_NAME=en_US.UTF-8", "SSH_AUTH_SOCK=/run/user/1000/keyring/ssh", "XMAKE_PROGRAM_FILE=/home/abc/.local/bin/xmake", "XMODIFIERS=@im=ibus", "DESKTOP_SESSION=ubuntu-xorg", "LC_MONETARY=en_US.UTF-8", "GTK_MODULES=gail:atk-bridge", "PWD=/mnt/hgfs/share/test/bear_test", "LOGNAME=abc", "XDG_SESSION_DESKTOP=ubuntu-xorg", "XDG_SESSION_TYPE=x11", "XMAKE_PROGRAM_DIR=/home/abc/.local/share/xmake", "GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1", "SYSTEMD_EXEC_PID=3405", "XAUTHORITY=/run/user/1000/gdm/Xauthority", "WINDOWPATH=2", "ALLUSERSPROFILE=/opt/MVS/MVFG", "HOME=/home/abc", "USERNAME=abc", "LC_PAPER=en_US.UTF-8", "LANG=en_US.UTF-8", "LS_COLORS=rs=0:di=01;35:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.webp=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:", "XDG_CURRENT_DESKTOP=ubuntu:GNOME", "VTE_VERSION=6800", "GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/9b9e865c_fd1b_477f_8b70_1b79c6ed03d8", "LESSCLOSE=/usr/bin/lesspipe %s %s", "XDG_SESSION_CLASS=user", "TERM=xterm-256color", "LC_IDENTIFICATION=en_US.UTF-8", "LESSOPEN=| /usr/bin/lesspipe %s", "USER=abc", "GNOME_TERMINAL_SERVICE=:1.95", "DISPLAY=:0", "XMAKE_ROOTDIR=/home/abc/.local/bin", "SHLVL=1", "LC_TELEPHONE=en_US.UTF-8", "QT_IM_MODULE=ibus", "LC_MEASUREMENT=en_US.UTF-8", "PAPERSIZE=letter", "LD_LIBRARY_PATH=/opt/MVS/lib/aarch64:", "XDG_RUNTIME_DIR=/run/user/1000", "XMAKE_SHELL=bash", "LC_TIME=en_US.UTF-8", "XDG_DATA_DIRS=/usr/share/ubuntu-xorg:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop", "PATH=/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin:/opt/linux/x86-arm/aarch64-v01c01-linux-gnu-gcc/bin:/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin:/home/abc/.local/bin:/home/abc/bin:/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin:/opt/linux/x86-arm/aarch64-v01c01-linux-gnu-gcc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin", "GDMSESSION=ubuntu-xorg", "DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus", "LC_NUMERIC=en_US.UTF-8", "OLDPWD=/opt/linux/x86-arm", "=/usr/local/bin/bear"]
[17:36:38.910632, br, 24482] sysname: Linux
[17:36:38.910638, br, 24482] release: 6.8.0-45-generic
[17:36:38.910737, br, 24482] version: #45~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Sep 11 15:25:05 UTC 2
[17:36:38.910745, br, 24482] machine: x86_64
[17:36:38.910768, br, 24482] arguments parsed: {program: bear, arguments: [{--: [make]}, {--bear-path: [/usr/local/bin/bear]}, {--library: [/usr/local/lib/bear/libexec.so]}, {--output: [compile_commands.json]}, {--verbose: []}, {--wrapper: [/usr/local/lib/bear/wrapper]}, {--wrapper-dir: [/usr/local/lib/bear/wrapper.d]}]}
[17:36:38.911527, br, 24482] Process spawned. [pid: 24483, command: ["/usr/local/bin/bear", "intercept", "--library", "/usr/local/lib/bear/libexec.so", "--wrapper", "/usr/local/lib/bear/wrapper", "--wrapper-dir", "/usr/local/lib/bear/wrapper.d", "--output", "compile_commands.events.json", "--verbose", "--", "make"]]
[17:36:38.911599, br, 24482] Process wait requested. [pid: 24483]
[17:36:38.978424, br, 24483] bear: 3.1.4
[17:36:38.978535, br, 24483] arguments: ["/usr/local/bin/bear", "intercept", "--library", "/usr/local/lib/bear/libexec.so", "--wrapper", "/usr/local/lib/bear/wrapper", "--wrapper-dir", "/usr/local/lib/bear/wrapper.d", "--output", "compile_commands.events.json", "--verbose", "--", "make"]
[17:36:38.978633, br, 24483] environment: ["ALLUSERSPROFILE=/opt/MVS/MVFG", "COLORTERM=truecolor", "DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus", "DESKTOP_SESSION=ubuntu-xorg", "DISPLAY=:0", "GDMSESSION=ubuntu-xorg", "GNOME_DESKTOP_SESSION_ID=this-is-deprecated", "GNOME_SHELL_SESSION_MODE=ubuntu", "GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/9b9e865c_fd1b_477f_8b70_1b79c6ed03d8", "GNOME_TERMINAL_SERVICE=:1.95", "GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1", "GTK_IM_MODULE=ibus", "GTK_MODULES=gail:atk-bridge", "HOME=/home/abc", "LANG=en_US.UTF-8", "LANGUAGE=en_US:en", "LC_ADDRESS=en_US.UTF-8", "LC_IDENTIFICATION=en_US.UTF-8", "LC_MEASUREMENT=en_US.UTF-8", "LC_MONETARY=en_US.UTF-8", "LC_NAME=en_US.UTF-8", "LC_NUMERIC=en_US.UTF-8", "LC_PAPER=en_US.UTF-8", "LC_TELEPHONE=en_US.UTF-8", "LC_TIME=en_US.UTF-8", "LD_LIBRARY_PATH=/opt/MVS/lib/aarch64:", "LESSCLOSE=/usr/bin/lesspipe %s %s", "LESSOPEN=| /usr/bin/lesspipe %s", "LOGNAME=abc", "LS_COLORS=rs=0:di=01;35:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.webp=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:", "OLDPWD=/opt/linux/x86-arm", "PAPERSIZE=letter", "PATH=/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin:/opt/linux/x86-arm/aarch64-v01c01-linux-gnu-gcc/bin:/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin:/home/abc/.local/bin:/home/abc/bin:/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin:/opt/linux/x86-arm/aarch64-v01c01-linux-gnu-gcc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin", "PWD=/mnt/hgfs/share/test/bear_test", "QT_ACCESSIBILITY=1", "QT_IM_MODULE=ibus", "SESSION_MANAGER=local/abc-virtual-machine:@/tmp/.ICE-unix/2428,unix/abc-virtual-machine:/tmp/.ICE-unix/2428", "SHELL=/bin/bash", "SHLVL=1", "SSH_AGENT_LAUNCHER=gnome-keyring", "SSH_AUTH_SOCK=/run/user/1000/keyring/ssh", "SYSTEMD_EXEC_PID=3405", "TERM=xterm-256color", "USER=abc", "USERNAME=abc", "VTE_VERSION=6800", "WINDOWPATH=2", "XAUTHORITY=/run/user/1000/gdm/Xauthority", "XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu-xorg:/etc/xdg", "XDG_CURRENT_DESKTOP=ubuntu:GNOME", "XDG_DATA_DIRS=/usr/share/ubuntu-xorg:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop", "XDG_MENU_PREFIX=gnome-", "XDG_RUNTIME_DIR=/run/user/1000", "XDG_SESSION_CLASS=user", "XDG_SESSION_DESKTOP=ubuntu-xorg", "XDG_SESSION_TYPE=x11", "XMAKE_PROGRAM_DIR=/home/abc/.local/share/xmake", "XMAKE_PROGRAM_FILE=/home/abc/.local/bin/xmake", "XMAKE_ROOTDIR=/home/abc/.local/bin", "XMAKE_SHELL=bash", "XMODIFIERS=@im=ibus", "
=/usr/local/bin/bear"]
[17:36:38.978716, br, 24483] sysname: Linux
[17:36:38.978722, br, 24483] release: 6.8.0-45-generic
[17:36:38.978744, br, 24483] version: #4522.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Sep 11 15:25:05 UTC 2
[17:36:38.978749, br, 24483] machine: x86_64
[17:36:38.978772, br, 24483] arguments parsed: {program: intercept, arguments: [{--: [make]}, {--library: [/usr/local/lib/bear/libexec.so]}, {--output: [compile_commands.events.json]}, {--verbose: []}, {--wrapper: [/usr/local/lib/bear/wrapper]}, {--wrapper-dir: [/usr/local/lib/bear/wrapper.d]}, {command: [intercept]}]}
[17:36:38.978922, br, 24483] Created library preload session. [library=/usr/local/lib/bear/libexec.so, executor=/usr/local/lib/bear/wrapper]
[17:36:38.988017, br, 24483] Running gRPC server. dns:///localhost:39129
[17:36:38.988451, br, 24483] Process spawned. [pid: 24488, command: ["/usr/local/lib/bear/wrapper", "--destination", "dns:///localhost:39129", "--verbose", "--execute", "/usr/bin/make", "--", "make"]]
[17:36:38.988521, br, 24483] Process wait requested. [pid: 24488]
[17:36:39.056819, el, 24488] lib.cc; on_load
[17:36:39.057141, wr, 24488, ppid: 24483] wrapper: 3.1.4
[17:36:39.057187, wr, 24488, ppid: 24483] arguments: ["/usr/local/lib/bear/wrapper", "--destination", "dns:///localhost:39129", "--verbose", "--execute", "/usr/bin/make", "--", "make"]
[17:36:39.057275, wr, 24488, ppid: 24483] environment: ["ALLUSERSPROFILE=/opt/MVS/MVFG", "COLORTERM=truecolor", "DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus", "DESKTOP_SESSION=ubuntu-xorg", "DISPLAY=:0", "GDMSESSION=ubuntu-xorg", "GNOME_DESKTOP_SESSION_ID=this-is-deprecated", "GNOME_SHELL_SESSION_MODE=ubuntu", "GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/9b9e865c_fd1b_477f_8b70_1b79c6ed03d8", "GNOME_TERMINAL_SERVICE=:1.95", "GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1", "GTK_IM_MODULE=ibus", "GTK_MODULES=gail:atk-bridge", "HOME=/home/abc", "INTERCEPT_REPORT_COMMAND=/usr/local/lib/bear/wrapper", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:39129", "INTERCEPT_VERBOSE=true", "LANG=en_US.UTF-8", "LANGUAGE=en_US:en", "LC_ADDRESS=en_US.UTF-8", "LC_IDENTIFICATION=en_US.UTF-8", "LC_MEASUREMENT=en_US.UTF-8", "LC_MONETARY=en_US.UTF-8", "LC_NAME=en_US.UTF-8", "LC_NUMERIC=en_US.UTF-8", "LC_PAPER=en_US.UTF-8", "LC_TELEPHONE=en_US.UTF-8", "LC_TIME=en_US.UTF-8", "LD_LIBRARY_PATH=/opt/MVS/lib/aarch64:", "LD_PRELOAD=/usr/local/lib/bear/libexec.so", "LESSCLOSE=/usr/bin/lesspipe %s %s", "LESSOPEN=| /usr/bin/lesspipe %s", "LOGNAME=abc", "LS_COLORS=rs=0:di=01;35:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.webp=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:", "OLDPWD=/opt/linux/x86-arm", "PAPERSIZE=letter", "PATH=/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin:/opt/linux/x86-arm/aarch64-v01c01-linux-gnu-gcc/bin:/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin:/home/abc/.local/bin:/home/abc/bin:/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin:/opt/linux/x86-arm/aarch64-v01c01-linux-gnu-gcc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin", "PWD=/mnt/hgfs/share/test/bear_test", "QT_ACCESSIBILITY=1", "QT_IM_MODULE=ibus", "SESSION_MANAGER=local/abc-virtual-machine:@/tmp/.ICE-unix/2428,unix/abc-virtual-machine:/tmp/.ICE-unix/2428", "SHELL=/bin/bash", "SHLVL=1", "SSH_AGENT_LAUNCHER=gnome-keyring", "SSH_AUTH_SOCK=/run/user/1000/keyring/ssh", "SYSTEMD_EXEC_PID=3405", "TERM=xterm-256color", "USER=abc", "USERNAME=abc", "VTE_VERSION=6800", "WINDOWPATH=2", "XAUTHORITY=/run/user/1000/gdm/Xauthority", "XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu-xorg:/etc/xdg", "XDG_CURRENT_DESKTOP=ubuntu:GNOME", "XDG_DATA_DIRS=/usr/share/ubuntu-xorg:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop", "XDG_MENU_PREFIX=gnome-", "XDG_RUNTIME_DIR=/run/user/1000", "XDG_SESSION_CLASS=user", "XDG_SESSION_DESKTOP=ubuntu-xorg", "XDG_SESSION_TYPE=x11", "XMAKE_PROGRAM_DIR=/home/abc/.local/share/xmake", "XMAKE_PROGRAM_FILE=/home/abc/.local/bin/xmake", "XMAKE_ROOTDIR=/home/abc/.local/bin", "XMAKE_SHELL=bash", "XMODIFIERS=@im=ibus", "=/usr/local/bin/bear"]
[17:36:39.057335, wr, 24488, ppid: 24483] arguments parsed: {program: /usr/local/lib/bear/wrapper, arguments: [{--: [make]}, {--destination: [dns:///localhost:39129]}, {--execute: [/usr/bin/make]}, {--verbose: []}]}
[17:36:39.058321, wr, 24488, ppid: 24483] gRPC call requested: supervise::Supervisor::Resolve
[17:36:39.060713, br, 24483] trying to resolve for library: /usr/bin/make
[17:36:39.061118, wr, 24488, ppid: 24483] gRPC call [Resolve] finished: true
[17:36:39.061576, wr, 24488, ppid: 24483] Process spawned. [pid: 24493, command: ["make"]]
[17:36:39.061640, wr, 24488, ppid: 24483] gRPC call requested: supervise::Interceptor::Register
[17:36:39.064529, wr, 24488, ppid: 24483] gRPC call [Register] finished: true
[17:36:39.064641, wr, 24488, ppid: 24483] Process wait requested. [pid: 24493]
[17:36:39.074011, el, 24493] lib.cc; on_load
aarch64-himix100-linux-gcc -c a.c
[17:36:39.081402, el, 24493] lib.cc; posix_spawn path:/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin/aarch64-himix100-linux-gcc
[17:36:39.150704, el, 24494] lib.cc; on_load
[17:36:39.151002, wr, 24494, ppid: 24493] wrapper: 3.1.4
[17:36:39.151051, wr, 24494, ppid: 24493] arguments: ["/usr/local/lib/bear/wrapper", "--destination", "dns:///localhost:39129", "--verbose", "--execute", "/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin/aarch64-himix100-linux-gcc", "--", "aarch64-himix100-linux-gcc", "-c", "a.c"]
[17:36:39.151137, wr, 24494, ppid: 24493] environment: ["GNOME_SHELL_SESSION_MODE=ubuntu", "SSH_AGENT_LAUNCHER=gnome-keyring", "LC_NAME=en_US.UTF-8", "LC_NUMERIC=en_US.UTF-8", "WINDOWPATH=2", "LC_ADDRESS=en_US.UTF-8", "QT_ACCESSIBILITY=1", "PWD=/mnt/hgfs/share/test/bear_test", "XDG_DATA_DIRS=/usr/share/ubuntu-xorg:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop", "OLDPWD=/opt/linux/x86-arm", "LANG=en_US.UTF-8", "XAUTHORITY=/run/user/1000/gdm/Xauthority", "GNOME_TERMINAL_SERVICE=:1.95", "MAKEFLAGS=", "LESSOPEN=| /usr/bin/lesspipe %s", "MFLAGS=", "SSH_AUTH_SOCK=/run/user/1000/keyring/ssh", "XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu-xorg:/etc/xdg", "XDG_SESSION_DESKTOP=ubuntu-xorg", "XDG_SESSION_TYPE=x11", "SESSION_MANAGER=local/abc-virtual-machine:@/tmp/.ICE-unix/2428,unix/abc-virtual-machine:/tmp/.ICE-unix/2428", "LD_PRELOAD=/usr/local/lib/bear/libexec.so", "DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus", "GNOME_DESKTOP_SESSION_ID=this-is-deprecated", "SHELL=/bin/bash", "XMODIFIERS=@im=ibus", "LD_LIBRARY_PATH=/opt/MVS/lib/aarch64:", "SHLVL=1", "XMAKE_PROGRAM_FILE=/home/abc/.local/bin/xmake", "GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/9b9e865c_fd1b_477f_8b70_1b79c6ed03d8", "INTERCEPT_REPORT_DESTINATION=dns:///localhost:39129", "PATH=/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin:/opt/linux/x86-arm/aarch64-v01c01-linux-gnu-gcc/bin:/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin:/home/abc/.local/bin:/home/abc/bin:/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin:/opt/linux/x86-arm/aarch64-v01c01-linux-gnu-gcc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin", "LANGUAGE=en_US:en", "LC_MONETARY=en_US.UTF-8", "LC_TIME=en_US.UTF-8", "USERNAME=abc", "LC_TELEPHONE=en_US.UTF-8", "LESSCLOSE=/usr/bin/lesspipe %s %s", "GTK_IM_MODULE=ibus", "XDG_CURRENT_DESKTOP=ubuntu:GNOME", "LS_COLORS=rs=0:di=01;35:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.webp=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:", "DESKTOP_SESSION=ubuntu-xorg", "LOGNAME=abc", "SYSTEMD_EXEC_PID=3405", "DISPLAY=:0", "GTK_MODULES=gail:atk-bridge", "USER=abc", "XMAKE_PROGRAM_DIR=/home/abc/.local/share/xmake", "XMAKE_ROOTDIR=/home/abc/.local/bin", "LC_MEASUREMENT=en_US.UTF-8", "
=/usr/local/bin/bear", "LC_PAPER=en_US.UTF-8", "MAKE_TERMOUT=/dev/pts/7", "XDG_RUNTIME_DIR=/run/user/1000", "GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1", "COLORTERM=truecolor", "MAKE_TERMERR=/dev/pts/7", "XMAKE_SHELL=bash", "XDG_SESSION_CLASS=user", "HOME=/home/abc", "QT_IM_MODULE=ibus", "TERM=xterm-256color", "PAPERSIZE=letter", "ALLUSERSPROFILE=/opt/MVS/MVFG", "INTERCEPT_VERBOSE=true", "VTE_VERSION=6800", "INTERCEPT_REPORT_COMMAND=/usr/local/lib/bear/wrapper", "XDG_MENU_PREFIX=gnome-", "GDMSESSION=ubuntu-xorg", "LC_IDENTIFICATION=en_US.UTF-8", "MAKELEVEL=1"]
[17:36:39.151185, wr, 24494, ppid: 24493] arguments parsed: {program: /usr/local/lib/bear/wrapper, arguments: [{--: [aarch64-himix100-linux-gcc, -c, a.c]}, {--destination: [dns:///localhost:39129]}, {--execute: [/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin/aarch64-himix100-linux-gcc]}, {--verbose: []}]}
[17:36:39.152080, wr, 24494, ppid: 24493] gRPC call requested: supervise::Supervisor::Resolve
[17:36:39.153478, br, 24483] trying to resolve for library: /opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin/aarch64-himix100-linux-gcc
[17:36:39.153863, wr, 24494, ppid: 24493] gRPC call [Resolve] finished: true
[17:36:39.154470, wr, 24494, ppid: 24493] Process spawned. [pid: 24498, command: ["aarch64-himix100-linux-gcc", "-c", "a.c"]]
[17:36:39.154550, wr, 24494, ppid: 24493] gRPC call requested: supervise::Interceptor::Register
ERROR: ld.so: object '/usr/local/lib/bear/libexec.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
[17:36:39.156704, wr, 24494, ppid: 24493] gRPC call [Register] finished: true
[17:36:39.156812, wr, 24494, ppid: 24493] Process wait requested. [pid: 24498]
ERROR: ld.so: object '/usr/local/lib/bear/libexec.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/usr/local/lib/bear/libexec.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
[17:36:39.225135, wr, 24494, ppid: 24493] Process wait request: done. [pid: 24498]
[17:36:39.225192, wr, 24494, ppid: 24493] gRPC call requested: supervise::Interceptor::Register
[17:36:39.226230, wr, 24494, ppid: 24493] gRPC call [Register] finished: true
[17:36:39.226678, wr, 24494, ppid: 24493] succeeded with: 0
[17:36:39.226742, el, 24494] lib.cc; on_unload
[17:36:39.228850, el, 24493] lib.cc; on_unload
[17:36:39.229331, wr, 24488, ppid: 24483] Process wait request: done. [pid: 24493]
[17:36:39.229369, wr, 24488, ppid: 24483] gRPC call requested: supervise::Interceptor::Register
[17:36:39.230270, wr, 24488, ppid: 24483] gRPC call [Register] finished: true
[17:36:39.230573, wr, 24488, ppid: 24483] succeeded with: 0
[17:36:39.230625, el, 24488] lib.cc; on_unload
[17:36:39.232839, br, 24483] Process wait request: done. [pid: 24488]
[17:36:39.232912, br, 24483] Running command. [Exited with 0]
[17:36:39.232925, br, 24483] Stopping gRPC server.
[17:36:39.233392, br, 24483] succeeded with: 0
[17:36:39.234778, br, 24482] Process wait request: done. [pid: 24483]
[17:36:39.234850, br, 24482] Running intercept finished. [Exited with 0]
[17:36:39.235856, br, 24482] Process spawned. [pid: 24506, command: ["/usr/local/bin/bear", "citnames", "--input", "compile_commands.events.json", "--output", "compile_commands.json", "--run-checks", "--verbose"]]
[17:36:39.235930, br, 24482] Process wait requested. [pid: 24506]
[17:36:39.301742, br, 24506] bear: 3.1.4
[17:36:39.301882, br, 24506] arguments: ["/usr/local/bin/bear", "citnames", "--input", "compile_commands.events.json", "--output", "compile_commands.json", "--run-checks", "--verbose"]
[17:36:39.301981, br, 24506] environment: ["ALLUSERSPROFILE=/opt/MVS/MVFG", "COLORTERM=truecolor", "DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus", "DESKTOP_SESSION=ubuntu-xorg", "DISPLAY=:0", "GDMSESSION=ubuntu-xorg", "GNOME_DESKTOP_SESSION_ID=this-is-deprecated", "GNOME_SHELL_SESSION_MODE=ubuntu", "GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/9b9e865c_fd1b_477f_8b70_1b79c6ed03d8", "GNOME_TERMINAL_SERVICE=:1.95", "GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1", "GTK_IM_MODULE=ibus", "GTK_MODULES=gail:atk-bridge", "HOME=/home/abc", "LANG=en_US.UTF-8", "LANGUAGE=en_US:en", "LC_ADDRESS=en_US.UTF-8", "LC_IDENTIFICATION=en_US.UTF-8", "LC_MEASUREMENT=en_US.UTF-8", "LC_MONETARY=en_US.UTF-8", "LC_NAME=en_US.UTF-8", "LC_NUMERIC=en_US.UTF-8", "LC_PAPER=en_US.UTF-8", "LC_TELEPHONE=en_US.UTF-8", "LC_TIME=en_US.UTF-8", "LD_LIBRARY_PATH=/opt/MVS/lib/aarch64:", "LESSCLOSE=/usr/bin/lesspipe %s %s", "LESSOPEN=| /usr/bin/lesspipe %s", "LOGNAME=abc", "LS_COLORS=rs=0:di=01;35:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.webp=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:", "OLDPWD=/opt/linux/x86-arm", "PAPERSIZE=letter", "PATH=/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin:/opt/linux/x86-arm/aarch64-v01c01-linux-gnu-gcc/bin:/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin:/home/abc/.local/bin:/home/abc/bin:/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin:/opt/linux/x86-arm/aarch64-v01c01-linux-gnu-gcc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin", "PWD=/mnt/hgfs/share/test/bear_test", "QT_ACCESSIBILITY=1", "QT_IM_MODULE=ibus", "SESSION_MANAGER=local/abc-virtual-machine:@/tmp/.ICE-unix/2428,unix/abc-virtual-machine:/tmp/.ICE-unix/2428", "SHELL=/bin/bash", "SHLVL=1", "SSH_AGENT_LAUNCHER=gnome-keyring", "SSH_AUTH_SOCK=/run/user/1000/keyring/ssh", "SYSTEMD_EXEC_PID=3405", "TERM=xterm-256color", "USER=abc", "USERNAME=abc", "VTE_VERSION=6800", "WINDOWPATH=2", "XAUTHORITY=/run/user/1000/gdm/Xauthority", "XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu-xorg:/etc/xdg", "XDG_CURRENT_DESKTOP=ubuntu:GNOME", "XDG_DATA_DIRS=/usr/share/ubuntu-xorg:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop", "XDG_MENU_PREFIX=gnome-", "XDG_RUNTIME_DIR=/run/user/1000", "XDG_SESSION_CLASS=user", "XDG_SESSION_DESKTOP=ubuntu-xorg", "XDG_SESSION_TYPE=x11", "XMAKE_PROGRAM_DIR=/home/abc/.local/share/xmake", "XMAKE_PROGRAM_FILE=/home/abc/.local/bin/xmake", "XMAKE_ROOTDIR=/home/abc/.local/bin", "XMAKE_SHELL=bash", "XMODIFIERS=@im=ibus", "_=/usr/local/bin/bear"]
[17:36:39.302026, br, 24506] sysname: Linux
[17:36:39.302032, br, 24506] release: 6.8.0-45-generic
[17:36:39.302057, br, 24506] version: #45
22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Sep 11 15:25:05 UTC 2
[17:36:39.302065, br, 24506] machine: x86_64
[17:36:39.302088, br, 24506] arguments parsed: {program: citnames, arguments: [{--input: [compile_commands.events.json]}, {--output: [compile_commands.json]}, {--run-checks: []}, {--verbose: []}, {command: [citnames]}]}
[17:36:39.302249, br, 24506] Configuration: {"compilation":null,"output":{"content":{"duplicate_filter_fields":"file_output","include_only_existing_source":true},"format":{"command_as_array":true,"drop_output_field":false}}}
[17:36:39.304193, br, 24506] [pid: 24493] execution: {"executable":"/usr/bin/make","arguments":["make"],"workingDir":"/mnt/hgfs/share/test/bear_test","environment":{"USER":"abc","PWD":"/mnt/hgfs/share/test/bear_test","DESKTOP_SESSION":"ubuntu-xorg","LC_NUMERIC":"en_US.UTF-8","XDG_CONFIG_DIRS":"/etc/xdg/xdg-ubuntu-xorg:/etc/xdg","XDG_SESSION_DESKTOP":"ubuntu-xorg","SHELL":"/bin/bash","LESSCLOSE":"/usr/bin/lesspipe %s %s","LC_IDENTIFICATION":"en_US.UTF-8","PATH":"/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin:/opt/linux/x86-arm/aarch64-v01c01-linux-gnu-gcc/bin:/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin:/home/abc/.local/bin:/home/abc/bin:/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin:/opt/linux/x86-arm/aarch64-v01c01-linux-gnu-gcc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin","SYSTEMD_EXEC_PID":"3405","XDG_CURRENT_DESKTOP":"ubuntu:GNOME","":"/usr/local/bin/bear","QT_ACCESSIBILITY":"1","XDG_DATA_DIRS":"/usr/share/ubuntu-xorg:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop","OLDPWD":"/opt/linux/x86-arm","LC_MEASUREMENT":"en_US.UTF-8","LC_TIME":"en_US.UTF-8","GNOME_DESKTOP_SESSION_ID":"this-is-deprecated","LC_PAPER":"en_US.UTF-8","XDG_SESSION_TYPE":"x11","INTERCEPT_VERBOSE":"true","XDG_SESSION_CLASS":"user","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:39129","GNOME_SHELL_SESSION_MODE":"ubuntu","GNOME_TERMINAL_SERVICE":":1.95","SESSION_MANAGER":"local/abc-virtual-machine:@/tmp/.ICE-unix/2428,unix/abc-virtual-machine:/tmp/.ICE-unix/2428","DBUS_SESSION_BUS_ADDRESS":"unix:path=/run/user/1000/bus","XMAKE_ROOTDIR":"/home/abc/.local/bin","XMODIFIERS":"@im=ibus","GTK_MODULES":"gail:atk-bridge","XDG_RUNTIME_DIR":"/run/user/1000","GPG_AGENT_INFO":"/run/user/1000/gnupg/S.gpg-agent:0:1","GTK_IM_MODULE":"ibus","SSH_AGENT_LAUNCHER":"gnome-keyring","LD_LIBRARY_PATH":"/opt/MVS/lib/aarch64:","USERNAME":"abc","LD_PRELOAD":"/usr/local/lib/bear/libexec.so","GNOME_TERMINAL_SCREEN":"/org/gnome/Terminal/screen/9b9e865c_fd1b_477f_8b70_1b79c6ed03d8","LOGNAME":"abc","XMAKE_PROGRAM_FILE":"/home/abc/.local/bin/xmake","LC_MONETARY":"en_US.UTF-8","XMAKE_PROGRAM_DIR":"/home/abc/.local/share/xmake","SSH_AUTH_SOCK":"/run/user/1000/keyring/ssh","VTE_VERSION":"6800","LANGUAGE":"en_US:en","HOME":"/home/abc","LESSOPEN":"| /usr/bin/lesspipe %s","LC_TELEPHONE":"en_US.UTF-8","COLORTERM":"truecolor","XDG_MENU_PREFIX":"gnome-","ALLUSERSPROFILE":"/opt/MVS/MVFG","GDMSESSION":"ubuntu-xorg","TERM":"xterm-256color","INTERCEPT_REPORT_COMMAND":"/usr/local/lib/bear/wrapper","LC_ADDRESS":"en_US.UTF-8","XAUTHORITY":"/run/user/1000/gdm/Xauthority","WINDOWPATH":"2","LC_NAME":"en_US.UTF-8","XMAKE_SHELL":"bash","SHLVL":"1","PAPERSIZE":"letter","QT_IM_MODULE":"ibus","LS_COLORS":"rs=0:di=01;35:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.webp=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:","DISPLAY":":0","LANG":"en_US.UTF-8"}}
[17:36:39.304554, br, 24506] [pid: 24493] recognition failed: No tools recognize this execution.
[17:36:39.304927, br, 24506] [pid: 24498] execution: {"executable":"/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin/aarch64-himix100-linux-gcc","arguments":["aarch64-himix100-linux-gcc","-c","a.c"],"workingDir":"/mnt/hgfs/share/test/bear_test","environment":{"USERNAME":"abc","LD_PRELOAD":"/usr/local/lib/bear/libexec.so","GNOME_TERMINAL_SCREEN":"/org/gnome/Terminal/screen/9b9e865c_fd1b_477f_8b70_1b79c6ed03d8","LOGNAME":"abc","XMAKE_PROGRAM_FILE":"/home/abc/.local/bin/xmake","LC_MONETARY":"en_US.UTF-8","XMAKE_PROGRAM_DIR":"/home/abc/.local/share/xmake","MAKEFLAGS":"","SSH_AUTH_SOCK":"/run/user/1000/keyring/ssh","VTE_VERSION":"6800","LANGUAGE":"en_US:en","HOME":"/home/abc","LESSOPEN":"| /usr/bin/lesspipe %s","LC_TELEPHONE":"en_US.UTF-8","COLORTERM":"truecolor","XDG_MENU_PREFIX":"gnome-","TERM":"xterm-256color","ALLUSERSPROFILE":"/opt/MVS/MVFG","GDMSESSION":"ubuntu-xorg","INTERCEPT_REPORT_COMMAND":"/usr/local/lib/bear/wrapper","LC_ADDRESS":"en_US.UTF-8","XAUTHORITY":"/run/user/1000/gdm/Xauthority","WINDOWPATH":"2","LC_NAME":"en_US.UTF-8","XMAKE_SHELL":"bash","SHLVL":"1","PAPERSIZE":"letter","QT_IM_MODULE":"ibus","LS_COLORS":"rs=0:di=01;35:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:.lzma=01;31:.tlz=01;31:.txz=01;31:.tzo=01;31:.t7z=01;31:.zip=01;31:.z=01;31:.dz=01;31:.gz=01;31:.lrz=01;31:.lz=01;31:.lzo=01;31:.xz=01;31:.zst=01;31:.tzst=01;31:.bz2=01;31:.bz=01;31:.tbz=01;31:.tbz2=01;31:.tz=01;31:.deb=01;31:.rpm=01;31:.jar=01;31:.war=01;31:.ear=01;31:.sar=01;31:.rar=01;31:.alz=01;31:.ace=01;31:.zoo=01;31:.cpio=01;31:.7z=01;31:.rz=01;31:.cab=01;31:.wim=01;31:.swm=01;31:.dwm=01;31:.esd=01;31:.jpg=01;35:.jpeg=01;35:.mjpg=01;35:.mjpeg=01;35:.gif=01;35:.bmp=01;35:.pbm=01;35:.pgm=01;35:.ppm=01;35:.tga=01;35:.xbm=01;35:.xpm=01;35:.tif=01;35:.tiff=01;35:.png=01;35:.svg=01;35:.svgz=01;35:.mng=01;35:.pcx=01;35:.mov=01;35:.mpg=01;35:.mpeg=01;35:.m2v=01;35:.mkv=01;35:.webm=01;35:.webp=01;35:.ogm=01;35:.mp4=01;35:.m4v=01;35:.mp4v=01;35:.vob=01;35:.qt=01;35:.nuv=01;35:.wmv=01;35:.asf=01;35:.rm=01;35:.rmvb=01;35:.flc=01;35:.avi=01;35:.fli=01;35:.flv=01;35:.gl=01;35:.dl=01;35:.xcf=01;35:.xwd=01;35:.yuv=01;35:.cgm=01;35:.emf=01;35:.ogv=01;35:.ogx=01;35:.aac=00;36:.au=00;36:.flac=00;36:.m4a=00;36:.mid=00;36:.midi=00;36:.mka=00;36:.mp3=00;36:.mpc=00;36:.ogg=00;36:.ra=00;36:.wav=00;36:.oga=00;36:.opus=00;36:.spx=00;36:.xspf=00;36:","DISPLAY":":0","LANG":"en_US.UTF-8","USER":"abc","PWD":"/mnt/hgfs/share/test/bear_test","DESKTOP_SESSION":"ubuntu-xorg","LC_NUMERIC":"en_US.UTF-8","XDG_CONFIG_DIRS":"/etc/xdg/xdg-ubuntu-xorg:/etc/xdg","MAKELEVEL":"1","XDG_SESSION_DESKTOP":"ubuntu-xorg","SHELL":"/bin/bash","LESSCLOSE":"/usr/bin/lesspipe %s %s","MAKE_TERMERR":"/dev/pts/7","LC_IDENTIFICATION":"en_US.UTF-8","PATH":"/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin:/opt/linux/x86-arm/aarch64-v01c01-linux-gnu-gcc/bin:/home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin:/home/abc/.local/bin:/home/abc/bin:/opt/hisi-linux/x86-arm/aarch64-himix100-linux/bin:/opt/linux/x86-arm/aarch64-v01c01-linux-gnu-gcc/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin","SYSTEMD_EXEC_PID":"3405","MAKE_TERMOUT":"/dev/pts/7","XDG_CURRENT_DESKTOP":"ubuntu:GNOME","
":"/usr/local/bin/bear","QT_ACCESSIBILITY":"1","XDG_DATA_DIRS":"/usr/share/ubuntu-xorg:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop","OLDPWD":"/opt/linux/x86-arm","LC_MEASUREMENT":"en_US.UTF-8","LC_TIME":"en_US.UTF-8","GNOME_DESKTOP_SESSION_ID":"this-is-deprecated","LC_PAPER":"en_US.UTF-8","XDG_SESSION_TYPE":"x11","INTERCEPT_VERBOSE":"true","XDG_SESSION_CLASS":"user","INTERCEPT_REPORT_DESTINATION":"dns:///localhost:39129","GNOME_SHELL_SESSION_MODE":"ubuntu","GNOME_TERMINAL_SERVICE":":1.95","SESSION_MANAGER":"local/abc-virtual-machine:@/tmp/.ICE-unix/2428,unix/abc-virtual-machine:/tmp/.ICE-unix/2428","DBUS_SESSION_BUS_ADDRESS":"unix:path=/run/user/1000/bus","XMAKE_ROOTDIR":"/home/abc/.local/bin","XMODIFIERS":"@im=ibus","GTK_MODULES":"gail:atk-bridge","XDG_RUNTIME_DIR":"/run/user/1000","MFLAGS":"","GPG_AGENT_INFO":"/run/user/1000/gnupg/S.gpg-agent:0:1","GTK_IM_MODULE":"ibus","SSH_AGENT_LAUNCHER":"gnome-keyring","LD_LIBRARY_PATH":"/opt/MVS/lib/aarch64:"}}
[17:36:39.305051, br, 24506] [pid: 24498] recognized.
[17:36:39.305194, br, 24506] compilation entries created. [size: 1]
[17:36:39.305220, br, 24506] compilation entries to output. [size: 1]
[17:36:39.307854, br, 24506] compilation entries written. [size: 1]
[17:36:39.307919, br, 24506] succeeded with: 0
[17:36:39.308772, br, 24482] Process wait request: done. [pid: 24506]
[17:36:39.308814, br, 24482] Running citnames finished. [Exited with 0]
[17:36:39.309134, br, 24482] succeeded with: 0

========================================================================

I found that the first cross compiler used in the test (aarch64 none linux-gnu gcc) can output:
[17:31:51.669366, el, 24417] lib.cc; execv path: /home/abc/ax/tools/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/as
But when using the cross compiler aarch64-himx100-linux-gcc, there is no such output. Why?

@zhzhn1234
Copy link
Author

Here I will make a correction, the difference is:
[17:31:51.560949, el, 24410] lib.cc; execv path: /home/abc/ax/tools/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/bin/../libexec/gcc/aarch64-none-linux-gnu/10.3.1/cc1

@rizsotto
Copy link
Owner

The error message you see, is printed by the dynamic linker. (see man ld.so) I was referring you to the troubleshooting document because it explains that on debian based systems, you might want to install the libexec.so not to /usr/local/lib, but /usr/local/lib/i386-linux-gnu. Where the last part of the path is the architecture type of the library.

If you find differences with the cross compiler behaviour vs the native compiler, that's because the library is good for one architecture, but not for the other... You might want to re-install Bear with the right CMake invocations regarding to the libdir.

You might also can check the executables which are working and compare against the ones which errors. (Just a simple file $(which aarch64-himx100-linux-gcc) will do it.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants