emcc: undefined symbol: _emscripten_tempret_set
#22656
Replies: 4 comments 6 replies
-
Can you check where you You can then check that
|
Beta Was this translation helpful? Give feedback.
-
Thanks @sbc100! With -v, the output includes:
So the link command includes
The llvm commands:
It has the tempret symbols, but I'm not so happy about the missing symbols warnings. I have no idea if this is related, though. I'm still stumped :/ |
Beta Was this translation helpful? Give feedback.
-
I also tried this with emscripten 3.1.64, which was based on llvm-19, and got the same problem. But I think your second comment might have found the problem:
So EMCC_DEBUG=1 output attached, too. Thanks so much for your help! We'll get this into Debian ;-) |
Beta Was this translation helpful? Give feedback.
-
Oh, duh, typo:
So it is there. |
Beta Was this translation helpful? Give feedback.
-
Hi!
I'm helping to package emscripten for Debian, and we've run across a stumbling block. We are using version 3.1.66. The package builds fine, but running the command
crashes with the following output:
It worked with the previous version in Debian (3.1.6). I couldn't see anything obvious in ChangeLog.md that might suggest that we need to change something. I can see that
_emscripten_tempret_set
is set in/usr/share/emscripten/system/lib/compiler-rt/emscripten_tempret.s
, and it is mentioned in/usr/share/emscripten/tools/link.py
, but I can't understand what has gone wrong.This test is being done by a "clean" using in a clean chroot environment, so they don't have anything configured in their home directory by default (in particular, there is no
~/.emscripten
directory).Any help would be much appreciated! Thanks 😄
Beta Was this translation helpful? Give feedback.
All reactions