Here's a mystery. It looks like I finally have a clean compile - there are no error messages but I don't see an executable. Is there supposed to be something called "qemu" somewhere now? I looked in build/, the top level, and /usr/local/bin/.
# gmake V=1 (cd /export/home/denber/qemu-2.12.0; if test -n ""; then pkgvers=""; else if test -d .git; then pkgvers=$(git describe --match 'v*' 2>/dev/null | tr -d '\n'); if ! git diff-index --quiet HEAD &>/dev/null; then pkgvers="${pkgvers}-dirty"; fi; fi; fi; printf "#define QEMU_PKGVERSION \"${pkgvers}\"\n"; if test -n "${pkgvers}"; then printf '#define QEMU_FULL_VERSION QEMU_VERSION " (" QEMU_PKGVERSION ")"\n'; else printf '#define QEMU_FULL_VERSION QEMU_VERSION\n'; fi; ) > qemu-version.h.tmp if ! cmp -s qemu-version.h qemu-version.h.tmp; then mv qemu-version.h.tmp qemu-version.h; else rm qemu-version.h.tmp; fi mkdir -p dtc/libfdt mkdir -p dtc/tests gmake -I/export/home/denber/qemu-2.12.0/dtc VPATH=/export/home/denber/qemu-2.12.0/dtc -C dtc V="1" LIBFDT_srcdir=/export/home/denber/qemu-2.12.0/dtc/libfdt CPPFLAGS="-I/export/home/denber/qemu-2.12.0/build/dtc -I/export/home/denber/qemu-2.12.0/dtc -I/export/home/denber/qemu-2.12.0/dtc/libfdt" CFLAGS="-O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -g -I/opt/csw/include/pixman-1 -I/export/home/denber/qemu-2.12.0/dtc/libfdt -D_REENTRANT -D_PTHREADS -I/opt/csw/include/glib-2.0 -I/opt/csw/lib/glib-2.0/include -m32 -mv8plus -mcpu=ultrasparc -std=gnu99 -D__EXTENSIONS__ -D_XOPEN_SOURCE=600 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fno-common -fwrapv -Wexpansion-to-defined -Wendif-labels -Wno-shift-negative-value -Wno-missing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-strong -I/opt/csw/include -I/usr/include/libpng12 -I/export/home/denber/qemu-2.12.0/capstone/include -I/export/home/denber/qemu-2.12.0/tests" LDFLAGS="-m32 -mv8plus -g " ARFLAGS="rv" CC="gcc" AR="ar" LD="ld" BUILD_DIR=/export/home/denber/qemu-2.12.0/build libfdt/libfdt.a gmake[1]: Entering directory '/export/home/denber/qemu-2.12.0/build/dtc' gmake[1]: 'libfdt/libfdt.a' is up to date. gmake[1]: Leaving directory '/export/home/denber/qemu-2.12.0/build/dtc' gmake -C /export/home/denber/qemu-2.12.0/capstone CAPSTONE_SHARED=no BUILDDIR="/export/home/denber/qemu-2.12.0/build/capstone" CC="gcc" AR="ar" LD="ld" RANLIB="ranlib" CFLAGS="-O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -g -I/opt/csw/include/pixman-1 -I/export/home/denber/qemu-2.12.0/dtc/libfdt -D_REENTRANT -D_PTHREADS -I/opt/csw/include/glib-2.0 -I/opt/csw/lib/glib-2.0/include -m32 -mv8plus -mcpu=ultrasparc -std=gnu99 -D__EXTENSIONS__ -D_XOPEN_SOURCE=600 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fno-common -fwrapv -fstack-protector-strong -I/opt/csw/include -I/usr/include/libpng12 -I/export/home/denber/qemu-2.12.0/capstone/include -I/export/home/denber/qemu-2.12.0/tests -DCAPSTONE_USE_SYS_DYN_MEM -DCAPSTONE_HAS_ARM -DCAPSTONE_HAS_ARM64 -DCAPSTONE_HAS_POWERPC -DCAPSTONE_HAS_X86" BUILD_DIR=/export/home/denber/qemu-2.12.0/build /export/home/denber/qemu-2.12.0/build/capstone/libcapstone.a gmake[1]: Entering directory '/export/home/denber/qemu-2.12.0/capstone' gmake[1]: '/export/home/denber/qemu-2.12.0/build/capstone/libcapstone.a' is up to date. gmake[1]: Leaving directory '/export/home/denber/qemu-2.12.0/capstone' gmake BUILD_DIR=/export/home/denber/qemu-2.12.0/build -C x86_64-softmmu V="1" TARGET_DIR="x86_64-softmmu/" all gmake[1]: Entering directory '/export/home/denber/qemu-2.12.0/build/x86_64-softmmu' gmake[1]: Leaving directory '/export/home/denber/qemu-2.12.0/build/x86_64-softmmu' #
I even did a gmake clean and then gmake again. No change - no errors and no executable. ???
- Michele
Here's a mystery. It looks like I finally have a clean compile - there
are no error messages but I don't see an executable. Is there supposed
to be something called "qemu" somewhere now? I looked in build/, the
top level, and /usr/local/bin/.
# gmake V=1 home/denber/ qemu-2. 12.0; if test -n ""; then pkgvers=""; "${pkgvers} -dirty" ; fi; fi; fi; printf "#define home/denber/ qemu-2. 12.0/dtc export/ home/denber/ qemu-2. 12.0/dtc -C dtc V="1" srcdir= /export/ home/denber/ qemu-2. 12.0/dtc/ libfdt "-I/export/ home/denber/ qemu-2. 12.0/build/ dtc home/denber/ qemu-2. 12.0/dtc home/denber/ qemu-2. 12.0/dtc/ libfdt" CFLAGS="-O2 csw/include/ pixman- 1 home/denber/ qemu-2. 12.0/dtc/ libfdt -D_REENTRANT -D_PTHREADS csw/include/ glib-2. 0 -I/opt/ csw/lib/ glib-2. 0/include -m32 OFFSET_ BITS=64 prototypes -fno-strict- aliasing -fno-common to-defined -Wendif-labels -Wno-shift- negative- value include- dirs -Wempty-body -Wnested-externs qualifiers declaration -Wold-style- definition -Wtype-limits protector- strong -I/opt/csw/include -I/usr/ include/ libpng12 home/denber/ qemu-2. 12.0/capstone/ include home/denber/ qemu-2. 12.0/tests" LDFLAGS="-m32 -mv8plus -g " /export/ home/denber/ qemu-2. 12.0/build libfdt/libfdt.a home/denber/ qemu-2. 12.0/build/ dtc' home/denber/ qemu-2. 12.0/build/ dtc' home/denber/ qemu-2. 12.0/capstone CAPSTONE_SHARED=no "/export/ home/denber/ qemu-2. 12.0/build/ capstone" CC="gcc" csw/include/ pixman- 1 home/denber/ qemu-2. 12.0/dtc/ libfdt -D_REENTRANT -D_PTHREADS csw/include/ glib-2. 0 -I/opt/ csw/lib/ glib-2. 0/include -m32 OFFSET_ BITS=64 aliasing -fno-common -fwrapv protector- strong -I/opt/csw/include -I/usr/ include/ libpng12 home/denber/ qemu-2. 12.0/capstone/ include home/denber/ qemu-2. 12.0/tests -DCAPSTONE_ USE_SYS_ DYN_MEM HAS_ARM64 -DCAPSTONE_ HAS_POWERPC /export/ home/denber/ qemu-2. 12.0/build home/denber/ qemu-2. 12.0/build/ capstone/ libcapstone. a home/denber/ qemu-2. 12.0/capstone' home/denber/ qemu-2. 12.0/build/ capstone/ libcapstone. a' home/denber/ qemu-2. 12.0/capstone' /export/ home/denber/ qemu-2. 12.0/build -C x86_64-softmmu DIR="x86_ 64-softmmu/ " all home/denber/ qemu-2. 12.0/build/ x86_64- softmmu' home/denber/ qemu-2. 12.0/build/ x86_64- softmmu'
(cd /export/
else if test -d .git; then pkgvers=$(git describe --match 'v*'
2>/dev/null | tr -d '\n'); if ! git diff-index --quiet HEAD &>/dev/null;
then pkgvers=
QEMU_PKGVERSION \"${pkgvers}\"\n"; if test -n "${pkgvers}"; then printf
'#define QEMU_FULL_VERSION QEMU_VERSION " (" QEMU_PKGVERSION ")"\n';
else printf '#define QEMU_FULL_VERSION QEMU_VERSION\n'; fi; ) >
qemu-version.h.tmp
if ! cmp -s qemu-version.h qemu-version.h.tmp; then mv
qemu-version.h.tmp qemu-version.h; else rm qemu-version.h.tmp; fi
mkdir -p dtc/libfdt
mkdir -p dtc/tests
gmake -I/export/
VPATH=/
LIBFDT_
CPPFLAGS=
-I/export/
-I/export/
-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -g -I/opt/
-I/export/
-I/opt/
-mv8plus -mcpu=ultrasparc -std=gnu99 -D__EXTENSIONS__
-D_XOPEN_SOURCE=600 -D_GNU_SOURCE -D_FILE_
-D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef
-Wwrite-strings -Wmissing-
-fwrapv -Wexpansion-
-Wno-missing-
-Wformat-security -Wformat-y2k -Winit-self -Wignored-
-Wold-style-
-fstack-
-I/export/
-I/export/
ARFLAGS="rv" CC="gcc" AR="ar" LD="ld"
BUILD_DIR=
gmake[1]: Entering directory '/export/
gmake[1]: 'libfdt/libfdt.a' is up to date.
gmake[1]: Leaving directory '/export/
gmake -C /export/
BUILDDIR=
AR="ar" LD="ld" RANLIB="ranlib" CFLAGS="-O2 -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=2 -g -I/opt/
-I/export/
-I/opt/
-mv8plus -mcpu=ultrasparc -std=gnu99 -D__EXTENSIONS__
-D_XOPEN_SOURCE=600 -D_GNU_SOURCE -D_FILE_
-D_LARGEFILE_SOURCE -fno-strict-
-fstack-
-I/export/
-I/export/
-DCAPSTONE_HAS_ARM -DCAPSTONE_
-DCAPSTONE_HAS_X86" BUILD_DIR=
/export/
gmake[1]: Entering directory '/export/
gmake[1]: '/export/
is up to date.
gmake[1]: Leaving directory '/export/
gmake BUILD_DIR=
V="1" TARGET_
gmake[1]: Entering directory
'/export/
gmake[1]: Leaving directory
'/export/
#
I even did a gmake clean and then gmake again. No change - no errors
and no executable. ???
- Michele