Send MinGW-Notify mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.osdn.me/mailman/listinfo/mingw-notify
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of MinGW-Notify digest..."


Please do not reply to this notification; the sender address is unable to 
accept incoming e-mail.  If you wish to unsubscribe you can do so at 
https://lists.osdn.me/mailman/listinfo/mingw-notify.



Today's Topics:

   1. [mingw] #37867: Create a 64bit build environment for the
      MinGW.org project. (MinGW Notification List)
   2. [mingw] #37867: Create a 64bit build environment for the
      MinGW.org project. (MinGW Notification List)
   3. [mingw] #37867: Create a 64bit build environment for the
      MinGW.org project. (MinGW Notification List)
   4. [mingw] #37867: Create a 64bit build environment for the
      MinGW.org project. (MinGW Notification List)
   5. [mingw] #37867: Create a 64bit build environment for the
      MinGW.org project. (MinGW Notification List)
   6. [mingw] #37867: Create a 64bit build environment for the
      MinGW.org project. (MinGW Notification List)
   7. [mingw] #37867: Create a 64bit build environment for the
      MinGW.org project. (MinGW Notification List)


----------------------------------------------------------------------

Message: 1
Date: Wed, 08 Jan 2020 09:43:36 -0300
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #37867: Create a 64bit build
        environment for the MinGW.org project.
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8

#37867: Create a 64bit build environment for the MinGW.org project.

  Open Date: 2018-01-10 12:17
Last Update: 2020-01-08 09:43

URL for this Ticket:
    https://osdn.net//projects/mingw/ticket/37867
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=37867

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2020-01-08 09:43 Updated by: cstrauss

Comment:

The following conversation was transcribed from the developer's Slack channel,
with Keith's permission.

It is transcribed inline, for better reference, while obeying the 2000
character per comment limit on this tracker.



---------------------------------------------------------------------
Ticket Status:

      Reporter: earnie
         Owner: earnie
          Type: Issues
        Status: Open [Owner assigned]
      Priority: 5 - Medium
     MileStone: Create a 64bit build environment for the MinGW.org project.
     Component: WSL
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

This is the primary ticket for controlling this milestone. Status of the
milestone will be added as comments to this ticket.



-- 
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN

Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/mingw/ticket/37867
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=37867


------------------------------

Message: 2
Date: Wed, 08 Jan 2020 09:44:20 -0300
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #37867: Create a 64bit build
        environment for the MinGW.org project.
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8

#37867: Create a 64bit build environment for the MinGW.org project.

  Open Date: 2018-01-10 12:17
Last Update: 2020-01-08 09:44

URL for this Ticket:
    https://osdn.net//projects/mingw/ticket/37867
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=37867

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2020-01-08 09:44 Updated by: cstrauss

Comment:

Cesar Strauss Mar 23rd, 2019 at 9:48 AM

I restarted the work on porting the MinGW Runtime to 64 bits.

Cesar Strauss Mar 23rd, 2019 at 10:25:23 AM

Currently I'm investigating a failure in pseudo-reloc.c.

Cesar Strauss Mar 24th, 2019 at 5:53:58 AM

Actually, pseudo-reloc.c seems to work fine.

Cesar Strauss Mar 24th, 2019 at 9:11:36 PM

The issue was just an API call which was declared with an argument of the wrong
size (should be SIZE_T instead of DWORD).

Cesar Strauss Mar 24th, 2019 at 9:18:05 PM

There is still work to do, but I can already create working executables that
don't simply crash at startup.

Cesar Strauss Mar 24th, 2019 at 9:36:21 AM

I think I can proceed to write tickets on OSDN, with preliminary patches, for
discussion.



---------------------------------------------------------------------
Ticket Status:

      Reporter: earnie
         Owner: earnie
          Type: Issues
        Status: Open [Owner assigned]
      Priority: 5 - Medium
     MileStone: Create a 64bit build environment for the MinGW.org project.
     Component: WSL
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

This is the primary ticket for controlling this milestone. Status of the
milestone will be added as comments to this ticket.



-- 
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN

Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/mingw/ticket/37867
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=37867


------------------------------

Message: 3
Date: Wed, 08 Jan 2020 09:44:50 -0300
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #37867: Create a 64bit build
        environment for the MinGW.org project.
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8

#37867: Create a 64bit build environment for the MinGW.org project.

  Open Date: 2018-01-10 12:17
Last Update: 2020-01-08 09:44

URL for this Ticket:
    https://osdn.net//projects/mingw/ticket/37867
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=37867

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2020-01-08 09:44 Updated by: cstrauss

