Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version number is too large to fit in the 32 or 64 bit space of old mach-o format #89

Open
Voxar opened this issue Apr 26, 2024 · 0 comments

Comments

@Voxar
Copy link

Voxar commented Apr 26, 2024

Building on MacOS arm64

The clang linker complains about the large minor version number (4.1.7152) that does not fit in 10 bits

uint64_t Options::parseVersionNumber64(const char* versionString)
https://opensource.apple.com/source/ld64/ld64-274.2/src/ld/Options.cpp.auto.html

ld: warning: truncating -dylib_current_version to fit in 32-bit space used by old mach-o format
ld: malformed 64-bit a.b.c.d.e version number: 4.1.7152
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [compiler/libpawnc.4.1.7152.dylib] Error 1
make[1]: *** [compiler/CMakeFiles/pawnc.dir/all] Error 2
make: *** [all] Error 2
@Voxar Voxar changed the title Version number is too large to fit in the 32 and 64 bit space of old mach-o format Version number is too large to fit in the 32 or 64 bit space of old mach-o format Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant