Cannot compile c++ mp3 decoder project
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cheerp |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
I used the source code of https:/
0 llc 0x000000010079ded9 llvm::sys:
1 llc 0x000000010079e63b SignalHandler(int) + 395
2 libsystem_
3 libsystem_
4 llc 0x000000010044eabb llvm::ConstantF
5 llc 0x000000010045e7eb llvm::ConstantE
6 llc 0x00000001009a15d3 llvm::BitcodeRe
7 llc 0x00000001009a45f9 llvm::BitcodeRe
8 llc 0x00000001009a6950 llvm::BitcodeRe
9 llc 0x00000001009ae678 getLazyBitcodeM
10 llc 0x00000001009ae8fe llvm::parseBitc
11 llc 0x000000010054a247 llvm::parseIR(
12 llc 0x000000010054a6ad llvm::parseIRFi
13 llc 0x0000000100006764 main + 996
14 llc 0x0000000100006354 start + 52
15 llc 0x0000000000000005 start + 4294941925
Stack dump:
0. Program arguments: /opt/cheerp/bin/llc -march=cheerp -o build//hello.js /var/folders/
clang-3.7: error: unable to execute command: Segmentation fault: 11
clang-3.7: error: linker command failed due to signal (use -v to see invocation)
Cheerp 1.2.1 clang version 3.7.0 (https:/
Target: cheerp--webbrowser
Thread model: posix
clang-3.7: note: diagnostic msg: PLEASE submit a bug report to http://
clang-3.7: note: diagnostic msg: Error generating preprocessed source(s) - no preprocessable inputs.
make: *** [build//hello.js] Error 254
Changed in cheerp: | |
status: | New → Incomplete |
The crash seems to happen while reading bytecode. Could you verify that all the intermediate bc files are being built using Cheerp with a consistent version?