Comment:

Keith Mar 28th, 2019 at 11:16:13 AM

@Cesar Strauss

    I think I can proceed to write tickets on OSDN, with preliminary patches,
    for discussion.

That does seem like the way to go. Do, please, be aware that I still have a
patch queue, of around 130 outstanding patches, to address (mostly
self-containment) issues in WINAPI; it would be good if we can minimize
potential conflicts.

Keith Mar 28th, 2019 at 3:03:58 PM

    The issue was just an API call which was declared with an argument of the
    wrong size (should be SIZE_T instead of DWORD).

Yuck! I really don't like these ghastly Microsoft "invented" data type names,
particularly where they are just ugly aliases for a perfectly good standard
data type; what's wrong with size_t (defined in <stddef.h>, which is already
included anyway)?

That said, I guess that, for code which is dependent on Windows APIs, there may
be some justification for using them, in this context. I do understand that
Microsoft's motivation for creating them was as a portability feature, to
facilitate porting (originally) from 16-bit to 32-bit Windows. However,
gratuitously over-using them may actually harm portability, and DWORD may be
particularly harmful! For example, when I ported pexports (which doesn't
actually depend on any WinAPI functions) to run on 64-bit Linux, I found it to
be littered with Microsoft "invented" data types, and DWORD, which should be
equivalent to the standard uint32_t, but due to its definition in terms of a
non-fixed-width integer type, although still a 32-bit type on Win-64, is
actually interpreted as 64-bit on 64-bit Linux. This utterly destroyed the
layout of structures used to map DLL internals, in pexports, thus leading to
runtime crashes; the solution was to replace all references to type DWORD with
the correctly sized fixed-width uint32_t standard (and infinitely more
portable) data type.



---------------------------------------------------------------------
Ticket Status:

      Reporter: earnie
         Owner: earnie
          Type: Issues
        Status: Open [Owner assigned]
      Priority: 5 - Medium
     MileStone: Create a 64bit build environment for the MinGW.org project.
     Component: WSL
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

This is the primary ticket for controlling this milestone. Status of the
milestone will be added as comments to this ticket.



-- 
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN

Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/mingw/ticket/37867
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=37867


------------------------------

Message: 4
Date: Wed, 08 Jan 2020 09:45:31 -0300
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #37867: Create a 64bit build
        environment for the MinGW.org project.
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8

#37867: Create a 64bit build environment for the MinGW.org project.

  Open Date: 2018-01-10 12:17
Last Update: 2020-01-08 09:45

URL for this Ticket:
    https://osdn.net//projects/mingw/ticket/37867
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=37867

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2020-01-08 09:45 Updated by: cstrauss

Comment:

Earnie Boyd Mar 30th, 2019 at 3:03:58 PM

    That does seem like the way to go. Do, please, be aware that I still have a
    patch queue, of around 130 outstanding patches, to address (mostly
    self-containment) issues in WINAPI; it would be good if we can minimize
    potential conflicts.

Perhaps do the github method of forking the source to a local "Chamber" and
submit merge requests?

Keith Mar 30th, 2019 at 6:16:03 PM

    Perhaps do the github method of forking the source to a local "Chamber" and
    submit merge requests?

I could do that, but it's a Mercurial patch queue, so it would need to be a
Mercurial chamber; are you up for working with that?

Cesar Strauss Mar 30th, 2019 at 6:21:29 PM

Sure.

Cesar Strauss Mar 30th, 2019 at 6:26:03 PM

I noticed there is a 6.0-exp branch for Win64 support, do you want maybe to
build on this?

Cesar Strauss Mar 31st, 2019 at 9:51:45 PM

@Keith, as I understand it, you would share your Mercurial repository, so I
could clone it, right?

Keith Mar 31st, 2019 at 10:14:18 AM

@Cesar Strauss

    as I understand it, you would share your Mercurial repository, so I could
    clone it, right?

No, you can clone the existing git repository, using Mercurial's hg-git
extension, to create a Mercurial clone, (as I have it here). I would publish a
Mercurial repository, containing just my patch queue, which you would then
clone into the .hg/patches directory of your Mercurial clone of the git
repository. You may then use the Mercurial queues feature, to qpush, qrefresh,
and/or qpop patches within your Mercurial clone of the git repository.

If you modify any of the patches, you would send me a diff of the queue,
generated by hg diff --mq, so I can keep our patches in sync.

Keith Mar 31st, 2019 at 11:49:32 AM

@Cesar Strauss

    I would publish a Mercurial repository, containing just my patch queue

That's now done; you will find it at https://osdn.net/users/keith/pf/
mingw-wsl-patches/



---------------------------------------------------------------------
Ticket Status:

      Reporter: earnie
         Owner: earnie
          Type: Issues
        Status: Open [Owner assigned]
      Priority: 5 - Medium
     MileStone: Create a 64bit build environment for the MinGW.org project.
     Component: WSL
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

This is the primary ticket for controlling this milestone. Status of the
milestone will be added as comments to this ticket.



-- 
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN

Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/mingw/ticket/37867
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=37867


------------------------------

Message: 5
Date: Wed, 08 Jan 2020 09:46:08 -0300
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #37867: Create a 64bit build
        environment for the MinGW.org project.
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8

#37867: Create a 64bit build environment for the MinGW.org project.

  Open Date: 2018-01-10 12:17
Last Update: 2020-01-08 09:46

URL for this Ticket:
    https://osdn.net//projects/mingw/ticket/37867
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=37867

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2020-01-08 09:46 Updated by: cstrauss

Comment:

Keith Mar 31st, 2019 at 2:50:32 PM

@Cesar Strauss

    I noticed there is a 6.0-exp branch for Win64 support, do you want maybe to
    build on this?

That would seem sensible; after all, that branch was created expressly for the
purpose of working towards Win64 support. Do note, however, that there have
been significant advances on the 5.x-trunk branches, (culminating in
5.2-trunk), since the most recent activity on 6.0-exp; the tip state of
5.2-trunk should be merged into 6.0-exp, before it progresses further.

Keith Apr 1st, 2019 at 7:23:33 AM

@Cesar Strauss, in addition to the patch queue, which I've already published, I
have a couple of Win64-specific patches (in an independent queue). I've never
been able to test these, since I don't have access to a Win64 host, (and
VirtualBox will not let me virtualize one, on my P6200 64-bit Linux host).

How would you prefer me to make these available? Another OSDN.net chamber? Or
attach them to @Earnie Boyd's existing OSDN.net Win64 ticket? Or even, just
apply and push, on the 6.0-exp branch?

Keith Apr 1st, 2019 at 10:35:56 AM

@Cesar Strauss, I forgot to mention that, in my working copy, I currently have
the self-contained patch queue guard enabled: hg qselect self-contained.

Keith Apr 1st, 2019 at 12:31:02 PM

@Cesar Strauss

    the tip state of 5.2-trunk should be merged into 6.0-exp, before it
    progresses further.

I've done that for you, now.



---------------------------------------------------------------------
Ticket Status:

      Reporter: earnie
         Owner: earnie
          Type: Issues
        Status: Open [Owner assigned]
      Priority: 5 - Medium
     MileStone: Create a 64bit build environment for the MinGW.org project.
     Component: WSL
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

This is the primary ticket for controlling this milestone. Status of the
milestone will be added as comments to this ticket.



-- 
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN

Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/mingw/ticket/37867
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=37867


------------------------------

Message: 6
Date: Wed, 08 Jan 2020 09:46:37 -0300
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #37867: Create a 64bit build
        environment for the MinGW.org project.
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8

#37867: Create a 64bit build environment for the MinGW.org project.

  Open Date: 2018-01-10 12:17
Last Update: 2020-01-08 09:46

URL for this Ticket:
    https://osdn.net//projects/mingw/ticket/37867
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=37867

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2020-01-08 09:46 Updated by: cstrauss

Comment:

Keith Apr 1st, 2019 at 6:28:18 PM

@Cesar Strauss, as I originally published it, mingw-wsl-patches will not apply
on the 6.0-exp branch, (due to the rename of the w32api directory). To address
this, I've modified all the affected path name references, within all of the
patch files, and posted an update to a new 6.0-exp bookmark, (bookmarks are
Mercurial's equivalent of git's branches; git has no analogue for Mercurial's
branches), within mingw-wsl-patches. I've also set a 5.2-trunk bookmark,
representing the originally published state of the patch queue.

After cloning mingw-wsl-patches into the .hg/patches directory of your
Mercurial clone of the git repository, you will need to update it to the
appropriate bookmark, to match the git branch (which will also appear as a
bookmark in your Mercurial clone), on which you are working.

Cesar Strauss Apr 1st, 2019 at 10:24:17 PM

    @Cesar Strauss, in addition to the patch queue, which I've already
    published, I have a couple of Win64-specific patches (in an independent
    queue). I've never been able to test these, since I don't have access to a
    Win64 host, (and VirtualBox will not let me virtualize one, on my P6200
    64-bit Linux host).

I will be glad to test them.

    How would you prefer me to make these available? Another OSDN.net chamber?

Sure.

    Or attach them to @Earnie Boyd's existing OSDN.net Win64 ticket?

Not necessarily. We could create new tickets.

Maybe, instead of attaching patches, add a web link to the changeset, provided
by the OSDN webview.

    Or even, just apply and push, on the 6.0-exp branch?

Let me test them first, thanks.



---------------------------------------------------------------------
Ticket Status:

      Reporter: earnie
         Owner: earnie
          Type: Issues
        Status: Open [Owner assigned]
      Priority: 5 - Medium
     MileStone: Create a 64bit build environment for the MinGW.org project.
     Component: WSL
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

This is the primary ticket for controlling this milestone. Status of the
milestone will be added as comments to this ticket.



-- 
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN

Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/mingw/ticket/37867
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=37867


------------------------------

Message: 7
Date: Wed, 08 Jan 2020 09:47:16 -0300
From: MinGW Notification List <[email protected]>
To: OSDN Ticket System <[email protected]>
Subject: [MinGW-Notify] [mingw] #37867: Create a 64bit build
        environment for the MinGW.org project.
Message-ID: <[email protected]>
Content-Type: text/plain; charset=UTF-8

#37867: Create a 64bit build environment for the MinGW.org project.

  Open Date: 2018-01-10 12:17
Last Update: 2020-01-08 09:47

URL for this Ticket:
    https://osdn.net//projects/mingw/ticket/37867
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=37867

---------------------------------------------------------------------

Last Changes/Comment on this Ticket:
2020-01-08 09:47 Updated by: cstrauss

Comment:

Keith Apr 2nd, 2019 at 7:17:37 PM

@Cesar Strauss

    How would you prefer me to make these available? Another OSDN.net chamber?

When I said "a couple of patches", I meant that literally ... there are just
two of them! Rather than create a new chamber, for only two patches, I've
simply added them to my existing mingw-wsl-patches chamber, on the
Win64-specific 6.0-exp bookmark. They appear as the first two in the series,
when both the working directory and the queue are on the 6.0-exp bookmark, and
both bear +win64 guards.

Cesar Strauss Apr 20th, 2019 at 7:37:25 PM

Here is my first patch: https://osdn.net/users/cstrauss/pf/
mingw-wsl-patches-win64/scm/blobs/tip/win64-context.patch

Cesar Strauss Apr 20th, 2019 at 7:44:41 PM

It is a workaround to the first failure that occurs as I build for 64 bits.

Cesar Strauss Apr 20th, 2019 at 7:45:57 PM

The next patches will continue to be in the order in which they fix build
problems.

Cesar Strauss Apr 20th, 2019 at 8:12:04 PM

Next failure is in cpu_features.sx. In this case, one of @Keith's patches
helps.

Keith Apr 21st, 2019 at 7:19:35 AM

    Next failure is in cpu_features.sx. In this case, one of @Keith's patches
    helps.

Yeah, assembly code is necessarily architecture specific, and I wrote the
original for ix86; I proposed that patch, in recognition that x86-64 would need
different coding. Was my patch, alone, sufficient? Or did you need to rework
it?



---------------------------------------------------------------------
Ticket Status:

      Reporter: earnie
         Owner: earnie
          Type: Issues
        Status: Open [Owner assigned]
      Priority: 5 - Medium
     MileStone: Create a 64bit build environment for the MinGW.org project.
     Component: WSL
      Severity: 5 - Medium
    Resolution: None
---------------------------------------------------------------------

Ticket details:

This is the primary ticket for controlling this milestone. Status of the
milestone will be added as comments to this ticket.



-- 
Ticket information of MinGW - Minimalist GNU for Windows project
MinGW - Minimalist GNU for Windows Project is hosted on OSDN

Project URL: https://osdn.net/projects/mingw/
OSDN: https://osdn.net

URL for this Ticket:
    https://osdn.net/projects/mingw/ticket/37867
RSS feed for this Ticket:
    https://osdn.net/ticket/ticket_rss.php?group_id=3917&tid=37867


------------------------------

Subject: Digest Footer

_______________________________________________
MinGW-Notify mailing list
[email protected]
https://lists.osdn.me/mailman/listinfo/mingw-notify


------------------------------

End of MinGW-Notify Digest, Vol 28, Issue 4
*******************************************

Reply via email to