Comments (7)
could you check a few things for me? run bear with debug mode. check out does it create empty json file? in case of yes, i need more input about your application compilation. in case of no, check out the debug output and search for the compiler calls for switch like -M
. it most probably filtered out. check the config file is it the case? since this week there is an extra verbose switch on bear, to get an idea how bear filtering was working. please check man bear
or bear -h
for command line.
from bear.
I'm using the config file from Git unchanged.
Here's the debug output:
[
{
"pid": "66107",
"ppid": "66106",
"function": "execv",
"directory": "/[path_to_my_src]/src/lib/dsd_core",
"command": "/Applications/Xcode.app/Contents/Developer/usr/bin/make"
}
]
bear: filtering statistic:
total number of child processes : 1
match as compiler : 0
match as source file : 0
match on cancel parameter : 0
from bear.
thanks for the updates. i don't have the environment that you are testing, so i need your help. could you please verify that you are not using distcc or ccache? and also please make sure that it is actually does compilation. i mean you run make clean
before you call bear -d -x -- make
.
from bear.
No distcc or ccache. Yes I'm running make clean then make. My library is built correctly, but bear is not capturing the compiler invocation.
from bear.
Thanks, that's good. Could you run the build with strace
and send me the output to my email address?
from bear.
for the record: tried to reproduce the error on arch-Linux with Qt 5.1.1., but it does not show up.
from bear.
confirmed that this is a bug. caused by the make program is using posix_spawn
to execute the compiler.
from bear.
Related Issues (20)
- Next-generation Intel compilers are not recognized by default HOT 3
- Bear exits without generating compile_commands.json HOT 1
- paths_to_include/exclude don't work if path ends in '/' HOT 1
- Bear can't out compile_commands.json in TI soc TDA4 c7 HOT 1
- Bear fails to build with fmt 10.1 HOT 5
- Bear produces empty compile_commands.json HOT 13
- Bear generates empty compile_commands.json when using VBCC frontend HOT 3
- Linking executable wrapper error HOT 2
- clang-check and clang-tidy broke down with compile_commands.json HOT 6
- bear -- make produces an empty compile_commands.json HOT 3
- bear not work HOT 2
- Bear intercept does not work with shell scripts HOT 5
- Build error: /bin/sh: 1: ctest: not found HOT 4
- Can cause link errors during cross compilation HOT 1
- Running 'nrfutil pkg' through bear won't find GLIBCXX_3.4.30 - add a "de-wrapper"? HOT 3
- Bear spawns an endless number of processes on FreeBSD HOT 4
- [Feature Request] Enable preload mode on macOS with SIP disabled HOT 2
- How does bear work? HOT 1
- Calling `bear -- emmake make` from makefile has different output than without the makefile HOT 3
- `bear intercept` prints empty events.json with dynamically linked arm-none-eabi-gcc HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bear.