1 |
I think it looks like
|
2 |
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37632
|
3 |
It seems like your initial compiler is at fault.
|
4 |
At the very least gcc spits out impossible assembly,
|
5 |
you cannot branch that far on ppc64.
|
6 |
Can you build clang on that machine?
|
7 |
|
8 |
François
|
9 |
|
10 |
> On 11/09/2019, at 12:08 PM, Johan Hattne <johan@××××××.se> wrote: |
11 |
> |
12 |
> Dear all; |
13 |
> |
14 |
> I’m lead to believe that there’s at least one other person with a 64-bit PPC Mac at hand. I see this problem with the linker when I try to build e.g. gcc-apple: |
15 |
> |
16 |
> powerpc64-apple-darwin9-gcc -m64 -std=gnu89 -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute -fno-common -DHAVE_CONFIG_H -o cc1-dummy c-lang.o stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-incpath.o cppdefault.o c-ppoutput.o c-cppbuiltin.o prefix.o c-objc-common.o c-dump.o c-pch.o c-parser.o darwin-c.o rs6000-c.o c-gimplify.o tree-mudflap.o c-pretty-print.o c-omp.o dummy-checksum.o \ |
17 |
> main.o tree-browser.o libbackend.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a -L/home/hattne/Gentoo/usr/lib -lintl -L/home/hattne/Gentoo/usr/lib -liconv ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a |
18 |
> ld: bl out of range (-17201436 max is +/-16M) from _predict_loops at 0x101321154 in __text of libbackend.a(predict.o) to _scev_initialize at 0x1002B9878 in __text of libbackend.a(tree-scalar-evolution.o) in _predict_loops from libbackend.a(predict.o) |
19 |
> collect2: error: ld returned 1 exit status |
20 |
> |
21 |
> This is within an old prefix, with 4.2.1_p5666-r1 and binutils-apple-3.2.6. I’ve googled a bit, but haven’t found anything. Is the above something anybody recognizes? |
22 |
> |
23 |
> // Best wishes; Johan |