Page MenuHomeFreeBSD

dim (Dimitry Andric)
User

Projects

User Details

User Since
Jan 7 2014, 10:13 PM (611 w, 2 d)

Recent Activity

Mon, Sep 15

dim accepted D52531: libc++: Fix deprecation warnings with latest clang.
Mon, Sep 15, 12:14 PM
dim accepted D52534: libc++: silence -Wnontrivial-memaccess warning with newer clang.
Mon, Sep 15, 12:10 PM
dim accepted D52530: libc++: avoid use of deprecated __reference_binds_to_temporary.
Mon, Sep 15, 12:09 PM
dim accepted D52529: libc++: avoid use of deprecated builtin.
Mon, Sep 15, 12:09 PM

Thu, Sep 11

dim committed rG6d4fdf786963: BSD.usr.dist: remove obsolete usr/share/examples/drivers entry (authored by dim).
BSD.usr.dist: remove obsolete usr/share/examples/drivers entry
Thu, Sep 11, 10:33 AM

Sun, Sep 7

dim committed rG6d624634ac1d: newsyslog.conf(5): Don't suppress space after <compress> directive (authored by dim).
newsyslog.conf(5): Don't suppress space after <compress> directive
Sun, Sep 7, 5:43 PM
dim closed D52414: newsyslog.conf(5): Don't suppress space after <compress> directive.
Sun, Sep 7, 5:43 PM
dim requested review of D52414: newsyslog.conf(5): Don't suppress space after <compress> directive.
Sun, Sep 7, 3:45 PM
dim committed rGac2f284258e4: BSD.usr.dist: remove obsolete usr/share/examples/drivers entry (authored by dim).
BSD.usr.dist: remove obsolete usr/share/examples/drivers entry
Sun, Sep 7, 2:38 PM

Sat, Aug 30

dim committed rG17c0ecb14df1: Merge commit cf721e29c6a3 from llvm git (by Amy Kwan): (authored by dim).
Merge commit cf721e29c6a3 from llvm git (by Amy Kwan):
Sat, Aug 30, 10:00 AM
dim committed rG99ea229c697a: Merge commit cf721e29c6a3 from llvm git (by Amy Kwan): (authored by dim).
Merge commit cf721e29c6a3 from llvm git (by Amy Kwan):
Sat, Aug 30, 9:59 AM

Thu, Aug 28

dim accepted D52198: llvm-objcopy: --discard-locals/--discard-all: allow and keep symbols referenced by relocations.

LGTM

Thu, Aug 28, 10:50 AM

Wed, Aug 27

dim committed rGcb2887746f8b: Merge commit cf721e29c6a3 from llvm git (by Amy Kwan): (authored by dim).
Merge commit cf721e29c6a3 from llvm git (by Amy Kwan):
Wed, Aug 27, 6:53 PM

Aug 21 2025

dim committed R11:4151236d5929: net/samba420: fix fdescfs handling which causes several issues (authored by dim).
net/samba420: fix fdescfs handling which causes several issues
Aug 21 2025, 7:08 PM
dim committed R11:341e8489350d: net/samba420: Fix generated README.FreeBSD (authored by otis).
net/samba420: Fix generated README.FreeBSD
Aug 21 2025, 7:08 PM
dim committed R11:a3c4a2eb3bcf: net/samba420: Add support for MIT KRB5 in base (authored by cy).
net/samba420: Add support for MIT KRB5 in base
Aug 21 2025, 7:08 PM
dim committed R11:a60d74e32eee: net/samba420: fix fdescfs handling which causes several issues (authored by dim).
net/samba420: fix fdescfs handling which causes several issues
Aug 21 2025, 7:01 PM
dim committed rG8d2c0354e138: [libm] Avoid left shift of signed integer entities (authored by Steve Kargl <kargl@FreeBSD.org>).
[libm] Avoid left shift of signed integer entities
Aug 21 2025, 10:44 AM
dim committed rG94b09b2f3440: [libm] Fix undefined behavior of a left shifted of a signed integer (authored by Steve Kargl <kargl@FreeBSD.org>).
[libm] Fix undefined behavior of a left shifted of a signed integer
Aug 21 2025, 10:44 AM
dim committed rG0a0f3b405100: [libm] Avoid left shift of signed integer entities (authored by Steve Kargl <kargl@FreeBSD.org>).
[libm] Avoid left shift of signed integer entities
Aug 21 2025, 10:44 AM

