This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: libjava broken on the trunk on i386-darwin8.11
- From: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- To: Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>, Dave Korn <dave dot korn dot cygwin at googlemail dot com>, Andrew Pinski <pinskia at gmail dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Java Patches <java-patches at gcc dot gnu dot org>
- Date: Wed, 30 Sep 2009 12:37:29 +0100
- Subject: Re: libjava broken on the trunk on i386-darwin8.11
- References: <de8d50360909291615r2b2503bfp19911fdbf09acf45@mail.gmail.com> <de8d50360909291621m7847d21ej2b6198c95106fe7b@mail.gmail.com> <4AC29F50.8090509@gmail.com> <4AC2B8C7.4030609@gmail.com> <20090930053442.GA3524@gmx.de>
Ralf Wildenhues wrote:
> Hi Dave,
>
> * Dave Korn wrote on Wed, Sep 30, 2009 at 03:47:51AM CEST:
>> --- configure.host (revision 152310)
>> +++ configure.host (working copy)
>
>> @@ -347,6 +349,7 @@ case "${host}" in
>> BACKTRACESPEC=
>> # Win32 DLLs are limited to 64k exported symbols each.
>> enable_libgcj_sublibs_default=yes
>> + libgcj_sublib_ltflags=-no-undefined -bindir $(bindir)
>
> This is shell script, so you need to quote spaces on the right hand side
> of the assignment, otherwise this is a temporary variable setting for
> the duration of invoking a "-bindir" command.
That's just one of the many hazards of writing a patch at 4 am and hoping
it'll be right so that you'll have a successful build available when you wake
up! Sigh...
> checking for fastjar... no
> checking for gjar... no
> checking for zip... /usr/bin/zip
> checking for unzip... /usr/bin/unzip
> checking whether to enable maintainer-specific portions of Makefiles... no
> /gnu/gcc/gcc-unpatched/libjava/configure.host: line 352: bindir: command not found
> /gnu/gcc/gcc-unpatched/libjava/configure.host: line 352: -bindir: command not found
> checking if the linker (/gnu/gcc/obj-java-pinski/./gcc/collect-ld) is GNU ld...
... also looks like I need to escape that dollar sign, rather than trying to
expand a makefile variable in a bash script...
I'll have the respin up shortly.
cheers,
DaveK