JuliaPy / JuliaPy/PyCall.jl

LLVM ERROR: Symbols not found: { ccall_PyByteArray_Type_105607, ccall_PyTuple_Type_105595, ccall_PyList_Type_105613 }

Abierto
#924 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Julia
Estrellas
1.5k
Forks
186
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

I'm trying to create a sysimage that includes `PyCall`.

Julia v1.5.4
PyCall v1.92.3

The build runs in an Ubuntu 18.04 docker container (it's part of the docker build process).

The sysimage creation goes on for about 96 seconds, and then fails with this error:

```
LLVM ERROR: Symbols not found: { ccall_PyByteArray_Type_105607, ccall_PyTuple_Type_105595, ccall_PyList_Type_105613 }
```

More output:
```
13:47:18 #74 63.50 [ Info: PackageCompiler: creating system image object file, this might take a while...
13:48:53 #74 159.0 LLVM ERROR: Symbols not found: { ccall_PyByteArray_Type_105607, ccall_PyTuple_Type_105595, ccall_PyList_Type_105613 }
13:48:53 #74 159.0
13:48:53 #74 159.2 ERROR: LoadError: failed process: Process(`/julia-1.5.4/bin/julia --color=yes --startup-file=no '--cpu-target=generic;sandybridge,-xsaveopt,clone_all;haswell,-rdrnd,base(1)' --sysimage=/julia-1.5.4/lib/julia/sys.so --project=/home/ubuntu/.julia/environments/v1.5 --output-o=/tmp/jl_ulcCLp.o -e '....
```

The strange thing is that it doesn't happen every time I run it. I've tried it maybe 6 times, and it fails about 50% of the time.

If it's any help, I recently upgraded from 1.92.2 to 1.92.3 but I didn't see anything in the diffs that could cause this.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Comienza reproduciendo la creación del sysimage con Julia v1.5.4, PyCall v1.92.3 y el entorno Docker de Ubuntu 18.04, registrando si el fallo de símbolos de LLVM es intermitente. Compara las ejecuciones correctas y fallidas en torno a la inicialización de PackageCompiler y PyCall. Se considera terminado cuando los símbolos indicados se resuelven y la creación del sysimage se completa de forma fiable.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
build-system, devtools
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.