Aug 17 2025

dim committed rG1eea81c39a17: libmsun: remove duplicates after cdefs.h added inline to __always_inline (authored by rlibby).
libmsun: remove duplicates after cdefs.h added inline to __always_inline
Aug 17 2025, 6:36 PM
dim committed rGe7fa66218354: Updates for ccosh[f] and csinh[f] (authored by Steve Kargl <kargl@FreeBSD.org>).
Updates for ccosh[f] and csinh[f]
Aug 17 2025, 6:36 PM
dim committed rG50e1230228d8: libmsun: remove duplicates after cdefs.h added inline to __always_inline (authored by rlibby).
libmsun: remove duplicates after cdefs.h added inline to __always_inline
Aug 17 2025, 6:35 PM
dim committed rG8b26c76a6d41: Updates for ccosh[f] and csinh[f] (authored by Steve Kargl <kargl@FreeBSD.org>).
Updates for ccosh[f] and csinh[f]
Aug 17 2025, 6:34 PM

Aug 14 2025

dim committed rGc58c77246f88: [libm] Avoid left shift of signed integer entities (authored by Steve Kargl <kargl@FreeBSD.org>).
[libm] Avoid left shift of signed integer entities
Aug 14 2025, 6:40 PM
dim committed rG22a5c54e8a90: Remove unused variables in msun/bsdsrc/b_tgamma.c (authored by Steve Kargl <kargl@FreeBSD.org>).
Remove unused variables in msun/bsdsrc/b_tgamma.c
Aug 14 2025, 6:34 PM
dim committed rGc28c2cd5a546: Remove unused variables in msun/bsdsrc/b_tgamma.c (authored by Steve Kargl <kargl@FreeBSD.org>).
Remove unused variables in msun/bsdsrc/b_tgamma.c
Aug 14 2025, 6:33 PM

Aug 9 2025

dim committed rGa1d051bc878d: Updates for ccosh[f] and csinh[f] (authored by Steve Kargl <kargl@FreeBSD.org>).
Updates for ccosh[f] and csinh[f]
Aug 9 2025, 5:30 PM
dim committed rG53b77089e5ca: Remove unused variables in msun/bsdsrc/b_tgamma.c (authored by Steve Kargl <kargl@FreeBSD.org>).
Remove unused variables in msun/bsdsrc/b_tgamma.c
Aug 9 2025, 5:29 PM

Jul 28 2025

dim accepted D51583: Move toolchain utils to -toolchain package.

LGTM

Jul 28 2025, 10:09 AM

Jul 27 2025

dim accepted D51569: clang-scan-deps: Pass ${TDFILE} to tblgen, not ${.ALLSRC}.

Yes, this is why ${.ALLSRC} is not always a magic bullet. :)

Jul 27 2025, 10:46 AM

Jul 24 2025

dim committed rGe5fcb8c32fbd: Merge commit 8ac140f39084 from llvm git (by Younan Zhang): (authored by dim).
Merge commit 8ac140f39084 from llvm git (by Younan Zhang):
Jul 24 2025, 7:46 AM
dim committed rGae7fdd715466: Merge commit 8ac140f39084 from llvm git (by Younan Zhang): (authored by dim).
Merge commit 8ac140f39084 from llvm git (by Younan Zhang):
Jul 24 2025, 7:45 AM

Jul 21 2025

