All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alex Bennée" <alex.bennee@linaro.org>
To: kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	kvmarm@lists.cs.columbia.edu, christoffer.dall@linaro.org,
	marc.zyngier@arm.com
Cc: qemu-devel@nongnu.org, mttcg@listserver.greensocs.com,
	fred.konrad@greensocs.com, a.rigo@virtualopensystems.com,
	cota@braap.org, bobby.prani@gmail.com, nikunj@linux.vnet.ibm.com,
	mark.burton@greensocs.com, pbonzini@redhat.com,
	jan.kiszka@siemens.com, serge.fdrv@gmail.com, rth@twiddle.net,
	peter.maydell@linaro.org, claudio.fontana@huawei.com,
	"Alex Bennée" <alex.bennee@linaro.org>
Subject: [kvm-unit-tests PATCH v7 06/11] arm/Makefile.common: force -fno-pic
Date: Thu, 24 Nov 2016 16:10:28 +0000	[thread overview]
Message-ID: <20161124161033.11456-7-alex.bennee@linaro.org> (raw)
In-Reply-To: <20161124161033.11456-1-alex.bennee@linaro.org>

As distro compilers move towards defaults for build hardening for things
like ASLR we need to force -fno-pic. Failure to do can lead to weird
relocation problems when we build our "lat" binaries.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
 arm/Makefile.common | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arm/Makefile.common b/arm/Makefile.common
index 52f7440..cca0d9c 100644
--- a/arm/Makefile.common
+++ b/arm/Makefile.common
@@ -21,6 +21,7 @@ phys_base = $(LOADADDR)
 
 CFLAGS += -std=gnu99
 CFLAGS += -ffreestanding
+CFLAGS += -fno-pic
 CFLAGS += -Wextra
 CFLAGS += -O2
 CFLAGS += -I lib -I lib/libfdt
-- 
2.10.1


WARNING: multiple messages have this Message-ID (diff)
From: "Alex Bennée" <alex.bennee@linaro.org>
To: kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	kvmarm@lists.cs.columbia.edu, christoffer.dall@linaro.org,
	marc.zyngier@arm.com
Cc: qemu-devel@nongnu.org, mttcg@listserver.greensocs.com,
	fred.konrad@greensocs.com, a.rigo@virtualopensystems.com,
	cota@braap.org, bobby.prani@gmail.com, nikunj@linux.vnet.ibm.com,
	mark.burton@greensocs.com, pbonzini@redhat.com,
	jan.kiszka@siemens.com, serge.fdrv@gmail.com, rth@twiddle.net,
	peter.maydell@linaro.org, claudio.fontana@huawei.com,
	"Alex Bennée" <alex.bennee@linaro.org>
Subject: [Qemu-devel] [kvm-unit-tests PATCH v7 06/11] arm/Makefile.common: force -fno-pic
Date: Thu, 24 Nov 2016 16:10:28 +0000	[thread overview]
Message-ID: <20161124161033.11456-7-alex.bennee@linaro.org> (raw)
In-Reply-To: <20161124161033.11456-1-alex.bennee@linaro.org>

As distro compilers move towards defaults for build hardening for things
like ASLR we need to force -fno-pic. Failure to do can lead to weird
relocation problems when we build our "lat" binaries.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
 arm/Makefile.common | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arm/Makefile.common b/arm/Makefile.common
index 52f7440..cca0d9c 100644
--- a/arm/Makefile.common
+++ b/arm/Makefile.common
@@ -21,6 +21,7 @@ phys_base = $(LOADADDR)
 
 CFLAGS += -std=gnu99
 CFLAGS += -ffreestanding
+CFLAGS += -fno-pic
 CFLAGS += -Wextra
 CFLAGS += -O2
 CFLAGS += -I lib -I lib/libfdt
-- 
2.10.1

WARNING: multiple messages have this Message-ID (diff)
From: alex.bennee@linaro.org (Alex Bennée)
To: linux-arm-kernel@lists.infradead.org
Subject: [kvm-unit-tests PATCH v7 06/11] arm/Makefile.common: force -fno-pic
Date: Thu, 24 Nov 2016 16:10:28 +0000	[thread overview]
Message-ID: <20161124161033.11456-7-alex.bennee@linaro.org> (raw)
In-Reply-To: <20161124161033.11456-1-alex.bennee@linaro.org>

As distro compilers move towards defaults for build hardening for things
like ASLR we need to force -fno-pic. Failure to do can lead to weird
relocation problems when we build our "lat" binaries.

Signed-off-by: Alex Benn?e <alex.bennee@linaro.org>
---
 arm/Makefile.common | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arm/Makefile.common b/arm/Makefile.common
index 52f7440..cca0d9c 100644
--- a/arm/Makefile.common
+++ b/arm/Makefile.common
@@ -21,6 +21,7 @@ phys_base = $(LOADADDR)
 
 CFLAGS += -std=gnu99
 CFLAGS += -ffreestanding
+CFLAGS += -fno-pic
 CFLAGS += -Wextra
 CFLAGS += -O2
 CFLAGS += -I lib -I lib/libfdt
-- 
2.10.1

  parent reply	other threads:[~2016-11-24 16:11 UTC|newest]

Thread overview: 93+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-24 16:10 [kvm-unit-tests PATCH v7 00/11] QEMU MTTCG Test cases Alex Bennée
2016-11-24 16:10 ` Alex Bennée
2016-11-24 16:10 ` [Qemu-devel] " Alex Bennée
2016-11-24 16:10 ` [kvm-unit-tests PATCH v7 01/11] run_tests: allow forcing of acceleration mode Alex Bennée
2016-11-24 16:10   ` Alex Bennée
2016-11-24 16:10   ` [Qemu-devel] " Alex Bennée
2016-11-28  8:51   ` Andrew Jones
2016-11-28  8:51     ` Andrew Jones
2016-11-28  8:51     ` [Qemu-devel] " Andrew Jones
2016-11-24 16:10 ` [kvm-unit-tests PATCH v7 02/11] run_tests: allow disabling of timeouts Alex Bennée
2016-11-24 16:10   ` Alex Bennée
2016-11-24 16:10   ` [Qemu-devel] " Alex Bennée
2016-11-28  9:00   ` Andrew Jones
2016-11-28  9:00     ` Andrew Jones
2016-11-28  9:00     ` [Qemu-devel] " Andrew Jones
2016-11-24 16:10 ` [kvm-unit-tests PATCH v7 03/11] run_tests: allow passing of options to QEMU Alex Bennée
2016-11-24 16:10   ` Alex Bennée
2016-11-24 16:10   ` [Qemu-devel] " Alex Bennée
2016-11-28  9:10   ` Andrew Jones
2016-11-28  9:10     ` Andrew Jones
2016-11-28 11:22     ` Alex Bennée
2016-11-28 11:22       ` Alex Bennée
2016-11-28 11:22       ` Alex Bennée
2016-11-24 16:10 ` [kvm-unit-tests PATCH v7 04/11] libcflat: add PRI(dux)32 format types Alex Bennée
2016-11-24 16:10   ` Alex Bennée
2016-11-24 16:10   ` [Qemu-devel] " Alex Bennée
2016-11-28  9:18   ` Andrew Jones
2016-11-28  9:18     ` Andrew Jones
2016-11-28  9:18     ` [Qemu-devel] " Andrew Jones
2017-01-10 15:23   ` Alex Bennée
2017-01-10 15:23     ` Alex Bennée
2017-01-10 15:23     ` [Qemu-devel] " Alex Bennée
2017-01-10 15:29     ` Alex Bennée
2017-01-10 15:29       ` Alex Bennée
2017-01-10 15:29       ` [Qemu-devel] " Alex Bennée
2016-11-24 16:10 ` [kvm-unit-tests PATCH v7 05/11] lib: add isaac prng library from CCAN Alex Bennée
2016-11-24 16:10   ` Alex Bennée
2016-11-24 16:10   ` [Qemu-devel] " Alex Bennée
2016-11-24 16:10 ` Alex Bennée [this message]
2016-11-24 16:10   ` [kvm-unit-tests PATCH v7 06/11] arm/Makefile.common: force -fno-pic Alex Bennée
2016-11-24 16:10   ` [Qemu-devel] " Alex Bennée
2016-11-28  9:33   ` Andrew Jones
2016-11-28  9:33     ` Andrew Jones
2016-11-24 16:10 ` [kvm-unit-tests PATCH v7 07/11] arm/tlbflush-code: Add TLB flush during code execution test Alex Bennée
2016-11-24 16:10   ` Alex Bennée
2016-11-24 16:10   ` [Qemu-devel] " Alex Bennée
2016-11-28  9:42   ` Andrew Jones
2016-11-28  9:42     ` Andrew Jones
2016-11-28  9:42     ` [Qemu-devel] " Andrew Jones
2016-11-24 16:10 ` [kvm-unit-tests PATCH v7 08/11] arm/tlbflush-data: Add TLB flush during data writes test Alex Bennée
2016-11-24 16:10   ` Alex Bennée
2016-11-24 16:10   ` [Qemu-devel] " Alex Bennée
2016-11-28 10:11   ` Andrew Jones
2016-11-28 10:11     ` Andrew Jones
2016-11-28 10:11     ` [Qemu-devel] " Andrew Jones
2016-11-24 16:10 ` [kvm-unit-tests PATCH v7 09/11] arm/locking-tests: add comprehensive locking test Alex Bennée
2016-11-24 16:10   ` Alex Bennée
2016-11-24 16:10   ` [Qemu-devel] " Alex Bennée
2016-11-28 10:29   ` Andrew Jones
2016-11-28 10:29     ` Andrew Jones
2016-11-28 10:29     ` [Qemu-devel] " Andrew Jones
2016-11-24 16:10 ` [kvm-unit-tests PATCH v7 10/11] arm/barrier-litmus-tests: add simple mp and sal litmus tests Alex Bennée
2016-11-24 16:10   ` Alex Bennée
2016-11-24 16:10   ` [Qemu-devel] " Alex Bennée
2016-11-24 16:10 ` [kvm-unit-tests PATCH v7 11/11] arm/tcg-test: some basic TCG exercising tests Alex Bennée
2016-11-24 16:10   ` Alex Bennée
2016-11-24 16:10   ` [Qemu-devel] " Alex Bennée
2016-11-28 10:37 ` [Qemu-devel] [kvm-unit-tests PATCH v7 00/11] QEMU MTTCG Test cases Andrew Jones
2016-11-28 10:37   ` Andrew Jones
2016-11-28 10:37   ` Andrew Jones
2016-11-28 11:12   ` Alex Bennée
2016-11-28 11:12     ` Alex Bennée
2016-11-28 11:14     ` Peter Maydell
2016-11-28 11:14       ` Peter Maydell
2016-11-28 11:14       ` Peter Maydell
2016-11-28 11:58       ` Andrew Jones
2016-11-28 11:58         ` Andrew Jones
2016-11-28 11:58         ` Andrew Jones
2016-11-28 13:30         ` Peter Maydell
2016-11-28 13:30           ` Peter Maydell
2016-11-28 13:30           ` Peter Maydell
2016-11-28 14:04           ` Andrew Jones
2016-11-28 14:04             ` Andrew Jones
2016-11-28 14:04             ` Andrew Jones
2016-11-28 14:07             ` Andrew Jones
2016-11-28 14:07               ` Andrew Jones
2016-11-28 14:07               ` Andrew Jones
2016-11-28 14:09               ` Peter Maydell
2016-11-28 14:09                 ` Peter Maydell
2016-11-28 14:09                 ` Peter Maydell
2016-11-28 10:51 ` Andrew Jones
2016-11-28 10:51   ` Andrew Jones
2016-11-28 10:51   ` Andrew Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161124161033.11456-7-alex.bennee@linaro.org \
    --to=alex.bennee@linaro.org \
    --cc=a.rigo@virtualopensystems.com \
    --cc=bobby.prani@gmail.com \
    --cc=christoffer.dall@linaro.org \
    --cc=claudio.fontana@huawei.com \
    --cc=cota@braap.org \
    --cc=fred.konrad@greensocs.com \
    --cc=jan.kiszka@siemens.com \
    --cc=kvm@vger.kernel.org \
    --cc=kvmarm@lists.cs.columbia.edu \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=marc.zyngier@arm.com \
    --cc=mark.burton@greensocs.com \
    --cc=mttcg@listserver.greensocs.com \
    --cc=nikunj@linux.vnet.ibm.com \
    --cc=pbonzini@redhat.com \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    --cc=rth@twiddle.net \
    --cc=serge.fdrv@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.