Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69585 - illegal instruction in pam_console_apply
Summary: illegal instruction in pam_console_apply
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-31 01:52 UTC by stupid
Modified: 2004-10-31 05:52 UTC (History)
0 users

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 stupid 2004-10-31 01:52:37 UTC
I get a illegal instruction on pam_console_apply  / 0x0804cf19 ..
this is a pentium pro, which does not support "cvtsi2ss" instruction..

I have remerge glibc and pam, but the problem is still here ..


model name      : Pentium Pro
flags           : fpu vme de pse tsc msr pae mce cx8 mtrr pge mca cmov


(gdb) bt
#0  0x0804cf19 in g_hash_table_resize ()
#1  0x00000008 in ?? ()
#2  0xbffff558 in ?? ()
#3  0x080616e0 in ?? ()
#4  0x0805c19c in __JCR_LIST__ ()
#5  0x0805c51c in _pc_yytext ()
#6  0x00000008 in ?? ()
#7  0xbffff558 in ?? ()
#8  0x0804b6c2 in _pc_yyparse () at config.y:64


0x0804cf00 <g_hash_table_resize+0>:     push   %ebp
0x0804cf01 <g_hash_table_resize+1>:     push   %edi
0x0804cf02 <g_hash_table_resize+2>:     push   %esi
0x0804cf03 <g_hash_table_resize+3>:     push   %ebx
0x0804cf04 <g_hash_table_resize+4>:     sub    $0x1c,%esp
0x0804cf07 <g_hash_table_resize+7>:     mov    0x30(%esp,1),%ecx
0x0804cf0b <g_hash_table_resize+11>:    call   0x804c59c <__i686.get_pc_thunk.bx>
0x0804cf10 <g_hash_table_resize+16>:    add    $0xf28c,%ebx
0x0804cf16 <g_hash_table_resize+22>:    mov    0x4(%ecx),%edx
0x0804cf19 <g_hash_table_resize+25>:    cvtsi2ss %edx,%xmm1
0x0804cf1d <g_hash_table_resize+29>:    movss  %xmm1,0x10(%esp,1)
0x0804cf23 <g_hash_table_resize+35>:    mov    (%ecx),%eax
0x0804cf25 <g_hash_table_resize+37>:    flds   0x10(%esp,1)
0x0804cf29 <g_hash_table_resize+41>:    cvtsi2ss %eax,%xmm1
0x0804cf2d <g_hash_table_resize+45>:    movss  %xmm1,0x10(%esp,1)
0x0804cf33 <g_hash_table_resize+51>:    flds   0x10(%esp,1)
0x0804cf37 <g_hash_table_resize+55>:    fdivrp %st,%st(1)


Reproducible: Always
Steps to Reproduce:
gen00 root # pam_console_apply
Illegal instruction
gen00 root #




gen00 portage # cat /etc/make.conf
USE="acl async bindist bzlib cap caps chroot cjk clamav cscope ctype curl \
     curlwrappers dba dbm devmap fam flatfile ftp \
     GAPING_SECURITY_HOLE -diet gs iconv imagemagick imap imlib2 ipv6 ipv6arpa \
     jp2 kerberos krb4 lm_sensors lzo lzw mailbox maildir mailwrapper mbox \
     mcal md5sum mhash mime ming mmap mng net network nntp nptl ntlm \
     openssh pcap pcmcia pcntl pcre pdf pear-db php pic pie plotutils \
     posix postgresql ppds pthreads qemu-fast radius recode rtc samba sasl \
     session shared sharedmem skey slp snmp soap sockets socks5 softmmu \
     sysvipc tidy tokenizer transparent-proxy ucs2 ucs4 unicode usb \
     userlocales vanilla vhosts vim virus-scan X509 xforms xfs xml -oss \
     -apm -arts -avi -bitmap-fonts -cups -encode -f77 -foomaticdb -gtk \
     -gtk2 -kde -gnome -libg++ -mikmod -motif -mpeg -oggvorbis -opengl -qt \
     -quicktime -sdl -spell -svga -X -xmms -xv -python"

CHOST="i586-pc-linux-gnu"
CFLAGS="-march=pentiumpro -mcpu=pentiumpro -Os -pipe -fno-inline"
MAKEOPTS="-j2"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common"
CXXFLAGS="${CFLAGS}"
PORTAGE_NICENESS=19
FEATURES="ccache sandbox"
CCACHE_SIZE="3G"


sys-libs/glibc-2.3.4.20040808-r1 *
sys-devel/gcc-3.3.4-r1 *
sys-devel/gcc-config-1.3.6-r3 *
sys-apps/pam-login-3.14 *
sys-libs/pam-0.77 *
Comment 1 stupid 2004-10-31 05:52:07 UTC
... I have resolve this issue by recompiling glib 
sorry for distrubiting