Bug 241337 - devel/emscripten is missing unwind.h and its source code
Summary: devel/emscripten is missing unwind.h and its source code
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-18 23:59 UTC by ichino
Modified: 2019-10-19 14:25 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (yuri)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ichino 2019-10-18 23:59:35 UTC
emscripten 1.38.45 is missing unwind.h and its source code.

$ em++ base64.cpp  -std=c++11 -O1 -s WASM=1 -o base64.js --bind
cache:INFO: generating system library: libc++abi.a... (this will be cached in "/home/username/.emscripten_cache/wasm-obj/libc++abi.a" for subsequent builds)
In file included from /usr/local/lib/emscripten/system/lib/libcxxabi/src/cxa_default_handlers.cpp:19:
/usr/local/lib/emscripten/system/lib/libcxxabi/src/cxa_exception.hpp:19:10: fatal error: 'unwind.h' file not found
#include "unwind.h"
         ^~~~~~~~~~
1 error generated.
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2019-10-19 04:50:32 UTC
Fixed.

Thank you for reporting this problem!
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-10-19 04:50:57 UTC
A commit references this bug:

Author: yuri
Date: Sat Oct 19 04:50:09 UTC 2019
New revision: 514749
URL: https://svnweb.freebsd.org/changeset/ports/514749

Log:
  devel/emscripten: Correct LLVM path; Correct EMSCRIPTEN path; Add node and libunwind dependencies

  PR:		241337 (missing unwind.h)
  Reported by:	ichino@coreappli.jp

Changes:
  head/devel/emscripten/Makefile
Comment 3 ichino 2019-10-19 06:15:53 UTC
Thank you for your quick response.
Comment 4 Yuri Victorovich freebsd_committer freebsd_triage 2019-10-19 14:25:56 UTC
(In reply to ichino from comment #3)

You're welcome!