Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am frejsoya on github.
  • I am frej (https://keybase.io/frej) on keybase.
  • I have a public key whose fingerprint is E106 97CF 2989 63BE EB4B EB5F 2369 8AA4 1CD6 F657

To claim this, I am signing this object:

@frejsoya
frejsoya / gist:1554321
Created January 3, 2012 10:04
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, %
@frejsoya
frejsoya / i386_static.diff
Created December 16, 2010 20:35
dragonegg patch for gcc
--- gcc-4.5.orig/gcc/config/i386/i386.c 2010-07-23 18:20:40.000000000 +0200
+++ gcc-4.5/gcc/config/i386/i386.c 2010-07-23 18:22:33.436581657 +0200
@@ -4991,7 +4991,8 @@
case, we return the original mode and warn ABI change if CUM isn't
NULL. */
-static enum machine_mode
+enum machine_mode type_natural_mode (const_tree, CUMULATIVE_ARGS *);
+enum machine_mode
type_natural_mode (const_tree type, CUMULATIVE_ARGS *cum)