Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Feb 2020 17:26:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 244503] www/chromium: Fix build with clang 10.0.0
Message-ID:  <bug-244503-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 244503
           Summary: www/chromium: Fix build with clang 10.0.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: chromium@FreeBSD.org
          Reporter: dim@FreeBSD.org
            Blocks: 244251
          Assignee: chromium@FreeBSD.org
             Flags: maintainer-feedback?(chromium@FreeBSD.org)

Created attachment 212027
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D212027&action=
=3Dedit
Fix www/chromium build with clang 10.0.0

As reported in bug 244251, with clang 10.0.0 the www/chromium port fails to
build with:

In file included from
../../third_party/angle/src/libANGLE/renderer/vulkan/GlslangWrapper.cpp:18:
In file included from ../../third_party/glslang/src/SPIRV/GlslangToSpv.h:42:
In file included from ../../third_party/glslang/src/SPIRV/SpvTools.h:49:
In file included from
../../third_party/glslang/src/SPIRV/../glslang/MachineIndependent/localinte=
rmediate.h:42:
In file included from
../../third_party/glslang/src/glslang/Public/../MachineIndependent/../Inclu=
de/intermediate.h:55:
In file included from
../../third_party/glslang/src/glslang/Public/../Include/../Include/Common.h=
:108:
../../third_party/glslang/src/glslang/Public/../Include/PoolAlloc.h:307:54:
error: 'operator=3D' is a private member of 'glslang::TPoolAllocator'
    void setAllocator(TPoolAllocator* a) { allocator =3D *a; }
                                           ~~~~~~~~~ ^ ~~
../../third_party/glslang/src/glslang/Public/../Include/PoolAlloc.h:244:21:
note: declared private here
    TPoolAllocator& operator=3D(const TPoolAllocator&);  // don't allow
assignment operator
                    ^

This can be fixed by applying an upstream commit from the glslang project:

https://github.com/KhronosGroup/glslang/commit/24b3e8384e93f3e73b6aa14ea00a=
30574112f9ba


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244251
[Bug 244251] [exp-run] Against projects/clang1000-import branch
--=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-244503-7788>