[Bug 1251930]

Charles Baylis charles.baylis at linaro.org
Tue Nov 19 17:00:21 UTC 2013


Created attachment 31251
Reduced test case


I have attached a reduced test case (produced using c-reduce).

$ arm-unknown-linux-gnueabi-gcc -W -fPIC -O2 -c -mcpu=cortex-a9 -mthumb
reference/reduced.cpp

I did a git bisect, and that points to the problem being introduced in
r172837

-- 
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/1251930

Title:
  [4.8 regression] internal compiler error while compiling OpenCV 2.4.7

Status in The GNU Compiler Collection:
  Confirmed
Status in Linaro GCC:
  New
Status in “gcc-4.8” package in Ubuntu:
  Incomplete

Bug description:
  (reported upstream http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59142)

  This is on an ARM platform with Ubuntu/Linaro 13.10 with:

    g++-4.8:
      Installed: 4.8.1-10ubuntu8

  While building OpenCV 2.4.7 with:

    cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/home/jm/fidelio/3rd-party/opencv/2.4.7/linaro ..
    make

  I got:

  [ 71%] Building CXX object modules/ocl/CMakeFiles/opencv_ocl.dir/src/imgproc.cpp.o
  /home/jm/fidelio/3rd-party/opencv/2.4.7/opencv-2.4.7/modules/ocl/src/imgproc.cpp: In function ‘void cv::ocl::copyMakeBorder(const cv::ocl::oclMat&, cv::ocl::oclMat&, int, int, int, int, int, const Scalar&)’:
  /home/jm/fidelio/3rd-party/opencv/2.4.7/opencv-2.4.7/modules/ocl/src/imgproc.cpp:513:9: internal compiler error: output_operand: invalid expression as operand
           }
           ^
  Please submit a full bug report,
  with preprocessed source if appropriate.
  See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
  Preprocessed source stored into /tmp/ccQku01D.out file, please attach this to your bugreport.
  make[2]: *** [modules/ocl/CMakeFiles/opencv_ocl.dir/src/imgproc.cpp.o] Error 1
  make[1]: *** [modules/ocl/CMakeFiles/opencv_ocl.dir/all] Error 2
  make: *** [all] Error 2

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



More information about the foundations-bugs mailing list