[SeaBIOS] Re: recent ld built for x86_64 fails to accept 16bit code as input (seabios build)

2020-07-09 Thread Andreas Schwab
On Jul 09 2020, Kevin O'Connor wrote: > The proposed approach is to use a combination of printf and dd to > binary modify the intermediate object file so as to clear the (now > banned) linker flag. I did feel, and continue to feel, this is an > ugly hack that is fragile. The easiest way to link

[SeaBIOS] Re: recent ld built for x86_64 fails to accept 16bit code as input (seabios build)

2020-07-09 Thread H.J. Lu
On Thu, Jul 9, 2020 at 7:40 AM Michael Tokarev wrote: > > Hello! > > To clarify from the very beginning, I don't know how this part of the > larger picture actually works. The end result is that seabios project, > with the current source tarball available for download from >

[SeaBIOS] Re: recent ld built for x86_64 fails to accept 16bit code as input (seabios build)

2020-07-09 Thread Michael Tokarev
09.07.2020 19:05, Kevin O'Connor wrote: > On Thu, Jul 09, 2020 at 06:49:37PM +0300, Michael Tokarev wrote: .. >> What's wrong with changing seabios as done by Fāng-ruì Sòng? .. > https://www.mail-archive.com/seabios@seabios.org/msg12189.html > > The proposed approach is to use a combination of

[SeaBIOS] Re: recent ld built for x86_64 fails to accept 16bit code as input (seabios build)

2020-07-09 Thread Kevin O'Connor
On Thu, Jul 09, 2020 at 06:49:37PM +0300, Michael Tokarev wrote: > 09.07.2020 18:41, Kevin O'Connor wrote: > .. > > Some background links: > > > > https://www.mail-archive.com/seabios@seabios.org/msg12275.html > > > > https://sourceware.org/bugzilla/show_bug.cgi?id=26047 > > Doh. This is a

[SeaBIOS] Re: recent ld built for x86_64 fails to accept 16bit code as input (seabios build)

2020-07-09 Thread Michael Tokarev
09.07.2020 18:41, Kevin O'Connor wrote: .. > Some background links: > > https://www.mail-archive.com/seabios@seabios.org/msg12275.html > > https://sourceware.org/bugzilla/show_bug.cgi?id=26047 Doh. This is a known issue, even the commit in question has been known to break seabios even before it

[SeaBIOS] Re: recent ld built for x86_64 fails to accept 16bit code as input (seabios build)

2020-07-09 Thread Kevin O'Connor
On Thu, Jul 09, 2020 at 05:39:48PM +0300, Michael Tokarev wrote: > Hello! > > To clarify from the very beginning, I don't know how this part of the > larger picture actually works. The end result is that seabios project, > with the current source tarball available for download from >

[SeaBIOS] Re: ld: cannot use executable file 'out/rom16.strip.o' as input to a link

2020-07-09 Thread Michael Tokarev
08.07.2020 20:19, Paul Menzel wrote: > Dear SeaBIOS folks, > > > Updating Debian Sid/unstable to binutils 2.34.90.20200706-1, the SeaBIOS for > coreboot build fails with the error below. http://bugs.debian.org/964724 Thanks, /mjt ___ SeaBIOS

[SeaBIOS] Re: recent ld built for x86_64 fails to accept 16bit code as input (seabios build)

2020-07-09 Thread Michael Tokarev
[seabios only, - seabios list is apparently subscribers-only, so others can't post there] 09.07.2020 17:39, Michael Tokarev wrote: > Hello! > > To clarify from the very beginning, I don't know how this part of the > larger picture actually works. The end result is that seabios project, > with

[SeaBIOS] recent ld built for x86_64 fails to accept 16bit code as input (seabios build)

2020-07-09 Thread Michael Tokarev
Hello! To clarify from the very beginning, I don't know how this part of the larger picture actually works. The end result is that seabios project, with the current source tarball available for download from https://www.seabios.org/downloads/seabios-1.13.0.tar.gz , can't be built using GNU ld as