dim committed rGffc5ee0f57d5: Merge commit 8ac140f39084 from llvm git (by Younan Zhang): (authored by dim).
Merge commit 8ac140f39084 from llvm git (by Younan Zhang):
Jul 21 2025, 4:56 PM

Jul 9 2025

dim added a comment to D50964: Add libunwind.so.1 from llvm-project.

The following program

#include <libunwind.h>

int main(int argc, char* argv[])
{
        unw_context_t ctx;
        return unw_getcontext(&ctx);
}

fails to link with cc unw.c -lgcc_s, but works with cc unw.c -lgcc_eh. So these two libraries aren't really counterparts.

Jul 9 2025, 4:41 PM

Jul 2 2025

dim committed rGf82159545a3c: contrib/llvm-project: re-add clang/tools/clang-scan-deps (authored by dim).
contrib/llvm-project: re-add clang/tools/clang-scan-deps
Jul 2 2025, 6:21 PM
dim committed rG257b9d0755b2: contrib/llvm-project: re-add clang/tools/clang-scan-deps (authored by dim).
contrib/llvm-project: re-add clang/tools/clang-scan-deps
Jul 2 2025, 6:09 PM

Jun 27 2025

dim accepted D51044: clang: install clang-scan-deps.

Ok, let's go for this.

Jun 27 2025, 4:33 PM
dim updated the diff for D50956: src.conf: Add WITH_LLVM_STATIC build knob.

Add hack to ensure depend-cleanup.sh does not inadvertently delete static llvm/clang etc libraries.

Jun 27 2025, 4:30 PM

Jun 25 2025

dim added inline comments to D51044: clang: install clang-scan-deps.
Jun 25 2025, 8:44 PM
dim committed rG7ed1628066ea: contrib/llvm-project: re-add clang/tools/clang-scan-deps (authored by dim).
contrib/llvm-project: re-add clang/tools/clang-scan-deps
Jun 25 2025, 5:22 PM
dim committed rG97f3af78f2b8: Restore clang/tools/clang-scan-deps/ from upstream llvm-project branch (authored by dim).
Restore clang/tools/clang-scan-deps/ from upstream llvm-project branch
Jun 25 2025, 5:17 PM
dim added a comment to D51041: contrib/llvm-project: fix clang crash compiling modules.

3 days is fine, if it works. :)

Jun 25 2025, 5:03 PM
dim accepted D51041: contrib/llvm-project: fix clang crash compiling modules.

Can you put a MFC after: 3 days header in the commit message, please? (I tend to use 3 days for upstream commits that are trivial; this one seems a bit more extensive so maybe you can extend the MFC period to one or two weeks)

Jun 25 2025, 4:48 PM

Jun 23 2025

dim added a comment to D50964: Add libunwind.so.1 from llvm-project.

Gleb started a discussion here: https://lists.freebsd.org/archives/freebsd-toolchain/2025-June/002326.html

I noticed that we install the /usr/include/libunwind.h file, which can be picked by ports, but symbols from this header are defined in the /usr/lib/libgcc_eh.a static library. I find this a bit surprising.

If this header is intended to be public, then we should have libunwind.so in base, so that programs can link to it. Otherwise, we should hide the header and make ports use devel/libunwind or devel/llvmXY instead.

Jun 23 2025, 8:57 PM

Jun 21 2025

dim added a comment to D50964: Add libunwind.so.1 from llvm-project.

Note that this may require a ports exp-run? I'd expect some stuff to fall over.

Jun 21 2025, 12:13 PM
dim requested review of D50964: Add libunwind.so.1 from llvm-project.
Jun 21 2025, 12:13 PM

Jun 20 2025

dim added a comment to D50956: src.conf: Add WITH_LLVM_STATIC build knob.

Btw there is still one rather nasty fly in the ointment for this patch: in tools/build/depend-cleanup.sh we have a hack to delete libllvm.a, libclang.a and liblldb.a from the obj tree. I don't know of a way to get at the MK_LLVM_STATIC option value in that shell script though. Does anybody have any good idea for that? Run ${MAKE} in some form that spits out the value?

Jun 20 2025, 7:44 PM
dim updated the diff for D50956: src.conf: Add WITH_LLVM_STATIC build knob.
  • Adjust comment in liblldb Makefile
  • Expand descriptions in WITH/WITHOUT fragments
Jun 20 2025, 7:42 PM
dim added a comment to D50956: src.conf: Add WITH_LLVM_STATIC build knob.

IMO we should expand on the user-facing effect in the option descriptions - i.e., for WITH_LLVM_STATIC the Clang/LLVM toolchain binaries will be much larger but start more quickly. WITHOUT_LLVM_STATIC the Clang/LLVM binaries will be smaller, but will take longer to start.

Jun 20 2025, 7:28 PM
dim updated the diff for D50956: src.conf: Add WITH_LLVM_STATIC build knob.

Also include src.opts.mk in libllvm's and liblldb's Makefiles, otherwise
MK_ variables might not be defined.

Jun 20 2025, 5:25 PM
dim requested review of D50956: src.conf: Add WITH_LLVM_STATIC build knob.
Jun 20 2025, 5:22 PM

Jun 19 2025

dim accepted D50932: converters/dos2unix: Don't abuse DOCS for MANPAGES.

LGTM

Jun 19 2025, 2:32 PM

Jun 17 2025

dim committed R11:15734f35f92c: games/openmw: fix patch line terminators after 13a36f14c8a5 (authored by dim).
games/openmw: fix patch line terminators after 13a36f14c8a5
Jun 17 2025, 9:42 AM

Jun 10 2025

dim accepted D50766: libclang_rt: Descend into libclang_rt to clean.

I think this makes sense, thanks. Proves how often I run cleanworld, which is almost never :)

Jun 10 2025, 11:21 AM

May 31 2025

dim accepted D50388: src.opts.mk: Default LLVM_ASSERTIONS off.

Okay, let's change the default then. It would be nice if you can put a reminder in the commit message that says you have to turn on LLVM_ASSERTIONS whenever you want to report an issue with the toolchain itself.

May 31 2025, 1:38 PM

May 30 2025

dim added a comment to D50388: src.opts.mk: Default LLVM_ASSERTIONS off.

The idea behind this being on in -CURRENT is to catch more errors. The same really holds for WITNESS and other assertions, but you could argue that those are more for the core of the system, while llvm-project is contributed software. Note that we caught many assertions since they are enabled by default, so they definitely have value.

May 30 2025, 7:20 PM

May 28 2025

dim committed rGa0d22d7934c6: libc++: fix compiling <locale> with -fmodules (authored by Jordan Gordeev <jgopensource@proton.me>).
libc++: fix compiling <locale> with -fmodules
May 28 2025, 4:27 PM

May 25 2025

dim committed rGcab029073dc6: libc++: fix compiling <locale> with -fmodules (authored by Jordan Gordeev <jgopensource@proton.me>).
libc++: fix compiling <locale> with -fmodules
May 25 2025, 9:21 AM
dim committed rG1c12934eba86: libc++: fix compiling <locale> with -fmodules (authored by Jordan Gordeev <jgopensource@proton.me>).
libc++: fix compiling <locale> with -fmodules
May 25 2025, 9:21 AM

May 22 2025

dim added a comment to D50463: bsd.suffixes-extra.mk: rewrap long lines.

Maybe a silly question, but when make unwraps these command lines and then prints them for the user, will the output become longer due extra spaces? Could be bad for my OCD... :)

May 22 2025, 3:23 PM

May 18 2025

dim committed rGc809b0184d0a: libc++: fix compiling <locale> with -fmodules (authored by Jordan Gordeev <jgopensource@proton.me>).
libc++: fix compiling <locale> with -fmodules
May 18 2025, 8:05 PM

