[Bug 565] New: qemu-neo1973 fails to build under gentoo and gcc-3.4.6
bugzilla-daemon at bugzilla.openmoko.org
bugzilla-daemon at bugzilla.openmoko.org
Wed May 16 18:19:35 CEST 2007
http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=565
Summary: qemu-neo1973 fails to build under gentoo and gcc-3.4.6
Product: OpenMoko
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: qemu-neo1973
AssignedTo: dodji at openedhand.com
ReportedBy: jisakiel at yahoo.es
CC: buglog at lists.openmoko.org
Qemu fails to build in my gentoo box. I have updated with mokomakefile (make
update) a few hours ago, though it didn't work before neither. mokomakefile is
modified to add -cc=gc-3.4.6 in the "setup-qemu" section, and the temporary
build wiped out to assure the .configure regenerates well (in fact, now it
compiles; before, it was trying to compile with the default gcc-4.1.1 and the
register allocation failed, as someone said in the wiki talk pages).
So: rm -rf /home/jisakiel/moko/build/qemu
make clean-package-qemu && make qemu:
( source ./setup-env ; cd build ; bitbake -c clean qemu )
NOTE: Using cache in '/home/jisakiel/moko/build/tmp/cache/fic-gta01'
NOTE: Handling BitBake files: / (4336/4336) [100 %]
NOTE: Parsing finished. 4152 cached, 0 parsed, 184 skipped, 0 masked.
NOTE: build 200705161809: started
OE Build Configuration:
BB_VERSION = "1.6.7"
OE_REVISION = "<unknown>"
TARGET_ARCH = "arm"
TARGET_OS = "linux"
MACHINE = "fic-gta01"
DISTRO = "openmoko"
DISTRO_VERSION = ".dev-snapshot-20070516"
TARGET_FPU = "soft"
NOTE: package qemu-0.8.2+cvs20060814: started
NOTE: package qemu-0.8.2+cvs20060814-r1: task do_clean: started
NOTE: removing
/home/jisakiel/moko/build/tmp/work/armv4t-linux/qemu-0.8.2+cvs20060814-r1
NOTE: removing
/home/jisakiel/moko/build/tmp/stamps/armv4t-linux/qemu-0.8.2+cvs20060814-r1.*
NOTE: package qemu-0.8.2+cvs20060814-r1: task do_clean: completed
NOTE: package qemu-0.8.2+cvs20060814: completed
NOTE: build 200705161809: completed
Build statistics:
Attempted builds: 1
[ -e build/qemu ] || \
( cd build ; mkdir -p qemu )
[ -e build/qemu/Makefile ] || \
( . ./setup-env ; cd build/qemu ; \
${OMDIR}/openmoko/trunk/src/host/qemu-neo1973/configure \
--target-list=arm-softmmu --cc=gcc-3.4.6)
Install prefix /usr/local
BIOS directory /usr/local/share/qemu
binary directory /usr/local/bin
Manual directory /usr/local/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path /home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973
C compiler gcc-3.4.6
Host C compiler gcc
make make
install install
host CPU i386
host big endian no
target list arm-softmmu
gprof enabled no
profiler no
static build no
SDL support yes
SDL static link yes
mingw32 support no
Adlib support no
CoreAudio support no
ALSA support no
DSound support no
FMOD support no
kqemu support yes
Documentation yes
[ -e build/qemu/openmoko ] || \
( . ./setup-env ; cd build/qemu ; mkdir openmoko ; \
for f in ${OMDIR}/openmoko/trunk/src/host/qemu-neo1973/openmoko/* ; do \
ln -s $f openmoko/`basename $f` ; \
done )
[ -d stamps ] || mkdir stamps
touch stamps/qemu
( cd build/qemu ; make )
make[1]: Entering directory `/home/jisakiel/moko/build/qemu'
gcc-3.4.6 -DQEMU_TOOL -Wall -O2 -g -fno-strict-aliasing -I. -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -g -o qemu-img
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/qemu-img.c
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/cutils.c
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/block.c
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/block-raw.c
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/block-cow.c
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/block-qcow.c
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/aes.c
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/block-vmdk.c
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/block-cloop.c
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/block-dmg.c
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/block-bochs.c
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/block-vpc.c
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/block-vvfat.c
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/block-qcow2.c -lz -lrt
gcc-3.4.6 -Draw2flash -Wall -O2 -g -fno-strict-aliasing -g -o raw2flash
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/raw2flash.c
for m in spitz akita borzoi terrier neo; do \
[ -e raw2flash.$m ] || \
ln -s raw2flash raw2flash.$m ; \
done
gcc-3.4.6 -Dflash2raw -Wall -O2 -g -fno-strict-aliasing -g -o flash2raw
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/raw2flash.c
for m in spitz akita borzoi terrier neo; do \
[ -e flash2raw.$m ] || \
ln -s flash2raw flash2raw.$m ; \
done
texi2html -monolithic -number
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/qemu-doc.texi
texi2html -monolithic -number
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/qemu-tech.texi
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/texi2pod.pl
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/qemu-doc.texi qemu.pod
pod2man --section=1 --center=" " --release=" " qemu.pod > qemu.1
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/texi2pod.pl
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/qemu-img.texi qemu-img.pod
pod2man --section=1 --center=" " --release=" " qemu-img.pod > qemu-img.1
gcc -Wall -O2 -g -fno-strict-aliasing -I. -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -o dyngen
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/dyngen.c
make -C arm-softmmu all
make[2]: Entering directory `/home/jisakiel/moko/build/qemu/arm-softmmu'
gcc-3.4.6 -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/target-arm
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/fpu -DHAS_AUDIO
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/slirp -c -o vl.o
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/vl.c
gcc-3.4.6 -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/target-arm
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/fpu -DHAS_AUDIO
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/slirp -c -o
osdep.o /home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/osdep.c
gcc-3.4.6 -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/target-arm
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/fpu -DHAS_AUDIO
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/slirp -c -o
readline.o /home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/readline.c
gcc-3.4.6 -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/target-arm
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/fpu -DHAS_AUDIO
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/slirp -c -o
monitor.o /home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/monitor.c
gcc-3.4.6 -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/target-arm
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/fpu -DHAS_AUDIO
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/slirp -c -o pci.o
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/hw/pci.c
gcc-3.4.6 -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/target-arm
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/fpu -DHAS_AUDIO
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/slirp -c -o
console.o /home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/console.c
gcc-3.4.6 -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/target-arm
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/fpu -DHAS_AUDIO
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/slirp -c -o
loader.o /home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/loader.c
gcc-3.4.6 -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/target-arm
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/fpu -DHAS_AUDIO
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/slirp -c -o
isa_mmio.o /home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/hw/isa_mmio.c
gcc-3.4.6 -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/target-arm
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/fpu -DHAS_AUDIO
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/slirp -c -o
cutils.o /home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/cutils.c
gcc-3.4.6 -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/target-arm
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/fpu -DHAS_AUDIO
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/slirp -c -o
block.o /home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/block.c
gcc-3.4.6 -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/target-arm
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/fpu -DHAS_AUDIO
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/slirp -c -o
block-raw.o /home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/block-raw.c
gcc-3.4.6 -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/target-arm
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/fpu -DHAS_AUDIO
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/slirp -c -o
block-cow.o /home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/block-cow.c
gcc-3.4.6 -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/target-arm
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/fpu -DHAS_AUDIO
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/slirp -c -o
block-qcow.o /home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/block-qcow.c
gcc-3.4.6 -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/target-arm
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/fpu -DHAS_AUDIO
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/slirp -c -o aes.o
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/aes.c
gcc-3.4.6 -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/target-arm
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/fpu -DHAS_AUDIO
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/slirp -c -o
block-vmdk.o /home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/block-vmdk.c
gcc-3.4.6 -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/target-arm
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/fpu -DHAS_AUDIO
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/slirp -c -o
block-cloop.o /home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/block-cloop.c
gcc-3.4.6 -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/target-arm
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/fpu -DHAS_AUDIO
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/slirp -c -o
block-dmg.o /home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/block-dmg.c
gcc-3.4.6 -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/target-arm
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/fpu -DHAS_AUDIO
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/slirp -c -o
block-bochs.o /home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/block-bochs.c
gcc-3.4.6 -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/target-arm
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/fpu -DHAS_AUDIO
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/slirp -c -o
block-vpc.o /home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/block-vpc.c
gcc-3.4.6 -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/target-arm
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/fpu -DHAS_AUDIO
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/slirp -c -o
block-vvfat.o /home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/block-vvfat.c
gcc-3.4.6 -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/target-arm
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/fpu -DHAS_AUDIO
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/slirp -c -o
block-qcow2.o /home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/block-qcow2.c
gcc-3.4.6 -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/target-arm
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/fpu -DHAS_AUDIO
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/slirp -c -o irq.o
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/hw/irq.c
gcc-3.4.6 -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/target-arm
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/fpu -DHAS_AUDIO
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/slirp -c -o i2c.o
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/hw/i2c.c
gcc-3.4.6 -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/target-arm
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/fpu -DHAS_AUDIO
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/slirp -c -o
smbus.o /home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/hw/smbus.c
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/hw/smbus.c: In function
`smbus_do_write':
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/hw/smbus.c:45: warning:
unused variable `p'
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/hw/smbus.c:46: warning:
unused variable `len'
gcc-3.4.6 -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/target-arm
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/fpu -DHAS_AUDIO
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/slirp -c -o
scsi-disk.o /home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/hw/scsi-disk.c
gcc-3.4.6 -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/target-arm
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/fpu -DHAS_AUDIO
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/slirp -c -o
cdrom.o /home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/hw/cdrom.c
gcc-3.4.6 -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/target-arm
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/fpu -DHAS_AUDIO
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/slirp -c -o
lsi53c895a.o
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/hw/lsi53c895a.c
gcc-3.4.6 -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/target-arm
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/fpu -DHAS_AUDIO
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/slirp -c -o usb.o
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/hw/usb.c
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/hw/usb.c: In function
`get_usb_string':
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/hw/usb.c:200: warning:
assignment discards qualifiers from pointer target type
gcc-3.4.6 -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/target-arm
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/fpu -DHAS_AUDIO
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/slirp -c -o
usb-hub.o /home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/hw/usb-hub.c
gcc-3.4.6 -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/target-arm
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/fpu -DHAS_AUDIO
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/slirp -c -o
usb-linux.o /home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/usb-linux.c
gcc-3.4.6 -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/target-arm
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/fpu -DHAS_AUDIO
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/slirp -c -o
usb-hid.o /home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/hw/usb-hid.c
gcc-3.4.6 -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/target-arm
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/fpu -DHAS_AUDIO
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/slirp -c -o
usb-ohci.o /home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/hw/usb-ohci.c
gcc-3.4.6 -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/target-arm
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/fpu -DHAS_AUDIO
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/slirp -c -o
usb-msd.o /home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/hw/usb-msd.c
gcc-3.4.6 -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/target-arm
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/fpu -DHAS_AUDIO
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/slirp -c -o
usb-net.o /home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/hw/usb-net.c
gcc-3.4.6 -Wall -O2 -g -fno-strict-aliasing -I. -I..
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/target-arm
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/fpu -DHAS_AUDIO
-I/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/slirp -c -o
usb-linux-gadget.o
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/usb-linux-gadget.c
In file included from /usr/include/stdlib.h:438,
from
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/vl.h:28,
from
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/usb-linux-gadget.c:30:
/usr/include/sys/types.h:52: error: conflicting types for 'ino_t'
/usr/include/linux/types.h:30: error: previous declaration of 'ino_t' was here
/usr/include/sys/types.h:62: error: conflicting types for 'dev_t'
/usr/include/linux/types.h:27: error: previous declaration of 'dev_t' was here
/usr/include/sys/types.h:72: error: conflicting types for 'mode_t'
/usr/include/linux/types.h:33: error: previous declaration of 'mode_t' was here
/usr/include/sys/types.h:77: error: conflicting types for 'nlink_t'
/usr/include/linux/types.h:36: error: previous declaration of 'nlink_t' was here
/usr/include/sys/types.h:90: error: conflicting types for 'off_t'
/usr/include/linux/types.h:39: error: previous declaration of 'off_t' was here
In file included from /usr/include/sys/types.h:133,
from /usr/include/stdlib.h:438,
from
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/vl.h:28,
from
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/usb-linux-gadget.c:30:
/usr/include/time.h:105: error: conflicting types for 'timer_t'
/usr/include/linux/types.h:45: error: previous declaration of 'timer_t' was here
In file included from /usr/include/sys/types.h:220,
from /usr/include/stdlib.h:438,
from
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/vl.h:28,
from
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/usb-linux-gadget.c:30:
/usr/include/sys/select.h:78: error: conflicting types for 'fd_set'
/usr/include/linux/types.h:24: error: previous declaration of 'fd_set' was here
In file included from /usr/include/stdlib.h:438,
from
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/vl.h:28,
from
/home/jisakiel/moko/openmoko/trunk/src/host/qemu-neo1973/usb-linux-gadget.c:30:
/usr/include/sys/types.h:248: error: conflicting types for 'blkcnt_t'
/usr/include/linux/types.h:158: error: previous declaration of 'blkcnt_t' was here
make[2]: *** [usb-linux-gadget.o] Error 1
make[2]: Leaving directory `/home/jisakiel/moko/build/qemu/arm-softmmu'
make[1]: *** [subdir-arm-softmmu] Error 2
make[1]: Leaving directory `/home/jisakiel/moko/build/qemu'
make: *** [build-qemu] Error 2
My educate guess at the error is that *somewhere* both types.h from my glibc and
from my linux headers are being included simultaneously, and that doesnt work at
all in a gentoo box (but it seems to work in some debian boxes, as I discovered
lately when I tried to compile some code with both include sys/mman.h and
linux/mman.h, not mine).I haven't started digging deeper, however, as I lack (by
now) the time.
My gentoo system is based on kernel 2.6.21-suspend2 with glibc-2.5-r2 and
2.6.17-r2 headers. Gcc by default is 4.1.2, but the one I am using is gcc-3.4.6
(Gentoo 3.4.6-r2, ssp-3.4.6-1.0, pie-8.7.10 from gcc-3.4.6 --version).
If I can help any other way fixing it... just tell me (as I want to try the qemu
images!)
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the buglog
mailing list