[Bug 264396] devel/llvm-devel c++ error in shared_ptr.h

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 01 Jun 2022 15:59:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264396

            Bug ID: 264396
           Summary: devel/llvm-devel c++ error in shared_ptr.h
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: brooks@FreeBSD.org
          Reporter: dgilbert@eicat.ca
          Assignee: brooks@FreeBSD.org
             Flags: maintainer-feedback?(brooks@FreeBSD.org)

Odd one, this.  Poudriere build on 13.1 throws this file:

https://pkg.daveg.ca/data/freebsd_13_1_x64-HEAD/2022-06-01_11h48m29s/logs/errors/llvm-devel-15.0.d20220523.log

... the meat of which appears to be:

/usr/local/libexec/ccache/c++ -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS
-I/wrkdirs/usr/ports/devel/llvm-devel/work-default/.build/lib/DebugInfo/DWARF
-I/wrkdirs/usr/ports/devel/llvm-devel/work-default/llvm-project-c8e087082927e289bae328dc6dd07fe02b3341b1/llvm/lib/DebugInfo/DWARF
-I/wrkdirs/usr/ports/devel/llvm-devel/work-default/.build/include
-I/wrkdirs/usr/ports/devel/llvm-devel/work-default/llvm-project-c8e087082927e289bae328dc6dd07fe02b3341b1/llvm/include
-O2 -pipe -DNDEBUG -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing  -DNDEBUG -isystem /usr/local/include -fPIC
-fvisibility-inlines-hidden -Werror=date-time
-Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter
-Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic
-Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough
-Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor
-Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion
-Wmisleading-indentation -fdiagnostics-color -ffunction-sections
-fdata-sections -O2 -pipe -DNDEBUG -fstack-protector-strong -isystem
/usr/local/include -fno-strict-aliasing  -DNDEBUG -isystem /usr/local/include 
-fno-exceptions -std=c++14 -MD -MT
lib/DebugInfo/DWARF/CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFVerifier.cpp.o -MF
lib/DebugInfo/DWARF/CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFVerifier.cpp.o.d -o
lib/DebugInfo/DWARF/CMakeFiles/LLVMDebugInfoDWARF.dir/DWARFVerifier.cpp.o -c
/wrkdirs/usr/ports/devel/llvm-devel/work-default/llvm-project-c8e087082927e289bae328dc6dd07fe02b3341b1/llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
In file included from
/wrkdirs/usr/ports/devel/llvm-devel/work-default/llvm-project-c8e087082927e289bae328dc6dd07fe02b3341b1/llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp:8:
In file included from
/wrkdirs/usr/ports/devel/llvm-devel/work-default/llvm-project-c8e087082927e289bae328dc6dd07fe02b3341b1/llvm/include/llvm/DebugInfo/DWARF/DWARFVerifier.h:12:
In file included from
/wrkdirs/usr/ports/devel/llvm-devel/work-default/llvm-project-c8e087082927e289bae328dc6dd07fe02b3341b1/llvm/include/llvm/ADT/Optional.h:19:
In file included from
/wrkdirs/usr/ports/devel/llvm-devel/work-default/llvm-project-c8e087082927e289bae328dc6dd07fe02b3341b1/llvm/include/llvm/ADT/Hashing.h:51:
In file included from /usr/include/c++/v1/algorithm:653:
In file included from /usr/include/c++/v1/functional:500:
In file included from /usr/include/c++/v1/__functional/function.h:20:
In file included from /usr/include/c++/v1/__memory/shared_ptr.h:22:
/usr/include/c++/v1/__memory/allocator.h:154:28: error: call to
implicitly-deleted copy constructor of 'llvm::IntervalMap<unsigned int,
unsigned long, 12>'
        ::new ((void*)__p) _Up(_VSTD::forward<_Args>(__args)...);
                           ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/v1/__memory/allocator_traits.h:290:13: note: in instantiation
of function template specialization 'std::allocator<llvm::IntervalMap<unsigned
int, unsigned long, 12>>::construct<llvm::IntervalMap<unsigned int, unsigned
long, 12>, const llvm::IntervalMap<unsigned int, unsigned long, 12> &>'
requested here
        __a.construct(__p, _VSTD::forward<_Args>(__args)...);
            ^
/usr/include/c++/v1/vector:1085:25: note: in instantiation of function template
specialization 'std::allocator_traits<std::allocator<llvm::IntervalMap<unsigned
int, unsigned long, 12>>>::construct<llvm::IntervalMap<unsigned int, unsigned
long, 12>, const llvm::IntervalMap<unsigned int, unsigned long, 12> &, void>'
requested here
        __alloc_traits::construct(this->__alloc(), _VSTD::__to_address(__pos),
__x);
                        ^
/usr/include/c++/v1/vector:1178:9: note: in instantiation of member function
'std::vector<llvm::IntervalMap<unsigned int, unsigned long,
12>>::__construct_at_end' requested here
        __construct_at_end(__n, __x);
        ^
/wrkdirs/usr/ports/devel/llvm-devel/work-default/llvm-project-c8e087082927e289bae328dc6dd07fe02b3341b1/llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp:410:48:
note: in instantiation of member function
'std::vector<llvm::IntervalMap<unsigned int, unsigned long, 12>>::vector'
requested here
  std::vector<IntervalMap<uint32_t, uint64_t>> Sections(
                                               ^
/wrkdirs/usr/ports/devel/llvm-devel/work-default/llvm-project-c8e087082927e289bae328dc6dd07fe02b3341b1/llvm/include/llvm/ADT/IntervalMap.h:970:14:
note: copy constructor of 'IntervalMap<unsigned int, unsigned long, 12>' is
implicitly deleted because variant field 'leaf' has a non-trivial copy
constructor
    RootLeaf leaf;
             ^
1 error generated.

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