Re: [libvirt] [PATCH 1/4] pie: add Position-Independent-Executable flag

2014-03-25 Thread Wojciech Macek
Ok, it seems I isolated the problem. The linking error shows up only on FreeBSD with gcc toolchain installed, because it does not support pie. With clang everything is fine. There is an issue with detection mechanism. Currently, it is done in configure script with: gcc -std=gnu99 -o conftest

[libvirt] [PATCH 1/4] pie: add Position-Independent-Executable flag

2014-03-20 Thread Wojciech Macek
Add possibility to choose whether the code is compiled with PIE or without. New configuration flags: --enable-pie (default) --disable-pie --- configure.ac | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 62b74c5..96a7038 100644

Re: [libvirt] [PATCH 1/4] pie: add Position-Independent-Executable flag

2014-03-20 Thread Daniel P. Berrange
On Thu, Mar 20, 2014 at 09:39:20AM +0100, Wojciech Macek wrote: Add possibility to choose whether the code is compiled with PIE or without. New configuration flags: --enable-pie (default) --disable-pie --- configure.ac | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-)