Open vtjnash opened 1 year ago
What does dwarfdump
show for the .dSYM
file?
$ dwarfdump /Users/jameson/.julia/compiled/v1.10/DataValueInterfaces/9Lpkp_uJHo7.dylib
/Users/jameson/.julia/compiled/v1.10/DataValueInterfaces/9Lpkp_uJHo7.dylib: file format Mach-O 64-bit x86-64
.debug_info contents:
So it generates everything, but the .debug_info
section contains nothing. That's really odd.
The .dylib
is also empty, since we did not generate any code. It is not that odd.
Oh, I didn't catch that. Then I'm confused about what the actual issue is. Is it that warning?
Yes, that warning is distracting
Can you reproduce it outside of Julia? Not sure how hard making an empty dylib is. If so then I imagine an upstream issue that adds a check if there is code before throwing the warning.
Not sure how hard making an empty dylib is.
It depends on how empty you want it to be, but echo | cc -shared -o libfoo.so -x c -
should successfully produce a shared library.