[Bug 235029] ld-elf.so.1 is loaded too low when invoked directly

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jan 17 17:59:47 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=235029

            Bug ID: 235029
           Summary: ld-elf.so.1 is loaded too low when invoked directly
           Product: Base System
           Version: 12.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: theraven at FreeBSD.org

When a normal dynamically linked ELF program runs, the kernel maps ld-elf.so.1
very high in the address space, somewhere around 0x800000000 on amd64.  When
the same program is run by invoking /libexec/ld-elf.so.1 {program name}, the
kernel maps the rtld binary very low, around 0x1000000ish.  This is fine for
some programs, but a relatively large one, such as the clang binary from the
clang60 or clang70 port does not fit in the gap and crashes on startup.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list