https://sourceware.org/bugzilla/show_bug.cgi?id=29348
--- Comment #12 from Enze Li ---
(In reply to Alan Modra from comment #11)
> Created attachment 14247 [details]
> proposed fix
>
> Please try out this patch.
I saw the following error on OpenBSD7.1 with this patch,
CC linker.lo
link
https://sourceware.org/bugzilla/show_bug.cgi?id=29348
--- Comment #9 from Enze Li ---
Created attachment 14244
--> https://sourceware.org/bugzilla/attachment.cgi?id=14244&action=edit
Preprocessed source for the failing compile
$ cd /path/to/binutils-gdb
$ ./configure --prefix=`pwd`/build CXXFL
https://sourceware.org/bugzilla/show_bug.cgi?id=29348
--- Comment #8 from Enze Li ---
(In reply to Alan Modra from comment #7)
> That looks to be as expected. I wonder if your systems are typedef'ing
> uint64_t as unsigned long long rather than unsigned long?
To be honest, I didn't make any c
https://sourceware.org/bugzilla/show_bug.cgi?id=29348
--- Comment #6 from Enze Li ---
Created attachment 14243
--> https://sourceware.org/bugzilla/attachment.cgi?id=14243&action=edit
bfd config.log on OpenBSD7.1
Above attachment was generated when building binutil-gdb on OpenBSD7.1
--
You ar
https://sourceware.org/bugzilla/show_bug.cgi?id=29348
--- Comment #4 from Enze Li ---
It also appears on openbsd7.1 when building with following command,
$ ./configure --prefix=/home/lee/dev/binutils-gdb/build/
$ gmake
CC archive.lo
archive.c:195:56: error: format specifies type 'unsign
https://sourceware.org/bugzilla/show_bug.cgi?id=29348
--- Comment #3 from Enze Li ---
(In reply to Alan Modra from comment #2)
> The direct cause here is likely a wrong configure setting for
> BFD_HOST_64BIT_LONG. How did you configure and build?
I use the following command,
$ ./configure --pr