[Scipy-tickets] [SciPy] #1817: compile error on Mac OS X

SciPy Trac scipy-tickets@scipy....
Tue Jan 15 16:11:05 CST 2013


#1817: compile error on Mac OS X
-----------------------------------+----------------------------------------
 Reporter:  dmcennis               |       Owner:  somebody   
     Type:  defect                 |      Status:  new        
 Priority:  normal                 |   Milestone:  Unscheduled
Component:  Other                  |     Version:  0.11.0     
 Keywords:  darwin MacOSX compile  |  
-----------------------------------+----------------------------------------
 On Mac OS X 10.6.8, using the built in 2.6 pyhton interpreter, default OS
 compilers, and numpy-1.6.2 just installed. Log from build is as follows:

 compiling C sources
 C compiler: gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g
 -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch ppc
 -arch x86_64 -pipe

 compile options: '-Iscipy/fftpack/src
 -Ibuild/src.macosx-10.6-universal-2.6 -I/Library/Python/2.6/site-
 packages/numpy/core/include
 -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
 -c'
 /usr/local/bin/gfortran -Wall -arch ppc -arch i686 -arch x86_64 -Wall
 -undefined dynamic_lookup -bundle
 build/temp.macosx-10.6-universal-2.6/build/src.macosx-10.6-universal-2.6/scipy/fftpack/_fftpackmodule.o
 build/temp.macosx-10.6-universal-2.6/scipy/fftpack/src/zfft.o
 build/temp.macosx-10.6-universal-2.6/scipy/fftpack/src/drfft.o
 build/temp.macosx-10.6-universal-2.6/scipy/fftpack/src/zrfft.o
 build/temp.macosx-10.6-universal-2.6/scipy/fftpack/src/zfftnd.o
 build/temp.macosx-10.6-universal-2.6/build/src.macosx-10.6-universal-2.6/scipy/fftpack/src/dct.o
 build/temp.macosx-10.6-universal-2.6/build/src.macosx-10.6-universal-2.6/scipy/fftpack/src/dst.o
 build/temp.macosx-10.6-universal-2.6/build/src.macosx-10.6-universal-2.6/fortranobject.o
 -Lbuild/temp.macosx-10.6-universal-2.6 -ldfftpack -lfftpack -lgfortran -o
 build/lib.macosx-10.6-universal-2.6/scipy/fftpack/_fftpack.so
 ld: warning: object file compiled with -mlong-branch which is no longer
 needed. To remove this warning, recompile without -mlong-branch:
 /usr/local/lib/gcc/powerpc-apple-darwin8/4.2.3/crt3.o
 Assertion failed: (target->definition() != ld::Atom::definitionProxy),
 function addClassicRelocs, file
 /SourceCache/ld64/ld64-123.2/src/ld/OutputFile.cpp, line 2805.
 0  0x10001286c  __assert_rtn + 76
 1  0x100091bd3  ld::tool::OutputFile::addClassicRelocs(ld::Internal&,
 ld::Internal::FinalSection*, ld::Atom const*, ld::Fixup*, ld::Fixup*,
 ld::Fixup*, ld::Atom const*, ld::Atom const*, unsigned long long, unsigned
 long long) + 1635
 2  0x10008a903  ld::tool::OutputFile::generateLinkEditInfo(ld::Internal&)
 + 675
 3  0x1000842fb  ld::tool::OutputFile::write(ld::Internal&) + 123
 4  0x100012e3f  main + 1247
 5  0x100000e14  start + 52
 collect2: ld returned 1 exit status
 lipo: can't open input file:
 /var/folders/Ow/OwZvSW6BHzKD01-vwgXS74j7Src/-Tmp-//ccYP6OgV.out (No such
 file or directory)
 ld: warning: object file compiled with -mlong-branch which is no longer
 needed. To remove this warning, recompile without -mlong-branch:
 /usr/local/lib/gcc/powerpc-apple-darwin8/4.2.3/crt3.o
 Assertion failed: (target->definition() != ld::Atom::definitionProxy),
 function addClassicRelocs, file
 /SourceCache/ld64/ld64-123.2/src/ld/OutputFile.cpp, line 2805.
 0  0x10001286c  __assert_rtn + 76
 1  0x100091bd3  ld::tool::OutputFile::addClassicRelocs(ld::Internal&,
 ld::Internal::FinalSection*, ld::Atom const*, ld::Fixup*, ld::Fixup*,
 ld::Fixup*, ld::Atom const*, ld::Atom const*, unsigned long long, unsigned
 long long) + 1635
 2  0x10008a903  ld::tool::OutputFile::generateLinkEditInfo(ld::Internal&)
 + 675
 3  0x1000842fb  ld::tool::OutputFile::write(ld::Internal&) + 123
 4  0x100012e3f  main + 1247
 5  0x100000e14  start + 52
 collect2: ld returned 1 exit status
 lipo: can't open input file:
 /var/folders/Ow/OwZvSW6BHzKD01-vwgXS74j7Src/-Tmp-//ccYP6OgV.out (No such
 file or directory)
 error: Command "/usr/local/bin/gfortran -Wall -arch ppc -arch i686 -arch
 x86_64 -Wall -undefined dynamic_lookup -bundle
 build/temp.macosx-10.6-universal-2.6/build/src.macosx-10.6-universal-2.6/scipy/fftpack/_fftpackmodule.o
 build/temp.macosx-10.6-universal-2.6/scipy/fftpack/src/zfft.o
 build/temp.macosx-10.6-universal-2.6/scipy/fftpack/src/drfft.o
 build/temp.macosx-10.6-universal-2.6/scipy/fftpack/src/zrfft.o
 build/temp.macosx-10.6-universal-2.6/scipy/fftpack/src/zfftnd.o
 build/temp.macosx-10.6-universal-2.6/build/src.macosx-10.6-universal-2.6/scipy/fftpack/src/dct.o
 build/temp.macosx-10.6-universal-2.6/build/src.macosx-10.6-universal-2.6/scipy/fftpack/src/dst.o
 build/temp.macosx-10.6-universal-2.6/build/src.macosx-10.6-universal-2.6/fortranobject.o
 -Lbuild/temp.macosx-10.6-universal-2.6 -ldfftpack -lfftpack -lgfortran -o
 build/lib.macosx-10.6-universal-2.6/scipy/fftpack/_fftpack.so" failed with
 exit status 1

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1817>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list