public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Error (and fix) to upgrade to Gentoo 1.4
@ 2002-09-26 17:47 Christopher S Horler
  0 siblings, 0 replies; only message in thread
From: Christopher S Horler @ 2002-09-26 17:47 UTC (permalink / raw
  To: gentoo-dev

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.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-09-26 17:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-26 17:47 [gentoo-dev] Error (and fix) to upgrade to Gentoo 1.4 Christopher S Horler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox