gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gm2] Building gm2-4.7.3 on MacOS 10.5.8/PPC (bis)


From: Gaius Mulley
Subject: Re: [Gm2] Building gm2-4.7.3 on MacOS 10.5.8/PPC (bis)
Date: Fri, 19 Sep 2014 19:06:24 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

john o goyo <address@hidden> writes:

> On 14/09/2014 09:45, john o goyo wrote (in part):
>> gcc-4.2 [...] -o cc1 [...]
>> ld: bl out of range (-16837344 max is +/-16M) from _local_define_builtin
>> at 0x101012DB0 in __text of libbackend.a(tree.o) to _apply_tm_attr at
>> 0x10000468C in __text of attribs.o in _local_define_builtin from
>> libbackend.a(tree.o)
>
> As you may know, "bl" is the PPC assembler mnemonic for
> branch-and-link. For reasons unknown, gcc is generating bad assembler,
> namely a branch to a location too far away.

Hi John,

I wonder if this helps?

http://stackoverflow.com/questions/23612499/ld-b-bl-blx-thumb2-branch-out-of-range-from

but it is just a guess.

> I added "-Os" to CFLAGS and tried again.  (Actually, I moved CFLAGS
> back to CC because it was being ignored after the penultimate git
> pull.)  So now, I am rewarded with a previous problem using the
> version
> 2014-07-11 of libgm2 and version 2014-09-17 of gm2.

has the latest Makefile.in reverted to a broken version?

> configure: updating cache ./config.cache
> checking generated-files-in-srcdir... no
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating config.h
> config.status: executing depfiles commands
> config.status: executing libtool commands
> config.status: executing default-1 commands
> make  all-am
> true  DO=all multi-do # make
> Checking multilib configuration for libgm2...
> mkdir powerpc-apple-darwin9.8.0/libgm2
> Configuring in powerpc-apple-darwin9.8.0/libgm2
> configure: creating cache ./config.cache
> configure: error: cannot find install-sh, install.sh, or shtool in
> "../../../../src/gcc-4.7.3-patched/libgm2"
> "../../../../src/gcc-4.7.3-patched/libgm2/.."
> "../../../../src/gcc-4.7.3-patched/libgm2/../.."
> make[1]: *** [configure-target-libgm2] Error 1
>
> Any advice gratefully accepted.

regards,
Gaius



reply via email to

[Prev in Thread] Current Thread [Next in Thread]