This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/40868] ecjx.cc should be compiled by host gcc
- From: "LpSolit at netscape dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 27 Sep 2010 21:10:16 +0000
- Subject: [Bug libgcj/40868] ecjx.cc should be compiled by host gcc
- Auto-submitted: auto-generated
- References: <bug-40868-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40868
Fraxinas <andreas.frisch@multimedia-labs.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andreas.frisch@multimedia-l
| |abs.de
--- Comment #12 from Fraxinas <andreas.frisch@multimedia-labs.de> 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 <aph at redhat dot com> 2010-09-24 07:54:17 UTC ---
On 23/09/10 23:36, andreas.frisch@multimedia-labs.de wrote:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40868
>
> Fraxinas <andreas.frisch@multimedia-labs.de> changed:
>
> What |Removed |Added
> ----------------------------------------------------------------------------
> CC| |andreas.frisch@multimedia-l
> | |abs.de
>
> --- Comment #12 from Fraxinas <andreas.frisch@multimedia-labs.de> 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.