From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_ADSP_NXDOMAIN, DMARC_MISSING,MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=4.0.0 Received: from anchor-post-39.mail.demon.net (anchor-post-39.mail.demon.net [194.217.242.80]) by chiba.3jane.net (Postfix) with ESMTP id 63B14AC39F for ; Thu, 26 Sep 2002 12:42:09 -0500 (CDT) Received: from horler.demon.co.uk ([158.152.69.236]) by anchor-post-39.mail.demon.net with esmtp (Exim 3.36 #2) id 17uceN-00074V-0U for gentoo-dev@gentoo.org; Thu, 26 Sep 2002 18:42:08 +0100 From: Christopher S Horler To: gentoo-dev@gentoo.org Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 26 Sep 2002 18:47:56 +0100 Message-Id: <1033062477.7483.9.camel@horler.demon.co.uk> Mime-Version: 1.0 Subject: [gentoo-dev] Error (and fix) to upgrade to Gentoo 1.4 Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: 80785dc5-8cc7-4d73-9809-0ec4c2f754fa X-Archives-Hash: 030ea68929dda45dd14d8c26a7c21907 Currently if your system doesn't have usr on the root partition (i.e. on another partition), following the suggested upgrade procedure will cause a unbootable system. The problem is bash is linked to libgcc on the usr partition, at the stage when bash is called usr isn't mounted. I would suggest that libgcc is always statically linked into the bash executable. I wouldn't expect much change in the executable size but it would make for an easier upgrade on systems like mine. This can be accomplished by adding under the src_compile function in the ebuild the following line. LDFLAGS="${LDFLAGS} -static-libgcc" I have tested this on my system and the result at first glance seems acceptable. Note it is unacceptable to simply use the configure option for a static executable offered by the configure script as this will cause the portage build to hang. Later, Chris.