May 9 2025

dim committed rGb2bd1781fe56: depend-cleanup: ensure clang and llvm binaries are rebuilt (authored by dim).
depend-cleanup: ensure clang and llvm binaries are rebuilt
May 9 2025, 8:33 PM
dim committed rGae60fcd40fc6: Convert libllvm, libclang and liblldb into private shared libraries (authored by dim).
Convert libllvm, libclang and liblldb into private shared libraries
May 9 2025, 8:33 PM
dim committed rGe925d6c2e739: depend-cleanup: ensure clang and llvm binaries are rebuilt (authored by dim).
depend-cleanup: ensure clang and llvm binaries are rebuilt
May 9 2025, 8:33 PM
dim committed rGa743b3f1a4c5: Convert libllvm, libclang and liblldb into private shared libraries (authored by dim).
Convert libllvm, libclang and liblldb into private shared libraries
May 9 2025, 8:33 PM

May 8 2025

dim accepted D50252: loader: i386: use -z nostart-stop-gc for bfd as well.

Sure.

May 8 2025, 6:55 AM

May 5 2025

dim accepted D50084: strings: Unconditionally install ELF Tool Chain's strings.
May 5 2025, 7:36 PM
dim committed rG979864eef41b: Use .pieo extension for WITH_PIE bsd.prog.mk output (authored by dim).
Use .pieo extension for WITH_PIE bsd.prog.mk output
May 5 2025, 9:39 AM
dim committed rG4939a4a9cd14: Use .pieo extension for WITH_PIE bsd.prog.mk output (authored by dim).
Use .pieo extension for WITH_PIE bsd.prog.mk output
May 5 2025, 9:39 AM

May 2 2025

dim accepted D50100: libgcc_s: export integer and floating point __aeabi_ symbols .

Are you planning on MFC'ing this? But LGTM for the rest.

May 2 2025, 4:21 PM

Apr 30 2025

dim accepted D50089: Don't define NULL to nullptr in C++11 mode.

It's a bit unfortunate, but better to do the same thing as most other systems.

Apr 30 2025, 6:10 PM

Apr 26 2025

dim committed rG061ce1c392f0: Move extra suffix-transformation rules into bsd.suffixes-extra.mk (authored by dim).
Move extra suffix-transformation rules into bsd.suffixes-extra.mk
Apr 26 2025, 11:32 AM
dim committed rGb03ee8687e94: libllvm: remove duplicated SRCS_MIN line (authored by dim).
libllvm: remove duplicated SRCS_MIN line
Apr 26 2025, 11:32 AM
dim committed rGb93ad617555c: Move extra suffix-transformation rules into bsd.suffixes-extra.mk (authored by dim).
Move extra suffix-transformation rules into bsd.suffixes-extra.mk
Apr 26 2025, 11:32 AM
dim committed rG7f671b6f4675: libllvm: remove duplicated SRCS_MIN line (authored by dim).
libllvm: remove duplicated SRCS_MIN line
Apr 26 2025, 11:32 AM

Apr 25 2025

dim committed rGd4dab32448ce: depend-cleanup: ensure clang and llvm binaries are rebuilt (authored by dim).
depend-cleanup: ensure clang and llvm binaries are rebuilt
Apr 25 2025, 6:00 PM
dim committed rG2e47f35be5dc: Convert libllvm, libclang and liblldb into private shared libraries (authored by dim).
Convert libllvm, libclang and liblldb into private shared libraries
Apr 25 2025, 6:00 PM
dim closed D49967: Convert libllvm, libclang and liblldb into private shared libraries.
Apr 25 2025, 6:00 PM
dim committed rG245bb0110639: Use .pieo extension for WITH_PIE bsd.prog.mk output (authored by dim).
Use .pieo extension for WITH_PIE bsd.prog.mk output
Apr 25 2025, 5:53 PM
dim closed D49966: Use .pieo extension for WITH_PIE bsd.prog.mk output.
Apr 25 2025, 5:53 PM
dim updated the diff for D49967: Convert libllvm, libclang and liblldb into private shared libraries.

