[gentoo-user] Please help with segfaulting python

2007-10-05 Thread mathieu

Hi,

I'm using /usr/portage/profiles/selinux/2007.0/x86 on a VIA Nehemiah 
box.

Make.conf :

CFLAGS=-Os -march=i686 -pipe -mmmx -msse
CHOST=i686-pc-linux-gnu
CXXFLAGS=${CFLAGS}
MAKEOPTS=-j2

After an emerge --deep --update --ask --verbose world
which included dev-lang/python-2.4.4-r5

emerge (pyzor and some other python script) segfault.

I tried to recompile python using files in my distfiles. During
building process it's look like new python binary is used (setup.py)
which segfault to. I tryed different CFLAGS env var, reconfigure,
without effect (it s look like they are not used during compilation).

Cause every things i use not involving python work i don't think it's a
memory related issue.

I'm lacking of ideas and gentoo experience (trying to bypass unusable
emerge).

Regards,

m.e.

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Please help with segfaulting python

2007-10-05 Thread Neil Bothwick
Hello mathieu,

   I'm using /usr/portage/profiles/selinux/2007.0/x86 on a VIA
 Nehemiah box.
 
   Make.conf :
 
   CFLAGS=-Os -march=i686 -pipe -mmmx -msse

The Nehemiah is not a 686, although it is more than a 586. Calling
certain i686 functions cayuses crashes. Use -march-c3.


-- 
Neil Bothwick

Give me ambiguity or give me something else.


signature.asc
Description: PGP signature


Re: [gentoo-user] Please help with segfaulting python

2007-10-05 Thread mathieu

Hello Neil,

   Thank you very much.

I used CFLAGS found on internet when i installed this box (8 months 
ago). This surelly explain time to time strange beaviour.


   I'd like to rebuild world but emerge is broken, do you think using a 
stage3 before rebuilding is a good idea ?


Regards,

m.e.



Neil Bothwick a écrit :

Hello mathieu,

  

I'm using /usr/portage/profiles/selinux/2007.0/x86 on a VIA
Nehemiah box.

Make.conf :

CFLAGS=-Os -march=i686 -pipe -mmmx -msse



The Nehemiah is not a 686, although it is more than a 586. Calling
certain i686 functions cayuses crashes. Use -march-c3.


  


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Please help with segfaulting python

2007-10-05 Thread Dale
mathieu wrote:
 Hello Neil,

Thank you very much.

 I used CFLAGS found on internet when i installed this box (8
 months ago). This surelly explain time to time strange beaviour.

I'd like to rebuild world but emerge is broken, do you think using
 a stage3 before rebuilding is a good idea ?

 Regards,

 m.e.



 Neil Bothwick a écrit :
 Hello mathieu,

  
 I'm using /usr/portage/profiles/selinux/2007.0/x86 on a VIA
 Nehemiah box.

 Make.conf :

 CFLAGS=-Os -march=i686 -pipe -mmmx -msse
 

 The Nehemiah is not a 686, although it is more than a 586. Calling
 certain i686 functions cayuses crashes. Use -march-c3.


   


You may find this useful.

http://www.gentoo.org/proj/en/portage/doc/manually-fixing-portage.xml

Maybe that will get portage back working.

Dale

:-)  :-)  :-) 
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Please help with segfaulting python

2007-10-05 Thread Neil Bothwick
On Fri, 5 Oct 2007 11:48:31 +0300, Tapio Raevaara wrote:

 Isn't Nehemiah actually a C3-2? AFAIK, C3 has 3dNow! support, while
 C3-2 has SSE support instead. I believe -march=c3-2 would be a better
 choice.

My Nehemiah board is sat in a drawer right now, so I can't check, but
cat /proc/cpuinfo will say for sure.


-- 
Neil Bothwick

Processor: (n.) a device for converting sense to nonsense at the speed
   of electricity, or (rarely) the reverse.


signature.asc
Description: PGP signature


Re: [gentoo-user] Please help with segfaulting python

2007-10-05 Thread Tapio Raevaara
On Friday 05 October 2007, Neil Bothwick wrote:
 Hello mathieu,

  I'm using /usr/portage/profiles/selinux/2007.0/x86 on a VIA
  Nehemiah box.
 
  Make.conf :
 
  CFLAGS=-Os -march=i686 -pipe -mmmx -msse

 The Nehemiah is not a 686, although it is more than a 586. Calling
 certain i686 functions cayuses crashes. Use -march-c3.

Isn't Nehemiah actually a C3-2? AFAIK, C3 has 3dNow! support, while C3-2 has 
SSE support instead. I believe -march=c3-2 would be a better choice.
-- 
[EMAIL PROTECTED] mailing list