Skip to content

Instantly share code, notes, and snippets.

@frejsoya
Created January 3, 2012 10:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frejsoya/1554321 to your computer and use it in GitHub Desktop.
Save frejsoya/1554321 to your computer and use it in GitHub Desktop.
clang gcc 4.6.2 compile error
/private/tmp/homebrew-gcc-4.6.2-nFvh/gcc-4.6.2/build/./gcc/xgcc -B/private/tmp/homebrew-gcc-4.6.2-nFvh/gcc-4.6.2/build/./gcc/ -B/usr/local/Cellar/gcc/4.6.2/gcc/x86_64-apple-darwin11.2.0/bin/ -B/usr/local/Cellar/gcc/4.6.2/gcc/x86_64-apple-darwin11.2.0/lib/ -isystem /usr/local/Cellar/gcc/4.6.2/gcc/x86_64-apple-darwin11.2.0/include -isystem /usr/local/Cellar/gcc/4.6.2/gcc/x86_64-apple-darwin11.2.0/sys-include -g -O3 -w -pipe -march=native -O2 -g -O3 -w -pipe -march=native -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -pipe -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fno-stack-protector -I. -I. -I../.././gcc -I../../../libgcc -I../../../libgcc/. -I../../../libgcc/../gcc -I../../../libgcc/../include -DHAVE_CC_TLS -DUSE_EMUTLS -o _powitf2_s.o -MT _powitf2_s.o -MD -MP -MF _powitf2_s.dep -DSHARED -DL_powitf2 -c ../../../libgcc/../gcc/libgcc2.c
{standard input}:12:no such instruction: `vmovaps %xmm0, %xmm1'
{standard input}:14:no such instruction: `vmovss LC0(%rip), %xmm0'
{standard input}:25:no such instruction: `vmovaps %xmm1, %xmm0'
{standard input}:35:no such instruction: `vmulss %xmm1, %xmm1,%xmm1'
{standard input}:41:no such instruction: `vmulss %xmm1, %xmm0,%xmm0'
{standard input}:58:no such instruction: `vmovss LC0(%rip), %xmm1'
{standard input}:60:no such instruction: `vdivss %xmm0, %xmm1,%xmm0'
make[3]: *** [_powisf2_s.o] Error 1
make[3]: *** Waiting for unfinished jobs....
{standard input}:12:no such instruction: `vmovapd %xmm0, %xmm1'
{standard input}:14:no such instruction: `vmovsd LC0(%rip), %xmm0'
{standard input}:25:no such instruction: `vmovapd %xmm1, %xmm0'
{standard input}:35:no such instruction: `vmulsd %xmm1, %xmm1,%xmm1'
{standard input}:41:no such instruction: `vmulsd %xmm1, %xmm0,%xmm0'
{standard input}:58:no such instruction: `vmovsd LC0(%rip), %xmm1'
{standard input}:60:no such instruction: `vdivsd %xmm0, %xmm1,%xmm0'
make[3]: *** [_powidf2_s.o] Error 1
{standard input}:14:no such instruction: `vmovdqa %xmm0, %xmm2'
{standard input}:37:no such instruction: `vmovdqa %xmm0, 32(%rsp)'
{standard input}:48:no such instruction: `vmovdqa %xmm2, %xmm1'
{standard input}:49:no such instruction: `vmovdqa %xmm2, %xmm0'
{standard input}:55:no such instruction: `vmovdqa %xmm0, %xmm2'
{standard input}:60:no such instruction: `vmovdqa %xmm0, %xmm1'
{standard input}:61:no such instruction: `vmovdqa 32(%rsp), %xmm0'
{standard input}:63:no such instruction: `vmovdqa %xmm2, (%rsp)'
{standard input}:69:no such instruction: `vmovdqa %xmm0, 32(%rsp)'
{standard input}:71:no such instruction: `vmovdqa (%rsp), %xmm2'
{standard input}:80:no such instruction: `vmovdqa 32(%rsp), %xmm1'
{standard input}:81:no such instruction: `vmovdqa LC0(%rip), %xmm0'
{standard input}:84:no such instruction: `vmovdqa %xmm0, 32(%rsp)'
{standard input}:87:no such instruction: `vmovdqa 32(%rsp), %xmm0'
make[3]: *** [_powitf2_s.o] Error 1
make[2]: *** [all-stage1-target-libgcc] Error 2
make[1]: *** [stage1-bubble] Error 2
make: *** [bootstrap] Error 2
==> Exit Status: 2
http://github.com/mxcl/homebrew/blob/master/Library/Formula/.rb#L
==> Environment
HOMEBREW_VERSION: 0.8.1
HEAD: ae75008a3598c8dc61c4257ace6acb1cc3db2183
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
Hardware: quad-core 64-bit sandybridge
OS X: 10.7.2
Kernel Architecture: x86_64
Ruby: 1.8.7-249
/usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
Xcode: 4.2.1
GCC-4.0: N/A
GCC-4.2: N/A
LLVM: build 2336
Clang: 3.0-211.12
MacPorts or Fink? false
X11 installed? true
==> Build Flags
"--use-clang" was specified
CC: /usr/bin/clang
CXX: /usr/bin/clang++ => /usr/bin/clang
CFLAGS: -O3 -w -pipe -march=native
CXXFLAGS: -O3 -w -pipe -march=native -U_GLIBCXX_DEBUG -U_GLIBCXX_DEBUG_PEDANTIC
MAKEFLAGS: -j4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment