* [Buildroot] [Bug 11991] [numpy] segfault when compiling for RPi3 64bits
2019-06-26 12:50 [Buildroot] [Bug 11991] New: [numpy] segfault when compiling for RPi3 64bits bugzilla at busybox.net
@ 2019-07-05 21:11 ` bugzilla at busybox.net
2019-07-08 11:36 ` bugzilla at busybox.net
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2019-07-05 21:11 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=11991
--- Comment #1 from Peter Seiderer <ps.report@gmx.net> ---
Which GCC version? Mind to share your config/defconfig?
There is one more reference of the same compile failure on the web, see [1].
numpy/core/src/npymath/npy_math_internal.h.src:482:12: internal compiler error:
Segmentation fault
return @kind@@c@(x, y);
^~~~~~~~~~~~~~~
Stating 'Bug does not occur when using -O0 on GCC 8.2.0 and does not occur at
all with GCC 9.1.0', mind to try a different compiler and/or optimization
setting?
Regards,
Peter
[1] https://github.com/numpy/numpy/issues/13622
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread* [Buildroot] [Bug 11991] [numpy] segfault when compiling for RPi3 64bits
2019-06-26 12:50 [Buildroot] [Bug 11991] New: [numpy] segfault when compiling for RPi3 64bits bugzilla at busybox.net
2019-07-05 21:11 ` [Buildroot] [Bug 11991] " bugzilla at busybox.net
@ 2019-07-08 11:36 ` bugzilla at busybox.net
2019-07-08 20:25 ` bugzilla at busybox.net
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2019-07-08 11:36 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=11991
--- Comment #2 from XonqNopp <xonqnoppp@gmail.com> ---
Created attachment 8136
--> https://bugs.busybox.net/attachment.cgi?id=8136&action=edit
Config used when encountering numpy segfault
Attached my .config (compressed because too large for bugzilla).
I started from configs/raspberry3_64_defconfig and added the stuff I need.
About GCC version I am not sure which one you want... So I have these:
$
/home/buildroot/buildroot201907numpySegFault/output/host/bin/aarch64-buildroot-linux-uclibc-gcc
--version
aarch64-buildroot-linux-uclibc-gcc.br_real (Buildroot 2019.05) 7.4.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ gcc --version
gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Let me know if you want to know about another one...
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread* [Buildroot] [Bug 11991] [numpy] segfault when compiling for RPi3 64bits
2019-06-26 12:50 [Buildroot] [Bug 11991] New: [numpy] segfault when compiling for RPi3 64bits bugzilla at busybox.net
2019-07-05 21:11 ` [Buildroot] [Bug 11991] " bugzilla at busybox.net
2019-07-08 11:36 ` bugzilla at busybox.net
@ 2019-07-08 20:25 ` bugzilla at busybox.net
2019-07-10 6:30 ` bugzilla at busybox.net
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2019-07-08 20:25 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=11991
--- Comment #3 from Peter Seiderer <ps.report@gmx.net> ---
Thanks for the info/config...
With make menuconfig under Toolchain-->GCC compiler Version you
can select different versions, e.g.
- gcc 4.9.x (works)
- gcc 5.x (untested)
- gcc 6.x (untested)
- gcc 7.x (your/default selection, numpy segfault)
- gcc 8.x (numpy segfault)
Or in case you use buildroot master from git
- gcc 9.x (works)
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread* [Buildroot] [Bug 11991] [numpy] segfault when compiling for RPi3 64bits
2019-06-26 12:50 [Buildroot] [Bug 11991] New: [numpy] segfault when compiling for RPi3 64bits bugzilla at busybox.net
` (2 preceding siblings ...)
2019-07-08 20:25 ` bugzilla at busybox.net
@ 2019-07-10 6:30 ` bugzilla at busybox.net
2019-07-12 19:33 ` bugzilla at busybox.net
2019-07-15 5:38 ` bugzilla at busybox.net
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2019-07-10 6:30 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=11991
--- Comment #4 from XonqNopp <xonqnoppp@gmail.com> ---
OK for the workaround. So you mean it is intrinsic to the gcc compiler and will
be fixed in the next major buildroot release (2019.08)? If so it is fine for
me. Thanks for the help.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread* [Buildroot] [Bug 11991] [numpy] segfault when compiling for RPi3 64bits
2019-06-26 12:50 [Buildroot] [Bug 11991] New: [numpy] segfault when compiling for RPi3 64bits bugzilla at busybox.net
` (3 preceding siblings ...)
2019-07-10 6:30 ` bugzilla at busybox.net
@ 2019-07-12 19:33 ` bugzilla at busybox.net
2019-07-15 5:38 ` bugzilla at busybox.net
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2019-07-12 19:33 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=11991
--- Comment #5 from Peter Seiderer <ps.report@gmx.net> ---
Update:
- gcc 5.x (works)
- gcc 6.x (numpy segfault)
Yes, gcc-9.1 support was added already on git master (see [1]) and will land in
the next buildroot release...
[1]
https://git.buildroot.net/buildroot/commit/?id=089000eccf584d611ad1a8e5400436952450e883
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread* [Buildroot] [Bug 11991] [numpy] segfault when compiling for RPi3 64bits
2019-06-26 12:50 [Buildroot] [Bug 11991] New: [numpy] segfault when compiling for RPi3 64bits bugzilla at busybox.net
` (4 preceding siblings ...)
2019-07-12 19:33 ` bugzilla at busybox.net
@ 2019-07-15 5:38 ` bugzilla at busybox.net
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2019-07-15 5:38 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=11991
XonqNopp <xonqnoppp@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread