Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 173544 - Enhacenments for GCC upgrade guide
Summary: Enhacenments for GCC upgrade guide
Status: RESOLVED WONTFIX
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Installation Handbook (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Docs Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-06 09:03 UTC by pavel sanda
Modified: 2007-04-06 16:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pavel sanda 2007-04-06 09:03:51 UTC
Hello,
please consider to add these two hints to gcc upgrade guide:
1.  -march instead of -mcpu CFLAG should be used (some packages will otherwise  
    break the emerging process). for further reading there could be link http://gentoo-wiki.com/CFLAGS.
2. emerge --resume --skipfirst could be used when emerge fails and you need
   to continue rebuilding system even without that package.

Reproducible: Always

Steps to Reproduce:
Comment 1 nm (RETIRED) gentoo-dev 2007-04-06 15:14:44 UTC
We don't discuss CFLAGS or CXXFLAGS in the gcc upgrade guide because it's not necessary to do so. Read the various arch handbooks to see suggested CFLAGS for each arch. Also, we don't link to gentoo-wiki.

Finally, though --resume --skipfirst is nice from a user's point of view (when emerging system overnight), it's still not good for a healthy system, as it just postpones dealing with an error, rather than fixing it. It's not really a solution.
Comment 2 pavel sanda 2007-04-06 16:02:47 UTC
ad 1. i didn't want to make discussion about cflags, but just the notion, that
getting newer gcc you should reconsider the setting, you have done years back.

ad 2. i see your point. in my case i resumed & skipped the last package and
in next console just fixed it (i.e. unmerged it from the whole system, because
the problem was not in compilation, but in undownloadable sources).
if you know better way how to do it, please tell me. (remerging the world again
is a nightmare, when it happens more time - and it happened ...).