C++ exception of RPi
Daisuke Aoyama
aoyama at peach.ne.jp
Mon Jan 19 11:16:20 UTC 2015
Thank you for testing.
If possible, please try this EH patch extracted from src-r277169-20150114.patch.gz
How to use it:
----------------------------------------------------------------------
If you don't have source tree, check out with your kernel version.
# uname -v
FreeBSD 11.0-CURRENT #0 r276981: Mon Jan 12 09:04:54 UTC 2015
root at grind.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/RPI-B
# svnlite checkout -r 276981 svn://svn.FreeBSD.org/base/head /usr/src
Apply the patch
# cd /usr/src
# patch < /path/to/eh.patch
Build the patched library
# cd /usr/src/lib/libcxxrt
# make
Try with new library
# cd /path/to/sample.cc
# clang++ sample.cc /usr/src/lib/libcxxrt/libcxxrt.a
# ./a.out
catch: 10
----------------------------------------------------------------------
If it works, you will run "make install" in /usr/src/lib/libcxxrt.
--
Daisuke Aoyama
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eh.patch
Type: application/octet-stream
Size: 2876 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20150119/2f9eb049/attachment.obj>
More information about the freebsd-arm
mailing list