This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2 00/19] libctf, and CTF support for objdump and readelf


On 20 May 2019, Joseph Myers uttered the following:

> On Fri, 17 May 2019, Nick Alcock wrote:
>
>> Joseph: you'll probably be interested in patches 3, 9, 10, and 15 in particular,
>> for their BFDization and portability fixes.
>
> Thanks.  A quick question would be what hosts you've tested this builds 
> for.  At least some GNU/Linux distributions package cross-compilers for 
> MinGW; if you install such a compiler and make sure that binutils, with 
> these patches, can build using it, --host=x86_64-w64-mingw32 
> --target=<some ELF target> (adjust host as needed if the host triplet of 
> the packaged compiler is different), then there shouldn't be major 
> problems getting it to build on any other likely host either.

Oh blast I knew I forgot to mention something.

This has mostly been tested on Linux (x86_64, arm64, and sparc64): I did
do a native mingw build a while back (right after doing the mmap and
pread stuff) but I probably need to do another one. I'm tempted to do a
FreeBSD build too simply because it's easy.

I did most of the no-mmap and no-pread() testing on Linux, by just
hacking the config.h to turn it off and making sure it wasn't making the
relevant syscalls any more, and still worked. (Which it does, but it's
slower when doing archive opens, unsurprisingly, since it's reading the
whole archive in even if only a bit is needed.)

I suspect the bfd side of things is still broken: a teammate has just
tested it and reported that things aren't working there yet. I'll look
at that tomorrow.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]