🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). Log available at irclogs.raku.org/raku/live.html . If you're a beginner, you can also check out the #raku-beginner channel!
Set by lizmat on 6 September 2022.
00:03 librasteve left 00:26 librasteve joined 00:31 librasteve left 00:42 librasteve joined 00:47 librasteve left 00:59 Sgeo left 01:04 Sgeo joined 01:09 Guest92 joined 01:12 Guest92 left 01:17 librasteve joined 01:22 librasteve left 01:30 hulk joined, kylese left 01:37 librasteve joined 02:15 hulk left, kylese joined 02:39 librasteve left 02:51 librasteve joined 02:59 librasteve left 03:07 Xliff joined
Xliff \o 03:07
m: use NativeCall; sub itoa (int32, CArray[uint8], int32) returns Str is native { * }
camelia ( no output )
Xliff m: use NativeCall; sub itoa (int32, CArray[uint8], int32) returns Str is native { * }; my CArray[int32] $a .= allocate(1); $a[0] = 10; my $aa = $a[0]; my $b = CArray[uint8].allocate(4); my int32 $base = 10; say itoa($aa, $b, $base); 03:08
camelia Cannot locate symbol 'itoa' in native library ''
in method setup at /home/camelia/rakudo-m-inst-1/share/perl6/core/sources/846F9C3EAACF1D22DA99CBF8CD5080A3433D0B3A (NativeCall) line 359
in method setup at /home/camelia/rakudo-m-inst-1/share/pe…
Xliff m: use NativeCall; sub itoa (int32, CArray[uint8], int32) returns Str is native() { * }; my CArray[int32] $a .= allocate(1); $a[0] = 10; my $aa = $a[0]; my $b = CArray[uint8].allocate(4); my int32 $base = 10; say itoa($aa, $b, $base); 03:09
camelia Cannot resolve caller guess_library_name(Nil:U, Nil:U); none of these signatures matches:
(IO::Path $lib)
(Distribution::Resource $lib)
(Callable $lib)
(List $lib)
(Str $libname, $apiversion = "")
in sub guess_library…
Xliff m: use NativeCall; sub itoa (int32, CArray[uint8], int32) returns Str is native('c') { * }; my CArray[int32] $a .= allocate(1); $a[0] = 10; my $aa = $a[0]; my $b = CArray[uint8].allocate(4); my int32 $base = 10; say itoa($aa, $b, $base);
camelia Cannot locate native library 'libc.so': /usr/lib64/libc.so: invalid ELF header
in method setup at /home/camelia/rakudo-m-inst-1/share/perl6/core/sources/846F9C3EAACF1D22DA99CBF8CD5080A3433D0B3A (NativeCall) line 359
in method setup at /home/ca…
Xliff m: use NativeCall; sub itoa (int32, CArray[uint8], int32) returns Str is native('m') { * }; my CArray[int32] $a .= allocate(1); $a[0] = 10; my $aa = $a[0]; my $b = CArray[uint8].allocate(4); my int32 $base = 10; say itoa($aa, $b, $base);
camelia Cannot locate native library 'libm.so': /usr/lib64/libm.so: invalid ELF header
in method setup at /home/camelia/rakudo-m-inst-1/share/perl6/core/sources/846F9C3EAACF1D22DA99CBF8CD5080A3433D0B3A (NativeCall) line 359
in method setup at /home/ca…
03:28 librasteve joined 03:45 kylese left 03:49 kylese joined
refactus Xliff stackoverflow.com/questions/190229...n-in-linux 03:55
04:09 Aedil joined 04:33 librasteve left
timo m: "/usr/lib64/libm.so".IO.slurp.say 04:39
camelia /* GNU ld script
*/
OUTPUT_FORMAT(elf64-x86-64)
GROUP ( /lib64/libm.so.6 AS_NEEDED ( /lib64/libmvec.so.1 ) )
timo m: use NativeCall; sub itoa (int32, CArray[uint8], int32) returns Str is native('mvec', v1) { * }; my CArray[int32] $a .= allocate(1); $a[0] = 10; my $aa = $a[0]; my $b = CArray[uint8].allocate(4); my int32 $base = 10; say itoa($aa, $b, $base); 04:40
camelia Cannot locate symbol 'itoa' in native library 'libmvec.so.1'
in method setup at /home/camelia/rakudo-m-inst-1/share/perl6/core/sources/846F9C3EAACF1D22DA99CBF8CD5080A3433D0B3A (NativeCall) line 359
in method setup at /home/camelia/rakudo-m-ins…
timo m: use NativeCall; sub itoa (int32, CArray[uint8], int32) returns Str is native(Str) { * }; my CArray[int32] $a .= allocate(1); $a[0] = 10; my $aa = $a[0]; my $b = CArray[uint8].allocate(4); my int32 $base = 10; say itoa($aa, $b, $base);
camelia Cannot locate symbol 'itoa' in native library ''
in method setup at /home/camelia/rakudo-m-inst-1/share/perl6/core/sources/846F9C3EAACF1D22DA99CBF8CD5080A3433D0B3A (NativeCall) line 359
in method setup at /home/camelia/rakudo-m-inst-1/share/pe…
timo m: use NativeCall; sub itoa (int32, CArray[uint8], int32) returns Str is native('m', v6) { * }; my CArray[int32] $a .= allocate(1); $a[0] = 10; my $aa = $a[0]; my $b = CArray[uint8].allocate(4); my int32 $base = 10; say itoa($aa, $b, $base); 04:42
camelia Cannot locate symbol 'itoa' in native library 'libm.so.6'
in method setup at /home/camelia/rakudo-m-inst-1/share/perl6/core/sources/846F9C3EAACF1D22DA99CBF8CD5080A3433D0B3A (NativeCall) line 359
in method setup at /home/camelia/rakudo-m-inst-1…
04:46 librasteve joined
timo who wants to write the code that detects when "invalid elf header" is because of an LD linker script thingie? 04:49
05:50 librasteve left 05:57 dg left 06:04 librasteve joined 06:07 ACfromTX left 06:10 lichtkind joined 06:12 librasteve left 06:29 soverysour joined 06:42 librasteve joined 06:46 librasteve left 06:51 Sgeo left 07:02 soverysour left 07:07 dg joined 07:09 librasteve joined 07:13 librasteve left 07:21 soverysour joined, soverysour left, soverysour joined 07:26 librasteve joined 07:31 librasteve left 07:39 librasteve joined 09:05 soverysour left 09:06 soverysour joined 09:12 soverysour left 09:28 soverysour joined, soverysour left, soverysour joined 09:42 librasteve left 09:52 librasteve joined 09:54 soverysour left 10:54 librasteve left 10:56 librasteve joined 11:01 librasteve left 11:18 librasteve joined 11:23 soverysour joined, soverysour left, soverysour joined 11:25 librasteve left 11:37 librasteve joined 11:41 soverysour left 11:42 librasteve left 11:52 soverysour joined, soverysour left, soverysour joined 11:53 librasteve joined 11:58 librasteve left 12:04 soverysour left 12:07 soverysour joined, soverysour left, soverysour joined 12:13 librasteve joined 12:15 soverysour left 12:17 soverysour joined 12:19 yewscion joined 12:31 soverysour left, soverysour joined 12:37 soverysour left 12:51 soverysour joined, soverysour left, soverysour joined 13:01 soverysour left 13:03 yewscion left 13:06 yewscion joined, lichtkind left 13:17 apac joined 13:21 yewscion left 13:24 librasteve left 13:26 yewscion joined, soverysour joined 13:32 soverysour left 13:34 librasteve joined 13:35 jjido joined 13:39 librasteve left 13:42 yewscion left 13:44 soverysour joined 13:47 stanrifkin joined 13:49 soverysour left 13:50 yewscion joined 13:53 jjido left
[Coke] GAH. ignored a popup on mac osx after last upgrade to allow iterm to discover things on the network... with that disabled, I couldn't ssh to a local box on the network. 13:55
.tell melezhik - awesome, thanks 13:56
tellable6 [Coke], I'll pass your message to melezhik
[Coke] sees timo send and lowers his hand and takes a step back. 13:57
14:03 yewscion_ joined, yewscion left 14:09 ACfromTX joined, librasteve joined 14:14 librasteve left 14:34 librasteve joined 14:36 soverysour joined 14:42 soverysour left
Xliff timo> who wants to write the code that detects when "invalid elf header" is because of an LD linker script thingie? 15:10
timo: What would that look like? 15:11
I ran into that last week.
15:13 apac left 15:29 apac joined 15:39 librasteve left 15:50 librasteve joined 16:10 apac left 16:13 jjido joined 16:16 apac joined 16:24 jjido left 16:33 apac left 16:54 librasteve left 17:06 librasteve joined 17:09 librasteve_ joined 17:18 jjido joined
lizmat and yet another Rakudo Weekly News hits the Net: rakudoweekly.blog/2025/06/22/2025-...nd-or-not/ 17:37
disbot2 <librasteve> \o/
[Coke] I will be at the TPRC con this weekend and will not be able to do a release. 17:59
if jdv has a conflict, let's bump it a week.
18:04 librasteve left 18:14 jjido left 18:16 librasteve joined
jdv bump what? i have no conflict for a normal release on friday as planned. 18:21
[Coke] Awesome 18:26
jdv++
18:32 libraste1e joined, vasko42 joined 18:34 hulk joined, kaskal- joined, pierrot_ joined, nativecallable6_ joined 18:41 librasteve left, librasteve_ left, kylese left, nine left, vasko4 left, nativecallable6 left, kaskal left, pierrot left, camelia left 18:42 vasko42 is now known as vasko4 18:53 jjido joined 19:03 libraste1e left 19:18 librasteve_ joined, nine joined, camelia joined 19:28 tejr left 19:32 librasteve joined 19:37 librasteve left, librasteve_ left, nine left, camelia left 19:38 librasteve joined, librasteve_ joined 19:41 nine joined 19:42 librasteve left 19:45 yewscion_ left 19:51 apac joined 19:57 librasteve joined 19:58 jjido left 19:59 camelia joined 20:02 librasteve left 20:04 Aedil left 20:17 librasteve joined
timo Xliff: really just grabbing the path from the error message, opening the file to see if the first few hundred bytes are valid unicode and look like text, and look for "GNU ld script" in it or something like that 20:17
no clue if it's reasonable to try to support gnu ld script files apart from giving a better error message 20:18
20:21 librasteve left 20:27 jjido joined 20:28 jjido left 20:29 soverysour joined 20:34 soverysour left 20:39 librasteve joined 20:49 jjido joined 20:59 yewscion joined 21:04 yewscion left 21:44 yewscion joined 21:48 apac left 21:57 librasteve left 22:01 jjido left 22:04 librasteve joined, yewscion left 22:05 yewscion joined 22:12 librasteve left 22:17 Sgeo joined 22:50 Guest82 joined 23:04 yewscion left 23:05 yewscion joined 23:24 Guest82 left 23:25 yewscion left, kjp left 23:31 stanrifkin left 23:33 yewscion joined 23:53 librasteve joined 23:57 librasteve left