ports/186173: clang ports do not install <unwind.h>
Ivan A. Kosarev
ikosarev at accesssoftek.com
Mon Jan 27 16:00:01 UTC 2014
>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 at 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:
More information about the freebsd-ports-bugs
mailing list