Giter VIP home page Giter VIP logo

Comments (3)

vstinner avatar vstinner commented on August 26, 2024

I guess that the tests are hardcoded for 64-bit systems, whereas armv7l is 32-bit.

from immutables.

mcepl avatar mcepl commented on August 26, 2024

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.

elprans avatar elprans commented on August 26, 2024

This seems to be an issue on all 32-bit arches. See #50.

from immutables.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.