Re: 3.18+: soft-float userland unusable due to .MIPS.abiflags patch

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

 



On Fri, Jan 16, 2015 at 6:59 PM, Manuel Lauss <manuel.lauss@xxxxxxxxx> wrote:
> Hi Paul,
>
> Your patch commit 90cee759f08a6b7a8daab9977d3e163ebbcac220
> ("MIPS: ELF: Set FP mode according to .MIPS.abiflags") completely
> breaks my pure soft-float o32 userland:
>
> [...]
> Freeing unused kernel memory: 244K (80993000 - 809d0000)
> Failed to execute /usr/lib/systemd/systemd (error -84).  Attempting defaults...
> Starting init: /sbin/init exists but couldn't execute it (error -84)
> sh: cannot set terminal process group (-1): Inappropriate ioctl for device
> sh: no job control in this shell
> sh-4.3# ls
> sh: /bin/ls: Accessing a corrupted shared library
> sh-4.3#
>
> I've recently rebuilt bash, ncurses, readline and glibc-2.20 (with
> binutils 2.25+)
> to track down another userland issue, so that may explain why at least
> sh is able to run.

Although ls and all its dependencies have the following soft-float abi tag:
Displaying notes found at file offset 0x00000164 with length 0x00000020:
  Owner                 Data size       Description
  GNU                  0x00000010       NT_GNU_ABI_TAG (ABI version tag)
    OS: Linux, ABI: 2.6.32
Attribute Section: gnu
File Attributes
  Tag_GNU_MIPS_ABI_FP: Soft float


Manuel




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux