[Mingw-users] old binutils with 8.2.0 compiler

Back to archive index
Keith Marshall keith****@users*****
Sun Dec 30 14:06:06 JST 2018


Hi John,

Thanks for reporting this.

On 29/12/18 22:06, John Calcote wrote:
> configure is failing to find _Bool defined on the system because one
> of the configuration test programs is failing with the following
> output:
> 
> configure:5194: checking for stdbool.h that conforms to C99
> configure:5269: gcc -c -g -O2  conftest.c >&5
> C:\...\Temp\ccZ4szQd.s: Assembler messages:
> C:\...\Temp\ccZ4szQd.s:12: Error: unknown .loc sub-directive `view'
> C:\...\Temp\ccZ4szQd.s:12: Error: junk at end of line, first
> unrecognized character is `-'
> C:\...\Temp\ccZ4szQd.s:20: Error: unknown .loc sub-directive `view'

Ouch!

> A quick google search lead me to this Fedora bugzilla issue:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1552529
> 
> It seems mingw may be using an old binutils since upgrading to gcc
> 8.2.0?

Indeed, yes.  The last version posted on OSDN.net was 2.28, (which seems
to be too old).  Although I've been using GCC-8.2.0 for several months
now, (as a Linux hosted mingw32 cross-compiler), I'd overlooked that my
cross installation was using an in-tree binutils-2.31.1 build, and
in-tree binutils builds don't seem to play nicely with the GCC
cross-native process I used to build gcc-8.2.0-mingw32.

I was able to reproduce your issue, on a WinXP VM, after performing a
clean mingw-get install of g++-8.2.0-mingw32.  Just now, I've completed
a build of binutils-2.31.1-mingw32, and overwriting the binutils-2.28
installation in the VM does seem to resolve the issue.

I'll get the new binutils-2.31.1-mingw32 packages posted ASAP, but do
please be aware that there can be around an hour's delay between posting
and propagation of the updates to the mirrors, (so mingw-get will not
see them straight away).

-- 
Regards,
Keith.

Public key available from keys.gnupg.net
Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <https://lists.osdn.me/mailman/archives/mingw-users/attachments/20181230/df980f86/attachment.sig>


More information about the MinGW-Users mailing list
Back to archive index