Using custom target with compiled object files as input? #13770
Unanswered
aydinmercan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am currently experimenting meson as an alternative to replace autoconf in an existing project. While the port is relatively straightforward and better (hurray meson!), userspace probing with DTrace is awkward to use in meson.
In FreeBSD and Solaris, you need the compiled object files and the probe file to generate the ELF file you link with the final executable.
Because meson doesn't have an object library, I had to make a library without probing, extract the objects for DTrace and then finally link every object again inside another library. This is also Postgres does but it had a massive build time penalty when I tried it with LTO.
Is there another method that I have missed without adding additional functionality to meson? (That being said, I am willing to give it a shot or try an draft implementation if its on the roadmap 😺 )
Beta Was this translation helpful? Give feedback.
All reactions