stes (David Stes)
- Login: stes
- Registered on: 11/14/2021
- Last sign in: 12/04/2021
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
12/04/2021
-
03:33 PM Ruby Misc #18335: openindiana ruby 3.1 --enable-dtrace requires debugflags="-g1"
Thanks, but I think this is partly a Ruby configuration issue.
The goal of "configure" is to find suitable configuration for the target operating system so that the build works on the target OS where configure is ran.
The Ruby co...
12/02/2021
-
07:58 AM Ruby Misc #18335: openindiana ruby 3.1 --enable-dtrace requires debugflags="-g1"
- Thanks for explaining. Indeed, I tested I can confirm that,
by default it seems to set debugflags to "-g3" (or -ggdb3 actually) but I think -ggdb3 is equivalent to -g3.
So by default it uses level 3 debug info -ggdb3.
For the --enab...
11/28/2021
-
01:09 PM Ruby Misc #18335: openindiana ruby 3.1 --enable-dtrace requires debugflags="-g1"
- I've changed the subject to "--enable-dtrace" requires CFLAGS="-g"
To be honest, what I tested so far is : with gnu-binutils 2.36 (gar version 2.36) installed,
I can say that gar itself works, as long as I set CFLAGS="-g -O2".
Ho...
11/20/2021
-
02:46 PM Ruby Misc #18335: openindiana ruby 3.1 --enable-dtrace requires debugflags="-g1"
Thank you for your response.
The good news is that --enable-dtrace still works with ruby 3.1 (and 3.0.3).
I compared with ruby 2.7.4 and ruby 2.7.4 sets CFLAGS to "-g -O2" and optflags to -O3.
These flags are different, it see...
11/18/2021
-
06:43 PM Ruby Misc #18335: openindiana ruby 3.1 --enable-dtrace requires debugflags="-g1"
- The actual configure line that works for me on OpenIndiana 2021.10 with gcc 10.3 (or gcc 7.5) is:
./configure --prefix=$HOME/ruby-31 --with-gcc --enable-dtrace CFLAGS="-g -O2" AR=/usr/bin/ar STRIP=/usr/bin/strip
Note that I compile...
11/16/2021
-
06:15 PM Ruby Misc #18335: openindiana ruby 3.1 --enable-dtrace requires debugflags="-g1"
The problem may be due to the presence on OpenIndiana of the Illumos /usr/bin/ar and the GNU /usr/bin/gar. The configure script selects "gar".
When configuring like this:
./configure --prefix=$HOME/ruby-31 --with-gcc AR=/usr/bin...
11/14/2021
-
04:14 PM Ruby Misc #18335 (Third Party's Issue): openindiana ruby 3.1 --enable-dtrace requires debugflags="-g1"
- Hello,
I tried compiling ruby 3.1 preview on OpenIndiana (Illumos) and this works:
./configure --prefix=$HOME/ruby-31 --with-gcc --disable-dtrace
gmake
gmake install
It works:
$HOME/ruby-31/bin/ruby --version
ruby 3.1.0pre...