Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jan 2019 17:59:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 235029] ld-elf.so.1 is loaded too low when invoked directly
Message-ID:  <bug-235029-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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@FreeBSD.org
          Reporter: theraven@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.

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-235029-227>