Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Oct 2021 11:43:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 258865] www/node: fix build with clang 13
Message-ID:  <bug-258865-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258865

            Bug ID: 258865
           Summary: www/node: fix build with clang 13
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bhughes@freebsd.org
          Reporter: dim@FreeBSD.org
             Flags: maintainer-feedback?(bhughes@freebsd.org)
          Assignee: bhughes@freebsd.org

During an exp-run for llvm 13 (see bug 258209), it turned out that www/node
fails to build with clang 13:

In file included from ../deps/v8/src/heap/cppgc/allocation.cc:5:
../deps/v8/include/cppgc/allocation.h:168:39: error: no member named 'forwa=
rd'
in namespace 'std'
    T* object =3D ::new (memory) T(std::forward<Args>(args)...);
                                 ~~~~~^
../deps/v8/include/cppgc/allocation.h:168:47: error: 'Args' does not refer =
to a
value
    T* object =3D ::new (memory) T(std::forward<Args>(args)...);
                                              ^
../deps/v8/include/cppgc/allocation.h:164:25: note: declared here
  template <typename... Args>
                        ^
../deps/v8/include/cppgc/allocation.h:178:39: error: no member named 'forwa=
rd'
in namespace 'std'
    T* object =3D ::new (memory) T(std::forward<Args>(args)...);
                                 ~~~~~^
../deps/v8/include/cppgc/allocation.h:178:47: error: 'Args' does not refer =
to a
value
    T* object =3D ::new (memory) T(std::forward<Args>(args)...);
                                              ^
../deps/v8/include/cppgc/allocation.h:173:25: note: declared here
  template <typename... Args>
                        ^
../deps/v8/include/cppgc/allocation.h:206:55: error: no member named 'forwa=
rd'
in namespace 'std'
      MakeGarbageCollectedTrait<T>::Call(handle, std::forward<Args>(args)..=
.);
                                                 ~~~~~^
../deps/v8/include/cppgc/allocation.h:206:63: error: 'Args' does not refer =
to a
value
      MakeGarbageCollectedTrait<T>::Call(handle, std::forward<Args>(args)..=
.);
                                                              ^
../deps/v8/include/cppgc/allocation.h:203:35: note: declared here
template <typename T, typename... Args>
                                  ^
../deps/v8/include/cppgc/allocation.h:225:55: error: no member named 'forwa=
rd'
in namespace 'std'
                                                 std::forward<Args>(args)..=
.);
                                                 ~~~~~^
../deps/v8/include/cppgc/allocation.h:225:63: error: 'Args' does not refer =
to a
value
                                                 std::forward<Args>(args)..=
.);
                                                              ^
../deps/v8/include/cppgc/allocation.h:221:35: note: declared here
template <typename T, typename... Args>
                                  ^
8 errors generated.

This was fixed upstream in v8 with:
https://chromium.googlesource.com/v8/v8.git/+/69426180fac5d37643a28887b5e14=
8f844e14ce6
("cppgc: Fix missing <utility> include").

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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