Open borkdude opened 3 years ago
@eeeebbbbrrrr any ideas maybe? it seems related to a build cache in target. Only when I remove target
, then it works again, but not the second time.
This is what I'm seeing with otool
the first and second time:
$ otool -hV /Users/borkdude/.pgx/13.0/pgx-install/lib/postgresql/plsci.so
Mach header
magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
MH_MAGIC_64 X86_64 ALL 0x00 DYLIB 15 2136 NOUNDEFS DYLDLINK TWOLEVEL NO_REEXPORTED_DYLIBS MH_HAS_TLV_DESCRIPTORS
$ otool -hV /Users/borkdude/.pgx/13.0/pgx-install/lib/postgresql/plsci.so
Mach header
magic cputype cpusubtype caps filetype ncmds sizeofcmds flags
MH_MAGIC_64 X86_64 ALL 0x00 DYLIB 15 2152 NOUNDEFS DYLDLINK TWOLEVEL NO_REEXPORTED_DYLIBS MH_HAS_TLV_DESCRIPTORS
It seems that sizeofcmds
has grown (I'm not sure what this means).
The first time after building libplsci I can successfully run cargo pgx run:
However, the second time, I get: