XCode 4.6.3 compile problem (no assembler installed) - Help!

403 views
Skip to first unread message

Jim Acquavella

unread,
Aug 8, 2013, 4:34:24 PM8/8/13
to v8-u...@googlegroups.com
I've tried this on 2 macs running XCode 4.6.3 and both have the same errors.

Following V8 build instructions at a command prompt:

cd v8
make dependencies
build/gyp_v8 -Dtarget_arch=x64
xcodebuild -project build/all.xcodeproj


Here are the results:

=== BUILD NATIVE TARGET v8_base.x64 OF PROJECT v8 WITH THE DEFAULT CONFIGURATION (Debug) ===
Check dependencies

CompileC ../../xcodebuild/v8.build/Debug/v8_base.x64.build/Objects-normal/x86_64/ast.o ../../src/ast.cc normal x86_64 c++ com.apple.compilers.llvmgcc42
    cd /Users/jacquave/dev/v8/tools/gyp
    setenv LANG en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2 -x c++ -arch x86_64 -fmessage-length=0 -pipe -Wno-trigraphs -fno-exceptions -fno-rtti -O0 -Werror -Wnon-virtual-dtor -Wnewline-eof -DV8_TARGET_ARCH_X64 -DENABLE_DEBUGGER_SUPPORT -DENABLE_GDB_JIT_INTERFACE -DENABLE_DISASSEMBLER -DV8_ENABLE_CHECKS -DOBJECT_PRINT -DVERIFY_HEAP -DDEBUG -DENABLE_EXTRA_CHECKS -mmacosx-version-min=10.5 -gdwarf-2 -fvisibility=hidden -fvisibility-inlines-hidden -fno-threadsafe-statics -I/Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/Debug/include -I../../src -I/Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/v8.build/Debug/v8_base.x64.build/DerivedSources/x86_64 -I/Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/v8.build/Debug/v8_base.x64.build/DerivedSources -Wall -Wendif-labels -W -Wno-unused-parameter -F/Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/Debug -fno-strict-aliasing -c /Users/jacquave/dev/v8/tools/gyp/../../src/ast.cc -o /Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/v8.build/Debug/v8_base.x64.build/Objects-normal/x86_64/ast.o
/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/as: assembler (/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/../libexec/as/x86_64/as or /Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/../local/libexec/as/x86_64/as) for architecture x86_64 not installed
/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/as: no assemblers installed
i686-apple-darwin11-llvm-gcc-4.2: Internal error: Interrupt: 2 (program cc1plus)
Please submit a full bug report.
See <URL:http://developer.apple.com/bugreporter> for instructions.

CompileC ../../xcodebuild/v8.build/Debug/v8_base.x64.build/Objects-normal/x86_64/arguments.o ../../src/arguments.cc normal x86_64 c++ com.apple.compilers.llvmgcc42
    cd /Users/jacquave/dev/v8/tools/gyp
    setenv LANG en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2 -x c++ -arch x86_64 -fmessage-length=0 -pipe -Wno-trigraphs -fno-exceptions -fno-rtti -O0 -Werror -Wnon-virtual-dtor -Wnewline-eof -DV8_TARGET_ARCH_X64 -DENABLE_DEBUGGER_SUPPORT -DENABLE_GDB_JIT_INTERFACE -DENABLE_DISASSEMBLER -DV8_ENABLE_CHECKS -DOBJECT_PRINT -DVERIFY_HEAP -DDEBUG -DENABLE_EXTRA_CHECKS -mmacosx-version-min=10.5 -gdwarf-2 -fvisibility=hidden -fvisibility-inlines-hidden -fno-threadsafe-statics -I/Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/Debug/include -I../../src -I/Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/v8.build/Debug/v8_base.x64.build/DerivedSources/x86_64 -I/Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/v8.build/Debug/v8_base.x64.build/DerivedSources -Wall -Wendif-labels -W -Wno-unused-parameter -F/Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/Debug -fno-strict-aliasing -c /Users/jacquave/dev/v8/tools/gyp/../../src/arguments.cc -o /Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/v8.build/Debug/v8_base.x64.build/Objects-normal/x86_64/arguments.o
