General

Profile

luizluca (Luiz Angelo Daros de Luca)

  • Login: luizluca
  • Email: luizluca@gmail.com
  • Registered on: 05/14/2009
  • Last sign in: 12/28/2025

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 1 15 16

Activity

12/28/2025

07:58 PM Ruby Feature #21810 (Open): Enable JIT (yjit,zjit) when cross-compiling
Hello,
Please, add support for JIT while crosscompiling. Without it, embedded system will never user JIT. Even when the arch matches, the host alias normally does not match the build alias:
build_alias='x86_64-pc-linux-gnu'
host_a...
luizluca (Luiz Angelo Daros de Luca)

04/24/2023

07:51 PM Ruby Bug #19615 (Feedback): ruby psych.so always dynamic links libyaml.so, breaking build when libyaml.so is not in host lib paths
Hello,
Before 3.2, libyaml was build statically into psych.so while now it will try to link the one provided during build. When you specify a different path for libraries during build, psych config does work as it tests creating conft...
luizluca (Luiz Angelo Daros de Luca)

02/06/2021

06:28 AM Ruby Bug #16455: coroutine ucontext uses deprecated POSIX getcontext/swapcontext/makecontext, absent in musl and uclibc
I still the get same issue with 3.0.0.
Ruby cannot blindly try to use ucontext without checking for getcontext swapcontext makecontext presence.
https://github.com/ruby/ruby/pull/3567 does work. It only needs to be refreshed, removin...
luizluca (Luiz Angelo Daros de Luca)

12/27/2020

01:28 AM Ruby Bug #17476 (Closed): 3.0/specifications/default/net-*.gemspec repeats the same files
I guess net-* generated gemspec during ruby build assumes that the net/ directory only contains its files (as it happens on standalone gem builds):
``` shell
/usr/lib/ruby/gems/3.0/specifications/default/net-ftp-0.1.1.gemspec: s.f...
luizluca (Luiz Angelo Daros de Luca)

12/31/2019

03:06 AM Ruby Bug #16455: coroutine ucontext uses deprecated POSIX getcontext/swapcontext/makecontext, absent in musl and uclibc
There is also a missing include for copy to work with musl:
```
+--- a/coroutine/copy/Context.h
++++ b/coroutine/copy/Context.h
+@@ -13,6 +13,7 @@
+ #include <string.h>
+ #include <stdlib.h>
+ #include <alloca.h>
++#include <sy...
luizluca (Luiz Angelo Daros de Luca)
01:09 AM Ruby Bug #16455: coroutine ucontext uses deprecated POSIX getcontext/swapcontext/makecontext, absent in musl and uclibc
nobu (Nobuyoshi Nakada) wrote:
> luizluca (Luiz Angelo Daros de Luca) wrote:
> ...
I created a patch to fix the build with musl/uclibc:
```
--- a/configure.ac
+++ b/configure.ac
@@ -2344,7 +2344,10 @@ AS_CASE([$rb_cv_coroutine], ...
luizluca (Luiz Angelo Daros de Luca)

12/30/2019

10:22 PM Ruby Bug #16455: coroutine ucontext uses deprecated POSIX getcontext/swapcontext/makecontext, absent in musl and uclibc
nobu (Nobuyoshi Nakada) wrote:
> luizluca (Luiz Angelo Daros de Luca) wrote:
> ...
Yes. And it also affects uclibc.
autoconf should test for getcontext/swapcontext/makecontext at link time as musl do have them declared (but not impl...
luizluca (Luiz Angelo Daros de Luca)

12/26/2019

08:03 PM Ruby Bug #16455 (Closed): coroutine ucontext uses deprecated POSIX getcontext/swapcontext/makecontext, absent in musl and uclibc
Hello,
While building ruby 2.7.0 for mips with musl, it fails:
```
linking miniruby /home/luizluca/prog-local/openwrt/trunk/staging_dir/toolchain-...
luizluca (Luiz Angelo Daros de Luca)

02/08/2019

04:00 AM Ruby Bug #15595 (Closed): configure.in fails to detect isinf() and finite() when they are macros
Hello,
While building ruby with uclibc (openwrt), ./configure fails to detect isinf() and finite() as
AC_REPLACE_FUNCS(isinf) uses AC_CHECK_FUNCS() which simply tries to link that function.
Obviously, a macro will fail to link. I'm ...
luizluca (Luiz Angelo Daros de Luca)

03/21/2017

09:02 PM Ruby Feature #12921: Retrieve user and password for proxy from env
If the user wants to set its password inside a env variable, it is the user's problem. It is the widely used way to use it.
For those that need a quick fix:
~~~ ruby
class Net::HTTP
def proxy_user
if @proxy...
luizluca (Luiz Angelo Daros de Luca)

Also available in: Atom