Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2725 - possible non-functional python-fchksum
Summary: possible non-functional python-fchksum
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 All
: High normal (vote)
Assignee: Bart Lauwers (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-14 10:33 UTC by brysonborg
Modified: 2003-04-04 01:27 UTC (History)
1 user (show)

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 brysonborg 2002-05-14 10:33:45 UTC
if i choose this in make.conf

# Pentium Pro/Pentium II/Pentium III+/Pentium 4/Athlon exclusive (binaries
# will use the P6 instruction set and only run on P6+ systems)
#CHOST="i686-pc-linux-gnu"
#CFLAGS="-march=i686 -O3 -pipe"
#CXXFLAGS="-march=i686 -O3 -pipe"

and build dev-python/python-fchks, the resuilting /usr/lib/python2.2/site-
packages/fchksum.so causes segfaults in emerge.  this is on a pentium II

urlicht # cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 5
model name      : Pentium II (Deschutes)
stepping        : 0
cpu MHz         : 333.136
....(snip)

changing to
# Pentium Pro/Pentium II/Pentium III+/Pentium 4/Athlon optimized (but binaries
# will run on any x86 system)
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=i686 -O3 -pipe"
CXXFLAGS="-mcpu=i686 -O3 -pipe"
works just fine.

this is at best a small curiosity, but it took me (a seasoned linux user) a 
couple of hours to figure out, and i had another gentoo box i could pull 
usr/lib/python2.2/site-packages/fchksum.so off of...
i only mention it because someone else not as well versed as me could have been 
quite put off by this, so perhaps the original compiler settings should be 
deprecated in favor of the second set.

thanks, though.  gentoo runs like a greased penguin on a...well, on a very 
slippery surface.

bryson borg
Comment 1 Jon Nelson (RETIRED) 2002-05-25 09:36:37 UTC
Which compiler?
This sounds like an optimization bug.
Hmmm.
Comment 2 Bart Lauwers (RETIRED) gentoo-dev 2003-01-05 10:40:39 UTC
Hi, can you confirm wether this bug still affects you? Also if so, I would
appreciate if you can let me know which gcc you are running. Thanks.
Comment 3 Bart Lauwers (RETIRED) gentoo-dev 2003-01-18 19:03:24 UTC
NO answer from user, someone reopen this bug with some info if it still exists
Comment 4 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:22:17 UTC
db fix
Comment 5 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:27:07 UTC
db fix