Created attachment 272689 [details]
build.log for Ruby 1.9.2
When merging Ruby 1.9.2, the compilation fails unless -fPIC is in my CFLAGS. I believe my error is:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/ld: dln.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
dln.o: could not read symbols: Bad value
It may be in part an issue with my toolchain or libc, but I believe it's a problem with the Ruby 1.9.2 build process. I'll attach my build log (gzipped), and any feedback as to what I may be doing wrong would be greatly appreciated.
Also attached is my emerge --info
Created attachment 272691 [details]
emerge --info output (without -fPIC in CFLAGS)
Ruby 1.9.2 is no longer in the tree. Does this still happen for you with ruby 1.9.3? I can't reproduce this for ruby 1.9.3.