* Package: app-emulation/gxemul-0.6.0 * Repository: gentoo * Maintainer: maintainer-needed@gentoo.org * USE: elibc_glibc kernel_linux test userland_GNU x86 * FEATURES: sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking gxemul-0.6.0.tar.gz to /var/tmp/portage/app-emulation/gxemul-0.6.0/work >>> Source unpacked in /var/tmp/portage/app-emulation/gxemul-0.6.0/work >>> Preparing source in /var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0 ... checking which C++ compiler to use... i686-pc-linux-gnu-g++ -DNDEBUG -O2 -pipe checking whether -Wall can be used... yes checking whether -Wstrict-aliasing can be used... yes checking whether -fpeephole can be used... yes checking whether -fomit-frame-pointer can be used... yes checking whether -fstrict-aliasing can be used... yes checking whether -fno-rtti can be used... yes checking whether -lrt is required for nanosleep... no checking whether -lresolv is required for inet_pton... no, using inet_aton checking for math libs... none needed checking for strlcpy... missing, using mystrlcpy checking for strtoull... found checking for mkstemp... missing, using workaround checking for fseeko... found checking for socklen_t... socklen_t checking for MAP_ANON... yes checking for PRIx64 in inttypes.h... using __STDC_FORMAT_MACROS checking for 64-bit off_t... using -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE checking for u_int8_t... yes checking for u_int64_t... yes checking for __FUNCTION__... yes checking host endianness... little checking for Doxygen... 1.7.4 checking for valgrind... ./configure: line 996: valgrind: command not found checking for 'make install' prefix: /usr/local C++ compiler flags: -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -Wstrict-aliasing -Wall Linker flags: -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu creating ./Makefile creating src/Makefile creating src/components/Makefile creating src/components/busses/Makefile creating src/components/cpu/Makefile creating src/components/machines/Makefile creating src/components/memory/Makefile creating src/components/special/Makefile creating src/console/Makefile creating src/cpus/Makefile creating src/debugger/Makefile creating src/devices/Makefile creating src/old_main/Makefile creating src/devices/fonts/Makefile creating src/disk/Makefile creating src/file/Makefile creating src/include/Makefile creating src/machines/Makefile creating src/main/Makefile creating src/main/commands/Makefile creating src/main/fileloaders/Makefile creating src/net/Makefile creating src/plugins/Makefile creating src/plugins/file/Makefile creating src/promemul/Makefile creating src/symbol/Makefile creating src/ui/Makefile creating src/ui/console/Makefile creating src/ui/nullui/Makefile Configured. You may now run make to build gxemul. >>> Source configured. >>> Compiling source in /var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0 ... make -j14 cd src; make make[1]: Entering directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src' cd include; make make[2]: Entering directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/include' i686-pc-linux-gnu-gcc -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu make_ppc_spr_strings.c -o make_ppc_spr_strings make_ppc_spr_strings.c: In function ‘main’: make_ppc_spr_strings.c:44:8: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] grep '#define.SPR_' thirdparty/ppc_spr.h |cut -d _ -f 2- | ./make_ppc_spr_strings > ppc_spr_strings.h make[2]: Leaving directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/include' make the_rest make[2]: Entering directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src' cd components; make cd console; make cd cpus; make cd debugger; make cd devices; make cd disk; make cd file; make cd machines; make cd main; make cd net; make cd old_main; make make[3]: Entering directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/components' cd special; make make[3]: Entering directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/console' i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../include/ -c -o console.o console.cc make[3]: Entering directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/disk' i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../include/ -c -o bootblock.o bootblock.cc cd machines; make cd busses; make make[3]: Entering directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/debugger' i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../include/ -c -o debugger.o debugger.cc cd cpu; make make[3]: Entering directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/cpus' i686-pc-linux-gnu-gcc -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu generate_head.c -o generate_head make[3]: Entering directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/machines' make objs make[3]: Entering directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/devices' cd fonts; make make[3]: Entering directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/file' i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../include/ -c -o file.o file.cc make[4]: Entering directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/machines' i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../include/ -c -o machine.o machine.cc make[3]: Entering directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/main' i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../include/ -c -o Checksum.o Checksum.cc make[4]: Entering directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/components/machines' i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../../include/ -c -o MachineComponent.o MachineComponent.cc make[3]: Entering directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/net' i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../include/ -c -o net.o net.cc make[4]: Entering directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/components/special' i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../../include/ -c -o DummyComponent.o DummyComponent.cc make[4]: Entering directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/components/busses' i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../../include/ -c -o MainbusComponent.o MainbusComponent.cc make[3]: Entering directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/old_main' i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../include/ -c -o emul.o emul.cc make[4]: Entering directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/devices/fonts' i686-pc-linux-gnu-gcc -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu Xconv_raw_to_c.c -o Xconv_raw_to_c make[4]: Entering directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/components/cpu' i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../../include/ -c -o CPUComponent.o CPUComponent.cc ./Xconv_raw_to_c vt220l.808 font8x8 > font8x8.cc ./Xconv_raw_to_c vt220l.810 font8x10 > font8x10.cc ./Xconv_raw_to_c vt220l.816 font8x16 > font8x16.cc make[4]: Leaving directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/devices/fonts' make font8x8.cc font8x10.cc font8x16.cc make[4]: Entering directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/devices' cp -f fonts/font8x8.cc . i686-pc-linux-gnu-gcc -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu generate_tail.c -o generate_tail cp -f fonts/font8x10.cc . cp -f fonts/font8x16.cc . make[4]: Leaving directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/devices' make objs make[4]: Entering directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/devices' i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../include/ -c -o device.o device.cc i686-pc-linux-gnu-gcc -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu generate_arm_dpi.c -o generate_arm_dpi In file included from ../include/misc.h:85:0, from ../include/Checksum.h:31, from Checksum.cc:28: ../include/refcount_ptr.h: In member function ‘bool refcount_ptr::operator<(const refcount_ptr&) const’: ../include/refcount_ptr.h:233:3: error: ‘ptrdiff_t’ was not declared in this scope ../include/refcount_ptr.h:233:3: note: suggested alternatives: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ ../include/refcount_ptr.h:233:13: error: expected ‘;’ before ‘diff’ ../include/refcount_ptr.h:234:10: error: ‘diff’ was not declared in this scope In file included from ../include/misc.h:85:0, from ../include/cpu_arm.h:34, from ../include/cpu.h:232, from file.cc:47: ../include/refcount_ptr.h: In member function ‘bool refcount_ptr::operator<(const refcount_ptr&) const’: ../include/refcount_ptr.h:233:3: error: ‘ptrdiff_t’ was not declared in this scope ../include/refcount_ptr.h:233:3: note: suggested alternatives: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ ../include/refcount_ptr.h:233:13: error: expected ‘;’ before ‘diff’ ../include/refcount_ptr.h:234:10: error: ‘diff’ was not declared in this scope make[3]: *** [Checksum.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/main' make[2]: *** [do_main] Error 2 make[2]: *** Waiting for unfinished jobs.... i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../include/ -c -o bus_isa.o bus_isa.cc In file included from ../include/misc.h:85:0, from ../include/cpu_arm.h:34, from ../include/cpu.h:232, from machine.cc:38: ../include/refcount_ptr.h: In member function ‘bool refcount_ptr::operator<(const refcount_ptr&) const’: ../include/refcount_ptr.h:233:3: error: ‘ptrdiff_t’ was not declared in this scope ../include/refcount_ptr.h:233:3: note: suggested alternatives: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ ../include/refcount_ptr.h:233:13: error: expected ‘;’ before ‘diff’ ../include/refcount_ptr.h:234:10: error: ‘diff’ was not declared in this scope make[4]: *** [machine.o] Error 1 make[4]: Leaving directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/machines' make[3]: *** [all] Error 2 make[3]: Leaving directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/machines' make[2]: *** [do_machines] Error 2 cd memory; make make[3]: *** [file.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/file' make[2]: *** [do_file] Error 2 i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../include/ -c -o emul_parse.o emul_parse.cc i686-pc-linux-gnu-gcc -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu generate_arm_r.c -o generate_arm_r make[4]: Entering directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/components/memory' i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../../include/ -c -o MemoryMappedComponent.o MemoryMappedComponent.cc In file included from ../../include/misc.h:85:0, from ../../include/Component.h:31, from ../../include/components/DummyComponent.h:34, from DummyComponent.cc:28: ../../include/refcount_ptr.h: In member function ‘bool refcount_ptr::operator<(const refcount_ptr&) const’: ../../include/refcount_ptr.h:233:3: error: ‘ptrdiff_t’ was not declared in this scope ../../include/refcount_ptr.h:233:3: note: suggested alternatives: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ ../../include/refcount_ptr.h:233:13: error: expected ‘;’ before ‘diff’ ../../include/refcount_ptr.h:234:10: error: ‘diff’ was not declared in this scope In file included from ../../include/misc.h:85:0, from ../../include/AddressDataBus.h:31, from ../../include/components/MainbusComponent.h:34, from MainbusComponent.cc:28: ../../include/refcount_ptr.h: In member function ‘bool refcount_ptr::operator<(const refcount_ptr&) const’: ../../include/refcount_ptr.h:233:3: error: ‘ptrdiff_t’ was not declared in this scope ../../include/refcount_ptr.h:233:3: note: suggested alternatives: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ ../../include/refcount_ptr.h:233:13: error: expected ‘;’ before ‘diff’ ../../include/refcount_ptr.h:234:10: error: ‘diff’ was not declared in this scope In file included from ../../include/misc.h:85:0, from ../../include/AddressDataBus.h:31, from CPUComponent.cc:31: ../../include/refcount_ptr.h: In member function ‘bool refcount_ptr::operator<(const refcount_ptr&) const’: ../../include/refcount_ptr.h:233:3: error: ‘ptrdiff_t’ was not declared in this scope ../../include/refcount_ptr.h:233:3: note: suggested alternatives: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ ../../include/refcount_ptr.h:233:13: error: expected ‘;’ before ‘diff’ ../../include/refcount_ptr.h:234:10: error: ‘diff’ was not declared in this scope In file included from ../../include/misc.h:85:0, from ../../include/Component.h:31, from ../../include/components/MachineComponent.h:34, from MachineComponent.cc:28: ../../include/refcount_ptr.h: In member function ‘bool refcount_ptr::operator<(const refcount_ptr&) const’: ../../include/refcount_ptr.h:233:3: error: ‘ptrdiff_t’ was not declared in this scope ../../include/refcount_ptr.h:233:3: note: suggested alternatives: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ ../../include/refcount_ptr.h:233:13: error: expected ‘;’ before ‘diff’ ../../include/refcount_ptr.h:234:10: error: ‘diff’ was not declared in this scope In file included from ../include/misc.h:85:0, from ../include/cpu_arm.h:34, from ../include/cpu.h:232, from bootblock.cc:46: ../include/refcount_ptr.h: In member function ‘bool refcount_ptr::operator<(const refcount_ptr&) const’: ../include/refcount_ptr.h:233:3: error: ‘ptrdiff_t’ was not declared in this scope ../include/refcount_ptr.h:233:3: note: suggested alternatives: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ ../include/refcount_ptr.h:233:13: error: expected ‘;’ before ‘diff’ ../include/refcount_ptr.h:234:10: error: ‘diff’ was not declared in this scope make[3]: *** [bootblock.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/disk' make[2]: *** [do_disk] Error 2 i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../include/ -c -o float_emul.o float_emul.cc make[4]: *** [MachineComponent.o] Error 1 make[4]: Leaving directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/components/machines' make[3]: *** [do_machines] Error 2 make[3]: *** Waiting for unfinished jobs.... i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../include/ -c -o net_ip.o net_ip.cc In file included from ../include/misc.h:85:0, from ../include/device.h:34, from device.cc:35: ../include/refcount_ptr.h: In member function ‘bool refcount_ptr::operator<(const refcount_ptr&) const’: ../include/refcount_ptr.h:233:3: error: ‘ptrdiff_t’ was not declared in this scope ../include/refcount_ptr.h:233:3: note: suggested alternatives: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ ../include/refcount_ptr.h:233:13: error: expected ‘;’ before ‘diff’ ../include/refcount_ptr.h:234:10: error: ‘diff’ was not declared in this scope make[4]: *** [device.o] Error 1 make[4]: *** Waiting for unfinished jobs....i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../../include/ -c -o RAMComponent.o RAMComponent.cc make[4]: *** [DummyComponent.o] Error 1 make[4]: Leaving directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/components/special' make[3]: *** [do_special] Error 2 i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../include/ -c -o interrupt.o interrupt.cc make[4]: *** [MainbusComponent.o] Error 1 make[4]: Leaving directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/components/busses' make[3]: *** [do_busses] Error 2 i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../include/ -c -o main.o main.cc In file included from ../include/misc.h:85:0, from ../include/bus_isa.h:34, from bus_isa.cc:40: ../include/refcount_ptr.h: In member function ‘bool refcount_ptr::operator<(const refcount_ptr&) const’: ../include/refcount_ptr.h:233:3: error: ‘ptrdiff_t’ was not declared in this scope ../include/refcount_ptr.h:233:3: note: suggested alternatives: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ ../include/refcount_ptr.h:233:13: error: expected ‘;’ before ‘diff’ ../include/refcount_ptr.h:234:10: error: ‘diff’ was not declared in this scope make[4]: *** [CPUComponent.o] Error 1 make[4]: Leaving directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/components/cpu' make[3]: *** [do_cpu] Error 2 i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../include/ -c -o memory.o memory.cc make[4]: *** [bus_isa.o] Error 1 make[4]: Leaving directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/devices' make[3]: *** [all] Error 2 make[3]: Leaving directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/devices' make[2]: *** [do_devices] Error 2 i686-pc-linux-gnu-gcc -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu generate_arm_loadstore.c -o generate_arm_loadstore i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../include/ -c -o net_misc.o net_misc.cc i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../include/ -c -o x11.o x11.cc In file included from ../include/misc.h:85:0, from ../include/diskimage.h:37, from emul_parse.cc:37: ../include/refcount_ptr.h: In member function ‘bool refcount_ptr::operator<(const refcount_ptr&) const’: ../include/refcount_ptr.h:233:3: error: ‘ptrdiff_t’ was not declared in this scope ../include/refcount_ptr.h:233:3: note: suggested alternatives: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ ../include/refcount_ptr.h:233:13: error: expected ‘;’ before ‘diff’ ../include/refcount_ptr.h:234:10: error: ‘diff’ was not declared in this scope In file included from ../../include/misc.h:85:0, from ../../include/Component.h:31, from ../../include/components/MemoryMappedComponent.h:34, from MemoryMappedComponent.cc:28: ../../include/refcount_ptr.h: In member function ‘bool refcount_ptr::operator<(const refcount_ptr&) const’: ../../include/refcount_ptr.h:233:3: error: ‘ptrdiff_t’ was not declared in this scope ../../include/refcount_ptr.h:233:3: note: suggested alternatives: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ ../../include/refcount_ptr.h:233:13: error: expected ‘;’ before ‘diff’ ../../include/refcount_ptr.h:234:10: error: ‘diff’ was not declared in this scope In file included from ../include/misc.h:85:0, from ../include/float_emul.h:36, from float_emul.cc:36: ../include/refcount_ptr.h: In member function ‘bool refcount_ptr::operator<(const refcount_ptr&) const’: ../include/refcount_ptr.h:233:3: error: ‘ptrdiff_t’ was not declared in this scope ../include/refcount_ptr.h:233:3: note: suggested alternatives: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ ../include/refcount_ptr.h:233:13: error: expected ‘;’ before ‘diff’ ../include/refcount_ptr.h:234:10: error: ‘diff’ was not declared in this scope make[3]: *** [float_emul.o] Error 1 make[3]: *** Waiting for unfinished jobs.... i686-pc-linux-gnu-gcc -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu generate_arm_multi.c -o generate_arm_multi make[3]: *** [emul_parse.o] Error 1 i686-pc-linux-gnu-gcc -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu generate_m88k_bcnd.c -o generate_m88k_bcnd make[4]: *** [MemoryMappedComponent.o] Error 1 make[4]: *** Waiting for unfinished jobs.... i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../include/ -c -o debugger_expr.o debugger_expr.cc In file included from ../include/misc.h:85:0, from ../include/interrupt.h:34, from interrupt.cc:46: ../include/refcount_ptr.h: In member function ‘bool refcount_ptr::operator<(const refcount_ptr&) const’: ../include/refcount_ptr.h:233:3: error: ‘ptrdiff_t’ was not declared in this scope ../include/refcount_ptr.h:233:3: note: suggested alternatives: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ ../include/refcount_ptr.h:233:13: error: expected ‘;’ before ‘diff’ ../include/refcount_ptr.h:234:10: error: ‘diff’ was not declared in this scope i686-pc-linux-gnu-gcc -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu generate_m88k_loadstore.c -o generate_m88k_loadstore make[3]: *** [interrupt.o] Error 1 i686-pc-linux-gnu-gcc -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu generate_mips_loadstore.c -o generate_mips_loadstore In file included from ../../include/misc.h:85:0, from ../../include/AddressDataBus.h:31, from ../../include/components/RAMComponent.h:34, from RAMComponent.cc:32: ../../include/refcount_ptr.h: In member function ‘bool refcount_ptr::operator<(const refcount_ptr&) const’: ../../include/refcount_ptr.h:233:3: error: ‘ptrdiff_t’ was not declared in this scope ../../include/refcount_ptr.h:233:3: note: suggested alternatives: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ ../../include/refcount_ptr.h:233:13: error: expected ‘;’ before ‘diff’ ../../include/refcount_ptr.h:234:10: error: ‘diff’ was not declared in this scope i686-pc-linux-gnu-gcc -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu generate_mips_loadstore_multi.c -o generate_mips_loadstore_multi In file included from ../include/misc.h:85:0, from ../include/console.h:34, from main.cc:38: ../include/refcount_ptr.h: In member function ‘bool refcount_ptr::operator<(const refcount_ptr&) const’: ../include/refcount_ptr.h:233:3: error: ‘ptrdiff_t’ was not declared in this scope ../include/refcount_ptr.h:233:3: note: suggested alternatives: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ ../include/refcount_ptr.h:233:13: error: expected ‘;’ before ‘diff’ ../include/refcount_ptr.h:234:10: error: ‘diff’ was not declared in this scope In file included from ../include/misc.h:85:0, from net_ip.cc:41: ../include/refcount_ptr.h: In member function ‘bool refcount_ptr::operator<(const refcount_ptr&) const’: ../include/refcount_ptr.h:233:3: error: ‘ptrdiff_t’ was not declared in this scope ../include/refcount_ptr.h:233:3: note: suggested alternatives: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ ../include/refcount_ptr.h:233:13: error: expected ‘;’ before ‘diff’ ../include/refcount_ptr.h:234:10: error: ‘diff’ was not declared in this scope i686-pc-linux-gnu-gcc -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu generate_ppc_loadstore.c -o generate_ppc_loadstore make[3]: *** [net_ip.o] Error 1 make[3]: *** Waiting for unfinished jobs.... In file included from ../include/misc.h:85:0, from ../include/cpu_arm.h:34, from ../include/cpu.h:232, from memory.cc:37: ../include/refcount_ptr.h: In member function ‘bool refcount_ptr::operator<(const refcount_ptr&) const’: ../include/refcount_ptr.h:233:3: error: ‘ptrdiff_t’ was not declared in this scope ../include/refcount_ptr.h:233:3: note: suggested alternatives: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ ../include/refcount_ptr.h:233:13: error: expected ‘;’ before ‘diff’ ../include/refcount_ptr.h:234:10: error: ‘diff’ was not declared in this scope make[3]: *** [main.o] Error 1 make[3]: *** [memory.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/old_main' make[2]: *** [do_old_main] Error 2 In file included from ../include/misc.h:85:0, from ../include/console.h:34, from x11.cc:35: ../include/refcount_ptr.h: In member function ‘bool refcount_ptr::operator<(const refcount_ptr&) const’: ../include/refcount_ptr.h:233:3: error: ‘ptrdiff_t’ was not declared in this scope ../include/refcount_ptr.h:233:3: note: suggested alternatives: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ ../include/refcount_ptr.h:233:13: error: expected ‘;’ before ‘diff’ ../include/refcount_ptr.h:234:10: error: ‘diff’ was not declared in this scope make[4]: *** [RAMComponent.o] Error 1 make[4]: Leaving directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/components/memory' make[3]: *** [do_memory] Error 2 make[3]: Leaving directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/components' make[2]: *** [do_components] Error 2 In file included from ../include/misc.h:85:0, from ../include/symbol.h:34, from ../include/machine.h:33, from net_misc.cc:40: ../include/refcount_ptr.h: In member function ‘bool refcount_ptr::operator<(const refcount_ptr&) const’: ../include/refcount_ptr.h:233:3: error: ‘ptrdiff_t’ was not declared in this scope ../include/refcount_ptr.h:233:3: note: suggested alternatives: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ ../include/refcount_ptr.h:233:13: error: expected ‘;’ before ‘diff’ ../include/refcount_ptr.h:234:10: error: ‘diff’ was not declared in this scope make[3]: *** [x11.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/console' make[2]: *** [do_console] Error 2 make[3]: *** [net_misc.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/net' make[2]: *** [do_net] Error 2 In file included from ../include/misc.h:85:0, from ../include/cpu_arm.h:34, from ../include/cpu.h:232, from debugger_expr.cc:43: ../include/refcount_ptr.h: In member function ‘bool refcount_ptr::operator<(const refcount_ptr&) const’: ../include/refcount_ptr.h:233:3: error: ‘ptrdiff_t’ was not declared in this scope ../include/refcount_ptr.h:233:3: note: suggested alternatives: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ ../include/refcount_ptr.h:233:13: error: expected ‘;’ before ‘diff’ ../include/refcount_ptr.h:234:10: error: ‘diff’ was not declared in this scope make[3]: *** [debugger_expr.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make buildobjs make[4]: Entering directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/cpus' i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../include/ -c -o cpu.o cpu.cc ./generate_head arm ARM > tmp_arm_head.cc ./generate_tail arm ARM > tmp_arm_tail.cc i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../include/ -c -o cpu_arm_coproc.o cpu_arm_coproc.cc i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../include/ -c -o memory_arm.o memory_arm.cc ./generate_arm_loadstore > tmp_arm_loadstore.cc ./generate_arm_loadstore 0 0 0 > tmp_arm_loadstore_p0_u0_w0.cc ./generate_arm_loadstore 0 0 1 > tmp_arm_loadstore_p0_u0_w1.cc ./generate_arm_loadstore 0 1 0 > tmp_arm_loadstore_p0_u1_w0.cc ./generate_arm_loadstore 0 1 1 > tmp_arm_loadstore_p0_u1_w1.cc ./generate_arm_loadstore 1 0 0 > tmp_arm_loadstore_p1_u0_w0.cc ./generate_arm_loadstore 1 0 1 > tmp_arm_loadstore_p1_u0_w1.cc ./generate_arm_loadstore 1 1 0 > tmp_arm_loadstore_p1_u1_w0.cc ./generate_arm_loadstore 1 1 1 > tmp_arm_loadstore_p1_u1_w1.cc ./generate_arm_dpi > tmp_arm_dpi.cc ./generate_arm_r 0 0 > tmp_arm_r.cc ./generate_arm_r 0x000 0x0ff > tmp_arm_r0.cc ./generate_arm_r 0x100 0x1ff > tmp_arm_r1.cc ./generate_arm_r 0x200 0x2ff > tmp_arm_r2.cc ./generate_arm_r 0x300 0x3ff > tmp_arm_r3.cc ./generate_arm_r 0x400 0x4ff > tmp_arm_r4.cc ./generate_arm_r 0x500 0x5ff > tmp_arm_r5.cc ./generate_arm_r 0x600 0x6ff > tmp_arm_r6.cc ./generate_arm_r 0x700 0x7ff > tmp_arm_r7.cc ./generate_arm_r 0x800 0x8ff > tmp_arm_r8.cc ./generate_arm_r 0x900 0x9ff > tmp_arm_r9.cc ./generate_arm_r 0xa00 0xaff > tmp_arm_ra.cc ./generate_arm_r 0xb00 0xbff > tmp_arm_rb.cc ./generate_arm_r 0xc00 0xcff > tmp_arm_rc.cc ./generate_arm_r 0xd00 0xdff > tmp_arm_rd.cc ./generate_arm_r 0xe00 0xeff > tmp_arm_re.cc ./generate_arm_r 0xf00 0xfff > tmp_arm_rf.cc ./generate_arm_multi `cat cpu_arm_multi.txt` > tmp_arm_multi.cc ./generate_m88k_loadstore > tmp_m88k_loadstore.cc ./generate_head m88k M88K > tmp_m88k_head.cc ./generate_tail m88k M88K > tmp_m88k_tail.cc ./generate_m88k_bcnd > tmp_m88k_bcnd.cc ./generate_m88k_loadstore: generated_functions = 99 i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../include/ -c -o memory_m88k.o memory_m88k.cc ./generate_mips_loadstore > tmp_mips_loadstore.cc ./generate_mips_loadstore_multi > tmp_mips_loadstore_multi.cc ./generate_head mips MIPS > tmp_mips_head.cc ./generate_tail mips MIPS > tmp_mips_tail.cc i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../include/ -c -o cpu_mips_coproc.o cpu_mips_coproc.cc i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../include/ -c -o cpu_mips_instr_unaligned.o cpu_mips_instr_unaligned.cc ./generate_head ppc PPC > tmp_ppc_head.cc ./generate_tail ppc PPC > tmp_ppc_tail.cc ./generate_ppc_loadstore > tmp_ppc_loadstore.cc ./generate_head sh SH > tmp_sh_head.cc ./generate_tail sh SH > tmp_sh_tail.cc i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../include/ -c -o memory_sh.o memory_sh.cc i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../include/ -c -o cpu_arm.o cpu_arm.cc i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../include/ -c -o tmp_arm_loadstore.o tmp_arm_loadstore.cc i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../include/ -c -o tmp_arm_loadstore_p0_u0_w0.o tmp_arm_loadstore_p0_u0_w0.cc i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../include/ -c -o tmp_arm_loadstore_p0_u0_w1.o tmp_arm_loadstore_p0_u0_w1.cc i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../include/ -c -o tmp_arm_loadstore_p0_u1_w0.o tmp_arm_loadstore_p0_u1_w0.cc make[3]: Leaving directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/debugger' make[2]: *** [do_debugger] Error 2 i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../include/ -c -o tmp_arm_loadstore_p0_u1_w1.o tmp_arm_loadstore_p0_u1_w1.cc i686-pc-linux-gnu-g++ -Wstrict-aliasing -Wall -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-rtti -fstrict-aliasing -fomit-frame-pointer -fpeephole -DNDEBUG -O2 -pipe -D__STDC_FORMAT_MACROS -I../include/ -c -o tmp_arm_loadstore_p1_u0_w0.o tmp_arm_loadstore_p1_u0_w0.cc In file included from ../include/misc.h:85:0, from ../include/cpu_arm.h:34, from ../include/cpu.h:232, from cpu.cc:37: ../include/refcount_ptr.h: In member function ‘bool refcount_ptr::operator<(const refcount_ptr&) const’: ../include/refcount_ptr.h:233:3: error: ‘ptrdiff_t’ was not declared in this scope ../include/refcount_ptr.h:233:3: note: suggested alternatives: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ ../include/refcount_ptr.h:233:13: error: expected ‘;’ before ‘diff’ ../include/refcount_ptr.h:234:10: error: ‘diff’ was not declared in this scope make[4]: *** [cpu.o] Error 1 make[4]: *** Waiting for unfinished jobs.... In file included from ../include/misc.h:85:0, from ../include/cpu_arm.h:34, from ../include/cpu.h:232, from memory_arm.cc:38: ../include/refcount_ptr.h: In member function ‘bool refcount_ptr::operator<(const refcount_ptr&) const’: ../include/refcount_ptr.h:233:3: error: ‘ptrdiff_t’ was not declared in this scope ../include/refcount_ptr.h:233:3: note: suggested alternatives: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ ../include/refcount_ptr.h:233:13: error: expected ‘;’ before ‘diff’ ../include/refcount_ptr.h:234:10: error: ‘diff’ was not declared in this scope make[4]: *** [memory_arm.o] Error 1 In file included from ../include/misc.h:85:0, from ../include/cpu_arm.h:34, from ../include/cpu.h:232, from cpu_arm_coproc.cc:37: ../include/refcount_ptr.h: In member function ‘bool refcount_ptr::operator<(const refcount_ptr&) const’: ../include/refcount_ptr.h:233:3: error: ‘ptrdiff_t’ was not declared in this scope ../include/refcount_ptr.h:233:3: note: suggested alternatives: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ ../include/refcount_ptr.h:233:13: error: expected ‘;’ before ‘diff’ ../include/refcount_ptr.h:234:10: error: ‘diff’ was not declared in this scope In file included from ../include/misc.h:85:0, from ../include/cpu_arm.h:34, from ../include/cpu.h:232, from memory_sh.cc:32: ../include/refcount_ptr.h: In member function ‘bool refcount_ptr::operator<(const refcount_ptr&) const’: ../include/refcount_ptr.h:233:3: error: ‘ptrdiff_t’ was not declared in this scope ../include/refcount_ptr.h:233:3: note: suggested alternatives: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ ../include/refcount_ptr.h:233:13: error: expected ‘;’ before ‘diff’ ../include/refcount_ptr.h:234:10: error: ‘diff’ was not declared in this scope make[4]: *** [memory_sh.o] Error 1 In file included from ../include/misc.h:85:0, from ../include/cpu_arm.h:34, from ../include/cpu.h:232, from cpu_mips_coproc.cc:37: ../include/refcount_ptr.h: In member function ‘bool refcount_ptr::operator<(const refcount_ptr&) const’: ../include/refcount_ptr.h:233:3: error: ‘ptrdiff_t’ was not declared in this scope ../include/refcount_ptr.h:233:3: note: suggested alternatives: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ ../include/refcount_ptr.h:233:13: error: expected ‘;’ before ‘diff’ ../include/refcount_ptr.h:234:10: error: ‘diff’ was not declared in this scope make[4]: *** [cpu_arm_coproc.o] Error 1 In file included from ../include/misc.h:85:0, from ../include/cpu_arm.h:34, from ../include/cpu.h:232, from tmp_arm_loadstore_p0_u0_w0.cc:6: ../include/refcount_ptr.h: In member function ‘bool refcount_ptr::operator<(const refcount_ptr&) const’: ../include/refcount_ptr.h:233:3: error: ‘ptrdiff_t’ was not declared in this scopeIn file included from ../include/misc.h:85:0, from ../include/cpu_arm.h:34, from ../include/cpu.h:232, from cpu_mips_instr_unaligned.cc:39: ../include/refcount_ptr.h: In member function ‘bool refcount_ptr::operator<(const refcount_ptr&) const’: ../include/refcount_ptr.h:233:3: error: ‘ptrdiff_t’ was not declared in this scope ../include/refcount_ptr.h:233:3: note: suggested alternatives: ../include/refcount_ptr.h:233:3: note: suggested alternatives: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ ../include/refcount_ptr.h:233:13: error: expected ‘;’ before ‘diff’ ../include/refcount_ptr.h:233:13: error: expected ‘;’ before ‘diff’ ../include/refcount_ptr.h:234:10: error: ‘diff’ was not declared in this scope ../include/refcount_ptr.h:234:10: error: ‘diff’ was not declared in this scope make[4]: *** [cpu_mips_coproc.o] Error 1 In file included from ../include/misc.h:85:0, from ../include/cpu_arm.h:34, from ../include/cpu.h:232, from memory_m88k.cc:41: ../include/refcount_ptr.h: In member function ‘bool refcount_ptr::operator<(const refcount_ptr&) const’: ../include/refcount_ptr.h:233:3: error: ‘ptrdiff_t’ was not declared in this scope ../include/refcount_ptr.h:233:3: note: suggested alternatives: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ ../include/refcount_ptr.h:233:13: error: expected ‘;’ before ‘diff’ ../include/refcount_ptr.h:234:10: error: ‘diff’ was not declared in this scope make[4]: *** [cpu_mips_instr_unaligned.o] Error 1 make[4]: *** [memory_m88k.o] Error 1 In file included from ../include/misc.h:85:0, from ../include/cpu_arm.h:34, from ../include/cpu.h:232, from tmp_arm_loadstore_p0_u1_w0.cc:6: ../include/refcount_ptr.h: In member function ‘bool refcount_ptr::operator<(const refcount_ptr&) const’: ../include/refcount_ptr.h:233:3: error: ‘ptrdiff_t’ was not declared in this scope ../include/refcount_ptr.h:233:3: note: suggested alternatives: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ ../include/refcount_ptr.h:233:13: error: expected ‘;’ before ‘diff’ ../include/refcount_ptr.h:234:10: error: ‘diff’ was not declared in this scope In file included from ../include/misc.h:85:0, from ../include/cpu_arm.h:34, from ../include/cpu.h:232, from tmp_arm_loadstore_p0_u1_w1.cc:6: ../include/refcount_ptr.h: In member function ‘bool refcount_ptr::operator<(const refcount_ptr&) const’: ../include/refcount_ptr.h:233:3: error: ‘ptrdiff_t’ was not declared in this scope ../include/refcount_ptr.h:233:3: note: suggested alternatives: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ ../include/refcount_ptr.h:233:13: error: expected ‘;’ before ‘diff’ ../include/refcount_ptr.h:234:10: error: ‘diff’ was not declared in this scope In file included from ../include/misc.h:85:0, from ../include/cpu_arm.h:34, from ../include/cpu.h:232, from cpu_arm.cc:42: ../include/refcount_ptr.h: In member function ‘bool refcount_ptr::operator<(const refcount_ptr&) const’: ../include/refcount_ptr.h:233:3: error: ‘ptrdiff_t’ was not declared in this scope ../include/refcount_ptr.h:233:3: note: suggested alternatives: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ ../include/refcount_ptr.h:233:13: error: expected ‘;’ before ‘diff’ ../include/refcount_ptr.h:234:10: error: ‘diff’ was not declared in this scope make[4]: *** [tmp_arm_loadstore_p0_u0_w0.o] Error 1 In file included from ../include/misc.h:85:0, from ../include/cpu_arm.h:34, from ../include/cpu.h:232, from tmp_arm_loadstore.cc:6: ../include/refcount_ptr.h: In member function ‘bool refcount_ptr::operator<(const refcount_ptr&) const’: ../include/refcount_ptr.h:233:3: error: ‘ptrdiff_t’ was not declared in this scope ../include/refcount_ptr.h:233:3: note: suggested alternatives: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ ../include/refcount_ptr.h:233:13: error: expected ‘;’ before ‘diff’ ../include/refcount_ptr.h:234:10: error: ‘diff’ was not declared in this scope In file included from ../include/misc.h:85:0, from ../include/cpu_arm.h:34, from ../include/cpu.h:232, from tmp_arm_loadstore_p0_u0_w1.cc:6: ../include/refcount_ptr.h: In member function ‘bool refcount_ptr::operator<(const refcount_ptr&) const’: ../include/refcount_ptr.h:233:3: error: ‘ptrdiff_t’ was not declared in this scope ../include/refcount_ptr.h:233:3: note: suggested alternatives: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ ../include/refcount_ptr.h:233:13: error: expected ‘;’ before ‘diff’ ../include/refcount_ptr.h:234:10: error: ‘diff’ was not declared in this scope In file included from ../include/misc.h:85:0, from ../include/cpu_arm.h:34, from ../include/cpu.h:232, from tmp_arm_loadstore_p1_u0_w0.cc:6: ../include/refcount_ptr.h: In member function ‘bool refcount_ptr::operator<(const refcount_ptr&) const’: ../include/refcount_ptr.h:233:3: error: ‘ptrdiff_t’ was not declared in this scope ../include/refcount_ptr.h:233:3: note: suggested alternatives: /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ /usr/lib/gcc/i686-pc-linux-gnu/4.6.0/include/g++-v4/i686-pc-linux-gnu/bits/c++config.h:156:28: note: ‘std::ptrdiff_t’ ../include/refcount_ptr.h:233:13: error: expected ‘;’ before ‘diff’ ../include/refcount_ptr.h:234:10: error: ‘diff’ was not declared in this scope make[4]: *** [tmp_arm_loadstore_p0_u1_w0.o] Error 1 make[4]: *** [tmp_arm_loadstore_p0_u1_w1.o] Error 1 make[4]: *** [tmp_arm_loadstore.o] Error 1 make[4]: *** [tmp_arm_loadstore_p0_u0_w1.o] Error 1 make[4]: *** [tmp_arm_loadstore_p1_u0_w0.o] Error 1 make[4]: *** [cpu_arm.o] Error 1 make[4]: Leaving directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/cpus' make[3]: *** [all] Error 2 make[3]: Leaving directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src/cpus' make[2]: *** [do_cpus] Error 2 make[2]: Leaving directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0/src' make: *** [do_src] Error 2 emake failed * ERROR: app-emulation/gxemul-0.6.0 failed (compile phase): * emake failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 2298: Called _eapi2_src_compile * ebuild.sh, line 665: Called die * The specific snippet of code: * emake || die "emake failed" * * If you need support, post the output of 'emerge --info =app-emulation/gxemul-0.6.0', * the complete build log and the output of 'emerge -pqv =app-emulation/gxemul-0.6.0'. * The complete build log is located at '/var/log/portage/build/app-emulation/gxemul-0.6.0:20110413-132639.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/gxemul-0.6.0/temp/environment'. * S: '/var/tmp/portage/app-emulation/gxemul-0.6.0/work/gxemul-0.6.0'