Add OptionalObsoleteFiles.inc entries.

Apr 25 2025, 11:08 AM
dim updated the diff for D49967: Convert libllvm, libclang and liblldb into private shared libraries.

Add workaround for powerpc "relocation R_PPC_GOT16 out of range" errors.

Apr 25 2025, 10:13 AM

Apr 24 2025

dim added a reverting change for D49223: src: Use gnu++17 as the default C++ standard: rGa34d2231fa38: Partially revert 6527682ab705 for llvm-based projects.
Apr 24 2025, 2:38 PM
dim added a reverting change for rG6527682ab705: src: Use gnu++17 as the default C++ standard: rGa34d2231fa38: Partially revert 6527682ab705 for llvm-based projects.
Apr 24 2025, 2:37 PM
dim committed rGa34d2231fa38: Partially revert 6527682ab705 for llvm-based projects (authored by dim).
Partially revert 6527682ab705 for llvm-based projects
Apr 24 2025, 2:37 PM
dim accepted D49960: Makefile.inc1: Let the buildetc target run outside of etc.

I tried this out, and it solved my issue of etcupdate leaving around a /usr/src/lib/libc/nsswitch.conf file.

Apr 24 2025, 2:29 PM

Apr 23 2025

dim committed rG5195ff613fca: Fix build with WITH_CLANG_BOOTSTRAP and WITHOUT_CLANG (authored by dim).
Fix build with WITH_CLANG_BOOTSTRAP and WITHOUT_CLANG
Apr 23 2025, 7:39 PM
dim committed rG3f68c3e9c138: Fix build with WITH_CLANG_BOOTSTRAP and WITHOUT_CLANG (authored by dim).
Fix build with WITH_CLANG_BOOTSTRAP and WITHOUT_CLANG
Apr 23 2025, 7:38 PM
dim closed D49965: Move extra suffix-transformation rules into bsd.suffixes-extra.mk.
Apr 23 2025, 3:45 PM
dim committed rG9c4f1497dae7: Move extra suffix-transformation rules into bsd.suffixes-extra.mk (authored by dim).
Move extra suffix-transformation rules into bsd.suffixes-extra.mk
Apr 23 2025, 3:45 PM

Apr 22 2025

dim accepted D49951: Move mntopts(3) suppport into libutil.
Apr 22 2025, 7:13 PM
dim added inline comments to D49966: Use .pieo extension for WITH_PIE bsd.prog.mk output.
Apr 22 2025, 7:10 PM
dim added a comment to D49965: Move extra suffix-transformation rules into bsd.suffixes-extra.mk.

I got my bikeshedding out of the way on other reviews so will reserve comment on the filename :)

Apr 22 2025, 7:03 PM
dim requested review of D49967: Convert libllvm, libclang and liblldb into private shared libraries.
Apr 22 2025, 6:50 PM
dim requested review of D49966: Use .pieo extension for WITH_PIE bsd.prog.mk output.
Apr 22 2025, 6:40 PM
dim abandoned D49962: Use .pieo extension for WITH_PIE bsd.prog.mk output.

Abandoning, arc diff totally messed this up.

Apr 22 2025, 6:36 PM
dim updated the diff for D49962: Use .pieo extension for WITH_PIE bsd.prog.mk output.

Split off the bsd.suffixes-extra.mk part to D49965.

Apr 22 2025, 6:35 PM
dim requested review of D49965: Move extra suffix-transformation rules into bsd.suffixes-extra.mk.
Apr 22 2025, 6:31 PM
dim accepted D49951: Move mntopts(3) suppport into libutil.
Apr 22 2025, 6:25 PM