libgcc build problem with unwind (was:ld64 build problem with unwind)

Thomas Ruedas trg818 at gmail.com
Sun Nov 9 15:51:03 PST 2014


Hi,
On 9/11/14 7:42 PM, Lawrence Velázquez wrote:
> There is now. Run selfupdate in half an hour or so to pull down the new port.
thanks for responding so promptly. ld64 has now been built correctly 
with the new unwind, but it seems that libunwind is troubling other 
ports as well.
The next of my outdated ports to be upgraded was gcc, to go from 4.8.2 
to 4.9.1. This build also fails, and again it seems to be unwind that is 
causing the trouble. Below I have included the error messages pertaining 
to the failure.
Thomas

:info:build ld: warning: could not create compact unwind for 
ix86_valid_target_attribute_tree(tree_node*, gcc_options*, 
gcc_options*): stack subq instruction is too different from dwarf stack size
:info:build ld: warning: could not create compact unwind for 
get_coverage_counts(unsigned int, unsigned int, unsigned int, unsigned 
int, gcov_ctr_summary const**): stack subq instruction is too different 
from dwarf stack size
:info:build ld: warning: could not create compact unwind for 
read_counts_file(): stack subq instruction is too different from dwarf 
stack size
:info:build ld: warning: could not create compact unwind for 
cselib_record_sets(rtx_def*): stack subq instruction is too different 
from dwarf stack size
:info:build ld: warning: could not create compact unwind for operator 
new[](unsigned long): dwarf uses DW_CFA_GNU_args_size
:info:build ld: warning: could not create compact unwind for 
print_value(pretty_printer*, rtx_def const*, int): stack subq 
instruction is too different from dwarf stack size
:info:build ld: warning: could not create compact unwind for 
find_reloads(rtx_def*, int, int, int, short*): stack subq instruction is 
too different from dwarf stack size
:info:build ld: warning: could not create compact unwind for 
___cxa_guard_acquire: dwarf uses DW_CFA_GNU_args_size
:info:build ld: warning: could not create compact unwind for 
___cxa_guard_abort: dwarf uses DW_CFA_GNU_args_size
:info:build ld: warning: could not create compact unwind for 
___cxa_guard_release: dwarf uses DW_CFA_GNU_args_size
:info:build ld: warning: could not create compact unwind for 
model_recompute(rtx_def*): stack subq instruction is too different from 
dwarf stack size
:info:build ld: warning: could not create compact unwind for 
process_alt_operands(int): stack subq instruction is too different from 
dwarf stack size
:info:build ld: warning: could not create compact unwind for 
curr_insn_transform(): stack subq instruction is too different from 
dwarf stack size
:info:build ld: warning: could not create compact unwind for 
__Unwind_RaiseException: non-standard register 0 being saved in prolog
:info:build ld: warning: could not create compact unwind for 
__Unwind_ForcedUnwind: non-standard register 0 being saved in prolog
:info:build ld: warning: could not create compact unwind for 
__Unwind_Resume: does not use EBP or ESP based frame
:info:build ld: warning: could not create compact unwind for 
__Unwind_Resume_or_Rethrow: non-standard register 0 being saved in prolog
:info:build ld: warning: could not create compact unwind for 
__gnu_cxx::__scoped_lock::~__scoped_lock() [clone .isra.0]: dwarf uses 
DW_CFA_GNU_args_size
:info:build ld: warning: could not create compact unwind for 
___cxa_allocate_exception: dwarf uses DW_CFA_GNU_args_size
:info:build ld: warning: could not create compact unwind for 
___cxa_free_exception: dwarf uses DW_CFA_GNU_args_size
:info:build ld: warning: could not create compact unwind for 
___cxa_allocate_dependent_exception: dwarf uses DW_CFA_GNU_args_size
:info:build ld: warning: could not create compact unwind for 
___cxa_free_dependent_exception: dwarf uses DW_CFA_GNU_args_size
:info:build ld: warning: could not create compact unwind for 
___cxa_call_unexpected: dwarf uses DW_CFA_GNU_args_size
:info:build ld: warning: could not create compact unwind for 
__gnu_cxx::__verbose_terminate_handler(): dwarf uses DW_CFA_GNU_args_size
:info:build ld: illegal text-relocoation (direct reference) to 
(global,weak) hash_table<loc_list_hasher, 
xcallocator>::find_slot_with_hash(dw_loc_list_struct const*, unsigned 
int, insert_option) in libbackend.a(dwarf2out.o) from anon in 
libbackend.a(dwarf2out.o) for architecture i386
:info:build collect2: error: ld returned 1 exit status
:info:build make[3]: *** [cc1] Error 1


More information about the macports-users mailing list