)]}'
{"id":"openocd~master~I27c1b9e1496a8c32032fab08a29cbe1124316edd","project":"openocd","branch":"master","hashtags":[],"change_id":"I27c1b9e1496a8c32032fab08a29cbe1124316edd","subject":"README.Windows: MinGW-w64 is known to work for building, regular MinGW is quirky","status":"MERGED","created":"2013-09-19 15:24:35.000000000","updated":"2013-09-25 13:52:14.000000000","submitted":"2013-09-25 13:52:14.000000000","submitter":{"_account_id":1000000,"name":"Spencer Oliver","email":"spen@spen-soft.co.uk","username":"ntfreak"},"total_comment_count":1,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"8cc3647332ccb507a4a92351e31837ee0b45ae25","_number":1638,"owner":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"all":[{"value":0,"_account_id":1000019,"name":"Xiaofan Chen","email":"xiaofanc@gmail.com","username":"xiaofan"},{"value":0,"date":"2013-09-25 13:52:14.000000000","permitted_voting_range":{"min":0,"max":1},"_account_id":1000000,"name":"Spencer Oliver","email":"spen@spen-soft.co.uk","username":"ntfreak"},{"value":0,"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},{"value":0,"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},{"value":0,"_account_id":1000203,"name":"Jörg Fischer","email":"turboj@gmx.de","username":"turboj"},{"value":1,"date":"2013-09-25 13:52:14.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]}],"values":{"-1":"Fails"," 0":"No score","+1":"Verified"},"description":"","default_value":0},"Code-Review":{"approved":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"all":[{"value":1,"date":"2013-09-25 13:52:14.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":1000019,"name":"Xiaofan Chen","email":"xiaofanc@gmail.com","username":"xiaofan"},{"value":0,"date":"2013-09-25 13:52:14.000000000","permitted_voting_range":{"min":0,"max":2},"_account_id":1000000,"name":"Spencer Oliver","email":"spen@spen-soft.co.uk","username":"ntfreak"},{"value":0,"date":"2013-09-25 13:52:14.000000000","permitted_voting_range":{"min":0,"max":2},"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},{"value":2,"date":"2013-09-25 13:52:14.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},{"value":0,"_account_id":1000203,"name":"Jörg Fischer","email":"turboj@gmx.de","username":"turboj"},{"value":0,"date":"2013-09-25 13:52:14.000000000","permitted_voting_range":{"min":0,"max":1},"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]}],"values":{"-2":"This shall not be merged","-1":"I would prefer this is not merged as is"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me, approved"},"description":"","default_value":0}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":1000000,"name":"Spencer Oliver","email":"spen@spen-soft.co.uk","username":"ntfreak"},{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},{"_account_id":1000019,"name":"Xiaofan Chen","email":"xiaofanc@gmail.com","username":"xiaofan"},{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},{"_account_id":1000203,"name":"Jörg Fischer","email":"turboj@gmx.de","username":"turboj"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2013-09-20 14:29:25.000000000","updated_by":{"_account_id":1000203,"name":"Jörg Fischer","email":"turboj@gmx.de","username":"turboj"},"reviewer":{"_account_id":1000203,"name":"Jörg Fischer","email":"turboj@gmx.de","username":"turboj"},"state":"REVIEWER"},{"updated":"2013-09-22 18:38:10.000000000","updated_by":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"reviewer":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"state":"REVIEWER"},{"updated":"2013-09-23 08:37:24.000000000","updated_by":{"_account_id":1000019,"name":"Xiaofan Chen","email":"xiaofanc@gmail.com","username":"xiaofan"},"reviewer":{"_account_id":1000019,"name":"Xiaofan Chen","email":"xiaofanc@gmail.com","username":"xiaofan"},"state":"REVIEWER"},{"updated":"2013-09-24 23:17:06.000000000","updated_by":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"reviewer":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"state":"REVIEWER"},{"updated":"2013-09-25 13:51:50.000000000","updated_by":{"_account_id":1000000,"name":"Spencer Oliver","email":"spen@spen-soft.co.uk","username":"ntfreak"},"reviewer":{"_account_id":1000000,"name":"Spencer Oliver","email":"spen@spen-soft.co.uk","username":"ntfreak"},"state":"REVIEWER"}],"messages":[{"id":"e905fc39a2a760ed9a51cf733a570a95bbbb76c5","author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"real_author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"date":"2013-09-19 15:36:42.000000000","message":"Patch Set 1: Verified\n\nBuild Successful \n\nhttp://openocd.zylin.com/jenkins/job/openocd-gerrit/3472/ : SUCCESS\n\nhttp://openocd.zylin.com/jenkins/job/openocd-gerrit-build/2920/ : SUCCESS","accounts_in_message":[],"_revision_number":1},{"id":"0cde9508bcfeb9dfda00eef685a6099dcb3244ab","author":{"_account_id":1000019,"name":"Xiaofan Chen","email":"xiaofanc@gmail.com","username":"xiaofan"},"real_author":{"_account_id":1000019,"name":"Xiaofan Chen","email":"xiaofanc@gmail.com","username":"xiaofan"},"date":"2013-09-19 22:55:49.000000000","message":"Patch Set 1: I would prefer that you didn\u0027t submit this\n\nThis can not be true. Both are from GCC code base. And MinGW is still widely used, at least under Windows.","accounts_in_message":[],"_revision_number":1},{"id":"ccfca7fbb63ee9f73cd1a8b3c0c8d0a843dbed0d","author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"real_author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"date":"2013-09-20 03:53:12.000000000","message":"Patch Set 1:\n\nPlease see http://pastebin.com/DtgPbzZR , this is the build log with upstream current MinGW on windows. Also, afaict all distros switched to mingw-w64 and OpenOCD buildbots use only that for cross-building too.\n\nNobody has tried building with mingw since long apparently, or else he would notice jimtcl was using isascii (not present in mingw) (was fixed in upstream jimtcl yesterday).\n\nI might be misunderstanding something but to me it looks like it\u0027s really impossible to use MinGW for building.","accounts_in_message":[],"_revision_number":1},{"id":"6dbd1f752421459f60ee22e16f6fd64448870687","author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"real_author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"date":"2013-09-20 04:03:25.000000000","message":"Patch Set 1:\n\nhttp://paste.debian.net/43368/ repasted in case that old paste expired, I have no idea how to properly put long logs here in Gerrit.","accounts_in_message":[],"_revision_number":1},{"id":"670f6a24b5ee7e9a303ebfd84c9fcf364c4508e8","author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"real_author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"date":"2013-09-20 04:05:40.000000000","message":"Patch Set 1:\n\nMy repaste is for another unrelated issue, sorry, too early in the morning. Just in case, here\u0027s what matters:\ncore.c: In function \u0027jtag_validate_ircapture\u0027:\ncore.c:1256:4: error: unknown conversion type character \u0027I\u0027 in format [-Werror\u003dformat\u003d]\n    LOG_ERROR(\"%s: IR capture error; saw 0x%0*\" PRIx64 \" not 0x%0*\" PRIx32,\n    ^\ncore.c:1256:4: error: field width specifier \u0027*\u0027 expects argument of type \u0027int\u0027,\nbut argument 8 has type \u0027uint64_t\u0027 [-Werror\u003dformat\u003d]\ncore.c:1256:4: error: too many arguments for format [-Werror\u003dformat-extra-args]\ncore.c:1264:3: error: unknown conversion type character \u0027I\u0027 in format [-Werror\u003df\normat\u003d]\n   LOG_DEBUG(\"%s: IR capture 0x%0*\" PRIx64, jtag_tap_name(tap),\n   ^\ncore.c:1264:3: error: too many arguments for format [-Werror\u003dformat-extra-args]","accounts_in_message":[],"_revision_number":1},{"id":"afa122aa6bd7c3d36547e358b50c06c6cf6a5089","author":{"_account_id":1000019,"name":"Xiaofan Chen","email":"xiaofanc@gmail.com","username":"xiaofan"},"real_author":{"_account_id":1000019,"name":"Xiaofan Chen","email":"xiaofanc@gmail.com","username":"xiaofan"},"date":"2013-09-20 04:49:54.000000000","message":"Patch Set 1: No score\n\nIt is true that many Linux distros switches to MinGW-w64. And I admit I have not done any OpenOCD build under Windows for quite some time (using Mac OS X more often).\n\nOn the other hand, MinGW.org 32bit build is still quite popular. Personally I think it is more stable than MinGW-w64 (but I admit MinGW-w64 is getting better as well). So if OpenOCD breaks under MinGW.org, the issue should be fixed and not to say MinGW.org is unsupported.","accounts_in_message":[],"_revision_number":1},{"id":"decf7a01755bb55154893dd2f3515e896f1b64b4","author":{"_account_id":1000019,"name":"Xiaofan Chen","email":"xiaofanc@gmail.com","username":"xiaofan"},"real_author":{"_account_id":1000019,"name":"Xiaofan Chen","email":"xiaofanc@gmail.com","username":"xiaofan"},"date":"2013-09-20 04:51:48.000000000","message":"Patch Set 1:\n\nAnd you have realized the repaste is not related to this issue since it is using the toolchain from MinGW-w64. Just want to make this clear since others may not know the differences between MinGW (only 32bit) and MinGW-w64 (both 32bit and 64bit) well.","accounts_in_message":[],"_revision_number":1},{"id":"10d43870f4729966d7e2a3d684d3080486905efa","author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"real_author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"date":"2013-09-20 08:18:43.000000000","message":"Patch Set 1:\n\nSince microsoft doesn\u0027t want to support C99, and MinGW sticks to using microsoft\u0027s libraries, I can\u0027t see why OpenOCD project should care. I might be missing something, but so far it looks like that. So I think currently OpenOCD is unbuildable with MinGW, though I admit I haven\u0027t tried it myself.","accounts_in_message":[],"_revision_number":1},{"id":"175673feae638c78500f317bd48b2df5ad5b02e5","author":{"_account_id":1000203,"name":"Jörg Fischer","email":"turboj@gmx.de","username":"turboj"},"real_author":{"_account_id":1000203,"name":"Jörg Fischer","email":"turboj@gmx.de","username":"turboj"},"date":"2013-09-20 14:29:25.000000000","message":"Patch Set 1: I would prefer that you didn\u0027t submit this\n\nI can build OpenOCD on MingW32 with --disable-werror option for configure. Please dont\u0027t claim OpenOCD cannot be built on this platform.","accounts_in_message":[],"_revision_number":1},{"id":"057d6e8e04287924e6b53d6759bd3766a591fcdc","author":{"_account_id":1000019,"name":"Xiaofan Chen","email":"xiaofanc@gmail.com","username":"xiaofan"},"real_author":{"_account_id":1000019,"name":"Xiaofan Chen","email":"xiaofanc@gmail.com","username":"xiaofan"},"date":"2013-09-20 14:48:19.000000000","message":"Patch Set 1: I would prefer that you didn\u0027t submit this\n\nThat is my expectation as well. Thanks for the confirmation.","accounts_in_message":[],"_revision_number":1},{"id":"bd2fac8099ba32f9bdef1bcfa0d18967869753ee","author":{"_account_id":1000019,"name":"Xiaofan Chen","email":"xiaofanc@gmail.com","username":"xiaofan"},"real_author":{"_account_id":1000019,"name":"Xiaofan Chen","email":"xiaofanc@gmail.com","username":"xiaofan"},"date":"2013-09-21 02:51:52.000000000","message":"Patch Set 1:\n\nI just tried to build the latest OpenOCD git under MinGW.org and it works just fine.\n\nI think the reported and author might be using a very old version of MinGW. Many Linux distros have switched to MinGW-w64 and the MinGW version included is usually outdated. \n\nUnder Windows MinGW.org maintians a nice installer and it still has many users.","accounts_in_message":[],"_revision_number":1},{"id":"00d3c92fa51b03305c95655af95fb7c3f74c2cbf","author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"real_author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"date":"2013-09-22 08:34:13.000000000","message":"Patch Set 1:\n\nOk, to sum up:\n\n1. I\u0027m almost sure isascii() is not available at least in some cases with MinGW. Reference: http://mingw.5.n7.nabble.com/Building-gettext-from-source-using-GCC-4-7-2-tp32229p32478.html . Affects: building the jimtcl version used by OpenOCD. Possible solution: upgrade to the current git HEAD of jimtcl where this issue was fixed after I reported it;\n\n2. C99 printf format specificators are not available in MinGW. Reference: http://www.mingw.org/wiki/C99 . Affects: building OpenOCD itself from the sources. If one disables Werror (which is not something that\u0027s recommended anywhere in the docs) it builds but those printf calls might result in unexpected behaviour (garbled output in the best, memory corruption in the worst case; I haven\u0027t investigated enough to tell what exactly will happen as the result of this printf abuse). Possible solution: add proper printf() via autoconf magic whenever C99 printf is not available, same for all the other C99 functions;\n\n3. None of the buildbots uses MinGW for compatibility testing. Affects: Gerrit review process. Possible solution: configure Jenkins to start MinGW builds too.\n\nI don\u0027t really see how OpenOCD docs might be suggesting MinGW unless 1, 2 and 3 are taken care of. Where am I wrong?","accounts_in_message":[],"_revision_number":1},{"id":"80de651a9dd98011ebb55f8259a9e75ced1a0a4a","author":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"real_author":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"date":"2013-09-22 09:53:31.000000000","message":"Patch Set 1: (1 inline comment)\n\nWe took a decision a long time ago to require a C99-compliant toolchain. MinGW does not attempt to provide a complete C99 feature set. So we cannot *recommend* using it. In fact, in a document like this, which is intended for novice or first-time builders, I think we should explicitly advise against it.\n\nWe have and will continue to accept patches that adheres to C99, even if it uses features unsupported by MinGW. So even if it builds today, it might break anytime.\n\nI do think we should make the wording less harsh, and simply state that MinGW *may* be unsuitable due to lacking C99 compatibility.","accounts_in_message":[],"_revision_number":1},{"id":"fd50336647895893f49d18fd68ef582e5e3909ae","author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"real_author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"date":"2013-09-22 18:27:09.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"97b49b73212a5dd6d4457dfa1e7840705eecd1d9","author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"real_author":{"_account_id":1000014,"name":"jenkins","username":"jenkins","tags":["SERVICE_USER"]},"date":"2013-09-22 18:38:10.000000000","message":"Patch Set 2: Verified\n\nBuild Successful \n\nhttp://openocd.zylin.com/jenkins/job/openocd-gerrit/3487/ : SUCCESS\n\nhttp://openocd.zylin.com/jenkins/job/openocd-gerrit-build/2935/ : SUCCESS","accounts_in_message":[],"_revision_number":2},{"id":"8ed450adb5ecc5c9a73c5599ed56ae159956c2cd","author":{"_account_id":1000019,"name":"Xiaofan Chen","email":"xiaofanc@gmail.com","username":"xiaofan"},"real_author":{"_account_id":1000019,"name":"Xiaofan Chen","email":"xiaofanc@gmail.com","username":"xiaofan"},"date":"2013-09-23 08:37:24.000000000","message":"Patch Set 2: Looks good to me, but someone else must approve\n\nThis version is much better and I can accept the wording.","accounts_in_message":[],"_revision_number":2},{"id":"cc7b1f0b403418afc04d8587e022861e2762b718","author":{"_account_id":1000019,"name":"Xiaofan Chen","email":"xiaofanc@gmail.com","username":"xiaofan"},"real_author":{"_account_id":1000019,"name":"Xiaofan Chen","email":"xiaofanc@gmail.com","username":"xiaofan"},"date":"2013-09-24 08:04:13.000000000","message":"Patch Set 2:\n\nBTW, the assertion saying isascii() is not available under MinGW is not correct. I just tried it under latest MinGW and it works fine.\n\n$ cat isascii_test.c\n#include \u003cstdio.h\u003e\n#include \u003cctype.h\u003e\n\nint main(void)\n{\n   int ch;\n\n   for (ch \u003d 0x7c; ch \u003c\u003d 0x82; ch++) {\n      printf(\"%#04x    \", ch);\n      if (isascii(ch))\n         printf(\"The character is %c\\n\", ch);\n      else\n         printf(\"Cannot be represented by an ASCII character\\n\");\n   }\n   return 0;\n}\n\n$ gcc -o isascii_test isascii_test.c\n\n$ ./isascii_test.exe\n0x7c    The character is |\n0x7d    The character is }\n0x7e    The character is ~\n0x7f    The character is ⌂\n0x80    Cannot be represented by an ASCII character\n0x81    Cannot be represented by an ASCII character\n0x82    Cannot be represented by an ASCII character\n\n$ gcc -v\nUsing built-in specs.\nCOLLECT_GCC\u003dc:\\mingw64_481\\bin\\gcc.exe\nCOLLECT_LTO_WRAPPER\u003dc:/mingw64_481/bin/../libexec/gcc/x86_64-w64-mingw32/4.8.1/l\nto-wrapper.exe\nTarget: x86_64-w64-mingw32\nConfigured with: ../../../src/gcc-4.8.1/configure --host\u003dx86_64-w64-mingw32 --bu\nild\u003dx86_64-w64-mingw32 --target\u003dx86_64-w64-mingw32 --prefix\u003d/mingw64 --with-sysr\noot\u003d/tmp/x64-481-posix-sjlj-r1/mingw64 --enable-shared --enable-static --enable-\ntargets\u003dall --enable-multilib --enable-languages\u003dc,c++,fortran,lto --enable-libs\ntdcxx-time\u003dyes --enable-threads\u003dposix --enable-libgomp --enable-lto --enable-gra\nphite --enable-checking\u003drelease --enable-fully-dynamic-string --enable-version-s\npecific-runtime-libs --enable-sjlj-exceptions --disable-isl-version-check --disa\nble-cloog-version-check --disable-libstdcxx-pch --disable-libstdcxx-debug --disa\nble-bootstrap --disable-rpath --disable-win32-registry --disable-nls --disable-w\nerror --disable-symvers --with-gnu-as --with-gnu-ld --with-arch-32\u003di686 --with-a\nrch-64\u003dnocona --with-tune-32\u003dgeneric --with-tune-64\u003dcore2 --with-host-libstdcxx\u003d\n\u0027-static -lstdc++\u0027 --with-libiconv --with-system-zlib --with-gmp\u003d/tmp/mingw-prer\neq/x86_64-w64-mingw32-static --with-mpfr\u003d/tmp/mingw-prereq/x86_64-w64-mingw32-st\natic --with-mpc\u003d/tmp/mingw-prereq/x86_64-w64-mingw32-static --with-isl\u003d/tmp/ming\nw-prereq/x86_64-w64-mingw32-static --with-cloog\u003d/tmp/mingw-prereq/x86_64-w64-min\ngw32-static --enable-cloog-backend\u003disl --with-pkgversion\u003d\u0027rev1, Built by MinGW-b\nuilds project\u0027 --with-bugurl\u003dhttp://sourceforge.net/projects/mingwbuilds/ CFLAGS\n\u003d\u0027-O2 -pipe -I/tmp/x64-481-posix-sjlj-r1/libs/include -I/tmp/mingw-prereq/x64-zl\nib/include -I/tmp/mingw-prereq/x86_64-w64-mingw32-static/include\u0027 CXXFLAGS\u003d\u0027-O2\n-pipe -I/tmp/x64-481-posix-sjlj-r1/libs/include -I/tmp/mingw-prereq/x64-zlib/inc\nlude -I/tmp/mingw-prereq/x86_64-w64-mingw32-static/include\u0027 CPPFLAGS\u003d LDFLAGS\u003d\u0027-\npipe -L/tmp/x64-481-posix-sjlj-r1/libs/lib -L/tmp/mingw-prereq/x64-zlib/lib -L/t\nmp/mingw-prereq/x86_64-w64-mingw32-static/lib -L/tmp/x64-481-posix-sjlj-r1/mingw\n64/opt/lib\u0027\nThread model: posix\ngcc version 4.8.1 (rev1, Built by MinGW-builds project)","accounts_in_message":[],"_revision_number":2},{"id":"0c80f2c69e686c8e0075e0326543fb35fdfb0b1c","author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"real_author":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"date":"2013-09-24 08:21:33.000000000","message":"Patch Set 2:\n\nI provided a link to the message from a MinGW developer who seems to imply it might not be available at least sometimes and that it\u0027s normal. I\u0027m not sure why the original reporter had issues with it and I\u0027m not inclined to dig that, I just know MinGW is sometimes (not always) problematic and that with MinGW-w64 the results are more consistent, especially given that it\u0027s used on the OpenOCD autobuilders. Sigh, that non-standard quirky OS is always such a pain! If my work didn\u0027t require me sometimes to support people using it, I\u0027d probably avoid talking to its users altogether. But since I actually benefit from different valueable software supporting it, I feel like trying to help there. If you can actually provide better, fully tested (compile-time and runtime functionality) instructions for OpenOCD, I think the users might benefit. OTOH the majority are just waiting for binary builds, being too reluctant to do any work themselves. Sigh, they\u0027re like those :/","accounts_in_message":[],"_revision_number":2},{"id":"f71b86dd2e1368de24b5f51d49ad074b227215d4","author":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"real_author":{"_account_id":1000005,"name":"Andreas Fritiofson","email":"andreas.fritiofson@gmail.com","username":"Nattgris"},"date":"2013-09-24 23:17:06.000000000","message":"Patch Set 2: Looks good to me, approved\n\nXiaofan:\n\n\u003e BTW, the assertion saying isascii() is not available under MinGW is not correct. I just tried it under latest MinGW and it works fine.\n\n \u003e...\n \u003e $ gcc -v\n \u003e...\n \u003eTarget: x86_64-w64-mingw32\n\nI may be confused, to me this looks like mingw-w64, not mingw.\n\nBut, quoting from the mingw-builds project page; \"Snapshots and releases builds of the MinGW compiler that use CRT \u0026 WinAPI from the mingw-w64 project\", maybe I\u0027m not the one to be confused? ;)","accounts_in_message":[],"_revision_number":2},{"id":"cff4cc8bc27afae26dd1855824af055db1a9c917","author":{"_account_id":1000019,"name":"Xiaofan Chen","email":"xiaofanc@gmail.com","username":"xiaofan"},"real_author":{"_account_id":1000019,"name":"Xiaofan Chen","email":"xiaofanc@gmail.com","username":"xiaofan"},"date":"2013-09-25 00:56:54.000000000","message":"Patch Set 2:\n\nSorry I carried out two tests with both MinGW and MinGW-w64 and pasted the wrong one.\n\nFor MinGW-builds project, it has joint forces with MinGW-w64 project. Yes I agree that MinGW-w64 seems to have more momentum now. But MinGW is not dead at all. MinGW team also maintain Cygwin\u0027s w32api package.\n\nHere is the log for MinGW.org.\n\n$ gcc -v\nUsing built-in specs.\nCOLLECT_GCC\u003dc:\\mingw\\bin\\gcc.exe\nCOLLECT_LTO_WRAPPER\u003dc:/mingw/bin/../libexec/gcc/mingw32/4.8.1/lto-wrapper.exe\nTarget: mingw32\nConfigured with: ../gcc-4.8.1/configure --prefix\u003d/mingw --host\u003dmingw32 --build\u003dm\ningw32 --without-pic --enable-shared --enable-static --with-gnu-ld --enable-lto\n--enable-libssp --disable-multilib --enable-languages\u003dc,c++,fortran,objc,obj-c++\n,ada --disable-sjlj-exceptions --with-dwarf2 --disable-win32-registry --enable-l\nibstdcxx-debug --enable-version-specific-runtime-libs --with-gmp\u003d/usr/src/pkg/gm\np-5.1.2-1-mingw32-src/bld --with-mpc\u003d/usr/src/pkg/mpc-1.0.1-1-mingw32-src/bld --\nwith-mpfr\u003d --with-system-zlib --with-gnu-as --enable-decimal-float\u003dyes --enable-\nlibgomp --enable-threads --with-libiconv-prefix\u003d/mingw32 --with-libintl-prefix\u003d/\nmingw\nThread model: win32\ngcc version 4.8.1 (GCC)\n\n\n$ gcc -o isascii_test isascii_test.c\n\n$ ./isascii_test.exe\n0x7c    The character is |\n0x7d    The character is }\n0x7e    The character is ~\n0x7f    The character is ⌂\n0x80    Cannot be represented by an ASCII character\n0x81    Cannot be represented by an ASCII character\n0x82    Cannot be represented by an ASCII character","accounts_in_message":[],"_revision_number":2},{"id":"c536104f5e93b65b13936f260675dfaafe2d0433","author":{"_account_id":1000019,"name":"Xiaofan Chen","email":"xiaofanc@gmail.com","username":"xiaofan"},"real_author":{"_account_id":1000019,"name":"Xiaofan Chen","email":"xiaofanc@gmail.com","username":"xiaofan"},"date":"2013-09-25 00:59:11.000000000","message":"Patch Set 2:\n\nTo Paul: \nYes it is good to provide Windows binary to Windows users. That is what we do for libusbx, libusb-win32 and libusbK project.\n\nFor OpenOCD, Freddie does provide the popular Windows binary download.","accounts_in_message":[],"_revision_number":2},{"id":"eb0249dc04191fccfcb096173fe3bbb4a20533cf","author":{"_account_id":1000000,"name":"Spencer Oliver","email":"spen@spen-soft.co.uk","username":"ntfreak"},"real_author":{"_account_id":1000000,"name":"Spencer Oliver","email":"spen@spen-soft.co.uk","username":"ntfreak"},"date":"2013-09-25 13:51:50.000000000","message":"Patch Set 2:\n\nI have no objections to providing binaries (or nightly/weekly) for windoze hsoted on sf. It is should not be too hard to config jenkins to automate this. What is the general opinion?","accounts_in_message":[],"_revision_number":2},{"id":"8cc3647332ccb507a4a92351e31837ee0b45ae25","author":{"_account_id":1000000,"name":"Spencer Oliver","email":"spen@spen-soft.co.uk","username":"ntfreak"},"real_author":{"_account_id":1000000,"name":"Spencer Oliver","email":"spen@spen-soft.co.uk","username":"ntfreak"},"date":"2013-09-25 13:52:14.000000000","message":"Change has been successfully cherry-picked as 06fb3bf8cd3e14d8e1f32f6b6b5f586ef5d1857d","accounts_in_message":[],"_revision_number":3}],"current_revision":"06fb3bf8cd3e14d8e1f32f6b6b5f586ef5d1857d","revisions":{"06fb3bf8cd3e14d8e1f32f6b6b5f586ef5d1857d":{"kind":"NO_CODE_CHANGE","_number":3,"created":"2013-09-25 13:52:14.000000000","uploader":{"_account_id":1000000,"name":"Spencer Oliver","email":"spen@spen-soft.co.uk","username":"ntfreak"},"ref":"refs/changes/38/1638/3","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/38/1638/3","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/38/1638/3 \u0026\u0026 git checkout -b change-1638 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/38/1638/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/38/1638/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/38/1638/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/38/1638/3","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/38/1638/3 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"1255b18fc650193094666ba8afd2018089cc9794","subject":"armv7m: add gdb target description support"}],"author":{"name":"Paul Fertser","email":"fercerpav@gmail.com","date":"2013-09-19 15:21:35.000000000","tz":240},"committer":{"name":"Spencer Oliver","email":"spen@spen-soft.co.uk","date":"2013-09-25 13:52:13.000000000","tz":0},"subject":"README.Windows: MinGW-w64 is known to work for building, regular MinGW is quirky","message":"README.Windows: MinGW-w64 is known to work for building, regular MinGW is quirky\n\nThe regular MinGW doesn\u0027t work properly because it doesn\u0027t try to\nprovide C99 compatibility currently.\n\nChange-Id: I27c1b9e1496a8c32032fab08a29cbe1124316edd\nReported-by: Tomáš Voda \u003cVoda.Tomas@seznam.cz\u003e\nSigned-off-by: Paul Fertser \u003cfercerpav@gmail.com\u003e\nReviewed-on: http://openocd.zylin.com/1638\nTested-by: jenkins\nReviewed-by: Xiaofan \u003cxiaofanc@gmail.com\u003e\nReviewed-by: Andreas Fritiofson \u003candreas.fritiofson@gmail.com\u003e\n"}},"510ef25fa5bf0f88470f21e9bd5b992adc97973a":{"kind":"REWORK","_number":2,"created":"2013-09-22 18:27:09.000000000","uploader":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"ref":"refs/changes/38/1638/2","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/38/1638/2","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/38/1638/2 \u0026\u0026 git checkout -b change-1638 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/38/1638/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/38/1638/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/38/1638/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/38/1638/2","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/38/1638/2 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"1255b18fc650193094666ba8afd2018089cc9794","subject":"armv7m: add gdb target description support"}],"author":{"name":"Paul Fertser","email":"fercerpav@gmail.com","date":"2013-09-19 15:21:35.000000000","tz":240},"committer":{"name":"Paul Fertser","email":"fercerpav@gmail.com","date":"2013-09-22 18:24:33.000000000","tz":240},"subject":"README.Windows: MinGW-w64 is known to work for building, regular MinGW is quirky","message":"README.Windows: MinGW-w64 is known to work for building, regular MinGW is quirky\n\nThe regular MinGW doesn\u0027t work properly because it doesn\u0027t try to\nprovide C99 compatibility currently.\n\nChange-Id: I27c1b9e1496a8c32032fab08a29cbe1124316edd\nReported-by: Tomáš Voda \u003cVoda.Tomas@seznam.cz\u003e\nSigned-off-by: Paul Fertser \u003cfercerpav@gmail.com\u003e\n"}},"528178fa82563a052c4e03d463ab9b88b41c7afa":{"kind":"REWORK","_number":1,"created":"2013-09-19 15:24:35.000000000","uploader":{"_account_id":1000160,"name":"Paul Fertser","email":"fercerpav@gmail.com","username":"pfertser"},"ref":"refs/changes/38/1638/1","fetch":{"anonymous http":{"url":"https://review.openocd.org/openocd","ref":"refs/changes/38/1638/1","commands":{"Branch":"git fetch https://review.openocd.org/openocd refs/changes/38/1638/1 \u0026\u0026 git checkout -b change-1638 FETCH_HEAD","Checkout":"git fetch https://review.openocd.org/openocd refs/changes/38/1638/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.openocd.org/openocd refs/changes/38/1638/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.openocd.org/openocd refs/changes/38/1638/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.openocd.org/openocd refs/changes/38/1638/1","Reset To":"git fetch https://review.openocd.org/openocd refs/changes/38/1638/1 \u0026\u0026 git reset --hard FETCH_HEAD"}}},"commit":{"parents":[{"commit":"5aafcec96e1b5bd10866cb721db075027003bce6","subject":"README.Windows: pkgconfig-lite should go into MinGW, not MSYS"}],"author":{"name":"Paul Fertser","email":"fercerpav@gmail.com","date":"2013-09-19 15:21:35.000000000","tz":240},"committer":{"name":"Paul Fertser","email":"fercerpav@gmail.com","date":"2013-09-19 15:21:35.000000000","tz":240},"subject":"README.Windows: only MinGW-w64 is suitable for building, not regular MinGW","message":"README.Windows: only MinGW-w64 is suitable for building, not regular MinGW\n\nThe regular MinGW will never work because it doesn\u0027t try to provide\nC99 compatibility (and MS doesn\u0027t either).\n\nChange-Id: I27c1b9e1496a8c32032fab08a29cbe1124316edd\nReported-by: Tomáš Voda \u003cVoda.Tomas@seznam.cz\u003e\nSigned-off-by: Paul Fertser \u003cfercerpav@gmail.com\u003e\n"}}},"requirements":[],"submit_records":[],"submit_requirements":[]}
