[Bug 279136] clang-16 frontend command fails with exit code 138 w/out any assertion message on the port security/botan3 on amd64, arm64

2024-05-22 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279136

--- Comment #8 from Yuri Victorovich  ---
(In reply to Matthias Andree from comment #7)

Hi Matthias,

I just made it build again, since I added BROKEN lines earlier.

If you would like to commit further patches - you are welcome to do so.

I know very little about botan3 and have never used it.


Thanks,
Yuri

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


[Bug 279136] clang-16 frontend command fails with exit code 138 w/out any assertion message on the port security/botan3 on amd64, arm64

2024-05-22 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279136

--- Comment #7 from Matthias Andree  ---
Dimitry, 

Thank you. 14.0 will be around until end of September 2024 according to current
schedules, see the table on https://www.freebsd.org/releng/ in context with
https://www.freebsd.org/security/#sup


Yuri, 

why are you rushing this and ignoring
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279173 with this?

Basically we can build with "all LLVM from ports" if I understand Dimitry
correctly, so that would be the right recourse, rather than forcing a version
that nobody else has or uses.

Note that 279173 also has other necessary changes working around the older
libc++ in FreeBSD 13's base.

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


[Bug 279136] clang-16 frontend command fails with exit code 138 w/out any assertion message on the port security/botan3 on amd64, arm64

2024-05-21 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279136

--- Comment #6 from commit-h...@freebsd.org ---
A commit in branch 2024Q2 references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=e5cd3589b262f0a530e2b201d923a69b9666adf9

commit e5cd3589b262f0a530e2b201d923a69b9666adf9
Author: Yuri Victorovich 
AuthorDate: 2024-05-22 01:59:38 +
Commit: Yuri Victorovich 
CommitDate: 2024-05-22 02:02:28 +

security/botan3: Unbreak on amd64 and arm64 by using llvm-17

PR: 279136
(cherry picked from commit d863e42c9258ad8673bfbaef2af27781cff3b42c)

 security/botan3/Makefile | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

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


[Bug 279136] clang-16 frontend command fails with exit code 138 w/out any assertion message on the port security/botan3 on amd64, arm64

2024-05-21 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279136

--- Comment #5 from commit-h...@freebsd.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=d863e42c9258ad8673bfbaef2af27781cff3b42c

commit d863e42c9258ad8673bfbaef2af27781cff3b42c
Author: Yuri Victorovich 
AuthorDate: 2024-05-22 01:59:38 +
Commit: Yuri Victorovich 
CommitDate: 2024-05-22 01:59:38 +

security/botan3: Unbreak on amd64 and arm64 by using llvm-17

PR: 279136

 security/botan3/Makefile | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

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


[Bug 279136] clang-16 frontend command fails with exit code 138 w/out any assertion message on the port security/botan3 on amd64, arm64

2024-05-21 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279136

--- Comment #4 from Yuri Victorovich  ---
It builds with llvm-17 from ports.

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


[Bug 279136] clang-16 frontend command fails with exit code 138 w/out any assertion message on the port security/botan3 on amd64, arm64

2024-05-21 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279136

Dimitry Andric  changed:

   What|Removed |Added

 Status|New |Open

--- Comment #3 from Dimitry Andric  ---
Yes, it's an assertion caused by the reversal of
https://github.com/llvm/llvm-project/commit/08c8d5bc51c5, which I committed
during the llvm-12 (!) import, here:
https://github.com/DimitryAndric/freebsd-src/commit/9c6443e9491128ed78f069af0caa77f062929dd8
 This is was originally to fix a problem with bootstrapping the gcc ports.

However, I removed it during the llvm-17 import, so from llvm-17 onward it
should compile botan just fine. Also, the llvm-16 port should compile it OK,
since it does not have the above revert.

How long does 14.0-RELEASE have to live, still? 14.1-R is coming up, which
should fix this problem too.

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


[Bug 279136] clang-16 frontend command fails with exit code 138 w/out any assertion message on the port security/botan3 on amd64, arm64

2024-05-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279136

--- Comment #2 from Matthias Andree  ---
Yuri: 138 resolves to 128 (core dump) + 10 = SIGBUS.  
Assertion errors usually end up in std::terminate() or abort(), hence SIGABRT,
resulting in status codes 6 or 134.

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


[Bug 279136] clang-16 frontend command fails with exit code 138 w/out any assertion message on the port security/botan3 on amd64, arm64

2024-05-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279136

Matthias Andree  changed:

   What|Removed |Added

   Severity|Affects Only Me |Affects Some People

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


[Bug 279136] clang-16 frontend command fails with exit code 138 w/out any assertion message on the port security/botan3 on amd64, arm64

2024-05-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279136

Matthias Andree  changed:

   What|Removed |Added

 CC||mand...@freebsd.org

--- Comment #1 from Matthias Andree  ---
Note that in order to reproduce this, if
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279173 were to be committed,
the LLVM version restriction would have to be dropped from botan3's port
Makefile because the fixes in PR 279173 will pin the LLVM version to minimal
14, maximal 15, avoiding the base LLVM on systems that carry LLVM 16 there.

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


[Bug 279136] clang-16 frontend command fails with exit code 138 w/out any assertion message on the port security/botan3 on amd64, arm64

2024-05-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279136

Matthias Andree  changed:

   What|Removed |Added

   See Also||https://bugs.freebsd.org/bu
   ||gzilla/show_bug.cgi?id=2791
   ||73

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


[Bug 279136] clang-16 frontend command fails with exit code 138 w/out any assertion message on the port security/botan3 on amd64, arm64

2024-05-18 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279136

Yuri Victorovich  changed:

   What|Removed |Added

Summary|clang-16 frontend command   |clang-16 frontend command
   |fails with exit code 138|fails with exit code 138
   |w/out any assertion message |w/out any assertion message
   |on the port security/botan3 |on the port security/botan3
   ||on amd64, arm64

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