question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

BUG: Symbol not found: __powidf2

See original GitHub issue

Reporting a bug

My CI runs have recently started failing on Windows 32 with Symbol not found: __powidf2

I don’t have an easy to to repro other than running the code in my package arch.

Appveyor log is here:

https://ci.appveyor.com/project/bashtage/arch/build/job/f8xl4sqy63jled4t

I wonder if it is related to https://github.com/ldc-developers/ldc/issues/2262

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:31 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
gmarkallcommented, Nov 18, 2020

I’ve reopened the issue for now (rather than starting a new issue) as I think the prior discussion is relevant - however, I can’t edit the title to suggest it also occurs on Linux (not enough permissions).

0reactions
bnavigatorcommented, Jul 11, 2022

Same error message on openSUSE Tumbleweed Linux when trying to import acoular:

abuild@skylab:~> export PYTHONPATH=/home/abuild/rpmbuild/BUILDROOT/python-acoular-22.3-0.i386/usr/lib/python3.10/site-packages
abuild@skylab:~> python3.10
Python 3.10.5 (main, Jun 06 2022, 22:34:44) [GCC] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import acoular
LLVM ERROR: Symbol not found: __powidf2
Aborted (core dumped)
abuild@skylab:~> numba -s
System info:
--------------------------------------------------------------------------------
__Time Stamp__
Report started (local time)                   : 2022-07-11 20:17:23.446976
UTC start time                                : 2022-07-11 20:17:23.446979
Running time (s)                              : 0.371252

__Hardware Information__
Machine                                       : x86_64
CPU Name                                      : znver2
CPU Count                                     : 12
Number of accessible CPUs                     : 12
List of accessible CPUs cores                 : 0-11
CFS Restrictions (CPUs worth of runtime)      : None

CPU Features                                  : 64bit adx aes avx avx2 bmi bmi2
                                                clflushopt clwb clzero cmov cx16
                                                cx8 f16c fma fsgsbase fxsr lzcnt
                                                mmx movbe mwaitx pclmul popcnt
                                                prfchw rdpid rdrnd rdseed sahf sha
                                                sse sse2 sse3 sse4.1 sse4.2 sse4a
                                                ssse3 wbnoinvd xsave xsavec
                                                xsaveopt xsaves

Memory Total (MB)                             : 32012
Memory Available (MB)                         : 25534

__OS Information__
Platform Name                                 : Linux-5.18.9-1-default-x86_64-with-glibc2.35
Platform Release                              : 5.18.9-1-default
OS Name                                       : Linux
OS Version                                    : #1 SMP PREEMPT_DYNAMIC Sun Jul 3 08:04:03 UTC 2022 (0e67dc1)
OS Specific Version                           : ?
Libc Version                                  : glibc 2.35

__Python Information__
Python Compiler                               : GCC
Python Implementation                         : CPython
Python Version                                : 3.10.5
Python Locale                                 : en_US.UTF-8

__Numba Toolchain Versions__
Numba Version                                 : 0.55.2
llvmlite Version                              : 0.38.1

__LLVM Information__
LLVM Version                                  : 11.0.1

__CUDA Information__
CUDA Device Initialized                       : False
CUDA Driver Version                           : ?
CUDA Runtime Version                          : ?
CUDA NVIDIA Bindings Available                : ?
CUDA NVIDIA Bindings In Use                   : ?
CUDA Detect Output:
None
CUDA Libraries Test Output:
None

__NumPy Information__
NumPy Version                                 : 1.21.6
NumPy Supported SIMD features                 : ('MMX', 'SSE', 'SSE2', 'SSE3', 'SSSE3', 'SSE41', 'POPCNT', 'SSE42', 'AVX', 'F16C', 'FMA3', 'AVX2')
NumPy Supported SIMD dispatch                 : ('SSE3', 'SSSE3', 'SSE41', 'POPCNT', 'SSE42', 'AVX', 'F16C', 'FMA3', 'AVX2', 'AVX512F', 'AVX512CD', 'AVX512_SKX', 'AVX512_CLX', 'AVX512_CNL', 'AVX512_ICL')
NumPy Supported SIMD baseline                 : ('SSE', 'SSE2')
NumPy AVX512_SKX support detected             : False

__SVML Information__
SVML State, config.USING_SVML                 : False
SVML Library Loaded                           : False
llvmlite Using SVML Patched LLVM              : False
SVML Operational                              : False

__Threading Layer Information__
TBB Threading Layer Available                 : True
+-->TBB imported successfully.
OpenMP Threading Layer Available              : True
+-->Vendor: GNU
Workqueue Threading Layer Available           : True
+-->Workqueue imported successfully.

__Numba Environment Variable Information__
None found.

__Conda Information__
Conda not available.

__Installed Packages__
Package             Version
------------------- -------
acoular             22.3
appdirs             1.4.4
importlib-metadata  4.11.4
importlib-resources 5.4.0
joblib              1.1.0
llvmlite            0.38.1
more-itertools      8.13.0
numba               0.55.2
numexpr             2.8.3
numpy               1.21.6
ordered-set         4.0.2
packaging           21.3
pip                 22.0.4
pybind11            2.9.2
pyface              7.3.0
pyparsing           3.0.7
scikit-learn        1.1.1
scipy               1.8.1
setuptools          58.3.0
tables              3.7.0
threadpoolctl       3.0.0
traits              6.3.1
traitsui            7.2.1
wheel               0.37.1
zipp                3.8.0

No errors reported.


__Warning log__
Warning (cuda): CUDA is disabled or no CUDA enabled devices are present.
Exception class: <class 'numba.cuda.cudadrv.error.CudaSupportError'>
Warning: Conda not available.
 Error was [Errno 2] No such file or directory: 'conda'

Warning (psutil): psutil cannot be imported. For more accuracy, consider installing it.
Warning (no file): /sys/fs/cgroup/cpuacct/cpu.cfs_quota_us
Warning (no file): /sys/fs/cgroup/cpuacct/cpu.cfs_period_us
--------------------------------------------------------------------------------
abuild@skylab:~> ldd /usr/lib/python3.10/site-packages/llvmlite/binding/libllvmlite.so 
        linux-gate.so.1 (0xf7fac000)
        libLLVM.so.11 => /lib/libLLVM.so.11 (0xf12f9000)
        libstdc++.so.6 => /lib/libstdc++.so.6 (0xf10cf000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xf10a8000)
        libc.so.6 => /lib/libc.so.6 (0xf0e74000)
        /lib/ld-linux.so.2 (0xf7fae000)
        libedit.so.0 => /lib/libedit.so.0 (0xf0e3a000)
        libz.so.1 => /lib/libz.so.1 (0xf0e1c000)
        libm.so.6 => /lib/libm.so.6 (0xf0d15000)
        libtinfo.so.6 => /lib/libtinfo.so.6 (0xf0ce4000)

This only happens in the 32-bit library rpmbuild VM. The x86_64 libraries are fine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

python codes questions for llvm - Stack Overflow
when i running following codes in spyder, meet error: start IPython error LLVM ERROR: Symbol not found: __powidf2.
Read more >
539 Unresolved symbols (__powidf2 or so) in LAPACK
However when linking the library with apps I got the following error message: /usr/lib/liblapack.so: undefined symbol: __powidf2.
Read more >
⚙ D69013 [AArch64][X86] Don't assume __powidf2 is ... - LLVM
Can this be made into an assert or non-fatal error by DAG->getContext(). ... for the target is not setup properly or is missing...
Read more >
[petsc-dev] (arm64) could not find object file symbol for symbol ...
[petsc-dev] (arm64) could not find object file symbol for symbol ___muldc3. Barry Smith bsmith at petsc.dev. Tue Apr 6 12:05:10 CDT 2021.
Read more >
Lastest SF Symbols not working in Xcode - Apple Developer
For example, 'binoculars' is found in the 'what's new' in the SF Symbol beta ... the OS you're targeting but it's not showing...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found