Age | Commit message (Collapse) | Author |
|
|
|
LIST_HEAD in ccan/list conflicts with sys/queue.h.
```
./ccan/list/list.h:75:9: warning: 'LIST_HEAD' macro redefined [-Wmacro-redefined]
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/queue.h:465:9: note: previous definition is here
^
```
|
|
The current fix for PAGE_SIZE macro detection in autoconf does not work
correctly. I see the following output with running configure on Linux:
```
checking PAGE_SIZE is defined... no
```
Linux has PAGE_SIZE macro. This is happening because the macro exists in
sys/user.h and not in the malloc headers.
Notes:
Merged: https://github.com/ruby/ruby/pull/4461
|
|
As PAGE_SIZE may not be a preprocessor constant, dispatch at
runtime in that case.
|
|
include/ruby/internal/has/builtin.h uses HAVE_BUILTIN___BUILTIN_EXPECT
for icc but previously it was not defined.
This is a follow up of 8b32de2ec9b72d4c9ede19b70ec9497718fb25a6 and this
will fix the following failures:
http://rubyci.s3.amazonaws.com/icc-x64/ruby-master/log/20210505T030003Z.fail.html.gz
```
1) Failure:
TestMkmf::TestConvertible#test_typeof_builtin [/home/chkbuild/chkbuild/tmp/build/20210505T030003Z/ruby/test/mkmf/test_convertible.rb:9]:
convertible_int: checking for convertible type of short... -------------------- short
--------------------
convertible_int: checking for convertible type of int... -------------------- int
--------------------
convertible_int: checking for convertible type of long... -------------------- long
--------------------
convertible_int: checking for convertible type of signed short... -------------------- failed
"icc -std=gnu99 -o conftest -I. -I/home/chkbuild/chkbuild/tmp/build/20210505T030003Z/ruby/.ext/include/x86_64-linux -I/home/chkbuild/chkbuild/tmp/build/20210505T030003Z/ruby/include -I./test -O3 -ggdb -Wall -Wextra -Wdeprecated-declarations -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-unused-parameter -Wunused-variable -diag-disable=175,188,1684,2259,2312 -Wextra-tokens -Wundef conftest.c -L. -L/home/chkbuild/chkbuild/tmp/build/20210505T030003Z/ruby -Wl,-rpath,/home/chkbuild/chkbuild/tmp/build/20210505T030003Z/ruby -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/home/chkbuild/chkbuild/tmp/build/20210505T030003Z/lib -L/home/chkbuild/chkbuild/tmp/build/20210505T030003Z/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm -lm -lc"
In file included from /home/chkbuild/chkbuild/tmp/build/20210505T030003Z/ruby/include/ruby/defines.h(72),
from /home/chkbuild/chkbuild/tmp/build/20210505T030003Z/ruby/include/ruby/ruby.h(23),
from /home/chkbuild/chkbuild/tmp/build/20210505T030003Z/ruby/include/ruby.h(39),
from conftest.c(1):
/home/chkbuild/chkbuild/tmp/build/20210505T030003Z/ruby/include/ruby/backward/2/assume.h(34): warning #193: zero used for undefined preprocessing identifier "HAVE_BUILTIN___BUILTIN_EXPECT"
#if RBIMPL_HAS_BUILTIN(__builtin_expect)
...
```
|
|
False positive `-Wundef` in `#elif` after `#if defined`.
Notes:
Merged: https://github.com/ruby/ruby/pull/4459
|
|
* See [Feature #17752]
* For external extensions it's transformed to just warn and not error (-Wundef)
like other other -Werror in warnflags.
Notes:
Merged: https://github.com/ruby/ruby/pull/4428
|
|
|
|
Autoconf 2.70 seems to omit the check for the given CC,
`AC_COMPILE_IFELSE` does not know which is the cause of the
failure.
|
|
On 32-bit Android:
* `st_dev`/`st_rdev` are not `dev_t`
* `st_mode` is not `mode_t`
|
|
Non-gcc compilers tend to have this intrinsic these days, e.g. xlc
has `__sync` builtins.
Notes:
Merged: https://github.com/ruby/ruby/pull/4372
|
|
A workaround for `-f` option of AIX xlc compiler which works only
on linking.
Notes:
Merged: https://github.com/ruby/ruby/pull/4372
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4337
|
|
a.out format is considered extinct nowadays.
Notes:
Merged: https://github.com/ruby/ruby/pull/4317
Merged-By: nobu <nobu@ruby-lang.org>
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4289
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4289
|
|
|
|
Seems like it confuses "make ruby" for emscripten.
|
|
Notes:
Merged-By: mame <mame@ruby-lang.org>
|
|
|
|
|
|
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4235
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4227
|
|
It seems this breaks tests on Solaris, so I'm reverting it until we
figure out the right fix.
http://rubyci.s3.amazonaws.com/solaris11-sunc/ruby-master/log/20210224T210007Z.fail.html.gz
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4221
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4186
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3567
Merged-By: ioquatix <samuel@codeotaku.com>
|
|
|
|
|
|
|
|
As `RUBY_TRY_CFLAGS` restores `CFLAGS`, appending to the variable
in its block has no effect.
|
|
|
|
"-lc" and "-s ALLOW_MEMORY_GROWTH=1" are needed
|
|
|
|
|
|
|
|
config.sub replaces arm64 with aarch64.
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4086
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4086
|
|
|
|
https://man.openbsd.org/getentropy
Try to fix https://rubyci.s3.amazonaws.com/openbsd-current/ruby-master/log/20210118T023008Z.fail.html.gz
```
compiling random.c
random.c:53:11: fatal error: 'sys/random.h' file not found
# include <sys/random.h>
^~~~~~~~~~~~~~
1 error generated.
```
|
|
using getentropy for seeding, reading 256 bytes at a time to avoid
the EIO errno since this is the maximum.
Notes:
Merged: https://github.com/ruby/ruby/pull/4081
|
|
A patch from Tee KOBAYASHI <xtkoba+ruby@gmail.com>. [Bug #17511]
|
|
A patch from Tee KOBAYASHI <xtkoba+ruby@gmail.com>. [Bug #17491]
|
|
The latest ruby cannot compile with FreeBSD Dtrace enabled.
Notes:
Merged-By: nurse <naruse@airemix.jp>
|
|
The recent Termux's clang predefines `__ANDROID_API__` as a fixed number
24. However, when it is lower to the current device version, some
functions that "configure" detemines available are not declared
correctly in the header files.
This change forces to overwrite the predefined `__ANDROID_API__` macro
with the current device version.
ref: https://github.com/termux/termux-packages/issues/6176
|