Skip to content

Instantly share code, notes, and snippets.

View tpoechtrager's full-sized avatar

Thomas Pöchtrager tpoechtrager

View GitHub Profile
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
print[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
heCore was generated by `/usr/bin/konsole'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 poll_for_reply (c=c@entry=0x954070, request=request@entry=57405, reply=reply@entry=0x7fffc629b978, error=error@entry=0x7fffc629ba70) at xcb_in.c:423
423 c->in.current_reply = head->next;
(gdb) print head
$1 = (struct reply_list *) 0x1
Program terminated with signal SIGSEGV, Segmentation fault.
#0 poll_for_reply (c=c@entry=0x954070, request=request@entry=57405, reply=reply@entry=0x7fffc629b978, error=error@entry=0x7fffc629ba70) at xcb_in.c:423
423 c->in.current_reply = head->next;
(gdb) print *c
$1 = {has_error = 0, setup = 0x959310, fd = 3, iolock = {__data = {__lock = 1, __count = 0, __owner = 725, __nusers = 1, __kind = 0, __spins = 0, __elision = 0, __list = {__prev = 0x0, __next = 0x0}},
__size = "\001\000\000\000\000\000\000\000\325\002\000\000\001", '\000' <repeats 26 times>, __align = 1}, in = {event_cond = {__data = {__lock = 0, __futex = 23292, __total_seq = 11646, __wakeup_seq = 11646, __woken_seq = 11646,
__mutex = 0x954088, __nwaiters = 0, __broadcast_seq = 0}, __size = "\000\000\000\000\374Z\000\000~-\000\000\000\000\000\000~-\000\000\000\000\000\000~-\000\000\000\000\000\000\210@\225", '\000' <repeats 12 times>,
__align = 100038378258432}, reading = 1,
queue = "\001\000\n\000\b\000\a\000
#!/usr/bin/env bash
if [ -z "$HOSTPREFIX" ]; then
PLATFORM=$(uname -s)
if [[ $PLATFORM == *NT* ]] || [[ $PLATFORM == *WIN* ]]; then
HOSTPREFIX=i686-w64-mingw32
fi
fi
diff --git a/CHANGELOG b/CHANGELOG
index 755e084..2099196 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -4,6 +4,7 @@ changed:
* improved and colorized wrapper error/warning/debug/info messages
added:
+* support for ccache symlinks (#34)
* include path warnings for /usr/include and /usr/local/include
Program received signal SIGILL, Illegal instruction.
0x002004cc in std::_Rb_tree<ld::Atom const*, std::pair<ld::Atom const* const, ld::File const*>, std::_Select1st<std::pair<ld::Atom const* const, ld::File const*> >, std::less<ld::Atom const*>, std::allocator<std::pair<ld::Atom const* const, ld::File const*> > >::_Rb_tree_impl<std::less<ld::Atom const*>, true>::_Rb_tree_impl (this=0x2b099c <mach_o::relocatable::Atom<arm>::_s_fileOverride>)
at /usr/bin/../lib/gcc/armv7l-unknown-linux-gnueabihf/4.9.2/../../../../include/c++/4.9.2/bits/stl_tree.h:462
462 : _Node_allocator(), _M_key_compare(), _M_header(),
2: x/i $pc
=> 0x2004cc <std::_Rb_tree<ld::Atom const*, std::pair<ld::Atom const* const, ld::File const*>, std::_Select1st<std::pair<ld::Atom const* const, ld::File const*> >, std::less<ld::Atom const*>, std::allocator<std::pair<ld::Atom const* const, ld::File const*> > >::_Rb_tree_impl<std::less<ld::Atom const*>, true>::_Rb_tree_impl()+40>: vmov.i32 q8, #0 ; 0x00000000
1: x/i $pc
=> 0
Index: fpsgame/extinfo.h
===================================================================
--- fpsgame/extinfo.h (Revision 456)
+++ fpsgame/extinfo.h (Arbeitskopie)
@@ -94,6 +94,7 @@
case EXT_UPTIME:
{
putint(p, totalsecs); //in seconds
+ if(req.remaining() && req.get() > 0) putint(p, -6);
break;
$ ./configure --enable-static --disable-shared --host=i686-w64-mingw32
checking for i686-w64-mingw32-gcc... i686-w64-mingw32-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-w64-mingw32-gcc accepts -g... yes
checking for i686-w64-mingw32-gcc option to accept ISO C89... none needed
diff --git a/Makefile b/Makefile
index 64885b5..ed10eef 100644
--- a/Makefile
+++ b/Makefile
@@ -70,7 +70,7 @@ else
override LIBS+= -lenet -lz -lm
endif
-override CFLAGS+= $(OPTFLAGS) $(CPUINFO) $(DEBUG) -Wall
+override CFLAGS+= $(OPTFLAGS) $(CPUINFO) $(DEBUG) -Wall -Wno-gnu
diff --git a/Makefile b/Makefile
index e863e35..64885b5 100644
--- a/Makefile
+++ b/Makefile
@@ -1,17 +1,20 @@
-PLATFORM:= $(shell ./enet/config.guess)
+PLATFORM_NATIVE:= $(shell ./enet/config.guess)
SHELL:= /bin/bash
-CPUINFO:= -march=native
diff --git a/cctools/include/foreign/i386/_types.h b/cctools/include/foreign/i386/_types.h
index 601b196..8bffd6f 100644
--- a/cctools/include/foreign/i386/_types.h
+++ b/cctools/include/foreign/i386/_types.h
@@ -33,6 +33,15 @@
* flotaing point and other arithmetic types, as needed, later.
*/
+/*
+ * Silence old glibc -Wtypedef-redefinition warnings.