[Bug libgcj/40868] ecjx.cc should be compiled by host gcc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40868 --- Comment #16 from Dima 2010-09-27 22:13:18 UTC --- (In reply to comment #15) > (In reply to comment #14) > > Created attachment 21898 [details] [details] > > backport > > > > This is the backport I use against gcc-4.4 > > dear dima, thanks for that patch but it's not sufficient. it even applies and > configures right but too many things had changed between release 4.4.4 and > revision 163580. so the resulting generated makefile is faulty and leaves the > variable @GCC_FOR_ECJX@ unsubtituted which causes compile to fail. This patch does apply against snapshot gcc-4.4 branch 26-09-2010. And does build libgcj & java cross-compiler from i386|x86_64-gnu-linux to i686-w64-mingw32. After the patch is applied you do need to rerun correct autoreconf (2.59). Buildlog - http://launchpadlibrarian.net/56490712/buildlog_ubuntu-lucid-i386.w64-toolchain_1.0b%2B201009260029-0w2228g93841b22110p11~lucid1_FULLYBUILT.txt.gz
[Bug libgcj/40868] ecjx.cc should be compiled by host gcc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40868 --- Comment #15 from Fraxinas 2010-09-27 21:57:43 UTC --- (In reply to comment #14) > Created attachment 21898 [details] > backport > > This is the backport I use against gcc-4.4 dear dima, thanks for that patch but it's not sufficient. it even applies and configures right but too many things had changed between release 4.4.4 and revision 163580. so the resulting generated makefile is faulty and leaves the variable @GCC_FOR_ECJX@ unsubtituted which causes compile to fail. instead, i did it like Andrew proposed and simply imported the entire libjava directory from svn head with which it works correctly. now i am struggeling to cross compile statically linked mipsel java code with a c++ .so linked to it...
[Bug libgcj/40868] ecjx.cc should be compiled by host gcc
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40868 Fraxinas changed: What|Removed |Added CC||andreas.fri...@multimedia-l ||abs.de --- Comment #12 from Fraxinas 2010-09-23 22:36:05 UTC --- Hi Ralf, i tried destilling your rev 163580 patches into one accumulated backport to gcc-4.4.4. in our openembedded cross development toolchain. http://pastebin.com/pU3zF6MP the patch actually does apply correctly, but during compile time, fails in the libjava directory: ... libtool: link: ( cd ".libs" && rm -f "libgcj_bc.la" && ln -s "../libgcj_bc.la" "libgcj_bc.la" ) /bin/bash: GCC_FOR_ECJX@: command not found turns out that the generated Makefile has the line GCC_FOR_ECJX = @GCC_FOR_ECJX@ in it, so the variable wasn't substituted correctly during configure, even though config.log says GCC_FOR_ECJX='x86_64-linux-gcc' i probably need to backport other parts to be able to apply this patch correctly on gcc release 4.4.4. but unfortunately the revision log http://gcc.gnu.org/viewcvs/trunk/libjava/configure.ac?view=log&pathrev=163580 doesn't have information about the releases is there an easy way to find out what else i need? greetings, fraxinas --- Comment #13 from Andrew Haley 2010-09-24 07:54:17 UTC --- On 23/09/10 23:36, andreas.fri...@multimedia-labs.de wrote: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40868 > > Fraxinas changed: > >What|Removed |Added > > CC||andreas.fri...@multimedia-l >||abs.de > > --- Comment #12 from Fraxinas 2010-09-23 > 22:36:05 UTC --- > Hi Ralf, > i tried destilling your rev 163580 patches into one accumulated backport to > gcc-4.4.4. in our openembedded cross development toolchain. > http://pastebin.com/pU3zF6MP > > the patch actually does apply correctly, but during compile time, fails in the > libjava directory: > ... > libtool: link: ( cd ".libs" && rm -f "libgcj_bc.la" && ln -s "../libgcj_bc.la" > "libgcj_bc.la" ) > /bin/bash: GCC_FOR_ECJX@: command not found > > turns out that the generated Makefile has the line GCC_FOR_ECJX = > @GCC_FOR_ECJX@ in it, so the variable wasn't substituted correctly during > configure, even though config.log says GCC_FOR_ECJX='x86_64-linux-gcc' > > i probably need to backport other parts to be able to apply this patch > correctly on gcc release 4.4.4. but unfortunately the revision log > http://gcc.gnu.org/viewcvs/trunk/libjava/configure.ac?view=log&pathrev=163580 > doesn't have information about the releases > > is there an easy way to find out what else i need? It's hard to say. I'd just import libgcj from gcc trunk. Andrew.
[Bug libgcj/40868] ecjx.cc should be compiled by host gcc
--- Comment #11 from rwild at gcc dot gnu dot org 2010-08-27 04:30 --- Fixed. -- rwild at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40868
[Bug libgcj/40868] ecjx.cc should be compiled by host gcc
--- Comment #10 from rwild at gcc dot gnu dot org 2010-08-27 04:27 --- Subject: Bug 40868 Author: rwild Date: Fri Aug 27 04:27:40 2010 New Revision: 163580 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163580 Log: Fix building ecjx in cross compile mode. libjava/: PR libgcj/40868 * configure.ac: Add GCC_FOR_ECJX variable. Ensure GCJ_FOR_ECJX is always set. * Makefile.am [!NATIVE] (ecjx.$(OBJEXT)): New rule. * Makefile.in: Regenerate. * configure: Regenerate. * gcj/Makefile.in: Regenerate. * include/Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. Modified: trunk/libjava/ChangeLog trunk/libjava/Makefile.am trunk/libjava/Makefile.in trunk/libjava/configure trunk/libjava/configure.ac trunk/libjava/gcj/Makefile.in trunk/libjava/include/Makefile.in trunk/libjava/testsuite/Makefile.in -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40868
[Bug libgcj/40868] ecjx.cc should be compiled by host gcc
--- Comment #9 from bugtrack at roumenpetrov dot info 2010-07-10 08:57 --- *** Bug 42311 has been marked as a duplicate of this bug. *** -- bugtrack at roumenpetrov dot info changed: What|Removed |Added CC||bugtrack at roumenpetrov dot ||info http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40868
[Bug libgcj/40868] ecjx.cc should be compiled by host gcc
--- Comment #8 from bugtrack at roumenpetrov dot info 2010-07-10 08:56 --- Bug cannot be resolved with updates in libjava/Makefile. You could see my comments in issue #40868 (clone of #30591) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40868
[Bug libgcj/40868] ecjx.cc should be compiled by host gcc
--- Comment #7 from ramana at gcc dot gnu dot org 2009-12-10 15:25 --- (In reply to comment #6) > Created an attachment (id=19222) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19222&action=view) [edit] > Proposed patch > > With this patch applied, gcj cross-builds fine (not a canadian cross though). > Please submit patches to gcc-patc...@gcc.gnu.org -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40868
[Bug libgcj/40868] ecjx.cc should be compiled by host gcc
--- Comment #6 from flameeyes at gentoo dot org 2009-12-04 12:54 --- Created an attachment (id=19222) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19222&action=view) Proposed patch With this patch applied, gcj cross-builds fine (not a canadian cross though). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40868
[Bug libgcj/40868] ecjx.cc should be compiled by host gcc
--- Comment #5 from jakub at gcc dot gnu dot org 2009-09-01 21:38 --- I believe libtool wasn't doing the right thing without any sources, but it has been a while, so I don't remember the details. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40868
[Bug libgcj/40868] ecjx.cc should be compiled by host gcc
--- Comment #4 from aph at gcc dot gnu dot org 2009-09-01 17:09 --- Hmm, I seem to have approved that patch. I agree with you: I can't see why the specfile change requires ecjx.cc. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40868
[Bug libgcj/40868] ecjx.cc should be compiled by host gcc
--- Comment #3 from tromey at gcc dot gnu dot org 2009-09-01 16:58 --- I think it isn't correct to use "gcc" directly. You probably have to introduce a new variable. But, I don't see why we need ecjx.cc at all. I think it must be to work around some other problem. Maybe instead we could just fix that problem directly. Apparently it came in here, though I don't see why: http://gcc.gnu.org/ml/java-patches/2008-q4/msg00067.html See also PR 38396 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40868
[Bug libgcj/40868] ecjx.cc should be compiled by host gcc
--- Comment #2 from aph at gcc dot gnu dot org 2009-09-01 14:06 --- Assigning to Tom tromey: this is his area. -- aph at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |tromey at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40868
[Bug libgcj/40868] ecjx.cc should be compiled by host gcc
--- Comment #1 from ramana at gcc dot gnu dot org 2009-09-01 12:03 --- This sounds correct to me . Adding one of the libjava maintainers to comment on this. Patches should be submitted to the correct mailing list. -- ramana at gcc dot gnu dot org changed: What|Removed |Added CC||aph at redhat dot com Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|-00-00 00:00:00 |2009-09-01 12:03:59 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40868