Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 536814

Summary: dev-lang/ruby-2.0.0-p598 - src_compile(): ./miniruby: Illegal instruction
Product: Gentoo Linux Reporter: Geoff Madden <mgmadden>
Component: [OLD] DevelopmentAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge info x86
build log x86
environment file

Description Geoff Madden 2015-01-17 06:04:34 UTC
trying to update system,which keeps calling for ruby20,which fails for an error,namely illegal instruction ruby.time

Reproducible: Always

Steps to Reproduce:
1.emerge -uaND @world
2.
3.
Actual Results:  
i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -pipe -fno-strict-aliasing -fPIC  -L. -Wl,-O1 -Wl,--as-needed -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,--no-undefined -fstack-protector -Wl,-O1 -Wl,--as-needed main.o dmydln.o dmyencoding.o dmyversion.o miniprelude.o array.o bignum.o class.o compar.o complex.o dir.o dln_find.o enum.o enumerator.o error.o eval.o load.o proc.o file.o gc.o hash.o inits.o io.o marshal.o math.o node.o numeric.o object.o pack.o parse.o process.o random.o range.o rational.o re.o regcomp.o regenc.o regerror.o regexec.o regparse.o regsyntax.o ruby.o safe.o signal.o sprintf.o st.o strftime.o string.o struct.o time.o transcode.o util.o variable.o compile.o debug.o iseq.o vm.o vm_dump.o vm_backtrace.o vm_trace.o thread.o cont.o ascii.o us_ascii.o unicode.o utf_8.o newline.o strlcpy.o strlcat.o setproctitle.o addr2line.o  dmyext.o   -lpthread -lrt -ldl -lcrypt -lm   -o miniruby
./miniruby -I./lib -I. -I.ext/common  ./tool/mkconfig.rb -timestamp=.rbconfig.time \
        -install_name=ruby20 \
        -so_name=ruby20 rbconfig.rb
uncommon.mk:528: recipe for target '.rbconfig.time' failed
make: *** [.rbconfig.time] Illegal instruction
make: *** Waiting for unfinished jobs....
./miniruby -I./lib -I. -I.ext/common  ./tool/generic_erb.rb -c -o encdb.h ./template/encdb.h.tmpl ./enc enc
uncommon.mk:886: recipe for target 'encdb.h' failed
make: *** [encdb.h] Illegal instruction
 * ERROR: dev-lang/ruby-2.0.0_p598::gentoo failed (compile phase):
 

Expected Results:  
expected ruby to compile,and update to complete
Comment 1 Geoff Madden 2015-01-17 06:05:21 UTC
Created attachment 394128 [details]
emerge info x86
Comment 2 Geoff Madden 2015-01-17 06:06:37 UTC
Created attachment 394130 [details]
build log x86
Comment 3 Geoff Madden 2015-01-17 06:07:14 UTC
Created attachment 394132 [details]
environment file
Comment 4 Hans de Graaff gentoo-dev Security 2015-01-17 11:19:06 UTC
It looks like you have enabled sse2 support but your processor does not support that.
Comment 5 Geoff Madden 2015-01-18 04:41:03 UTC
Spot on Hans ,thats one of the hassles running more than one type of system.The little things get passed over.
Comment 6 Hans de Graaff gentoo-dev Security 2015-01-18 10:35:30 UTC
Thanks for the feedback.