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: [email protected]
          Reporter: [email protected]

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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to