Comments (3)
I guess that the tests are hardcoded for 64-bit systems, whereas armv7l is 32-bit.
from immutables.
I think it may be worthy to mention this part of the build log:
[ 190s] gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g -DOPENSSL_LOAD_CONF -fwrapv -fno-semantic-interposition -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -g -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -fPIC -DNDEBUG=1 -I/usr/include/python3.8 -c immutables/_map.c -o build/temp.linux-armv7l-3.8/immutables/_map.o -O2 -std=c99 -fsigned-char -Wall -Wsign-compare -Wconversion
[ 190s] In file included from /usr/include/python3.8/Python.h:8,
[ 190s] from immutables/_map.h:5,
[ 190s] from immutables/_map.c:2:
[ 190s] /usr/include/python3.8/pyconfig.h:1597: warning: "_POSIX_C_SOURCE" redefined
[ 190s] 1597 | #define _POSIX_C_SOURCE 200809L
[ 190s] |
[ 190s] In file included from /usr/include/bits/libc-header-start.h:33,
[ 190s] from /usr/include/stdint.h:26,
[ 190s] from /usr/lib/gcc/armv7hl-suse-linux-gnueabi/10/include/stdint.h:9,
[ 190s] from immutables/_map.h:4,
[ 190s] from immutables/_map.c:2:
[ 190s] /usr/include/features.h:310: note: this is the location of the previous definition
[ 190s] 310 | # define _POSIX_C_SOURCE 199506L
[ 190s] |
[ 190s] immutables/_map.c: In function ‘map_node_bitmap_assoc’:
[ 190s] immutables/_map.c:905:62: warning: conversion to ‘Py_ssize_t’ {aka ‘int’} from ‘uint32_t’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
[ 190s] 905 | new_node = (MapNode_Array *)map_node_array_new(n + 1, mutid);
[ 190s] | ~~^~~
[ 190s] immutables/_map.c:988:57: warning: conversion to ‘Py_ssize_t’ {aka ‘int’} from ‘uint32_t’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion]
[ 190s] 988 | (MapNode_Bitmap *)map_node_bitmap_new(2 * (n + 1), mutid);
[ 190s] | ~~^~~~~~~~~
from immutables.
This seems to be an issue on all 32-bit arches. See #50.
from immutables.
Related Issues (20)
- How about comparing performance to frozen dict?
- 3.12 support HOT 3
- Adding support for shared_memory allocator for multiprocessing.
- pythoncapi_compat.h is 0BSD not MIT HOT 1
- sdist is missing tests/test-data/check-immu.test
- Segfault with Python 3.13.0b1 HOT 1
- immutables._map.MapMutation is not iterable / does not implement items() HOT 3
- Binary wheels for Python 3.9 HOT 4
- Maintain Map insertion order like dict on Python 3.7+ HOT 2
- Add support to release aarch64 wheels HOT 1
- [Security] Potential Secret Leak HOT 1
- Potential buffer-overflow in map_node_array_assoc of _map.c
- 0.16: pytest is failing HOT 22
- How to efficiently track and store deltas between two HAMTs HOT 1
- Unable to install from sdist: pyproject.toml [project] requires a name. HOT 3
- Do you want my frozenset implemenation using this lib?
- Map type arguments aren't introspectible in runtime
- Iteration bug HOT 2
- Invalid pyproject.toml HOT 1
- Pattern matching isn't working for C implementation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from immutables.