[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Problems encountered while building qemu-0.6.1
From: |
Peter S. Mazinger |
Subject: |
[Qemu-devel] Problems encountered while building qemu-0.6.1 |
Date: |
Sun, 20 Feb 2005 15:59:47 +0100 (CET) |
Hello!
1. CFLAGS/LDFLAGS from config-host.mak are overwritten/ignored
2. VL_LDFLAGS/OP_CFLAGS should also "inherit" from config-host.mak
3. Trying to build qemu in an environment, where gcc defaults to -fPIC
fails building op.o/osdep.o/helper.o.
If I disable -fPIC on the complete build, the resulting qemu-* files
contain text relocations (readelf -d <file>). Due to the fact that they
are like shared libs, the text relocs should not be present.
4. The files qemu-* (user and sofmmu) are created w/ LDFLAGS=-Wl,-shared
creting ET_DYN/PIE executables. gcc-3.4 and binutils-2.15 support gcc
-pie/ld -pie, this can be checked by gcc -fpie and ld --help | grep pie
5. building qemu w/ a propolice/ssp patched gcc, op.o creation fails if
-fstack-protector-all is enabled.
Please CC to me, I am not subscribed, thanks.
Peter
--
Peter S. Mazinger <ps dot m at gmx dot net> ID: 0xA5F059F2
Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2
- [Qemu-devel] Problems encountered while building qemu-0.6.1,
Peter S. Mazinger <=