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
compilation issues #432
Comments
Hello. Anyone willing to help on this? |
Would be great if someone could look into these compilation issues such that the R community could also benefit from this package. Thanks! |
@taku910
|
@taku910 this also seems to be done here to get rid of the warning: google/flatbuffers@2e865f4 |
Confirmed. Fixed in the head. |
Thanks. I'll leave this issue open for gradually fixing the remainder compilation issues. I've pushed the package to CRAN. That will provide me with further compilation traces with detailed descriptions. I'll get back on this within 2 weeks. |
FYI. R package wrapping sentencepiece was published to CRAN yesterday https://CRAN.R-project.org/package=sentencepiece. The installation fails on Solaris however due to the issue which was reported here, namely the use of
Mathematical functions such as I suggest to replace following code snippets which are in
Next to that I also had to update
Code chunk which had to be updated in
Next had to incorporate protobuf as fixed here on protocolbuffers/protobuf@be14bf2#diff-864b83a0332a5de58a78915daf987e1c
|
Hopefully they are fixed in v0.1.92. I cannot check it because I don't have the environment to test. |
Only remaining issue is the UBSAN messages from protobuf-lite shown in the first message of this thread. It is the same as reported at protocolbuffers/protobuf#2073 |
Hi,
I would like to upload the R wrapper (https://github.com/bnosac/sentencepiece) around sentencepiece to CRAN. CRAN is pretty strict on compilation issues. Would it be possible to fix the following issues which occur when checking on Debian, Solaris, ASAN/UBSAN
On Debian Linux, GCC, no long double, I'm getting:
On Oracle Solaris, compilation fails: with the following error
On Debian Linux, GCC, with Address Sanitizers (ASAN/UBSAN), I'm getting address sanitizer failures in protobuf-lite. See below:
Next it would be nice if we don't need to compile with
-Wno-pedantic -Wno-misleading-indentation -Wno-sign-compare
as that makes the compiler pretty noisy. Could such warnings also be removed.thank you :)!
The text was updated successfully, but these errors were encountered: