coinor-osi fails to build from source on arm64 (but did succeed before)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro GCC |
Fix Released
|
Medium
|
Kugan Vivekanandarajah | ||
gcc |
Fix Released
|
Medium
|
|||
clp (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Unassigned | ||
coinor-osi (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Unassigned | ||
gcc-4.7 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
Fix Released
|
Undecided
|
Unassigned | ||
gcc-4.8 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
coinor-osi fails to build from source on arm64 (but did fail before), running the test just segfaults. lowering the compiler options to -O0 shows the same behavior.
cd test; make test
make[2]: Entering directory `/build/
g++ -DHAVE_CONFIG_H -I. -I`echo .` -I../src/Osi -I`echo ./../src/Osi` -I`echo ./../src/
g++ -DHAVE_CONFIG_H -I. -I`echo .` -I../src/Osi -I`echo ./../src/Osi` -I`echo ./../src/
g++ -DHAVE_CONFIG_H -I. -I`echo .` -I../src/Osi -I`echo ./../src/Osi` -I`echo ./../src/
g++ -DHAVE_CONFIG_H -I. -I`echo .` -I../src/Osi -I`echo ./../src/Osi` -I`echo ./../src/
g++ -DHAVE_CONFIG_H -I. -I`echo .` -I../src/Osi -I`echo ./../src/Osi` -I`echo ./../src/
/bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -Wformat -Werror=
mkdir .libs
g++ -g -O2 -Wformat -Werror=
creating unitTest
./unitTest -mpsDir=`echo /usr/share/
Testing OsiRowCut with OsiTestSolverIn
make[2]: *** [test] Segmentation fault
make[2]: Leaving directory `/build/
make[1]: *** [test] Error 2
Changed in coinor-osi (Ubuntu Trusty): | |
importance: | Undecided → High |
milestone: | none → ubuntu-14.04-beta-1 |
status: | New → Confirmed |
tags: | added: arm64 |
summary: |
- coinor-osi fails to build from source on arm64 (but did fail before) + coinor-osi fails to build from source on arm64 (but did succeed before) |
tags: | added: patch |
Changed in gcc: | |
importance: | Unknown → Medium |
status: | Unknown → New |
Changed in gcc-linaro: | |
assignee: | nobody → Kugan Vivekanandarajah (kugan-vivekanandarajah) |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in gcc: | |
status: | New → Fix Released |
Changed in gcc-linaro: | |
status: | Confirmed → Fix Committed |
Changed in gcc-linaro: | |
status: | Fix Committed → Fix Released |
clp fails the same way:
cd test; make test buildd/ clp-1.15. 5/test' format- security -DCLP_BUILD -c -o osiUnitTest.o osiUnitTest.cpp format- security -DCLP_BUILD -c -o OsiClpSolverInt erfaceTest. o OsiClpSolverInt erfaceTest. cpp format- security -DCLP_BUILD -Wl,-Bsymbolic- functions -Wl,-z,relro -o osiUnitTest osiUnitTest.o OsiClpSolverInt erfaceTest. o ../src/libClp.la ../src/ OsiClp/ libOsiClp. la -lCoinUtils -lbz2 -lz -lm -lOsiCommonTests -lOsi -lCoinUtils -lbz2 -lz -lm format- security -DCLP_BUILD -Wl,-Bsymbolic- functions -Wl,-z -Wl,relro -o .libs/osiUnitTest osiUnitTest.o OsiClpSolverInt erfaceTest. o ../src/ .libs/libClp. so ../src/ OsiClp/ .libs/libOsiClp .so -lOsiCommonTests -lOsi -lCoinUtils -lbz2 -lz -lm coin/Data/ Sample` -unitTest || exit 1 buildd/ clp-1.15. 5/src/. libs/lt- clp -dirSample /usr/share/ coin/Data/ Sample -unitTest coin/Data/ Sample` || exit 1 ; \ erface coin/Data/ Sample` buildd/ clp-1.15. 5/test'
make[2]: Entering directory `/build/
g++ -DHAVE_CONFIG_H -I. -I. -I../src -I../src -I`echo ./../src` -I`echo ./../src/OsiClp` -I/usr/include/coin -I/usr/include/coin -I/usr/include/coin -D_FORTIFY_SOURCE=2 -g -O2 -Wformat -Werror=
g++ -DHAVE_CONFIG_H -I. -I. -I../src -I../src -I`echo ./../src` -I`echo ./../src/OsiClp` -I/usr/include/coin -I/usr/include/coin -I/usr/include/coin -D_FORTIFY_SOURCE=2 -g -O2 -Wformat -Werror=
/bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -Wformat -Werror=
mkdir .libs
g++ -g -O2 -Wformat -Werror=
creating osiUnitTest
../src/clp -dirSample `echo /usr/share/
Coin LP version 1.15.5, build Dec 23 2013
command line - /build/
***Skipped Testing on netlib ***
***use -netlib to test class***
All tests completed successfully
if test -e osiUnitTest ; then \
./osiUnitTest -mpsDir=`echo /usr/share/
fi
Testing OsiRowCut with OsiClpSolverInt
/bin/bash: line 2: 31828 Segmentation fault ./osiUnitTest -mpsDir=`echo /usr/share/
make[2]: *** [test] Error 1
make[2]: Leaving directory `/build/
make[1]: *** [test] Error 2