[MacPorts] #24260: Error compiling opencv 2.0.0_1

MacPorts noreply at macports.org
Sun Mar 28 08:50:47 PDT 2010


#24260: Error compiling opencv 2.0.0_1
-------------------------------------------+--------------------------------
 Reporter:  meo85@…                        |       Owner:  macports-tickets@…                   
     Type:  defect                         |      Status:  new                                  
 Priority:  Normal                         |   Milestone:                                       
Component:  ports                          |     Version:  1.8.2                                
 Keywords:  opencv open cv ppc g5 leopard  |        Port:  opencv                               
-------------------------------------------+--------------------------------
 I've reported a problem compiling opencv on a Powermac G5 Quad (PPC) with
 MacOSX Leopard (10.5.8). That is the output:

 {{{
 --->  Building opencv
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_opencv/work/OpenCV-2.0.0"
 && /usr/bin/make -j4 all " returned error 2
 Command output: /usr/bin/make  all-recursive
 Making all in 3rdparty
 /bin/sh ../libtool  --tag=CC   --mode=compile /usr/bin/gcc-4.0
 -DHAVE_CONFIG_H -I. -I..  -I../3rdparty/include -DNDEBUG
 -I../3rdparty/flann -I../3rdparty/flann/algorithms -I../3rdparty/flann/nn
 -I../3rdparty/flann/util -I/opt/local/include -O3 -falign-loops-max-
 skip=15 -falign-jumps-max-skip=15 -falign-loops=16 -falign-jumps=16
 -falign-functions=16 -ffast-math -fstrict-aliasing -funroll-loops -ftree-
 loop-linear -ftree-loop-memset -mcpu=G4 -mpowerpc-gpopt -mtune=G5 -fsched-
 interblock -fgcse-sm -g   -O2 -arch ppc -O2 -arch ppc -MT dlasq2.lo -MD
 -MP -MF .deps/dlasq2.Tpo -c -o dlasq2.lo `test -f 'lapack/dlasq2.c' ||
 echo './'`lapack/dlasq2.c
 /bin/sh ../libtool  --tag=CC   --mode=compile /usr/bin/gcc-4.0
 -DHAVE_CONFIG_H -I. -I..  -I../3rdparty/include -DNDEBUG
 -I../3rdparty/flann -I../3rdparty/flann/algorithms -I../3rdparty/flann/nn
 -I../3rdparty/flann/util -I/opt/local/include -O3 -falign-loops-max-
 skip=15 -falign-jumps-max-skip=15 -falign-loops=16 -falign-jumps=16
 -falign-functions=16 -ffast-math -fstrict-aliasing -funroll-loops -ftree-
 loop-linear -ftree-loop-memset -mcpu=G4 -mpowerpc-gpopt -mtune=G5 -fsched-
 interblock -fgcse-sm -g   -O2 -arch ppc -O2 -arch ppc -MT dlasq6.lo -MD
 -MP -MF .deps/dlasq6.Tpo -c -o dlasq6.lo `test -f 'lapack/dlasq6.c' ||
 echo './'`lapack/dlasq6.c
 /bin/sh ../libtool  --tag=CC   --mode=compile /usr/bin/gcc-4.0
 -DHAVE_CONFIG_H -I. -I..  -I../3rdparty/include -DNDEBUG
 -I../3rdparty/flann -I../3rdparty/flann/algorithms -I../3rdparty/flann/nn
 -I../3rdparty/flann/util -I/opt/local/include -O3 -falign-loops-max-
 skip=15 -falign-jumps-max-skip=15 -falign-loops=16 -falign-jumps=16
 -falign-functions=16 -ffast-math -fstrict-aliasing -funroll-loops -ftree-
 loop-linear -ftree-loop-memset -mcpu=G4 -mpowerpc-gpopt -mtune=G5 -fsched-
 interblock -fgcse-sm -g   -O2 -arch ppc -O2 -arch ppc -MT dlasr.lo -MD -MP
 -MF .deps/dlasr.Tpo -c -o dlasr.lo `test -f 'lapack/dlasr.c' || echo
 './'`lapack/dlasr.c
 /bin/sh ../libtool  --tag=CC   --mode=compile /usr/bin/gcc-4.0
 -DHAVE_CONFIG_H -I. -I..  -I../3rdparty/include -DNDEBUG
 -I../3rdparty/flann -I../3rdparty/flann/algorithms -I../3rdparty/flann/nn
 -I../3rdparty/flann/util -I/opt/local/include -O3 -falign-loops-max-
 skip=15 -falign-jumps-max-skip=15 -falign-loops=16 -falign-jumps=16
 -falign-functions=16 -ffast-math -fstrict-aliasing -funroll-loops -ftree-
 loop-linear -ftree-loop-memset -mcpu=G4 -mpowerpc-gpopt -mtune=G5 -fsched-
 interblock -fgcse-sm -g   -O2 -arch ppc -O2 -arch ppc -MT dlasrt.lo -MD
 -MP -MF .deps/dlasrt.Tpo -c -o dlasrt.lo `test -f 'lapack/dlasrt.c' ||
 echo './'`lapack/dlasrt.c
 libtool: compile:  /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I..
 -I../3rdparty/include -DNDEBUG -I../3rdparty/flann
 -I../3rdparty/flann/algorithms -I../3rdparty/flann/nn
 -I../3rdparty/flann/util -I/opt/local/include -O3 -falign-loops-max-
 skip=15 -falign-jumps-max-skip=15 -falign-loops=16 -falign-jumps=16
 -falign-functions=16 -ffast-math -fstrict-aliasing -funroll-loops -ftree-
 loop-linear -ftree-loop-memset -mcpu=G4 -mpowerpc-gpopt -mtune=G5 -fsched-
 interblock -fgcse-sm -g -O2 -arch ppc -O2 -arch ppc -MT dlasrt.lo -MD -MP
 -MF .deps/dlasrt.Tpo -c lapack/dlasrt.c  -fno-common -DPIC -o
 .libs/dlasrt.o
 libtool: compile:  /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I..
 -I../3rdparty/include -DNDEBUG -I../3rdparty/flann
 -I../3rdparty/flann/algorithms -I../3rdparty/flann/nn
 -I../3rdparty/flann/util -I/opt/local/include -O3 -falign-loops-max-
 skip=15 -falign-jumps-max-skip=15 -falign-loops=16 -falign-jumps=16
 -falign-functions=16 -ffast-math -fstrict-aliasing -funroll-loops -ftree-
 loop-linear -ftree-loop-memset -mcpu=G4 -mpowerpc-gpopt -mtune=G5 -fsched-
 interblock -fgcse-sm -g -O2 -arch ppc -O2 -arch ppc -MT dlasr.lo -MD -MP
 -MF .deps/dlasr.Tpo -c lapack/dlasr.c  -fno-common -DPIC -o .libs/dlasr.o
 libtool: compile:  /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I..
 -I../3rdparty/include -DNDEBUG -I../3rdparty/flann
 -I../3rdparty/flann/algorithms -I../3rdparty/flann/nn
 -I../3rdparty/flann/util -I/opt/local/include -O3 -falign-loops-max-
 skip=15 -falign-jumps-max-skip=15 -falign-loops=16 -falign-jumps=16
 -falign-functions=16 -ffast-math -fstrict-aliasing -funroll-loops -ftree-
 loop-linear -ftree-loop-memset -mcpu=G4 -mpowerpc-gpopt -mtune=G5 -fsched-
 interblock -fgcse-sm -g -O2 -arch ppc -O2 -arch ppc -MT dlasq6.lo -MD -MP
 -MF .deps/dlasq6.Tpo -c lapack/dlasq6.c  -fno-common -DPIC -o
 .libs/dlasq6.o
 libtool: compile:  /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I..
 -I../3rdparty/include -DNDEBUG -I../3rdparty/flann
 -I../3rdparty/flann/algorithms -I../3rdparty/flann/nn
 -I../3rdparty/flann/util -I/opt/local/include -O3 -falign-loops-max-
 skip=15 -falign-jumps-max-skip=15 -falign-loops=16 -falign-jumps=16
 -falign-functions=16 -ffast-math -fstrict-aliasing -funroll-loops -ftree-
 loop-linear -ftree-loop-memset -mcpu=G4 -mpowerpc-gpopt -mtune=G5 -fsched-
 interblock -fgcse-sm -g -O2 -arch ppc -O2 -arch ppc -MT dlasq2.lo -MD -MP
 -MF .deps/dlasq2.Tpo -c lapack/dlasq2.c  -fno-common -DPIC -o
 .libs/dlasq2.o
 lapack/dlasq2.c: In function 'dlasq2_':
 lapack/dlasq2.c:13: internal compiler error: in memset_analyze_data_refs,
 at tree-ssa-loop-memset.c:138
 Please submit a full bug report,
 with preprocessed source if appropriate.
 See <URL:http://developer.apple.com/bugreporter> for instructions.
 make[2]: *** [dlasq2.lo] Error 1
 make[2]: *** Waiting for unfinished jobs....
 mv -f .deps/dlasrt.Tpo .deps/dlasrt.Plo
 mv -f .deps/dlasq6.Tpo .deps/dlasq6.Plo
 mv -f .deps/dlasr.Tpo .deps/dlasr.Plo
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2
 }}}
 Thanks for your help!
 Matteo

-- 
Ticket URL: <http://trac.macports.org/ticket/24260>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list