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

Bear can't out compile_commands.json in TI soc TDA4 c7 #540

Open
dtcwyp opened this issue Aug 16, 2023 · 1 comment
Open

Bear can't out compile_commands.json in TI soc TDA4 c7 #540

dtcwyp opened this issue Aug 16, 2023 · 1 comment

Comments

@dtcwyp
Copy link

dtcwyp commented Aug 16, 2023

Describe the bug
Bear can't out compile_commands.json in TI soc TDA4 c7

To Reproduce
cd $RTOS_SDK/vision_apps
bear --use-cc $RTOS_SDK/ti-cgt-c7000_3.1.0.LTS/bin/cl7x make vx_app_rtos_linux_c7x_1

Expected behavior
Do not want to generate empty of compile_commands.json

Environment:

  • OS name: [linux]
  • OS version: [ubuntu 18.04]
  • OS architecture: [x86_64]
  • Bear version: [bear 2.3.11]
  • Bear install method: [e.g. from package]

Additional context

  • Can you give us a reference to the project that you are running against this tool? [no]

  • What build tools this project is using? [TI make]

  • What architecture you are trying to compile for? [DSP]

  • Could you attach build logs? If you can re-run the command which failed (e.g. bear -- make) with extra verbose log switches (e.g. bear --verbose -- make) and send the output of it, that would help a lot.
    bear -vvvv --use-cc cl7x make vx_app_rtos_linux_c7x_1
    Before you send...
    TI c7 use bear make.txt

  • Have you read the README.md file or man bear? yes

  • Have you looked what other open issues Bear has? yes

  • Are you sure that the build works without Bear? yes

@rizsotto
Copy link
Owner

Hey @dtcwyp , thanks for the report.

The version you are using is not actively developed. So, I can't provide solution for that.

The recent version will also not support this use case out of the box, but happy to add that. For that I would need to understand a few things about this toolkit. (eg.: What's the compiler name? Is this compiler based on gcc? Is this compiler native (64bit executable on a 64bit machine) on your host machine?)

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