[MacPorts] #64260: gcc7: cannot create executables for ppc64
MacPorts
noreply at macports.org
Sat Dec 25 21:24:30 UTC 2021
#64260: gcc7: cannot create executables for ppc64
---------------------------+-------------------------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: PowerPC, Leopard, ppc64
Port: gcc7, gcc6 |
---------------------------+-------------------------------------
Comment (by barracuda156):
Replying to [comment:7 kencu]:
> first thing I would do is build gcc7 in an isolated way outside
macports, with the default multilib left enabled, and see if it is broken
building 64 bit then.
>
> If it is, complain to gcc.
>
> If that one works, then it's a macports issue of some kind...
It fails to build as universal for me with:
{{{
libbackend.a main.o libcommon-target.a libcommon.a
../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a
../libcpp/libcpp.a -liconv ../libbacktrace/.libs/libbacktrace.a
../libiberty/libiberty.a ../libdecnumber/libdecnumber.a
-L/Users/svacchanda/Dev/gcc_all/gcc-7.5.0/build/./isl/.libs -lisl
-L/Users/svacchanda/Dev/gcc_all/gcc-7.5.0/build/./gmp/.libs
-L/Users/svacchanda/Dev/gcc_all/gcc-7.5.0/build/./mpfr/src/.libs
-L/Users/svacchanda/Dev/gcc_all/gcc-7.5.0/build/./mpc/src/.libs -lmpc
-lmpfr -lgmp -L./../zlib -lz
ld: bl out of range (-19165716 max is +/-16M) from
type_lists_compatible_p(tree_node const*, tree_node const*, bool*, bool*)
at 0x10126E7F0 in __text_cold of c/c-typeck.o to
c_build_qualified_type(tree_node*, int, tree_node*, unsigned long) at
0x100027690 in __text of c/c-typeck.o in
type_lists_compatible_p(tree_node const*, tree_node const*, bool*, bool*)
from c/c-typeck.o
collect2: error: ld returned 1 exit status
make[3]: *** [cc1] Error 1
make[3]: *** Waiting for unfinished jobs....
ld: bl out of range (-19486640 max is +/-16M) from toplev::main(int,
char**) at 0x1012A8B40 in __text_startup of libbackend.a(toplev.o) to
hash_table_higher_prime_index(unsigned long) at 0x1000135E0 in __text of
hash-table.o in toplev::main(int, char**) from libbackend.a(toplev.o)
collect2: error: ld returned 1 exit status
make[3]: *** [cc1obj] Error 1
ld: bl out of range (-19268260 max is +/-16M) from
finalization_scalarizer(gfc_symbol*, gfc_symbol*, gfc_expr*,
gfc_namespace*) at 0x10133EE80 in __text_cold of fortran/class.o to
gfc_get_code(gfc_exec_op) at 0x1000DEC10 in __text of fortran/st.o
in finalization_scalarizer(gfc_symbol*, gfc_symbol*, gfc_expr*,
gfc_namespace*) from fortran/class.o
collect2: error: ld returned 1 exit status
make[3]: *** [f951] Error 1
ld: bl out of range (-19401504 max is +/-16M) from
mark_inline_variable(tree_node*) at 0x1013DABE0 in __text_cold of
cp/decl.o to toplevel_bindings_p() at 0x10015A0E0 in __text of cp
/name-lookup.o in mark_inline_variable(tree_node*) from cp/decl.o
collect2: error: ld returned 1 exit status
make[3]: *** [cc1plus] Error 1
make[2]: *** [all-stage2-gcc] Error 2
make[1]: *** [stage2-bubble] Error 2
make: *** [all] Error 2
}}}
--
Ticket URL: <https://trac.macports.org/ticket/64260#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list