You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that ./amalgamate.sh doesn't seem to be usable on ARM64 musl-libc Linux systems, my wild guess is it's because the clang test compile possibly uses libasan which if I'm not entirely wrong is not available for musl-libc:
-- The C compiler identification is GNU 12.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Zip files: miniz.c;miniz.h;examples/example1.c;examples/example2.c;examples/example3.c;examples/example4.c;examples/example5.c;examples/example6.c;ChangeLog.md;readme.md;LICENSE
-- Configuring done
-- Generating done
-- Build files have been written to: /home/user/Develop/project/vendor/miniz/_build
Test compile with GCC...
_build/amalgamation/miniz.c:3185:9: note: '#pragma message: Using fopen, ftello, fseeko, stat() etc. path for file I/O - this path may not support large files.'
3185 | #pragma message("Using fopen, ftello, fseeko, stat() etc. path for file I/O - this path may not support large files.")
| ^~~~~~~
Test compile with GCC ANSI...
_build/amalgamation/miniz.c:3185:9: note: '#pragma message: Using fopen, ftello, fseeko, stat() etc. path for file I/O - this path may not support large files.'
3185 | #pragma message("Using fopen, ftello, fseeko, stat() etc. path for file I/O - this path may not support large files.")
| ^~~~~~~
/usr/bin/clang
Test compile with clang...
main.c:1:9: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
int main() { return 0; }
^
void
1 warning generated.
_build/amalgamation/miniz.c:3185:9: warning: Using fopen, ftello, fseeko, stat() etc. path for file I/O - this path may not support large files. [-W#pragma-messages]
#pragma message("Using fopen, ftello, fseeko, stat() etc. path for file I/O - this path may not support large files.")
^
1 warning generated.
/usr/bin/ld: cannot find /usr/lib/clang/15.0.7/lib/linux/libclang_rt.ubsan_standalone-aarch64.a: No such file or directory
clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
Could this be fixed so that assembling the header file works properly on these systems, e.g. by allowing the clang compile to fail or not using libasan for that by default? Or is there a different command from the things in the repository I am meant to run to assemble the header file from a dev version checkout from the repository that'll skip the compile test entirely? Any ideas would be appreciated!
The text was updated successfully, but these errors were encountered:
It appears that
./amalgamate.sh
doesn't seem to be usable on ARM64 musl-libc Linux systems, my wild guess is it's because the clang test compile possibly uses libasan which if I'm not entirely wrong is not available for musl-libc:Could this be fixed so that assembling the header file works properly on these systems, e.g. by allowing the clang compile to fail or not using libasan for that by default? Or is there a different command from the things in the repository I am meant to run to assemble the header file from a dev version checkout from the repository that'll skip the compile test entirely? Any ideas would be appreciated!
The text was updated successfully, but these errors were encountered: