From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 86D531382C5 for ; Tue, 20 Feb 2018 08:00:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A8CB1E0971; Tue, 20 Feb 2018 08:00:50 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 85AEBE0971 for ; Tue, 20 Feb 2018 08:00:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 17056335C2A for ; Tue, 20 Feb 2018 08:00:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 68C751DF for ; Tue, 20 Feb 2018 08:00:47 +0000 (UTC) From: "Benda XU" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Benda XU" Message-ID: <1519113637.396a93ce5cbb65602468a35849df558443a59ebe.heroxbd@gentoo> Subject: [gentoo-commits] repo/proj/prefix:master commit in: scripts/ X-VCS-Repository: repo/proj/prefix X-VCS-Files: scripts/bootstrap-prefix.sh X-VCS-Directories: scripts/ X-VCS-Committer: heroxbd X-VCS-Committer-Name: Benda XU X-VCS-Revision: 396a93ce5cbb65602468a35849df558443a59ebe X-VCS-Branch: master Date: Tue, 20 Feb 2018 08:00:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 519e2785-a70e-46a4-8e6b-a14e1a9529ce X-Archives-Hash: 1b38c3dfcbf2e9a65e3b5a0f546eaea7 commit: 396a93ce5cbb65602468a35849df558443a59ebe Author: Benda Xu gentoo org> AuthorDate: Tue Feb 20 07:57:03 2018 +0000 Commit: Benda XU gentoo 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.