bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/25803] cross compilation of glibc using mips64el-none-linu


From: broly at mac dot com
Subject: [Bug binutils/25803] cross compilation of glibc using mips64el-none-linux-gnu as the host
Date: Wed, 15 Apr 2020 17:49:44 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=25803

--- Comment #20 from gagan singh sidhu (gagz, broly, w/e u want) <broly at mac 
dot com> ---
      if (bed->elf_osabi == ELFOSABI_NONE &&
              bed->target_id != MIPS_ELF_DATA)
        bed->elf_osabi = ELFOSABI_GNU;
      else if (bed->target_id == MIPS_ELF_DATA)
        as_bad (_("symbol type \"%s\" is not supported by "
                    "MIPS targets"), type_name);
      else if (bed->elf_osabi != ELFOSABI_GNU
               && bed->elf_osabi != ELFOSABI_FREEBSD)
        as_bad (_("symbol type \"%s\" is supported only by GNU "
                  "and FreeBSD targets"), type_name);

libc_cv_gcc_builtin_redirection=yes
libc_cv_gcc_incompatible_alias=yes
libc_cv_gcc_indirect_function=no
libc_cv_gcc_unwind_find_fde=yes
libc_cv_has_glob_dat=no
libc_cv_hashstyle=yes
libc_cv_have_sdata_section=yes
libc_cv_have_section_quotes=no
libc_cv_idn=no
libc_cv_insert=yes
libc_cv_ld_gnu_indirect_function=no
libc_cv_linux320='3.2.0 or later'

produces the desired output. probably could collapse the second else if into
the third given that the first condition (where we check for none) has an "and"
to ensure that it's not MIPS (otherwise it gets set to GNU and this is where
the problem lies).

open to tidying, but i think mr SCHWIZZAB helped us cliffz

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

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