Port-arm archive

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

Re: cross-build aarch64 from macOS not working? Seems to be a result of newer gcc?



Hi,

On Mon, Oct 10, 2022 at 10:10:19PM -0700, Rob Newberry wrote:
> Hi.
> 
> I’m trying to cross-build NetBSD for aarch64.  It worked in the past (I think around the time 9.0 came out) — I used to do it all the time, but then I got busy with some other stuff and now that I’ve come back, it’s failing.
> [...]
> But building “gencondmd” fails because it can’t find some symbols:
> [...] 
> Undefined symbols for architecture x86_64:
>   "_aarch64_isa_flags", referenced from:
>       ___cxx_global_var_init in gencondmd.lo
>   "_aarch64_tls_dialect", referenced from:
>       ___cxx_global_var_init in gencondmd.lo
>   "_const_int_rtx", referenced from:
>       ___cxx_global_var_init in gencondmd.lo
>   "_flag_modulo_sched", referenced from:
>       ___cxx_global_var_init in gencondmd.lo
>   "_flag_rounding_math", referenced from:
>       ___cxx_global_var_init in gencondmd.lo
>   "_operands", referenced from:
>       ___cxx_global_var_init in gencondmd.lo
>   "_optimize", referenced from:
>       ___cxx_global_var_init in gencondmd.lo
>   "_ptr_mode", referenced from:
>       ___cxx_global_var_init in gencondmd.lo
>   "_reload_completed", referenced from:
>       ___cxx_global_var_init in gencondmd.lo
>   "_reload_in_progress", referenced from:
>       ___cxx_global_var_init in gencondmd.lo
> ld: symbol(s) not found for architecture x86_64

This looks suspiciously similar to what is reported in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92061 .  Can you test if
the patch in comment #5 there helps for you?


thanks,
  Harold


Home | Main Index | Thread Index | Old Index