Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Jan 2024 16:18:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 276113] lang/julia: fails to run when kern.elf64.allow_wx=0
Message-ID:  <bug-276113-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276113

            Bug ID: 276113
           Summary: lang/julia: fails to run when kern.elf64.allow_wx=3D0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: Trond.Endrestol@ximalas.info

The following patch adds USES+=3Delfctl and marks the Julia executable as
"wxneeded." While here, sort USES.

Here are samples of what happens when kern.elf64.allow_wx=3D0 and when
kern.elf64.allow_wx=3D1 before the executable is properly tagged:

$ sysctl kern.elf64.allow_wx
kern.elf64.allow_wx: 0
$ julia
fatal: error thrown and no exception handler available.
InitError(mod=3D:Sys, error=3DErrorException("PCRE JIT error: no more memor=
y"))
unknown function (ip: 0x844d5ee08)
unknown function (ip: 0x844da02af)
unknown function (ip: 0x844a7ea39)
unknown function (ip: 0x844d3e8da)
unknown function (ip: 0x844a9a42e)
unknown function (ip: 0x844d59a1d)
unknown function (ip: 0x844d59a78)
ijl_apply_generic at /usr/local/bin/../lib/julia/libjulia-internal.so.1
(unknown line)
ijl_base_relative_to at /usr/local/bin/../lib/julia/libjulia-internal.so.1
(unknown line)
julia_init at /usr/local/bin/../lib/julia/libjulia-internal.so.1 (unknown l=
ine)
julia_init at /usr/local/bin/../lib/julia/libjulia-internal.so.1 (unknown l=
ine)
jl_repl_entrypoint at /usr/local/bin/../lib/julia/libjulia-internal.so.1
(unknown line)
main at /usr/local/bin/julia (unknown line)
_start at /usr/local/bin/julia (unknown line)
unknown function (ip: 0x821877007)

$ sysctl kern.elf64.allow_wx
kern.elf64.allow_wx: 1
$ julia
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.9.4 (2023-11-14)
 _/ |\__'_|_|_|\__'_|  |  FreeBSD port lang/julia build
|__/                   |

julia>

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276113-7788>