/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/as: assembler (/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/../libexec/as/x86_64/as or /Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/../local/libexec/as/x86_64/as) for architecture x86_64 not installed
/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/as: no assemblers installed
i686-apple-darwin11-llvm-gcc-4.2: Internal error: Interrupt: 2 (program cc1plus)
Please submit a full bug report.
See <URL:http://developer.apple.com/bugreporter> for instructions.

CompileC ../../xcodebuild/v8.build/Debug/v8_base.x64.build/Objects-normal/x86_64/allocation.o ../../src/allocation.cc normal x86_64 c++ com.apple.compilers.llvmgcc42
    cd /Users/jacquave/dev/v8/tools/gyp
    setenv LANG en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2 -x c++ -arch x86_64 -fmessage-length=0 -pipe -Wno-trigraphs -fno-exceptions -fno-rtti -O0 -Werror -Wnon-virtual-dtor -Wnewline-eof -DV8_TARGET_ARCH_X64 -DENABLE_DEBUGGER_SUPPORT -DENABLE_GDB_JIT_INTERFACE -DENABLE_DISASSEMBLER -DV8_ENABLE_CHECKS -DOBJECT_PRINT -DVERIFY_HEAP -DDEBUG -DENABLE_EXTRA_CHECKS -mmacosx-version-min=10.5 -gdwarf-2 -fvisibility=hidden -fvisibility-inlines-hidden -fno-threadsafe-statics -I/Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/Debug/include -I../../src -I/Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/v8.build/Debug/v8_base.x64.build/DerivedSources/x86_64 -I/Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/v8.build/Debug/v8_base.x64.build/DerivedSources -Wall -Wendif-labels -W -Wno-unused-parameter -F/Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/Debug -fno-strict-aliasing -c /Users/jacquave/dev/v8/tools/gyp/../../src/allocation.cc -o /Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/v8.build/Debug/v8_base.x64.build/Objects-normal/x86_64/allocation.o
/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/as: assembler (/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/../libexec/as/x86_64/as or /Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/../local/libexec/as/x86_64/as) for architecture x86_64 not installed
/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/as: no assemblers installed
i686-apple-darwin11-llvm-gcc-4.2: Internal error: Interrupt: 2 (program cc1plus)
Please submit a full bug report.
See <URL:http://developer.apple.com/bugreporter> for instructions.

CompileC ../../xcodebuild/v8.build/Debug/v8_base.x64.build/Objects-normal/x86_64/assembler.o ../../src/assembler.cc normal x86_64 c++ com.apple.compilers.llvmgcc42
    cd /Users/jacquave/dev/v8/tools/gyp
    setenv LANG en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2 -x c++ -arch x86_64 -fmessage-length=0 -pipe -Wno-trigraphs -fno-exceptions -fno-rtti -O0 -Werror -Wnon-virtual-dtor -Wnewline-eof -DV8_TARGET_ARCH_X64 -DENABLE_DEBUGGER_SUPPORT -DENABLE_GDB_JIT_INTERFACE -DENABLE_DISASSEMBLER -DV8_ENABLE_CHECKS -DOBJECT_PRINT -DVERIFY_HEAP -DDEBUG -DENABLE_EXTRA_CHECKS -mmacosx-version-min=10.5 -gdwarf-2 -fvisibility=hidden -fvisibility-inlines-hidden -fno-threadsafe-statics -I/Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/Debug/include -I../../src -I/Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/v8.build/Debug/v8_base.x64.build/DerivedSources/x86_64 -I/Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/v8.build/Debug/v8_base.x64.build/DerivedSources -Wall -Wendif-labels -W -Wno-unused-parameter -F/Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/Debug -fno-strict-aliasing -c /Users/jacquave/dev/v8/tools/gyp/../../src/assembler.cc -o /Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/v8.build/Debug/v8_base.x64.build/Objects-normal/x86_64/assembler.o
/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/as: assembler (/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/../libexec/as/x86_64/as or /Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/../local/libexec/as/x86_64/as) for architecture x86_64 not installed
/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/as: no assemblers installed
i686-apple-darwin11-llvm-gcc-4.2: Internal error: Interrupt: 2 (program cc1plus)
Please submit a full bug report.
See <URL:http://developer.apple.com/bugreporter> for instructions.

CompileC ../../xcodebuild/v8.build/Debug/v8_base.x64.build/Objects-normal/x86_64/atomicops_internals_x86_gcc.o ../../src/atomicops_internals_x86_gcc.cc normal x86_64 c++ com.apple.compilers.llvmgcc42
    cd /Users/jacquave/dev/v8/tools/gyp
    setenv LANG en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2 -x c++ -arch x86_64 -fmessage-length=0 -pipe -Wno-trigraphs -fno-exceptions -fno-rtti -O0 -Werror -Wnon-virtual-dtor -Wnewline-eof -DV8_TARGET_ARCH_X64 -DENABLE_DEBUGGER_SUPPORT -DENABLE_GDB_JIT_INTERFACE -DENABLE_DISASSEMBLER -DV8_ENABLE_CHECKS -DOBJECT_PRINT -DVERIFY_HEAP -DDEBUG -DENABLE_EXTRA_CHECKS -mmacosx-version-min=10.5 -gdwarf-2 -fvisibility=hidden -fvisibility-inlines-hidden -fno-threadsafe-statics -I/Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/Debug/include -I../../src -I/Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/v8.build/Debug/v8_base.x64.build/DerivedSources/x86_64 -I/Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/v8.build/Debug/v8_base.x64.build/DerivedSources -Wall -Wendif-labels -W -Wno-unused-parameter -F/Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/Debug -fno-strict-aliasing -c /Users/jacquave/dev/v8/tools/gyp/../../src/atomicops_internals_x86_gcc.cc -o /Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/v8.build/Debug/v8_base.x64.build/Objects-normal/x86_64/atomicops_internals_x86_gcc.o
/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/as: assembler (/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/../libexec/as/x86_64/as or /Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/../local/libexec/as/x86_64/as) for architecture x86_64 not installed
/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/as: no assemblers installed
Command /Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2 failed with exit code 1

CompileC ../../xcodebuild/v8.build/Debug/v8_base.x64.build/Objects-normal/x86_64/accessors.o ../../src/accessors.cc normal x86_64 c++ com.apple.compilers.llvmgcc42
    cd /Users/jacquave/dev/v8/tools/gyp
    setenv LANG en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2 -x c++ -arch x86_64 -fmessage-length=0 -pipe -Wno-trigraphs -fno-exceptions -fno-rtti -O0 -Werror -Wnon-virtual-dtor -Wnewline-eof -DV8_TARGET_ARCH_X64 -DENABLE_DEBUGGER_SUPPORT -DENABLE_GDB_JIT_INTERFACE -DENABLE_DISASSEMBLER -DV8_ENABLE_CHECKS -DOBJECT_PRINT -DVERIFY_HEAP -DDEBUG -DENABLE_EXTRA_CHECKS -mmacosx-version-min=10.5 -gdwarf-2 -fvisibility=hidden -fvisibility-inlines-hidden -fno-threadsafe-statics -I/Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/Debug/include -I../../src -I/Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/v8.build/Debug/v8_base.x64.build/DerivedSources/x86_64 -I/Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/v8.build/Debug/v8_base.x64.build/DerivedSources -Wall -Wendif-labels -W -Wno-unused-parameter -F/Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/Debug -fno-strict-aliasing -c /Users/jacquave/dev/v8/tools/gyp/../../src/accessors.cc -o /Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/v8.build/Debug/v8_base.x64.build/Objects-normal/x86_64/accessors.o
/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/as: assembler (/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/../libexec/as/x86_64/as or /Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/../local/libexec/as/x86_64/as) for architecture x86_64 not installed
/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/as: no assemblers installed
i686-apple-darwin11-llvm-gcc-4.2: Internal error: Interrupt: 2 (program cc1plus)
Please submit a full bug report.
See <URL:http://developer.apple.com/bugreporter> for instructions.

CompileC ../../xcodebuild/v8.build/Debug/v8_base.x64.build/Objects-normal/x86_64/bignum-dtoa.o ../../src/bignum-dtoa.cc normal x86_64 c++ com.apple.compilers.llvmgcc42
    cd /Users/jacquave/dev/v8/tools/gyp
    setenv LANG en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2 -x c++ -arch x86_64 -fmessage-length=0 -pipe -Wno-trigraphs -fno-exceptions -fno-rtti -O0 -Werror -Wnon-virtual-dtor -Wnewline-eof -DV8_TARGET_ARCH_X64 -DENABLE_DEBUGGER_SUPPORT -DENABLE_GDB_JIT_INTERFACE -DENABLE_DISASSEMBLER -DV8_ENABLE_CHECKS -DOBJECT_PRINT -DVERIFY_HEAP -DDEBUG -DENABLE_EXTRA_CHECKS -mmacosx-version-min=10.5 -gdwarf-2 -fvisibility=hidden -fvisibility-inlines-hidden -fno-threadsafe-statics -I/Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/Debug/include -I../../src -I/Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/v8.build/Debug/v8_base.x64.build/DerivedSources/x86_64 -I/Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/v8.build/Debug/v8_base.x64.build/DerivedSources -Wall -Wendif-labels -W -Wno-unused-parameter -F/Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/Debug -fno-strict-aliasing -c /Users/jacquave/dev/v8/tools/gyp/../../src/bignum-dtoa.cc -o /Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/v8.build/Debug/v8_base.x64.build/Objects-normal/x86_64/bignum-dtoa.o
/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/as: assembler (/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/../libexec/as/x86_64/as or /Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/../local/libexec/as/x86_64/as) for architecture x86_64 not installed
/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/as: no assemblers installed
i686-apple-darwin11-llvm-gcc-4.2: Internal error: Interrupt: 2 (program cc1plus)
Please submit a full bug report.
See <URL:http://developer.apple.com/bugreporter> for instructions.

CompileC ../../xcodebuild/v8.build/Debug/v8_base.x64.build/Objects-normal/x86_64/api.o ../../src/api.cc normal x86_64 c++ com.apple.compilers.llvmgcc42
    cd /Users/jacquave/dev/v8/tools/gyp
    setenv LANG en_US.US-ASCII
    /Applications/Xcode.app/Contents/Developer/usr/bin/llvm-gcc-4.2 -x c++ -arch x86_64 -fmessage-length=0 -pipe -Wno-trigraphs -fno-exceptions -fno-rtti -O0 -Werror -Wnon-virtual-dtor -Wnewline-eof -DV8_TARGET_ARCH_X64 -DENABLE_DEBUGGER_SUPPORT -DENABLE_GDB_JIT_INTERFACE -DENABLE_DISASSEMBLER -DV8_ENABLE_CHECKS -DOBJECT_PRINT -DVERIFY_HEAP -DDEBUG -DENABLE_EXTRA_CHECKS -mmacosx-version-min=10.5 -gdwarf-2 -fvisibility=hidden -fvisibility-inlines-hidden -fno-threadsafe-statics -I/Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/Debug/include -I../../src -I/Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/v8.build/Debug/v8_base.x64.build/DerivedSources/x86_64 -I/Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/v8.build/Debug/v8_base.x64.build/DerivedSources -Wall -Wendif-labels -W -Wno-unused-parameter -F/Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/Debug -fno-strict-aliasing -c /Users/jacquave/dev/v8/tools/gyp/../../src/api.cc -o /Users/jacquave/dev/v8/tools/gyp/../../xcodebuild/v8.build/Debug/v8_base.x64.build/Objects-normal/x86_64/api.o
/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/as: assembler (/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/../libexec/as/x86_64/as or /Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/../local/libexec/as/x86_64/as) for architecture x86_64 not installed
/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/as: no assemblers installed
i686-apple-darwin11-llvm-gcc-4.2: Internal error: Interrupt: 2 (program cc1plus)
Please submit a full bug report.
See <URL:http://developer.apple.com/bugreporter> for instructions.


** BUILD FAILED **


The following build commands failed:
CompileC ../../xcodebuild/v8.build/Debug/v8_base.x64.build/Objects-normal/x86_64/ast.o ../../src/ast.cc normal x86_64 c++ com.apple.compilers.llvmgcc42
CompileC ../../xcodebuild/v8.build/Debug/v8_base.x64.build/Objects-normal/x86_64/arguments.o ../../src/arguments.cc normal x86_64 c++ com.apple.compilers.llvmgcc42
CompileC ../../xcodebuild/v8.build/Debug/v8_base.x64.build/Objects-normal/x86_64/allocation.o ../../src/allocation.cc normal x86_64 c++ com.apple.compilers.llvmgcc42
CompileC ../../xcodebuild/v8.build/Debug/v8_base.x64.build/Objects-normal/x86_64/assembler.o ../../src/assembler.cc normal x86_64 c++ com.apple.compilers.llvmgcc42
CompileC ../../xcodebuild/v8.build/Debug/v8_base.x64.build/Objects-normal/x86_64/atomicops_internals_x86_gcc.o ../../src/atomicops_internals_x86_gcc.cc normal x86_64 c++ com.apple.compilers.llvmgcc42
CompileC ../../xcodebuild/v8.build/Debug/v8_base.x64.build/Objects-normal/x86_64/accessors.o ../../src/accessors.cc normal x86_64 c++ com.apple.compilers.llvmgcc42
CompileC ../../xcodebuild/v8.build/Debug/v8_base.x64.build/Objects-normal/x86_64/bignum-dtoa.o ../../src/bignum-dtoa.cc normal x86_64 c++ com.apple.compilers.llvmgcc42
CompileC ../../xcodebuild/v8.build/Debug/v8_base.x64.build/Objects-normal/x86_64/api.o ../../src/api.cc normal x86_64 c++ com.apple.compilers.llvmgcc42
(8 failures)


get_and_build_v8.sh

Jakob Kummerow

unread,
Aug 9, 2013, 4:06:59 AM8/9/13
to v8-u...@googlegroups.com
Sounds like an issue with you Xcode installation(s), specifically that it can't produce x64 binaries. I don't think there's anything V8 can do about this.

Jim Acquavella

unread,
Aug 9, 2013, 12:47:50 PM8/9/13
to v8-u...@googlegroups.com, v8-u...@googlegroups.com
That's what I thought too, but it happens on two machines!  And I'm able to build the rest of my app which builds tons of other x64 binaries.  This problem is specific to v8. 

Can someone run the script in a clean directory and let me know if it builds successfully or not?

Sent from my iPhone
--
--
v8-users mailing list
v8-u...@googlegroups.com
http://groups.google.com/group/v8-users
---
You received this message because you are subscribed to a topic in the Google Groups "v8-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/v8-users/UnNwhqKhARk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to v8-users+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Jim Acquavella

unread,
Aug 12, 2013, 8:55:24 PM8/12/13
to v8-u...@googlegroups.com
Still waiting for someone to try this and confirm the issue.  Anyone using XCode 4.6.3?  What versions of XCode are folks using?

Thanks.

Michael Schwartz

unread,
Aug 12, 2013, 9:05:44 PM8/12/13
to v8-u...@googlegroups.com
Looks to me like your command line tools aren't installed properly or something's erased one of the files or broken one of the filesystem soft/hard links.

This is what I have on my system.

The error message in your compilation said "no assemblers installed" so it could not find "as"

mschwartz@dionysus:~$ ls -l /Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/as
lrwxr-xr-x  1 root  wheel  21 Jul 25  2012 /Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/as -> ../../../../../bin/as


On Aug 8, 2013, at 1:34 PM, Jim Acquavella <loude...@gmail.com> wrote:

/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/as

Jim Acquavella

unread,
Aug 13, 2013, 1:20:21 PM8/13/13
to v8-users
Hi Michael.  I have the assembler and it even has the x86_64 architecture:

jacquave-MacPro:4.2.1 jacquave$ pwd
/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1
jacquave-MacPro:4.2.1 jacquave$ lipo as -info
Non-fat file: as is architecture: x86_64
jacquave-MacPro:4.2.1 jacquave$ as -v
Apple Inc version cctools-839, GNU assembler version 1.38

Are you using XCode?  If so which version?  And which version of as do you have?


Michael Schwartz

unread,
Aug 13, 2013, 1:33:53 PM8/13/13
to v8-u...@googlegroups.com
I have the same version of Xcode you do.  However, it's not clear the assembler you have is the x86_64 version.  It may be a 64 bit binary executable that generates 32 bit code…

I suggest you try doing a command line build of v8, which I assure you works with the Xcode tools I have installed.

something like:

svn checkout http://v8.googlecode.com/svn/trunk/ v8-read-only
$ cd v8-read-only
$ make dependencies
$ GYP_GENERATORS=make make x64.release library=shared

Or even try compiling hello.cpp:

// hello.cpp
#include <stdio.h>
int main(int ac, char *av[]) {
  printf("Hello, world\n");
}

$ g++ hello.cpp

(see if it complains about missing assembler)

Normally the toolchain does  a few passes (separate tools/commands) on your source code to make a .o:
1) pass 1: C/C++ preprocessor
2) pass 2: compile C/C++ to assembly language
3) pass 3: run assembly language through assembler to generate the .o

Pass 3 allows a MIPS processor, ARM processor, X86/32, X86/64, etc., code generator to be used interchangeably, and to facilitate cross compiling (generate ARM binary on your X86 linux/OSX system).

The g++ command (or gcc command) is going to run those behind the scenes for you.  The error message in your output says "can't find assembler to generate x64 .o files" (rough translation)

Another thought is maybe you have homebrew or some other package installation system that has installed a toolchain in parallel to Xcode and the paths are screwed up.




You received this message because you are subscribed to the Google Groups "v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to v8-users+u...@googlegroups.com.

Louis Santillan

unread,
Aug 13, 2013, 9:38:20 PM8/13/13
to v8-u...@googlegroups.com
As of late, every time you upgrade XCode, you need to install the matching command line tools.  Start XCode, click on XCode->Preferences->Downloads.  You should see a "Command Line Tools" and very likely some IOS Simulators available to download.

-L


On Mon, Aug 12, 2013 at 6:05 PM, Michael Schwartz <myk...@gmail.com> wrote:

Jim Acquavella

unread,
Aug 13, 2013, 10:09:17 PM8/13/13
to v8-u...@googlegroups.com, v8-u...@googlegroups.com
Definitely did that!  All of my other shared libraries and app compile via the command line. This includes 2 monolithic applications. 

Sent from my iPhone
You received this message because you are subscribed to a topic in the Google Groups "v8-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/v8-users/UnNwhqKhARk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to v8-users+u...@googlegroups.com.

Jim Acquavella

unread,
Aug 19, 2013, 4:08:17 PM8/19/13
to v8-u...@googlegroups.com
Still not working.  Here's my build script..

svn checkout --force http://v8.googlecode.com/svn/trunk/ v8
cd v8
make dependencies
build/gyp_v8 -Dtarget_arch=x64
xcodebuild -project build/all.xcodeproj

Jim Acquavella

unread,
Aug 22, 2013, 1:56:30 PM8/22/13
to v8-u...@googlegroups.com
I created a VM with a clean installation of OSX 10.8  and v8 built without errors.  I then installed some of the other software I use (like the Intel Compiler) and it was also fine.  I then compared the installation of the machine that was and wasn't compiling and found that the /Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/  directory for the machine that did work used a symbolic link for the assember (filename:as) and the machine that didn't work had a copy of the original which lives in /Applications/Xcode.app/Contents/Developer/usr/bin/.   Anyways, I was able to delete XCode 4.6.3, re-install and it now works.  But, I have no idea what's causing this problem and it seems our build machine also has this problem.  So, it doesn't seem like a v8 problem, but indeed some XCode installation randomness.  If anyone else is having this issue, let me know and perhaps we can figure out what causes the bad XCode install.

Reply all
Reply to author
Forward
0 new messages