They're not the latest,
gcc 12.2.0
clang version 15.0.7
but I don't get any warnings, and hence errors during compilation. I redid it
with clang and -Wfatal-errors just now. Selfsame printout and return code.
I executed built_native.sh and build_jamalgam.sh for good measure, but to no
avail.
If make2/ is already deprecated, why is make_deprecated/ stil there..?
How is one supposed to compile it if not with that on UNIX machines?
The stack traces for the .zip'd binary and the compiled one differ
considerably. I think an or the issue may be the GNU linker ld, since the
compiled one doesn't get the .zip'd one's second execve:
execve("/usr/bin/ijconsole-9.5", ["ijconsole-9.5"], 0x7ffe3b52bf80 /* 55 vars
*/) = 0
...execve("/usr/lib/ld-musl-x86_64.so.1", ["ld-linux-x86-64.so.2", "--argv0",
"ijconsole", "--preload", "/usr/lib/libgcompat.so.0 ", "--",
"/usr/bin/ijconsole-9.5"], 0x7ffe8f26e128 /* 55 vars */) = 0
gcompat is a "Compatability layer to allow running glibc binaries on musl
systems". This is why I'd wanted to recompile it, the extra performance, or
rather, the default one.
I don't know enough about standard library variants, nor low-level programming
to tell whether this is it. If any of you can tell at a glace I'd be mighty
thankful.
Aug 22, 2023, 04:23 by [email protected]:
> Make files and scripts in repository are meant for recent versions of clang
> and gcc.
>
> On Tue, 22 Aug 2023 at 7:56 AM 'Viktor Grigorov' via Programming <
> [email protected]> wrote:
>
>> Hey,
>>
>> I cloned the jsource repository.
>> Checked out 9.5.0-beta5
>> Executed build_all.sh script in make2/ to successfully compile.
>> Executing the executable jconsole I get return code 134 with
>> JE has crashed, likely due to an internal bug. Please report the code
>> which caused the crash, as well as the following printout, to the J
>> programming forum.
>> 000055ffd96d7f04: ?:0: ?
>> 00007f106b331a1d: src/signal/x86_64/restore.s:1: ?
>>
>> I last compiled 9.4.? ~1--1.5y ago; that was successful. I am missing a
>> step or..?
>>
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm