-
Notifications
You must be signed in to change notification settings - Fork 640
Closed
Description
When building nlopt version 2.8.0 for openSUSE Tumbleweed, where the default C/C++ compiler is GCC 13, we find that running ctest gives the following "buffer overflow" errors:
[ 57s] 54/62 Test #54: testopt_algo26_obj1 .............. Passed 0.00 sec
[ 57s] 55/62 Test #55: testopt_algo27_obj0 ..............Subprocess aborted***Exception: 0.00 sec
[ 57s] *** buffer overflow detected ***: terminated
[ 57s]
[ 57s] Start 58: testopt_algo28_obj1
[ 57s] Start 59: testopt_algo29_obj0
[ 57s] 56/62 Test #56: testopt_algo27_obj1 ..............Subprocess aborted***Exception: 0.00 sec
[ 57s] *** buffer overflow detected ***: terminated
[ 57s]
[ 57s] 57/62 Test #57: testopt_algo28_obj0 .............. Passed 0.00 sec
[ 57s] Start 60: testopt_algo29_obj1
[ 57s] Start 61: test_python
[ 57s] 58/62 Test #58: testopt_algo28_obj1 .............. Passed 0.00 sec
[ 57s] 59/62 Test #59: testopt_algo29_obj0 .............. Passed 0.00 sec
[ 57s] Start 62: test_octave
[ 57s] 60/62 Test #60: testopt_algo29_obj1 .............. Passed 0.00 sec
[ 57s] 61/62 Test #61: test_python ...................... Passed 0.11 sec
[ 57s] 62/62 Test #62: test_octave ...................... Passed 0.15 sec
[ 57s]
[ 57s] 97% tests passed, 2 tests failed out of 62
[ 57s]
[ 57s] Total Test time (real) = 0.22 sec
[ 57s]
[ 57s] The following tests FAILED:
[ 57s] 55 - testopt_algo27_obj0 (Subprocess aborted)
[ 57s] 56 - testopt_algo27_obj1 (Subprocess aborted)
[ 57s] Errors while running CTest
[ 57s] error: Bad exit status from /var/tmp/rpm-tmp.SNBeIL (%check)
[ 57s]
We do not see these issues with the previous version of NLopt (2.7.1) using the same compiler, nor indeed when using older GCC (version 7) --- as we do for openSUSE Leap 15 --- to build NLopt 2.8.0.
Thanks.
Metadata
Metadata
Assignees
Labels
No labels