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

[Bug]: Building GraphAr C++ failed on ARM platform #157

Closed
1 task done
acezen opened this issue May 15, 2023 · 2 comments
Closed
1 task done

[Bug]: Building GraphAr C++ failed on ARM platform #157

acezen opened this issue May 15, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@acezen
Copy link
Contributor

acezen commented May 15, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

when building GraphAr C++, got error:

enumerator value ‘-1’ is outside the range of underlying type ‘char’

https://github.com/alibaba/GraphAr/blob/main/cpp/include/gar/writer/arrow_chunk_writer.h#L41-L46

Expected Behavior

Building without error.

Minimal Reproducible Example

cd cpp
cmake ..
make

Environment

  • Operating system: ARM
  • GraphAr version: v0.5

Link to GraphAr Logs

No response

Further Information

No response

@acezen acezen self-assigned this May 15, 2023
@acezen acezen added the bug Something isn't working label May 15, 2023
@acezen
Copy link
Contributor Author

acezen commented May 16, 2023

hi, @lixueclaire, can you take a look to the issue?, it seems that some ARM architectures would take char as unsigned
https://developer.arm.com/documentation/den0013/d/Porting/Miscellaneous-C-porting-issues/unsigned-char-and-signed-char

@lixueclaire
Copy link
Contributor

fixed by #158

@acezen acezen added this to the Release v0.6.0 milestone Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants