commit: 396a93ce5cbb65602468a35849df558443a59ebe Author: Benda Xu <heroxbd <AT> gentoo <DOT> org> AuthorDate: Tue Feb 20 07:57:03 2018 +0000 Commit: Benda XU <heroxbd <AT> gentoo <DOT> org> CommitDate: Tue Feb 20 08:00:37 2018 +0000 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=396a93ce
tandalonebootstrap-prefix.sh: Add back BOOTSTRAP_RAP for zlib. By default zlib builds several example executables, even if what we want is a library. It does not matter usually. But during stage3, after glibc and before binutils, we cannot build executable reliably. These should be disabled. Closes: https://bugs.gentoo.org/647144 scripts/bootstrap-prefix.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh index ea7a874261..0633207d9a 100755 --- a/scripts/bootstrap-prefix.sh +++ b/scripts/bootstrap-prefix.sh @@ -1676,6 +1676,7 @@ bootstrap_stage3() { # use the new dynamic linker in place of rpath from now on. RAP_DLINKER=$(echo "${ROOT}"/$(get_libdir)/ld*.so.[0-9]) export LDFLAGS="-L${ROOT}/usr/$(get_libdir) -Wl,--dynamic-linker=${RAP_DLINKER}" + BOOTSTRAP_RAP=yes \ emerge_pkgs --nodeps "${pkgs[@]}" || return 1 # remove stage2 ld so that stage3 ld is used by stage2 gcc.
