General

Profile

t-nissie (Takeshi Nishimatsu)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 3 3

Activity

12/01/2016

05:05 PM Ruby Feature #12871: Using the algorithm like math.fsum of Python for Array#sum
Julia can do it, too.
~~~
julia> sum_kbn([1.0e10, 1.0e-10, -1.0e10])
1.0e-10
~~~
The source code is https://github.com/JuliaLang/julia/blob/master/base/reduce.jl .
t-nissie (Takeshi Nishimatsu)
04:56 PM Ruby Feature #12871: Using the algorithm like math.fsum of Python for Array#sum
A quick hack.
* Elongation (or reallocation) of the array of partials[] when nn exeeds NUM_PARTIALS.
* Tests.
* Name of this algorithm. Kahan-Babuska-Neumaier?
are required.
~~~ diff
diff --git a/array.c b/array.c
index b99a...
t-nissie (Takeshi Nishimatsu)

04/21/2016

03:33 AM Ruby Bug #12303: No rule to make target '.ext/include/i386-cygwin/ruby/config.h', needed by 'main.o' when ./configure TEST_COLORS=skip=43
Thank you for the fix, Nakada-san.
Workaround for ruby-2.3.0 may be `./configure TEST_COLORS=pass=32:fail=31:skip=43`.
t-nissie (Takeshi Nishimatsu)

04/20/2016

03:04 PM Ruby Bug #12303 (Closed): No rule to make target '.ext/include/i386-cygwin/ruby/config.h', needed by 'main.o' when ./configure TEST_COLORS=skip=43
I could not find any document describing
how to use TEST_COLORS environment variable in Ruby.
I could change the color of messages with `./configure TEST_COLORS=skip=43`
and it finished successfully. However, after that, `make` result...
t-nissie (Takeshi Nishimatsu)

02/10/2016

12:05 PM Ruby Bug #11979: gcc-6 fails to optimize regcomp.c:compile_length_quantifier_node()
FYI, https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69291 was REOPENED,
because the "Issue still happens on i586 and fails the ruby build".
t-nissie (Takeshi Nishimatsu)

01/15/2016

09:57 AM Ruby Bug #11979: gcc-6 fails to optimize regcomp.c:compile_length_quantifier_node()
Sorry, but GCC developers judged my bug report as INVALID.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69291
On the other hand, the same build error is reported in Ubuntu:
amd64 build of ruby2.2 2.2.3-2 in ubuntu xenial RELEASE
ht...
t-nissie (Takeshi Nishimatsu)
06:04 AM Ruby Bug #11979: gcc-6 fails to optimize regcomp.c:compile_length_quantifier_node()
I reported this issue as https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69291 with new info of:
I found strange behavior. If I built the ruby in /tmp on CentOS 6.7,
this issue does not stop to `make encdb.h`. But anyway, it stops to `m...
t-nissie (Takeshi Nishimatsu)

01/14/2016

03:03 AM Ruby Bug #11979: gcc-6 fails to optimize regcomp.c:compile_length_quantifier_node()
gcc-6 fails to optimize ruby-2.3.0/regcomp.c:compile_length_quantifier_node()
and cannot build the ruby. Even the -O1 optimization option fails.
Adding `__attribute__((optimize("O0")))` before the function can evade this issue.
I conf...
t-nissie (Takeshi Nishimatsu)

01/13/2016

01:32 PM Ruby Bug #11979: gcc-6 fails to optimize regcomp.c:compile_length_quantifier_node()
gcc-6 fails to optimize regcomp.c.
~~~
$ ../configure CC=/usr/local/bin/gcc
$ make -j4 encdb.h # => ArgumentError
$ rm regcomp.o
$ make optflags="-O0 -fno-fast-math" V=1 encdb.h
:
gcc version 6.0.0 20151115 (experimental) ...
t-nissie (Takeshi Nishimatsu)

01/12/2016

02:15 PM Ruby Bug #11979: gcc-6 fails to optimize regcomp.c:compile_length_quantifier_node()
This IS a GCC version specific issue.
~~~
make -j16 optflags="-O0 -fno-fast-math"
~~~
can compile ruby-2.3.0, but
~~~
make -j16 optflags="-O1 -fno-fast-math"
~~~
cannot.
I want to know which file in ruby-2.3.0 reveals ...
t-nissie (Takeshi Nishimatsu)

Also available in: Atom