Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Sep 2013 10:25:02 GMT
From:      Guillaume Bibaut <yom@iaelu.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/182369: devel/llvm does not compile with 9.1-RELEASE default clang (3.1)
Message-ID:  <201309251025.r8PAP2u6080901@oldred.freebsd.org>
Resent-Message-ID: <201309251030.r8PAU0Q7076309@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         182369
>Category:       ports
>Synopsis:       devel/llvm does not compile with 9.1-RELEASE default clang (3.1)
>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:   Wed Sep 25 10:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Guillaume Bibaut
>Release:        9.1-RELEASE
>Organization:
-
>Environment:
FreeBSD bsd-current 9.1-RELEASE-p7 FreeBSD 9.1-RELEASE-p7 #0: Mon Sep  9 21:34:37 UTC 2013    root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
I've set up a poudriere jail to use the default clang installed with 9.1-RELEASE to build packages.
For some time it was compiling everything, but for a week now I'm not able to build devel/llvm with that default clang.
I can see with that it compiles nicely with gcc 4.2.1.
>How-To-Repeat:
install a freebsd 9.1-release vm, and install poudriere

create a jail like this :

# poudriere jail -c -j 91Rclang -v 9.1-RELEASE -a amd64
# poudriere jail -u -j 91Rclang

# mkdir /usr/local/etc/poudriere.d
# cat << EOF >> /usr/local/etc/poudriere.d/91Rclang-make.conf
WITH_PKGNG=yes
CC=clang
CXX=clang++
CPP=clang-cpp
NO_WERROR=
WERROR=
EOF

default options for ports is ok

# poudriere bulk -j 91Rclang devel/llvm

And here is the end of the llvm build log :

===>  Building for llvm-3.2_3
llvm[0]: Constructing LLVMBuild project information.
gmake[1]: Entering directory `/wrkdirs/usr/ports/devel/llvm/work/llvm-3.2.src/lib/Support'
llvm[1]: Compiling APFloat.cpp for Release build
In file included from APFloat.cpp:15:
In file included from /wrkdirs/usr/ports/devel/llvm/work/llvm-3.2.src/include/llvm/ADT/APFloat.h:104:
In file included from /wrkdirs/usr/ports/devel/llvm/work/llvm-3.2.src/include/llvm/ADT/APInt.h:18:
In file included from /wrkdirs/usr/ports/devel/llvm/work/llvm-3.2.src/include/llvm/ADT/ArrayRef.h:13:
/wrkdirs/usr/ports/devel/llvm/work/llvm-3.2.src/include/llvm/ADT/SmallVector.h:183:22: error: no member named 'move' in namespace 'std'
      *Dest = ::std::move(*I);
              ~~~~~~~^
/wrkdirs/usr/ports/devel/llvm/work/llvm-3.2.src/include/llvm/ADT/SmallVector.h:198:24: error: no member named 'move' in namespace 'std'
      *--Dest = ::std::move(*--E);
                ~~~~~~~^
/wrkdirs/usr/ports/devel/llvm/work/llvm-3.2.src/include/llvm/ADT/SmallVector.h:211:39: error: no member named 'move' in namespace 'std'
      ::new ((void*) &*Dest) T(::std::move(*I));
                               ~~~~~~~^
/wrkdirs/usr/ports/devel/llvm/work/llvm-3.2.src/include/llvm/ADT/SmallVector.h:246:44: error: no member named 'move' in namespace 'std'
      ::new ((void*) this->end()) T(::std::move(Elt));
                                    ~~~~~~~^
/wrkdirs/usr/ports/devel/llvm/work/llvm-3.2.src/include/llvm/ADT/SmallVector.h:426:23: error: no member named 'move' in namespace 'std'
    T Result = ::std::move(this->back());
               ~~~~~~~^
/wrkdirs/usr/ports/devel/llvm/work/llvm-3.2.src/include/llvm/ADT/SmallVector.h:501:30: error: no member named 'move' in namespace 'std'
      this->push_back(::std::move(Elt));
                      ~~~~~~~^
/wrkdirs/usr/ports/devel/llvm/work/llvm-3.2.src/include/llvm/ADT/SmallVector.h:510:44: error: no member named 'move' in namespace 'std'
      ::new ((void*) this->end()) T(::std::move(this->back()));
                                    ~~~~~~~^
/wrkdirs/usr/ports/devel/llvm/work/llvm-3.2.src/include/llvm/ADT/SmallVector.h:521:19: error: no member named 'move' in namespace 'std'
      *I = ::std::move(*EltPtr);
           ~~~~~~~^
/wrkdirs/usr/ports/devel/llvm/work/llvm-3.2.src/include/llvm/ADT/SmallVector.h:904:44: error: no member named 'move' in namespace 'std'
      SmallVectorImpl<T>::operator=(::std::move(RHS));
                                    ~~~~~~~^
/wrkdirs/usr/ports/devel/llvm/work/llvm-3.2.src/include/llvm/ADT/SmallVector.h:908:42: error: no member named 'move' in namespace 'std'
    SmallVectorImpl<T>::operator=(::std::move(RHS));
                                  ~~~~~~~^
10 errors generated.
gmake[1]: *** [/wrkdirs/usr/ports/devel/llvm/work/llvm-3.2.src/lib/Support/Release/APFloat.o] Error 1
gmake[1]: Leaving directory `/wrkdirs/usr/ports/devel/llvm/work/llvm-3.2.src/lib/Support'
gmake: *** [all] Error 1
*** [do-build] Error code 1

Stop in /usr/ports/devel/llvm.
>Fix:
-

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309251025.r8PAP2u6080901>