From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] downgrading gcc
Date: Mon, 20 Apr 2009 09:48:31 +0200 [thread overview]
Message-ID: <200904200948.31303.alan.mckinnon@gmail.com> (raw)
In-Reply-To: <49EC24B0.5010406@gmail.com>
On Monday 20 April 2009 09:30:56 Dale wrote:
> That said, it has worked well for me. Everything on my rig is working
> again. If he has to do this downgrade of gcc, then a emerge -e world
> and everything works again, I'm going to really wonder what the deal is
> with gcc. Just me running into problems is one thing but to have
> someone else have issues as well, that's makes me wonder. Is there
> something funny going on that only affects certain hardware or something
> like that? How would one test it to see what is wrong when it is only a
> couple or a few people?
It's more likely a compatibility issue between very specific modules or bits
of code that affect lots of systems. Take for example this elog from the
nvidia drivers:
===
This ebuild installs a kernel module and X driver. Both must
match explicitly in their version. This means, if you restart
X, you most modprobe -r nvidia before starting it back up
===
The interfaces that these things use have never been guaranteed to be stable,
and gcc itself is free (within reason) to lay things out in memory anyway it
sees fit. You get the same thing with X and it's drivers too. It makes sense -
a server and it's drivers should all be part of the same release series and be
built together with the same toolchain for best results.
You DON'T get this problem with normal packages. You can upgrade and downgrade
cairo all day long if you want and firefox won't care - the API it uses is
stable and doesn't change.
In your case and Mark's, you tried to downgrade something critical but have no
information about what you should be downgrading to. When you synced portage,
you lost the information about what was the latest arch and ~arch versions.
Upgrade is easy - "emerge latest <arch> for everything, we know it works", but
portage doesn't offer a rollback function so downgrade is much harder. Once
someone has figured out $LIST, you can "emerge $LIST" and life is good, but
you don't have $LIST yet.
Logic tells me you had two problems, and gcc is neither of them. Your box does
not like latest X for whatever reason (problem 1) but you can't rollback to
the last working version of everything involved as you don't know what it is
(problem 2).
So when all other efforts have failed, downgrade gcc and rebuild everything is
very likely to fix those problems.
--
alan dot mckinnon at gmail dot com
next prev parent reply other threads:[~2009-04-20 7:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-19 20:18 [gentoo-user] downgrading gcc Mark Knecht
2009-04-19 20:55 ` Dale
2009-04-19 23:11 ` Alan McKinnon
2009-04-20 0:05 ` Dale
2009-04-20 6:44 ` Alan McKinnon
2009-04-20 7:30 ` Dale
2009-04-20 7:48 ` Alan McKinnon [this message]
2009-04-20 8:01 ` Dale
2009-04-20 13:36 ` Mark Knecht
-- strict thread matches above, loose matches on Subject: below --
2012-02-20 4:20 [gentoo-user] Downgrading gcc meino.cramer
2012-02-20 4:38 ` Pandu Poluan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200904200948.31303.alan.mckinnon@gmail.com \
--to=alan.mckinnon@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox