Date: Mon, 27 Jan 2014 15:58:23 GMT From: "Ivan A. Kosarev" <ikosarev@accesssoftek.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/186173: clang ports do not install <unwind.h> Message-ID: <201401271558.s0RFwNt5043048@oldred.freebsd.org> Resent-Message-ID: <201401271600.s0RG003v081959@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 186173 >Category: ports >Synopsis: clang ports do not install <unwind.h> >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jan 27 16:00:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Ivan A. Kosarev >Release: 9.2 >Organization: Access Softek, Inc >Environment: FreeBSD localhost 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013 root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: The ports of the clang compiler do not install the <unwind.h> header to the system include directory. This prevents some software relying on the header from building under FreeBSD with clang whereas it builds smoothly with gcc. >How-To-Repeat: cd /usr/ports/lang/clang33 make make install ls /usr/local/llvm33/lib/clang/3.3/include | grep unwind >Fix: The fix is to the change this file: /usr/ports/lang/clang33/work/llvm-3.3.src/tools/clang/lib/Headers/Makefile so that it does copy the unwind.h header to the system directory. The line HEADERS := $(notdir $(wildcard $(PROJ_SRC_DIR)/*intrin*.h) mm3dnow.h mm_malloc.h) should be replaced with HEADERS := $(notdir $(wildcard $(PROJ_SRC_DIR)/*intrin*.h) mm3dnow.h mm_malloc.h unwind.h) A related patch: http://svnweb.freebsd.org/ports?view=revision&revision=318207 >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401271558.s0RFwNt5043048>