Closed kenluobo closed 10 months ago
Could not reproduce.
$ ../configure --cross-prefix=aarch64-linux-gnu- --arch=aarch64 --target-os=linux
...
$ bear -- make -j12
...
$ file ffmpeg
ffmpeg: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=c69c188a69c94d1a39ae234c944513c686afdabc, for GNU/Linux 3.7.0, stripped
$ head compile_commands.json
[
{
"arguments": [
"/usr/bin/aarch64-linux-gnu-gcc",
"-I.",
"-Isrc/",
"-D_ISOC99_SOURCE",
"-D_FILE_OFFSET_BITS=64",
"-D_LARGEFILE_SOURCE",
"-D_POSIX_C_SOURCE=200112",
Describe the bug
Expected behavior The compiled database will eventually be generated successfully, but hopefully no ld error will be reported.
Environment: