[Bug 1263576]

Clyon 1263576 at bugs.launchpad.net
Wed Jan 15 10:28:27 UTC 2014


Author: clyon
Date: Wed Jan 15 10:27:55 2014
New Revision: 206628

URL: http://gcc.gnu.org/viewcvs?rev=206628&root=gcc&view=rev
Log:
2014-01-15  Matthew Gretton-Dann  <matthew.gretton-dann at linaro.org>
            Kugan Vivekanandarajah  <kuganv at linaro.org>

	gcc/
	PR target/59695
	* config/aarch64/aarch64.c (aarch64_build_constant): Fix incorrect
	truncation.

	gcc/testsuite/
	PR target/59695
	* g++.dg/pr59695.C: New testcase.


Added:
    trunk/gcc/testsuite/g++.dg/pr59695.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/aarch64/aarch64.c
    trunk/gcc/testsuite/ChangeLog

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-4.8 in Ubuntu.
https://bugs.launchpad.net/bugs/1263576

Title:
  coinor-osi fails to build from source on arm64 (but did succeed
  before)

Status in The GNU Compiler Collection:
  New
Status in Linaro GCC:
  Confirmed
Status in “clp” package in Ubuntu:
  Fix Released
Status in “coinor-osi” package in Ubuntu:
  Fix Released
Status in “gcc-4.7” package in Ubuntu:
  Fix Released
Status in “gcc-4.8” package in Ubuntu:
  Fix Released
Status in “clp” source package in Trusty:
  Fix Released
Status in “coinor-osi” source package in Trusty:
  Fix Released
Status in “gcc-4.7” source package in Trusty:
  Fix Released
Status in “gcc-4.8” source package in Trusty:
  Fix Released

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/buildd/coinor-osi-0.106.4/test'
  g++ -DHAVE_CONFIG_H -I. -I`echo .` -I../src/Osi  -I`echo ./../src/Osi` -I`echo ./../src/OsiCommonTest` -I/usr/include/coin         -D_FORTIFY_SOURCE=2  -g -O2 -Wformat -Werror=format-security   -DOSI_BUILD -c -o unitTest.o unitTest.cpp
  g++ -DHAVE_CONFIG_H -I. -I`echo .` -I../src/Osi  -I`echo ./../src/Osi` -I`echo ./../src/OsiCommonTest` -I/usr/include/coin         -D_FORTIFY_SOURCE=2  -g -O2 -Wformat -Werror=format-security   -DOSI_BUILD -c -o OsiTestSolver.o OsiTestSolver.cpp
  g++ -DHAVE_CONFIG_H -I. -I`echo .` -I../src/Osi  -I`echo ./../src/Osi` -I`echo ./../src/OsiCommonTest` -I/usr/include/coin         -D_FORTIFY_SOURCE=2  -g -O2 -Wformat -Werror=format-security   -DOSI_BUILD -c -o OsiTestSolverInterface.o OsiTestSolverInterface.cpp
  g++ -DHAVE_CONFIG_H -I. -I`echo .` -I../src/Osi  -I`echo ./../src/Osi` -I`echo ./../src/OsiCommonTest` -I/usr/include/coin         -D_FORTIFY_SOURCE=2  -g -O2 -Wformat -Werror=format-security   -DOSI_BUILD -c -o OsiTestSolverInterfaceIO.o OsiTestSolverInterfaceIO.cpp
  g++ -DHAVE_CONFIG_H -I. -I`echo .` -I../src/Osi  -I`echo ./../src/Osi` -I`echo ./../src/OsiCommonTest` -I/usr/include/coin         -D_FORTIFY_SOURCE=2  -g -O2 -Wformat -Werror=format-security   -DOSI_BUILD -c -o OsiTestSolverInterfaceTest.o OsiTestSolverInterfaceTest.cpp
  /bin/bash ../libtool --tag=CXX --mode=link g++  -g -O2 -Wformat -Werror=format-security   -DOSI_BUILD  -Wl,-Bsymbolic-functions -Wl,-z,relro -o unitTest  unitTest.o OsiTestSolver.o OsiTestSolverInterface.o OsiTestSolverInterfaceIO.o OsiTestSolverInterfaceTest.o       ../src/OsiCommonTest/libOsiCommonTests.la       ../src/Osi/libOsi.la -lCoinUtils -lbz2 -lz -lm         
  mkdir .libs
  g++ -g -O2 -Wformat -Werror=format-security -DOSI_BUILD -Wl,-Bsymbolic-functions -Wl,-z -Wl,relro -o .libs/unitTest unitTest.o OsiTestSolver.o OsiTestSolverInterface.o OsiTestSolverInterfaceIO.o OsiTestSolverInterfaceTest.o  ../src/OsiCommonTest/.libs/libOsiCommonTests.so ../src/Osi/.libs/libOsi.so -lCoinUtils -lbz2 -lz -lm
  creating unitTest
  ./unitTest -mpsDir=`echo /usr/share/coin/Data/Sample` 
  Testing OsiRowCut with OsiTestSolverInterface
  make[2]: *** [test] Segmentation fault
  make[2]: Leaving directory `/build/buildd/coinor-osi-0.106.4/test'
  make[1]: *** [test] Error 2

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/1263576/+subscriptions



More information about the foundations-bugs mailing list