View previous topic :: View next topic |
Author |
Message |
kementeus n00b
Joined: 31 Oct 2002 Posts: 30 Location: Guatemala
|
Posted: Fri Jun 20, 2003 4:56 pm Post subject: Emerge compiling troubles in Athlon XP... |
|
|
I got some big troubles with the Compiling process in my new computer:
AMD Athlon XP 2200+
Biostar M7VKQ
256 133MHz SDRAM
Maxtor 40GB HD
The CPU Bus 133MHz, PCI Bus 33MHz
Using stage3 tarball....
That's is the weird stuff.... I changed my motherboard twice (thinking about a MB error or failure) and the same error occurs in the moment, when I start compiling everything works fine, but when the time has passed the GCC returns segmentation fault in the compiling, each time I try to emerge again (emerge -u world) the errors occurs in a different line of code or in different source file.... (really, I don't know what's the trouble!)....
I'm using the standard flags for the compiler in make.conf (changed nothing)....
I changed the memory twice....
What's my trouble?.... Is Athlon not designed for GCC?.... Heeeeeeelpppp pleaseeeeee!!!!... _________________ AMD Athlon XP 2200+ 512RAM CMI8739 Eth RTL8139 TNT2 64MB... Everything running really fine under Gentoo 1.4rc1... really fine... |
|
Back to top |
|
|
dberkholz Retired Dev
Joined: 18 Mar 2003 Posts: 1008 Location: Minneapolis, MN, USA
|
Posted: Fri Jun 20, 2003 5:06 pm Post subject: |
|
|
Random segfaults are indications of hardware problems, as you know.
Some of the possible failures:
1) Motherboard
2) Memory
3) Processor
You've changed the first two, but the third remains. Also the hard drive, but I don't think that would contribute to segfaults...I'm not the expert there.
I'm happily using Athlons, so the problem isn't that Athlons just don't work.
If you compiled gcc using insane CFLAGS, that could also cause problems.
Last edited by dberkholz on Fri Jun 20, 2003 5:17 pm; edited 1 time in total |
|
Back to top |
|
|
butters Guru
Joined: 13 May 2002 Posts: 427 Location: Poughkeepsie, NY
|
Posted: Fri Jun 20, 2003 5:13 pm Post subject: |
|
|
what exactly are your CFLAGS? You should have something like
Code: | CFLAGS="-march=athlon-xp -O2 -pipe" |
for fairly modest fail-safe CFLAGS. Otherwise, emerge clean, emerge sync, emerge -u world and try again. _________________ If tugboats were bigger, they'd be the ones getting tugged. |
|
Back to top |
|
|
kementeus n00b
Joined: 31 Oct 2002 Posts: 30 Location: Guatemala
|
Posted: Fri Jun 20, 2003 7:17 pm Post subject: |
|
|
Exactly....
only:
CFLAGS="-s -mcpu=athlon-xp -O2 -pipe"
and
CHOST="i686-pc-linux-gnu"
By the way.....
I changed my motherboard too.... (the same model, same stuff).... and guess what.... It doesn't work.... changed the memory.... it didn't work.... and, of course... I changed my processor to a new one (2200+)... exactly... it didn't work too....
Help please!!! _________________ AMD Athlon XP 2200+ 512RAM CMI8739 Eth RTL8139 TNT2 64MB... Everything running really fine under Gentoo 1.4rc1... really fine...
Last edited by kementeus on Fri Jun 20, 2003 7:25 pm; edited 1 time in total |
|
Back to top |
|
|
dberkholz Retired Dev
Joined: 18 Mar 2003 Posts: 1008 Location: Minneapolis, MN, USA
|
Posted: Fri Jun 20, 2003 7:23 pm Post subject: |
|
|
kementeus wrote: | By the way.....
I changed my motherboard too.... (the same model, same stuff).... and guess what.... It doesn't work.... changed the memory.... it didn't work.... |
As I pointed out earlier, you haven't tried replacing the processor itself yet. |
|
Back to top |
|
|
|