Re: [ipxe-devel] [RFC] [gdb] fix compilation error with gcc 9.2

2019-09-11 Thread Christian Ehrhardt
On Tue, Sep 10, 2019 at 12:10 PM Christian Ehrhardt wrote: > > When building the x86_64 gdbidt with newer gcc it fails recognizing > the segment registers FS/GS being too short for pushq/popq. > arch/x86_64/core/gdbidt.S:109: Error: operand type mismatch for `push' > arch/x86_6

[ipxe-devel] [RFC] [gdb] fix compilation error with gcc 9.2

2019-09-10 Thread Christian Ehrhardt
+git-20190109.133f4c4-0ubuntu2_BUILDING.txt.gz - Ubuntu bug https://bugs.launchpad.net/ubuntu/+source/ipxe/+bug/1843394 Signed-off-by: Christian Ehrhardt --- src/arch/x86_64/core/gdbidt.S | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/arch/x86_64/core

Re: [ipxe-devel] [RFC] [gdb] fix compilation error with gcc 9.2

2019-09-19 Thread Christian Ehrhardt
feel reassured. [1]: https://sourceware.org/bugzilla/show_bug.cgi?id=25012 [2]: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=21df382b91de64749e977f185c4e10a5b838 On Wed, Sep 11, 2019 at 9:15 AM Christian Ehrhardt wrote: > > On Tue, Sep 10, 2019 at 12:10 PM C

[ipxe-devel] [PATCH v2] [gdb] fix compilation error with new gnu as

2019-09-19 Thread Christian Ehrhardt
switch to push/pop to match the old opcodes we already had, but get the build to work again with new gnu as. [1]: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=21df382b91de64749e977f185c4e10a5b838 Signed-off-by: Christian Ehrhardt --- src/arch/x86_64/core/gdbidt.S | 8