[LLVMbugs] [Bug 19410] New: [R3.4.1] tools/clang/include/clang-c/Makefile aborts on Open Solaris 11

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Apr 12 01:28:05 PDT 2014


http://llvm.org/bugs/show_bug.cgi?id=19410

            Bug ID: 19410
           Summary: [R3.4.1] tools/clang/include/clang-c/Makefile aborts
                    on Open Solaris 11
           Product: Build scripts
           Version: 3.4
          Hardware: Sun
                OS: Solaris
            Status: NEW
          Severity: normal
          Priority: P
         Component: Makefiles
          Assignee: unassignedbugs at nondot.org
          Reporter: FBergemann at web.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

There is a multi line backquote in the Makefile here 
(starting with `find clang-c -type f ...):

ifneq ($(PROJ_SRC_ROOT),$(PROJ_OBJ_ROOT))
        $(Verb) if test -d "$(PROJ_OBJ_ROOT)/tools/clang/include/clang-c" ;
then \
          cd $(PROJ_OBJ_ROOT)/tools/clang/include && \
          for hdr in `find clang-c -type f '!' '(' -name 'Makefile' ')' -print
\
            | grep -v CVS | grep -v .tmp | grep -v .dir` ; do \
            instdir=`dirname "$(IntIncludeDir)/$$hdr"` ; \
            if test \! -d "$$instdir" ; then \
              $(EchoCmd) Making install directory $$instdir ; \
              $(MKDIR) $$instdir ;\
            fi ; \
            $(DataInstall) $$hdr $(IntIncludeDir)/$$hdr ; \
          done ; \
        fi
endif

This fails in Solaris 11 (Virtual Box).
It works, after joining the lines into a single line.

rgds,
Frank

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140412/f88a4b13/attachment.html>


More information about the llvm-bugs mailing list