Re: [gentoo-user] Building Xorg - internal compiler error: segmentation fault

2005-09-14 Thread Ian Clowes
Frank Schafer wrote:
 
 Hi all,
 
 Somebody on b.g.o. suggests to try building with a vanilly kernel. Did
 someone here make the same experience and if yes, will it run then on a
 gentoo-kernel?

Hi

Not sure if you're talking in general about sig 11 on emerge, some
specific problem with Xorg.

Anyhow, I had this with various packages and found a few things helped:

- Once I had a sig 11 a restart of the emerge would seg fault very
soon.  I suspected dodgy CPU or memory, so played with the cpuburn
package.  Curiously I found that running MMXburn (I think it was called)
for a minute or so vastly extended how far into a build emerge would
get.  I have no idea what this program actually does, but I assumed it
was heavily loading some memory or other so that when gcc started again
it was given a different chumk to what it was getting previously.  But
that's all very hypothetical...

- I used the FEATURES=keepwork emerge... so that the work area was
preserved and the emerge could continue from where it was.  But this
takes up a lot of disk space uless you manually delete them or use
ebuild --clean once it's suceeded.

- Install ccache to 'dynamically' cache/preserve the guts of whatever
you're trying to build so that you don't need keepwork.  It's a bit
slower, but easier to manage.

- Do an emerge in a one line script something like this, so it'll loop
around until it succeeds (best used with the FEATURES or ccache idea):

while true; do emerge foo  break; done

HTH
IanC
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Building Xorg - internal compiler error: segmentation fault

2005-09-13 Thread Frank Schafer
On Mon, 2005-09-12 at 21:05 -0300, Robin wrote:
 I segment faults randomly when emerging packages... and I know it
 is bad ram... so I would advise you to test it... :)
 
 Regards.

... see b.g.o. It happens often (if it happens) for everybody somewhere
else and for one person every time at the same line of code.

My question was if someone has some experiences with the suggestion at
b.g.o. (try a vanilla kernel)

It is likely to be the truth. Gentoo heavily patches and patches could
introduce a bug too. I had the time to emerge vanilla-sources yesterday
and seen, that even that is patched. I'll take a kernel from kernel.org.

You did read my initial post, did you?

 
 On 9/12/05, Frank Schafer [EMAIL PROTECTED] wrote:
  Hi all,
  
  so I hit this bug too. :( Well, the log itself says it's a bug and (even
  worse) that nobody knows where it comes from.
  
  Somebody on b.g.o. suggests to try building with a vanilly kernel. Did
  someone here make the same experience and if yes, will it run then on a
  gentoo-kernel?
  
  Thanks for any hint
  Frank
  
  --
  gentoo-user@gentoo.org mailing list
  
 
 
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Building Xorg - internal compiler error: segmentation fault

2005-09-12 Thread Frank Schafer
Hi all,

so I hit this bug too. :( Well, the log itself says it's a bug and (even
worse) that nobody knows where it comes from.

Somebody on b.g.o. suggests to try building with a vanilly kernel. Did
someone here make the same experience and if yes, will it run then on a
gentoo-kernel?

Thanks for any hint
Frank

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Building Xorg - internal compiler error: segmentation fault

2005-09-12 Thread Christoph Gysin

Frank Schafer wrote:

so I hit this bug too. :( Well, the log itself says it's a bug and (even
worse) that nobody knows where it comes from.

Somebody on b.g.o. suggests to try building with a vanilly kernel. Did
someone here make the same experience and if yes, will it run then on a
gentoo-kernel?


Reproducible? Always at the same location?

If it segfaults randomly, try to check for bad memory.

Christoph
--
echo mailto: NOSPAM !#$.'*'|sed 's. ..'|tr * !#:2 [EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Building Xorg - internal compiler error: segmentation fault

2005-09-12 Thread Frank Schafer
On Mon, 2005-09-12 at 11:44 +0200, Christoph Gysin wrote:
 Frank Schafer wrote:
  so I hit this bug too. :( Well, the log itself says it's a bug and (even
  worse) that nobody knows where it comes from.
  
  Somebody on b.g.o. suggests to try building with a vanilly kernel. Did
  someone here make the same experience and if yes, will it run then on a
  gentoo-kernel?
 
 Reproducible? Always at the same location?
 
 If it segfaults randomly, try to check for bad memory.
 
 Christoph
 -- 
 echo mailto: NOSPAM !#$.'*'|sed 's. ..'|tr * !#:2 [EMAIL PROTECTED]

This is a well known bug. The log itself says, that it isn't
reproducible (means the crash is for everyone in some file and then
stable at the same point).

b.g.o. isn't accessible right now so I can't send you the output. For me
it crashes at sis301_init.c.

Well for me it is reproducible. I only need to emerge Xorg :(

BTW: The comp is brand new.

I built a minimal system (91 packages)

My further plans:
Build X without all the dri, glx, ... and if this succeeds add features
until it crashes again to see which component causes this.

If even building plain X fails I'll try a kernel from kernel.org, then
maybe other versions of GCC. 

We'll see
Frank

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Building Xorg - internal compiler error: segmentation fault

2005-09-12 Thread Robin
I get segment faults randomly when emerging packages... and I know it
is bad ram... so I would advise you to test it... :)

Regards.

On 9/12/05, Frank Schafer [EMAIL PROTECTED] wrote:
 Hi all,
 
 so I hit this bug too. :( Well, the log itself says it's a bug and (even
 worse) that nobody knows where it comes from.
 
 Somebody on b.g.o. suggests to try building with a vanilly kernel. Did
 someone here make the same experience and if yes, will it run then on a
 gentoo-kernel?
 
 Thanks for any hint
 Frank
 
 --
 gentoo-user@gentoo.org mailing list
 


-- 
gentoo-user@gentoo.org mailing list