Skip to content

Update NDK download link as NumPy can't be built using NDK r8c#429

Merged
inclement merged 1 commit into
kivy:masterfrom
asmfreak:patch-1
Sep 13, 2015
Merged

Update NDK download link as NumPy can't be built using NDK r8c#429
inclement merged 1 commit into
kivy:masterfrom
asmfreak:patch-1

Conversation

@asmfreak

Copy link
Copy Markdown
Contributor

It's not an issue of python-for-android. NumPy can't be built using ndr8c - gcc segfaults during processing of this command:

./distribute.sh -m "sqlite3 numpy kivy"

Fails with this log:

ccache: build/src.linux-x86_64-2.7/numpy/core/src/multiarray/lowlevel_strided_loops.c
numpy/core/src/multiarray/lowlevel_strided_loops.c.src: In function '_cast_ubyte_to_ulonglong':
numpy/core/src/multiarray/lowlevel_strided_loops.c.src:886: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
numpy/core/src/multiarray/lowlevel_strided_loops.c.src: In function '_cast_ubyte_to_ulonglong':
numpy/core/src/multiarray/lowlevel_strided_loops.c.src:886: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Updating to a newer version of NDK (r9d) worked for me.

It's not an issue of python-for-android. NumPy can't be built using ndr8c - gcc segfaults during processing of this command:
```
./distribute.sh -m "sqlite3 numpy kivy"
```
Fails with this log:
```
ccache: build/src.linux-x86_64-2.7/numpy/core/src/multiarray/lowlevel_strided_loops.c
numpy/core/src/multiarray/lowlevel_strided_loops.c.src: In function '_cast_ubyte_to_ulonglong':
numpy/core/src/multiarray/lowlevel_strided_loops.c.src:886: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
numpy/core/src/multiarray/lowlevel_strided_loops.c.src: In function '_cast_ubyte_to_ulonglong':
numpy/core/src/multiarray/lowlevel_strided_loops.c.src:886: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
```
Updating to a newer version of NDK (r9d) worked for me.
inclement added a commit that referenced this pull request Sep 13, 2015
Update NDK download link as NumPy can't be built using NDK r8c
@inclement inclement merged commit 31a6b34 into kivy:master Sep 13, 2015
@inclement

Copy link
Copy Markdown
Member

Thanks, this seems good anyway since NDK 8 is old now.

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

Successfully merging this pull request may close these issues.

2 participants