git: gcc50: Look for ld-elf.so.2 on the root slice always
John Marino
marino at crater.dragonflybsd.org
Thu Feb 12 09:51:33 PST 2015
commit 6137e5a5092ad670a14fc9f681f6122d0bd4eebe
Author: John Marino <draco at marino.st>
Date: Thu Feb 12 18:50:18 2015 +0100
gcc50: Look for ld-elf.so.2 on the root slice always
A couple of us could not could not even get the shell after rebuilding
world with the new compiler. The problem was that several programs such
as sh, cd, mount*, etc need to run before /usr is mounted when /usr is on
a different slice (those programs are dynamically linked these days) I
didn't consider this when I decided to leave the interpreter at the default
value which is "/usr/libexec/ld-elf.so.2". That file is now symlink to
/libexec/ld-elf.so.2. sh, cd, etc, could not access the dynamic linker
because the mount command failed due to also needing the dynamic linker.
Let's rectify that bad decision now before any other systems get badly
messed up.
Summary of changes:
contrib/gcc-5.0/README.DRAGONFLY | 1 +
contrib/gcc-5.0/gcc/config/dragonfly.h | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6137e5a5092ad670a14fc9f681f6122d0bd4eebe
--
DragonFly BSD source repository
More information about the Commits
mailing list