From: Ray Donnelly <mingw.android@gmail.com>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: Marat Radchenko <marat@slonopotamus.org>,
git@vger.kernel.org, gitster@pobox.com,
msysGit <msysgit@googlegroups.com>
Subject: Re: [PATCH 07/14] Fix BASIC_LDFLAGS and COMPAT_CFLAGS for 64bit MinGW-w64
Date: Fri, 10 Oct 2014 00:56:25 +0100 [thread overview]
Message-ID: <CAOYw7dtouon0EXYQPnvpc7ZMARKwaureNTK6ZL+aByknpPG-9A@mail.gmail.com> (raw)
In-Reply-To: <alpine.DEB.1.00.1410092146310.990@s15462909.onlinehome-server.info>
[-- Attachment #1: Type: text/plain, Size: 2700 bytes --]
Thanks Johannes.
On Thu, Oct 9, 2014 at 8:47 PM, Johannes Schindelin <
Johannes.Schindelin@gmx.de> wrote:
> Hi Ray,
>
> On Thu, 9 Oct 2014, Ray Donnelly wrote:
>
>> On Thu, Oct 9, 2014 at 8:22 PM, Johannes Schindelin
>> <Johannes.Schindelin@gmx.de> wrote:
>> >
>> > On Wed, 8 Oct 2014, Marat Radchenko wrote:
>> >
>> >> +CC_MACH := $(shell sh -c '$(CC) -dumpmachine 2>/dev/null || echo
not')
>> >
>> > There is a rather huge problem with that. The latest mingw-w64
>> > release, 4.9.1, does not do what you expect here: while
>> > '.../mingw32/bin/gcc -m32 -o 32.exe test.c' and '.../mingw32/bin/gcc
>> > -m64 -o 64.exe test.c' work fine, producing i686 and x86_64
>> > executables respectively, '.../mingw32/bin/gcc -dumpmachine' prints
>> > i686-w64-mingw32 *always*, even when specifying the -m64 option.
>> >
>> > So unfortunately, the test introduced by this patch (intended to
>> > figure out whether the build targets i686, and skip a compiler and a
>> > linker option otherwise) is incorrect.
>>
>> Which release are you talking about? Can you point me to the tarball
>> please?
>
> Certainly:
>
>
http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/4.9.1/threads-win32/sjlj/
>
> (rev1, not rev0)
I guess I can add passing in CFLAGS also to try to catch that case. What
would you recommend?
I've added support to build using your branch to MSYS2's MINGW-packages
git-git package in case anyone wants to help out:
https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-git-git
Change _based_on_dscho_w64_msysgit=no to =yes. Note also that some more
patches are needed before we can build, and I think more are needed. Using
plain msysGit (I.e. =no) and 15 patches we are able to build a somewhat
functional git.
>
> Ciao,
> Johannes
--
--
*** Please reply-to-all at all times ***
*** (do not pretend to know who is subscribed and who is not) ***
*** Please avoid top-posting. ***
The msysGit Wiki is here: https://github.com/msysgit/msysgit/wiki - Github accounts are free.
You received this message because you are subscribed to the Google
Groups "msysGit" group.
To post to this group, send email to msysgit@googlegroups.com
To unsubscribe from this group, send email to
msysgit+unsubscribe@googlegroups.com
For more options, and view previous threads, visit this group at
http://groups.google.com/group/msysgit?hl=en_US?hl=en
---
You received this message because you are subscribed to the Google Groups "Git for Windows" group.
To unsubscribe from this group and stop receiving emails from it, send an email to msysgit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #2: Type: text/html, Size: 3974 bytes --]
next prev parent reply other threads:[~2014-10-09 23:56 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-08 18:00 [PATCH v5] MinGW(-W64) compilation Marat Radchenko
2014-10-08 18:00 ` [PATCH 01/14] MINGW: compat/mingw.h: do not attempt to redefine lseek on mingw-w64 Marat Radchenko
2014-10-09 1:01 ` Erik Faye-Lund
2014-10-08 18:00 ` [PATCH 02/14] MSVC: config.mak.uname: drop -D__USE_MINGW_ACCESS from CFLAGS Marat Radchenko
2014-10-08 18:00 ` [PATCH 03/14] MINGW: compat/mingw.h: drop fork() definition Marat Radchenko
2014-10-08 18:00 ` [PATCH 04/14] MINGW: do not fail at redefining pid_t on MinGW-W64 Marat Radchenko
2014-10-08 18:00 ` [PATCH 05/14] MINGW: config.mak.uname: allow using cURL for non-msysGit builds Marat Radchenko
2014-10-08 18:00 ` [PATCH 06/14] MINGW: compat/winansi.c: do not redefine CONSOLE_FONT_INFOEX Marat Radchenko
2014-10-08 18:01 ` [PATCH 07/14] Fix BASIC_LDFLAGS and COMPAT_CFLAGS for 64bit MinGW-w64 Marat Radchenko
2014-10-08 19:24 ` Junio C Hamano
2014-10-09 19:22 ` Johannes Schindelin
2014-10-09 19:25 ` [msysGit] " Ray Donnelly
2014-10-09 19:47 ` Johannes Schindelin
2014-10-09 23:56 ` Ray Donnelly [this message]
2014-10-10 6:38 ` Johannes Schindelin
2014-10-10 10:55 ` Johannes Schindelin
2014-10-11 11:12 ` Johannes Schindelin
[not found] ` <CAOYw7dtSdR8GVYK2YrVjgQ7ZRExHjPBLCNQk7vchV66fx27xBw@mail.gmail.com>
2014-10-11 9:11 ` Johannes Schindelin
2014-10-14 7:08 ` Marat Radchenko
2014-10-08 18:01 ` [PATCH 08/14] MINGW: git-compat-util.h: use inttypes.h for printf macros Marat Radchenko
2014-10-08 19:25 ` Junio C Hamano
2014-10-08 18:01 ` [PATCH 09/14] MINGW: config.mak.uname: reorganize MinGW settings Marat Radchenko
2014-10-08 18:01 ` [PATCH 10/14] Makefile: introduce CROSS_COMPILE variable Marat Radchenko
2014-10-08 19:25 ` Junio C Hamano
2014-10-08 18:01 ` [PATCH 11/14] compat/nedmalloc/malloc.c.h: fix compilation under MinGW-W64 Marat Radchenko
2014-10-08 18:01 ` [PATCH 12/14] Fix pointer -> integer casts on IL32P64 systems Marat Radchenko
2014-10-08 18:01 ` [PATCH 13/14] git-compat-util.h: fix integer overflow " Marat Radchenko
2014-10-08 19:22 ` Junio C Hamano
2014-10-08 20:02 ` Junio C Hamano
2014-10-09 5:05 ` Marat Radchenko
2014-10-09 7:31 ` Junio C Hamano
2014-10-09 6:08 ` Johannes Schindelin
2014-10-08 18:01 ` [PATCH 14/14] MINGW: config.mak.uname: auto-detect MinGW build from compiler Marat Radchenko
2014-10-08 19:26 ` Junio C Hamano
2014-10-09 5:03 ` Marat Radchenko
2014-10-09 7:04 ` Johannes Schindelin
2014-10-09 7:34 ` Junio C Hamano
2014-10-09 7:38 ` [msysGit] " Johannes Schindelin
[not found] ` <CAPc5daUo+Fw2Oh3LK+0HJCmtVjicYk62qiQ2v8h8pitYHAZL3w@mail.gmail.com>
2014-10-09 10:18 ` Johannes Schindelin
[not found] ` <CAPc5daWdkz16RnORjtjw+oP3PO043Y57wAMm3TxC6L5GBJz8uQ@mail.gmail.com>
2014-10-09 15:49 ` Johannes Schindelin
2014-10-09 8:48 ` Marat Radchenko
2014-10-08 19:23 ` [PATCH v5] MinGW(-W64) compilation Junio C Hamano
2014-10-09 10:11 ` Johannes Schindelin
2014-10-09 10:39 ` Marat Radchenko
2014-10-09 10:59 ` Johannes Schindelin
-- strict thread matches above, loose matches on Subject: below --
2014-09-30 7:02 [PATCH v4] " Marat Radchenko
2014-09-30 7:02 ` [PATCH 07/14] Fix BASIC_LDFLAGS and COMPAT_CFLAGS for 64bit MinGW-w64 Marat Radchenko
2014-09-28 13:24 MinGW(-W64) compilation Marat Radchenko
2014-09-28 13:24 ` [PATCH 07/14] Fix BASIC_LDFLAGS and COMPAT_CFLAGS for 64bit MinGW-w64 Marat Radchenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAOYw7dtouon0EXYQPnvpc7ZMARKwaureNTK6ZL+aByknpPG-9A@mail.gmail.com \
--to=mingw.android@gmail.com \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=marat@slonopotamus.org \
--cc=msysgit@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).