NCAR / SPERR

SPERR is a lossy scientific (floating-point) data compressor that produces one of the best rate-distortion curves.
Apache License 2.0
19 stars 10 forks source link

Where did all the symbols go? #221

Closed robertu94 closed 1 year ago

robertu94 commented 1 year ago

Describe the bug When I attempt to build SPERR version 0.7.1, I get a linking error whenever I attempt to link to it. It looks like the symbols are missing.

To Reproduce

mkdir build
cd build
cmake ..
cmake --build .
cmake --install

# build and attempt to link to libpressio-sperr

Expected and actual behavior

❯ objdump -t ./build/src/libSPERR.so.0.7.1  |grep sperr_decomp_2d

This should return at least one line with this symbol...

SPERR (c2cd092) via △ v3.27.7 
❯ git log -n 1 --format=oneline
c2cd092f2b55136bb246a680ea3406db8b71f99f (HEAD, tag: v0.7.1, origin/main, origin-main) bump version number to 0.7.1

Environment (please complete the following information):

shaomeng commented 1 year ago

I cannot reproduce it on an ubuntu box and I don't have access to a Fedora box. This is a very odd symptom; do you mind clean up everything and try again?

Screenshot 2023-10-24 at 3 13 12 PM
robertu94 commented 1 year ago

@shaomeng sorry for the noise. This seems to be an issue with a stale ccache butting in on with a sccache unexpectedly and not the fault of SPERR.