Re: [SeaBIOS] [PATCH v5 0/4] support booting more than 255 CPUs with QEMU

2016-10-25 Thread Kevin O'Connor
On Tue, Oct 25, 2016 at 12:44:35PM +0200, Igor Mammedov wrote: > On Tue, 18 Oct 2016 19:13:29 -0400 > "Kevin O'Connor" wrote: > > > On Thu, Oct 13, 2016 at 02:38:24PM +0200, Igor Mammedov wrote: > > [...] > > > According to SDM, if CPUs have APIC ID more than 254 > > >

Re: [SeaBIOS] [PATCH] build: Be sure to also include out/*.d in Makefile

2016-10-25 Thread Kevin O'Connor
On Fri, Oct 21, 2016 at 12:06:28PM -0400, Kevin O'Connor wrote: > Signed-off-by: Kevin O'Connor > --- > Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Makefile b/Makefile > index 41bfcf4..1916ecf 100644 > --- a/Makefile > +++ b/Makefile >

Re: [SeaBIOS] [PATCH v5 0/4] support booting more than 255 CPUs with QEMU

2016-10-25 Thread Igor Mammedov
On Tue, 18 Oct 2016 19:13:29 -0400 "Kevin O'Connor" wrote: > On Thu, Oct 13, 2016 at 02:38:24PM +0200, Igor Mammedov wrote: > [...] > > According to SDM, if CPUs have APIC ID more than 254 > > firmware should pass control to OS in x2APIC mode. > > This series adds x2APIC

Re: [SeaBIOS] [PATCH] Makefile: Explicitly pass `no-pic` to compiler

2016-10-25 Thread Paul Menzel
Dear Kevin, On 10/25/16 17:27, Paul Menzel wrote: On 10/25/16 17:21, Kevin O'Connor wrote: On Sun, Oct 23, 2016 at 08:57:28PM +0200, Paul Menzel wrote: Date: Sun, 23 Oct 2016 18:56:28 +0200 Debian enables PIE hardening flags by default since package gcc-6 6.2.0-7 [1]. With that change,

Re: [SeaBIOS] [PATCH] Makefile: Explicitly pass `no-pic` to compiler

2016-10-25 Thread Paul Menzel
Dear Kevin, On 10/25/16 18:14, Kevin O'Connor wrote: On Tue, Oct 25, 2016 at 06:08:08PM +0200, Paul Menzel wrote: On 10/25/16 17:27, Paul Menzel wrote: On 10/25/16 17:21, Kevin O'Connor wrote: Does adding '-fno-pie' help? Isn’t that already used due to `COMMONCFLAGS += $(call

Re: [SeaBIOS] [PATCH] Makefile: Explicitly pass `no-pic` to compiler

2016-10-25 Thread Kevin O'Connor
On Tue, Oct 25, 2016 at 06:08:08PM +0200, Paul Menzel wrote: > On 10/25/16 17:27, Paul Menzel wrote: > > On 10/25/16 17:21, Kevin O'Connor wrote: > > > Does adding '-fno-pie' help? > > > > Isn’t that already used due to `COMMONCFLAGS += $(call > > cc-option,$(CC),-nopie,)` in the `Makefile`? > >

Re: [SeaBIOS] [PATCH] Makefile: Explicitly pass `no-pic` to compiler

2016-10-25 Thread Paul Menzel
Dear Kevin, On 10/25/16 17:21, Kevin O'Connor wrote: On Sun, Oct 23, 2016 at 08:57:28PM +0200, Paul Menzel wrote: Date: Sun, 23 Oct 2016 18:56:28 +0200 Debian enables PIE hardening flags by default since package gcc-6 6.2.0-7 [1]. With that change, SeaBIOS fails to build with the error

Re: [SeaBIOS] [PATCH] Makefile: Explicitly pass `no-pic` to compiler

2016-10-25 Thread Kevin O'Connor
On Sun, Oct 23, 2016 at 08:57:28PM +0200, Paul Menzel wrote: > Date: Sun, 23 Oct 2016 18:56:28 +0200 > > Debian enables PIE hardening flags by default since package gcc-6 > 6.2.0-7 [1]. > > With that change, SeaBIOS fails to build with the error below [2][3]. > > ``` > $ make > Build Kconfig

Re: [SeaBIOS] [PATCH] Makefile: Explicitly pass `no-pic` to compiler

2016-10-25 Thread Michael Tokarev
25.10.2016 19:14, Kevin O'Connor wrote: > On Tue, Oct 25, 2016 at 06:08:08PM +0200, Paul Menzel wrote: > > Does the patch below work? > index 1916ecf..3b94ee0 100644 > --- a/Makefile > +++ b/Makefile > @@ -63,6 +63,7 @@ COMMONCFLAGS := -I$(OUT) -Isrc -Os -MD -g \ > -freg-struct-return

Re: [SeaBIOS] [PATCH] Makefile: Explicitly pass `no-pic` to compiler

2016-10-25 Thread Kevin O'Connor
On Tue, Oct 25, 2016 at 08:04:34PM +0300, Michael Tokarev wrote: > 25.10.2016 19:14, Kevin O'Connor wrote: > > On Tue, Oct 25, 2016 at 06:08:08PM +0200, Paul Menzel wrote: > > > > Does the patch below work? > > > index 1916ecf..3b94ee0 100644 > > --- a/Makefile > > +++ b/Makefile > > @@ -63,6

Re: [SeaBIOS] [PATCH] Makefile: Explicitly pass `no-pic` to compiler

2016-10-25 Thread Kevin O'Connor
On Tue, Oct 25, 2016 at 06:20:46PM +0200, Paul Menzel wrote: > On 10/25/16 18:14, Kevin O'Connor wrote: > > On Tue, Oct 25, 2016 at 06:08:08PM +0200, Paul Menzel wrote: > > > On 10/25/16 17:27, Paul Menzel wrote: > > > > On 10/25/16 17:21, Kevin O'Connor wrote: > > > > > Does adding '-fno-pie'