parisse a écrit : ↑ven. juil. 12, 2024 1:07 pm
I'll add the current js.c/js.h to the tar source file.
Those filles are already in source archive.
parisse a écrit : ↑ven. juil. 12, 2024 1:07 pm
BTW, I don't understand why it is impossible to copy ld-linux-aarch64.so.1 alone (I mean, not by installing a package) from another linux distribution and put it in /lib or in any directory that you add to your LD_LIBRARY_PATH by export LD_LIBRARY_PATH
Because i'm compiling Giac in a RPM packaging system, i can't use libraries from mixed architectures of Fedora.
parisse a écrit : ↑ven. juil. 12, 2024 1:07 pm
I just checked, js.c and js.h are in the archive. Perhaps running touch on them will force make consider them up to date and avoid running mkjs to update them. Very strange...
As i thought,
mkjs file is not correctly compiled in architectures different from ARM64.
In my test, during the packaging procedure, i have manually compiled
mkjs with correct (for Fedora)
g++ flags:
Code : Tout sélectionner
g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer mkjs.cc -o mkjs
and forced makefiles in
giac source archive to create a
mkjs.fake file, later ignored.
Please, look the build.log
here