Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1143

Build doesn't detect correct architecture type on 64bit osx

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 0.5
    • 0.8
    • Build Process
    • OSX Snow leopard 64 bit

    • Patch Available

    Description

      python setup.py install
      running install
      running build
      running build_py
      running build_ext
      building 'thrift.protocol.fastbinary' extension
      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 -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -c src/protocol/fastbinary.c -o build/temp.macosx-10.6-universal-2.6/src/protocol/fastbinary.o
      /usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/as: assembler (/usr/bin/../libexec/gcc/darwin/ppc/as or /usr/bin/../local/libexec/gcc/darwin/ppc/as) for architecture ppc not installed
      Installed assemblers are:
      /usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64
      /usr/bin/../libexec/gcc/darwin/i386/as for architecture i386
      src/protocol/fastbinary.c:1203: fatal error: error writing to -: Broken pipe
      compilation terminated.
      lipo: can't open input file: /var/folders/t7/t7jaJ7IcGnKFNCMY3G37PU+++TI/Tmp//ccP7p7J0.out (No such file or directory)
      error: command 'gcc-4.2' failed with exit status 1

      To fix:
      export ARCHFLAGS="-arch x86_64"

      Attachments

        1. thrift-1143.patch
          1 kB
          JCF

        Activity

          People

            jfarrell Jake Farrell
            jrhe Jonathan Evans
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: