This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgcj/40868] ecjx.cc should be compiled by host gcc


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]