I am building KiCad from source so the ABI will be determined by the gcc
configuration which I'm guessing from the error message is 1011.

There is this interesting patch:

https://github.com/Alexpux/MINGW-packages/blob/master/mingw-w64-wxwidgets/wxWidgets-3.0.2-relax-abi-compatibility-gcc.patch

which I am guessing is the culprit.  It seems to me that this should
have failed when the switch to the 1010 ABI was made.  I'm not a gcc
expert but I would be leery of changing:

+    #if ((__GXX_ABI_VERSION >= 1002) && (__GXX_ABI_VERSION <= 1008))

to:

+    #if ((__GXX_ABI_VERSION >= 1002) && (__GXX_ABI_VERSION <= 1011))

in the patch given the ABI changes called out at:

https://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Dialect-Options.html

Some of the changes between ABI versions 8 through 11 look like they may
not be compatible but I'm not completely sure about this.

Even the latest build.h file at wxWidgets is still showing ABI 1010 as
the maximum compatible ABI version.

https://github.com/wxWidgets/wxWidgets/blob/master/include/wx/build.h

I guess I will try changing the ABI patch to 1011 and see what happens.

On 7/11/2017 2:43 PM, David Grayson wrote:
> I don't know what your current state is, but I would try to do this:
> 
> 1) Remove any instances of the "-fabi-version" GCC argument from the
> packages involved.
> 2) Make sure everything was compiled with the same version of GCC.
> 
> --David
> 
> On Tue, Jul 11, 2017 at 10:02 AM, Wayne Stambaugh <stambau...@gmail.com> 
> wrote:
>> I've just finished building KiCad after performing an upgrade to gcc 7.1
>> and once again I'm faced with an ABI mismatch error between the
>> wxWidgets library build ABI version (1010) and the program build ABI
>> version 1011.  I rebuilt and installed the wxWidgets packages using gcc
>> 7.1 but I'm still getting the ABI version error.  Should I report this
>> on the issue tracker on github or is someone already working on it.  In
>> the mean time any help resolving this issue until new wxwidgets packages
>> are built would be appreciated so I can get some work done.  I imagine
>> this will also effects wxPython as well.  Thanks in advance for the help.
>>
>> Cheers,
>>
>> Wayne
>>
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Msys2-users mailing list
>> Msys2-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/msys2-users
> 
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Msys2-users mailing list
> Msys2-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/msys2-users
> 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Msys2-users mailing list
Msys2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to