Bug 43682 - libgcj don't support Win x64?
Summary: libgcj don't support Win x64?
Status: RESOLVED WONTFIX
Alias: None
Product: gcc
Classification: Unclassified
Component: boehm-gc (show other bugs)
Version: 4.5.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-08 01:59 UTC by Chen Chen
Modified: 2016-10-03 05:45 UTC (History)
6 users (show)

See Also:
Host:
Target: x86_64-mingw32
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chen Chen 2010-04-08 01:59:22 UTC
in /boehm-gc/mark.c, line 428-434:
  context->Esp = context->Ebp;
  context->Ebp = *((DWORD *)context->Esp);
  context->Esp = context->Esp - 8;
  context->Eip = (DWORD )(xer->alt_path);
So much x86-oriented register (E** but no R** for _WIN64),
does it mean libgcj (because of its default gc's fault or both) had not been ported to Win x64?

In addition, a small bug:
in /boehm-gc/gc.h, line 87-89:
should explicitly add #include <basetsd.h> since no <windows.h> can be found above,
and the second GC_word should be changed to GC_signed_word

Thx.
Comment 1 Victor K. 2011-01-07 17:08:42 UTC
Chen Chen.

You are wrong here about libgcj.
libgcj itself having some small problems too about Win64(Which ive solved already with patch which is not yet been posted).

Your issue related to Boehm GC not to libgcj.
The in-tree BGC is 5 years old(v6.6).
Win64 support is fully implemented in upstream Boehm-GC 7.2 Alpha 4 and above.
Comment 2 Chen Chen 2011-01-07 17:17:05 UTC
I know it's about boehm-gc, and I've found that they have been solved in the upstream. I come here one year ago to ask for a merge. I cannot handle the multilib Makefile of boehm-gc...
This problem made us hard to port the complete workbench from MSVC to gcc because we need pure win64 platform. We want a tool to convert Java directly into fast-running binarys, comparing to Sun's or OpenJDK.
Comment 3 nightstrike 2011-10-03 13:06:38 UTC
Who can update the in-tree boehm-gc?
Comment 4 Chen Chen 2011-11-20 07:18:28 UTC
I've noticed the gc-7.2alpha6.tar.gz have released. The Boehm-GC has been a major obscure for the gcj port of Mingew64 I think... (embarrassed)
http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/
Comment 5 Andrew Pinski 2016-10-03 05:45:36 UTC
Won't fix as GCJ has been removed.