https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275914
--- Comment #40 from Nuno Teixeira ---
(In reply to shamaz.mazum from comment #36)
I have patched devel/llvm16. Results from llvm 16 and 18 are the same:
% clang++18 check.cc
% ./a.out
std::pair copy constructor is non-trivial
% rm a.out
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275914
--- Comment #41 from shamaz.ma...@gmail.com ---
(In reply to Nuno Teixeira from comment #40)
I have no idea. Today i've upgraded to FreeBSD 14.1, so this is what I have now
with that patch applied to the base:
vasily@vonbraun:~/test % c++
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275914
--- Comment #42 from shamaz.ma...@gmail.com ---
(In reply to Nuno Teixeira from comment #40)
I hate to ask, but can you apply this patch to the base, as it's recommended in
my instruction. I mean, apply this patch in /usr/src, build the wor
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275914
--- Comment #43 from shamaz.ma...@gmail.com ---
(In reply to Nuno Teixeira from comment #40)
Wait! LLVM from ports does not install the headers. It uses
/usr/include/c++/v1/__utility/pair.h for #include . Please, patch the
base (you can ins
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275914
--- Comment #44 from Nuno Teixeira ---
(In reply to shamaz.mazum from comment #42)
It seems that patching llvm from ports isn't enough. Patching base compiler is
a exccessive measure that will be dificult to test.
As I said in this PR whe
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275914
--- Comment #45 from shamaz.ma...@gmail.com ---
(In reply to Nuno Teixeira from comment #44)
Yes, you are right. This is more like a solution for one person, namely me, as
removing those lines from LLVM will lead to a standard library binar