rizsotto / Bear

Bear is a tool that generates a compilation database for clang tooling.
GNU General Public License v3.0
4.76k stars 312 forks source link

Bear 3 hangs after compilation and does not generate a compile_commands.json #432

Closed lvaroqui-gpfw closed 2 years ago

lvaroqui-gpfw commented 2 years ago

Describe the bug Bear 3 hangs after compilation and does not generate a compile_commands.json. This worked fine in Bear 2.

To Reproduce This is on a private repo using a cross compile toolchain.

Expected behavior Bear generates a compile_commands.json, like in bear 2.

Environment:

Additional context We seem to be stuck in citnames process which uses 100% of 1 CPU.

Before you send...

rizsotto commented 2 years ago

Can you try with the latest version? https://launchpad.net/ubuntu/+source/bear

lvaroqui-gpfw commented 2 years ago

I compiled from source version 3.0.17 and everything seems to be fine now, thanks! It seems that 3.0.8 on Ubuntu 21.10 is broken.