[odb-users] odb-compiler errors with make -j ?

Boris Kolpackov boris at codesynthesis.com
Tue Feb 18 09:17:07 EST 2020


Quentin Deldycke <quentindeldycke at gmail.com> writes:

> When compiling, i have random odb compile error of this form:
> 
> error: '/../../../include/what/ever.hpp' is not a valid filesystem path.
> 
> The '../../../' path is logic: my project is in this form:
> 
> ./my/library/here/test.{pro,hpp,cpp} (I use qt and odb do run in this path)
> ./include/odb/pre.hxx
> ./include/or/anything.hpp
> 
> But actually, it seems odb miss "the first dot" to make a path like
> "./../../../include/what/ever.hpp"
> 
> Note that my library / binary is building correctly most of the times.
> (whole project is quite big)
> The .hpp can be anything my files do include, odb/pre.hxx, odb/post.hxx,
> my own includes... really anything.
> 
> This seems to happen more and more oftenly with thread count passed to -j.

That's quite a strange behavior and it doesn't really ring any bells. Can
you show the ODB compiler command line that corresponds to the above
'error: ...'? That is, from the same failed output log as the error so
that if any malformed paths are passed, we can see it.

Also, which version of GCC are you using with the ODB compiler?



More information about the odb-users mailing list