MAMEWorld >> EmuChat
Previous thread Previous  View all threads Index   Next thread Next   Flat Mode Flat  

Vas Crabb
BOFH
Reged: 12/13/05
Posts: 4465
Loc: Melbourne, Australia
Send PM
Re: Can't compile x86 but can compile x64 under windows 7
01/25/19 01:58 AM


> > Those variables are set properly as shown in the attached log file.
>
> >../../../../../3rdparty/sqlite3/sqlite3.c5: error: 'memcpy': specified si
> ze between 2147483648 and 4294967295 exceeds maximum object size 2147483647 [-We
> rror=stringop-overflow=]
> memcpy(p->aAlloc, &p->aBuffer[iBuf], nAvail);
> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
> That version (7.4.0) has a bug with memcpy overflowing. You can either use an old
> version that works (I use 5.3.0), or try for the latest (I think it's 8.2.1 or
> thereabouts).

You basically need to set NOWERROR=1 to build for 32-bit MinGW due to compiler bugs. See https://docs.mamedev.org/initialsetup/compilingmame.html#issues-with-specific-compiler-versions







Entire thread
Subject Posted by Posted on
* Can't compile x86 but can compile x64 under windows 7 hohum 01/24/19 10:10 PM
. * Re: Can't compile x86 but can compile x64 under windows 7 TafoidAdministrator  01/24/19 10:28 PM
. * Re: Can't compile x86 but can compile x64 under windows 7 hohum  01/24/19 10:33 PM
. * Re: Can't compile x86 but can compile x64 under windows 7 RobbbertModerator  01/24/19 11:08 PM
. * Re: Can't compile x86 but can compile x64 under windows 7 Vas Crabb  01/25/19 01:58 AM
. * Re: Can't compile x86 but can compile x64 under windows 7 hohum  01/24/19 11:13 PM
. * Re: Can't compile x86 but can compile x64 under windows 7 Vas Crabb  01/25/19 01:59 AM
. * Re: Can't compile x86 but can compile x64 under windows 7 hohum  01/25/19 04:40 AM
. * Re: Can't compile x86 but can compile x64 under windows 7 RobbbertModerator  01/25/19 12:26 AM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 444 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 575