Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 95504 Details for
Bug 145014
Gcc Upgrade guide fixes for gcc 4.1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed changes again, this time as diff
diff (text/plain), 3.44 KB, created by
Wernfried Haas (RETIRED)
on 2006-08-30 12:11:14 UTC
(
hide
)
Description:
Proposed changes again, this time as diff
Filename:
MIME Type:
Creator:
Wernfried Haas (RETIRED)
Created:
2006-08-30 12:11:14 UTC
Size:
3.44 KB
patch
obsolete
>--- gcc-upgrading.xml 2006-08-30 21:03:17.000000000 +0200 >+++ gcc-upgrading-changed.xml 2006-08-30 21:02:23.000000000 +0200 >@@ -107,18 +107,22 @@ > <pre caption="Upgrading GCC"> > # <i>emerge -uav gcc</i> > >-<comment>(Please substitute "i686-pc-linux-gnu-3.4.5" with the GCC >+<comment>(Please substitute "i686-pc-linux-gnu-4.1.1" with the GCC > version and CHOST settings you've upgraded to:)</comment> >-# <i>gcc-config i686-pc-linux-gnu-3.4.5</i> >+# <i>gcc-config i686-pc-linux-gnu-4.1.1</i> > # <i>source /etc/profile</i> > >+<comment>If you upgraded from gcc 3 to 4 (e.g. from 3.4.6 to 4.1.1 in this >+example) you will have to run fix_libtool_files.sh manually</comment> >+# <i>fix_libtool_files.sh 3.4.6</i> >+ > <comment>(Rebuilding libtool)</comment> > # <i>emerge --oneshot -av libtool</i> > </pre> > > <p> >-Now let's rebuild toolchain and then world so we will make use of the new >-compiler. >+To be completely safe that the system is in a sane state, it is necessary to >+rebuild toolchain and then world to make use of the new compiler. > </p> > > <pre caption="Rebuilding system"> >@@ -129,11 +133,11 @@ > <p> > It is safe to remove the older GCC version at this time. If you feel the need, > please issue the following command (as usual, substitute >-<c>=sys-devel/gcc-3.3*</c> with the version you want to uninstall): >+<c>=sys-devel/gcc-3.4*</c> with the version you want to uninstall): > </p> > > <pre caption="Removing older GCC version"> >-# <i>emerge -aC =sys-devel/gcc-3.3*</i> >+# <i>emerge -aC =sys-devel/gcc-3.4*</i> > </pre> > > </body> >@@ -159,6 +163,11 @@ > <body> > > <impo> >+If you upgrade from gcc 3.4 to 4.1, please consult the General Update >+instructions. >+</impo> >+ >+<impo> > If you're upgrading on a SPARC machine, you will have to take the way of > <uri link="#upgrade-3.3-to-3.4-emerge-e">complete system rebuild</uri> due to > some internal <uri link="http://gcc.gnu.org/gcc-3.4/sparc-abi.html">ABI >@@ -166,13 +175,16 @@ > </impo> > > <p> >-You have two possibilities on how to upgrade your system. The <uri >-link="#upgrade-3.3-to-3.4-revdep-rebuild">first method</uri> is faster and >-requires use of the <c>revdep-rebuild</c> tool from package <c>gentoolkit</c> >-while the <uri link="#upgrade-3.3-to-3.4-emerge-e">second one</uri> rebuilds the >-entire system from scratch so it will make use of new GCC features. It's up to >-you to decide which of these two ways you will choose. In most cases, the first >-method is sufficient. >+If you upgrade from gcc 3.3 to 3.4, you have two possibilities on how to >+upgrade your system. The <uri link="#upgrade-3.3-to-3.4-revdep-rebuild">first >+method</uri> is faster and requires use of the <c>revdep-rebuild</c> tool from >+package <c>gentoolkit</c> while the <uri >+link="#upgrade-3.3-to-3.4-emerge-e">second one</uri> rebuilds the entire >+system from scratch so it will make use of new GCC features. It's up to you to decide which of these two ways you will choose. In most cases, the first >+method is sufficient.</p> >+<p>If you upgrade from gcc 3.3 to 4.1, do not use the method based on >+revdep-rebuild, but do a <uri link="#upgrade-3.3-to-3.4-emerge-e">complete >+system rebuild</uri>. > </p> > > </body> >@@ -249,6 +261,10 @@ > # <i>gcc-config i686-pc-linux-gnu-3.4.5</i> > # <i>source /etc/profile</i> > >+<comment>If you upgraded from gcc 3 to 4 (e.g. from 3.3.6 to 4.1.1 in this >+example) you will have to run fix_libtool_files.sh manually</comment> >+# <i>fix_libtool_files.sh 3.3.6</i> >+ > <comment>(Rebuilding libtool)</comment> > # <i>emerge --oneshot -av libtool</i> > </pre>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 145014
:
95503
| 95504