Page MenuHomeFreeBSD

minsoochoo0122_proton.me (Minsoo Choo)
Minsoo

Projects

User Details

User Since
May 6 2021, 12:00 AM (133 w, 5 d)

Recent Activity

Sun, Nov 26

minsoochoo0122_proton.me abandoned D42776: Update EOL date for stable/13.
Sun, Nov 26, 5:51 PM
minsoochoo0122_proton.me requested review of D42776: Update EOL date for stable/13.
Sun, Nov 26, 5:51 PM
minsoochoo0122_proton.me updated the summary of D42775: iwm(4): Fix typo.
Sun, Nov 26, 2:29 PM · docs
minsoochoo0122_proton.me requested review of D42775: iwm(4): Fix typo.
Sun, Nov 26, 2:29 PM · docs

Sat, Nov 25

minsoochoo0122_proton.me updated the summary of D42773: CDs are not usable anymore.
Sat, Nov 25, 5:11 PM · docs
minsoochoo0122_proton.me updated the summary of D42773: CDs are not usable anymore.
Sat, Nov 25, 5:06 PM · docs
minsoochoo0122_proton.me requested review of D42773: CDs are not usable anymore.
Sat, Nov 25, 5:05 PM · docs
minsoochoo0122_proton.me added a comment to D42772: Add EOL for stable/10 and stable/12.

Should we add security ?

Sat, Nov 25, 4:49 PM · docs
minsoochoo0122_proton.me updated the summary of D42772: Add EOL for stable/10 and stable/12.
Sat, Nov 25, 4:49 PM · docs
minsoochoo0122_proton.me requested review of D42772: Add EOL for stable/10 and stable/12.
Sat, Nov 25, 4:48 PM · docs
minsoochoo0122_proton.me updated the diff for D42756: Fix broken links to handbook chapters.

Remove unnecessary slash

Sat, Nov 25, 4:43 PM · docs
minsoochoo0122_proton.me updated the summary of D42771: Remove Server Fault link from navigation bar.
Sat, Nov 25, 4:25 PM · docs
minsoochoo0122_proton.me requested review of D42771: Remove Server Fault link from navigation bar.
Sat, Nov 25, 4:23 PM · docs
minsoochoo0122_proton.me requested review of D42770: PR starts in the new state.
Sat, Nov 25, 4:01 PM · docs
minsoochoo0122_proton.me updated the summary of D42770: PR starts in the new state.
Sat, Nov 25, 4:01 PM · docs

Fri, Nov 24

minsoochoo0122_proton.me updated the diff for D42744: Replace GNU assembler with llvm-as(1).

update information

Fri, Nov 24, 6:57 PM · docs
minsoochoo0122_proton.me added a comment to D42759: Replace WWW with web.

There are several cases where we use "WWW mirrors". Should this be replaced? If so, should we replace that with "HTTPS mirrors" or "Web mirrors"?

Fri, Nov 24, 6:41 PM · docs
minsoochoo0122_proton.me updated the summary of D42759: Replace WWW with web.
Fri, Nov 24, 6:40 PM · docs
minsoochoo0122_proton.me requested review of D42759: Replace WWW with web.
Fri, Nov 24, 6:40 PM · docs
minsoochoo0122_proton.me updated the summary of D42757: Fix broken links to past events.
Fri, Nov 24, 6:15 PM · docs
minsoochoo0122_proton.me requested review of D42757: Fix broken links to past events.
Fri, Nov 24, 6:15 PM · docs
minsoochoo0122_proton.me added a project to D42756: Fix broken links to handbook chapters: docs.
Fri, Nov 24, 5:35 PM · docs
minsoochoo0122_proton.me requested review of D42756: Fix broken links to handbook chapters.
Fri, Nov 24, 5:35 PM · docs
minsoochoo0122_proton.me updated the diff for D42743: NanoBSD: add how to obtain the source code.

Remove cd /usr/src

Fri, Nov 24, 5:30 PM · docs
minsoochoo0122_proton.me updated the summary of D42755: Add a link to handbook for details about applying security patches.
Fri, Nov 24, 5:26 PM · docs
minsoochoo0122_proton.me requested review of D42755: Add a link to handbook for details about applying security patches.
Fri, Nov 24, 5:25 PM · docs
minsoochoo0122_proton.me updated the summary of D42754: Add bofh@ to Wiki Admin Team.
Fri, Nov 24, 5:07 PM · docs
minsoochoo0122_proton.me updated the summary of D42754: Add bofh@ to Wiki Admin Team.
Fri, Nov 24, 5:07 PM · docs
minsoochoo0122_proton.me requested review of D42754: Add bofh@ to Wiki Admin Team.
Fri, Nov 24, 5:05 PM · docs
minsoochoo0122_proton.me added a project to D42753: Remove emacs validation config: docs.
Fri, Nov 24, 4:57 PM · docs
minsoochoo0122_proton.me requested review of D42753: Remove emacs validation config.
Fri, Nov 24, 4:57 PM · docs
minsoochoo0122_proton.me updated the summary of D42744: Replace GNU assembler with llvm-as(1).
Fri, Nov 24, 2:59 PM · docs
minsoochoo0122_proton.me updated the summary of D42744: Replace GNU assembler with llvm-as(1).
Fri, Nov 24, 2:42 AM · docs
minsoochoo0122_proton.me updated the diff for D42744: Replace GNU assembler with llvm-as(1).

Remove unrelated change

Fri, Nov 24, 2:41 AM · docs
minsoochoo0122_proton.me requested review of D42744: Replace GNU assembler with llvm-as(1).
Fri, Nov 24, 2:39 AM · docs
minsoochoo0122_proton.me updated the diff for D42743: NanoBSD: add how to obtain the source code.

Remove unrelated change

Fri, Nov 24, 2:14 AM · docs
minsoochoo0122_proton.me updated the summary of D42743: NanoBSD: add how to obtain the source code.
Fri, Nov 24, 2:12 AM · docs
minsoochoo0122_proton.me requested review of D42743: NanoBSD: add how to obtain the source code.
Fri, Nov 24, 2:10 AM · docs

Thu, Nov 23

minsoochoo0122_proton.me added a comment to D41492: Remove empty header annotations in Symbol.map files.

Any update?

Thu, Nov 23, 2:49 PM · Contributor Reviews (src)

Sep 9 2023

minsoochoo0122_proton.me added a comment to D41421: Update jemalloc to version 5.3.0.

Parent revision D41461 is closed. Now we can test this on local machines on -CURRENT.

I've been testing this on main and stable/13 (with some tweaks). If there are any specific tests I can do that would be helpful let me know

In the release notes, there are some new features added in jemalloc 5.3.0. For example,

  • Make the behavior of realloc(ptr, 0) configurable with opt.zero_realloc
  • Add the thread.idle mallctl which hints that the calling thread will be idle for a nontrivial period of time.
  • Add mallctl interfaces:
    • opt.zero_realloc (@davidtgoldblatt)
    • opt.cache_oblivious (@interwq)
    • opt.prof_leak_error (@yunxuo)
    • opt.stats_interval (@interwq)
    • opt.stats_interval_opts (@interwq)
    • opt.tcache_max (@interwq)
    • opt.trust_madvise (@azat)
    • prof.prefix (@zhxchen17)
    • stats.zero_reallocs (@davidtgoldblatt)
    • thread.idle (@davidtgoldblatt)
    • thread.peak.{read,reset} (@davidtgoldblatt)

and so on.

It would be really nice if we can test this against with the tests under /usr/tests . I know it is still very tricky to run it. If you are interested, please check the scripts at https://github.com/freebsd/freebsd-ci and let me know (and/or -testing mailing list) if you have any questions.

By the way, because this is not a major version bump (5.x.x), will this version bump be abled to be MFCed to stable/14?

Theoretically, yes, but it would be nice to check the compatibility thoroughly.

Sep 9 2023, 5:29 PM · Contributor Reviews (src)
minsoochoo0122_proton.me added inline comments to D41421: Update jemalloc to version 5.3.0.
Sep 9 2023, 12:59 AM · Contributor Reviews (src)

Sep 8 2023

minsoochoo0122_proton.me updated the diff for D41421: Update jemalloc to version 5.3.0.
  • Use memalign from jemalloc
Sep 8 2023, 1:19 AM · Contributor Reviews (src)

Sep 2 2023

minsoochoo0122_proton.me added a comment to D41421: Update jemalloc to version 5.3.0.

Parent revision D41461 is closed. Now we can test this on local machines on -CURRENT.

I've been testing this on main and stable/13 (with some tweaks). If there are any specific tests I can do that would be helpful let me know

Sep 2 2023, 3:09 AM · Contributor Reviews (src)

Aug 21 2023

minsoochoo0122_proton.me added a comment to D41421: Update jemalloc to version 5.3.0.

Parent revision D41461 is closed. Now we can test this on local machines on -CURRENT.

Aug 21 2023, 1:48 AM · Contributor Reviews (src)

Aug 20 2023

minsoochoo0122_proton.me updated the diff for D41461: libc: make pthread_getname_np and _pthread_getname_np available.

Stores null string in name parameter for stub function.

Aug 20 2023, 9:19 PM · Contributor Reviews (src)
minsoochoo0122_proton.me added a comment to D41461: libc: make pthread_getname_np and _pthread_getname_np available.
In D41461#945982, @kib wrote:

Is there any possible way to store null string in _pthread_stubs.c? I can't figure out how to store null string using STUB_FUNC3.

I do not understand neither your questions, nor can I guess the possible confusion behind them. Would it be simpler if I provide the compilable (not tested) changes for _pthread_stub.c?

diff --git a/lib/libc/gen/_pthread_stubs.c b/lib/libc/gen/_pthread_stubs.c
index 6741c6a5ec51..3fc0817b8655 100644
--- a/lib/libc/gen/_pthread_stubs.c
+++ b/lib/libc/gen/_pthread_stubs.c
@@ -58,6 +58,7 @@ static int		stub_fail(void);
 static int		stub_true(void);
 static void		stub_exit(void);
 static int		stub_esrch(void);
+static int		stub_getname_np(pthread_t, char *, size_t);
 
 #define	PJT_DUAL_ENTRY(entry)	\
 	(pthread_func_t)entry, (pthread_func_t)entry
@@ -131,6 +132,7 @@ pthread_func_entry_t __thr_jtable[PJT_MAX] = {
 	[PJT_MUTEXATTR_SETROBUST] =	{PJT_DUAL_ENTRY(stub_zero)},
 	[PJT_GETTHREADID_NP] =		{PJT_DUAL_ENTRY(stub_zero)},
 	[PJT_ATTR_GET_NP] =		{PJT_DUAL_ENTRY(stub_esrch)},
+	[PJT_GETNAME_NP] =		{PJT_DUAL_ENTRY(stub_getname_np)},
 };
 
 /*
@@ -289,6 +291,7 @@ STUB_FUNC3(__pthread_cleanup_push_imp, PJT_CLEANUP_PUSH_IMP, void, void *,
 STUB_FUNC1(_pthread_cancel_enter, PJT_CANCEL_ENTER, void, int)
 STUB_FUNC1(_pthread_cancel_leave, PJT_CANCEL_LEAVE, void, int)
 STUB_FUNC2(pthread_attr_get_np, PJT_ATTR_GET_NP, int, pthread_t, pthread_attr_t *)
+STUB_FUNC3(pthread_gettname_np,	PJT_GETNAME_NP, int, pthread_t, char *, size_t)
 
 static int
 stub_zero(void)
@@ -337,3 +340,13 @@ stub_esrch(void)
 {
 	return (ESRCH);
 }
+
+static int
+stub_getname_np(pthread_t thread, char *buf, size_t len)
+{
+	if (thread != &main_thread)
+		return (ESRCH);
+	if (len >= 1)
+		buf[0] = '\0';
+	return (0);
+}
Aug 20 2023, 9:18 PM · Contributor Reviews (src)
minsoochoo0122_proton.me added a comment to D41461: libc: make pthread_getname_np and _pthread_getname_np available.
In D41461#945957, @kib wrote:
In D41461#945942, @kib wrote:
In D41461#945937, @kib wrote:

This is still wrong IMO. The main case is to return empty name for main thread, and it does not matter much if we do not detect invalid thread handle.

As was said before, stub pthread_getname_np() should store nul string in the target buffer.

How can I store null string to the name parameter? Does stub_null works for parameters as well?

You do if (len >= 1) name[0] = '\0'; as usual. What is the problem? stub_null() cannot be used, of course.

Sorry, my question was unclear. In `lib/libthr/thread/thr_info.c", I see

if (len > 0)
    buf[0] = '\0';

But I cannot find any file to write this for the stub function. Where can I write this code for stub functions? Like lib/libc/gen/__pthread_mutex_init_calloc_cb_stub.c, should I implement the stub function in a new file?

What is wrong with libc/gen/_pthread_stubs.c?

Example:

/* lib/libc/gen/__pthread_getname_np_stub.c */
#include <sys/cdefs.h>
#include <pthread.h>
#include <errno.h>
#include "libc_private.h"

int
_pthread_getname_np_stub(pthread_t thread, char *buf, size_t len)
{
    if (len > 0)
        buf[0] = '\0';
    return (ESRCH);
This should be `return (0);`

}

Aug 20 2023, 6:08 PM · Contributor Reviews (src)
minsoochoo0122_proton.me added a comment to D41461: libc: make pthread_getname_np and _pthread_getname_np available.
In D41461#945942, @kib wrote:
In D41461#945937, @kib wrote:

This is still wrong IMO. The main case is to return empty name for main thread, and it does not matter much if we do not detect invalid thread handle.

As was said before, stub pthread_getname_np() should store nul string in the target buffer.

How can I store null string to the name parameter? Does stub_null works for parameters as well?

You do if (len >= 1) name[0] = '\0'; as usual. What is the problem? stub_null() cannot be used, of course.

Aug 20 2023, 5:05 PM · Contributor Reviews (src)
minsoochoo0122_proton.me added a comment to D41461: libc: make pthread_getname_np and _pthread_getname_np available.
In D41461#945937, @kib wrote:

This is still wrong IMO. The main case is to return empty name for main thread, and it does not matter much if we do not detect invalid thread handle.

As was said before, stub pthread_getname_np() should store nul string in the target buffer.

Aug 20 2023, 3:50 PM · Contributor Reviews (src)
minsoochoo0122_proton.me updated the diff for D41461: libc: make pthread_getname_np and _pthread_getname_np available.

Using stub_esrch when an invalid thread comes a parameter.

Aug 20 2023, 2:14 AM · Contributor Reviews (src)

Aug 17 2023

minsoochoo0122_proton.me requested review of D41492: Remove empty header annotations in Symbol.map files.
Aug 17 2023, 2:06 PM · Contributor Reviews (src)
minsoochoo0122_proton.me planned changes to D41492: Remove empty header annotations in Symbol.map files.
Aug 17 2023, 2:06 PM · Contributor Reviews (src)
minsoochoo0122_proton.me requested review of D41492: Remove empty header annotations in Symbol.map files.
Aug 17 2023, 2:05 PM · Contributor Reviews (src)
minsoochoo0122_proton.me updated the diff for D41421: Update jemalloc to version 5.3.0.

Updating diff file to conform recent changes in lib/libc/stdlib/malloc

Aug 17 2023, 2:05 AM · Contributor Reviews (src)
minsoochoo0122_proton.me added a comment to D41461: libc: make pthread_getname_np and _pthread_getname_np available.

pthread_getname_np returns 0 for success otherwise error code.

You didn't change the implementation, just the prototype? It's still not writing to the string, and it's reporting success even for garbage input threads.

Sorry, I'm new to contributing base system, and I don't understand which implementation you mean. From the code I read, pthread_getname_np is symbol of _thr_getname_np defined in lib/libthr/thread/thr_info.c, and it exports to libc. Is there any addition work to be done in stub? Thanks.

The stub needs to be a minimal implementation when there are no threads that satisfies the API documentation in the manpage. stub_zero does not do that, because it (a) doesn't validate the thread (b) doesn't initialise the buffer. This means that (a) if a caller provides junk to the function it returns 0 for success rather than ESRCH for failure (b) if a caller tries to use the buffer even after it gave it a pthread_t of &main_thread it'll be reading uninitialised junk (and may run off the end of the buffer if there doesn't happen to be a 0 byte in there). In short, stub_zero never works properly to implement pthread_getname_np.

Aug 17 2023, 12:11 AM · Contributor Reviews (src)

Aug 16 2023

minsoochoo0122_proton.me added a comment to D41461: libc: make pthread_getname_np and _pthread_getname_np available.

pthread_getname_np returns 0 for success otherwise error code.

You didn't change the implementation, just the prototype? It's still not writing to the string, and it's reporting success even for garbage input threads.

Aug 16 2023, 11:43 PM · Contributor Reviews (src)
minsoochoo0122_proton.me updated the diff for D41461: libc: make pthread_getname_np and _pthread_getname_np available.

pthread_getname_np returns 0 for success otherwise error code.

Aug 16 2023, 11:22 PM · Contributor Reviews (src)
minsoochoo0122_proton.me added inline comments to D41461: libc: make pthread_getname_np and _pthread_getname_np available.
Aug 16 2023, 9:58 PM · Contributor Reviews (src)
minsoochoo0122_proton.me updated the diff for D41461: libc: make pthread_getname_np and _pthread_getname_np available.

Don't export _pthread_getname_np

Aug 16 2023, 6:05 PM · Contributor Reviews (src)
minsoochoo0122_proton.me updated the diff for D41421: Update jemalloc to version 5.3.0.

Removed gnu11 flag and fixed gnu99 incompatibility

Aug 16 2023, 2:07 AM · Contributor Reviews (src)

Aug 15 2023

minsoochoo0122_proton.me added inline comments to D41461: libc: make pthread_getname_np and _pthread_getname_np available.
Aug 15 2023, 8:01 PM · Contributor Reviews (src)
minsoochoo0122_proton.me added inline comments to D41461: libc: make pthread_getname_np and _pthread_getname_np available.
Aug 15 2023, 12:27 PM · Contributor Reviews (src)
minsoochoo0122_proton.me added inline comments to D41461: libc: make pthread_getname_np and _pthread_getname_np available.
Aug 15 2023, 12:26 PM · Contributor Reviews (src)
minsoochoo0122_proton.me updated the diff for D41461: libc: make pthread_getname_np and _pthread_getname_np available.

pthread_getname_np goes to FBSD_1.6 to match version in pthread.map
pthread_getname_np STUB_FUNC3 not STUB_FUNC2 since it takes 3 parameters

Aug 15 2023, 6:23 AM · Contributor Reviews (src)
minsoochoo0122_proton.me added a comment to D41461: libc: make pthread_getname_np and _pthread_getname_np available.
In D41461#944269, @imp wrote:

I wonder why these were not exported... Is there any indication as to why? Was it intentoinal or an oversight?

Aug 15 2023, 5:24 AM · Contributor Reviews (src)
minsoochoo0122_proton.me updated the diff for D41421: Update jemalloc to version 5.3.0.

Created separate revision for pthread_getname_np and _pthread_getname_np. This revision depends on D41461

Aug 15 2023, 2:41 AM · Contributor Reviews (src)
minsoochoo0122_proton.me added a reviewer for D41461: libc: make pthread_getname_np and _pthread_getname_np available: Contributor Reviews (src).
Aug 15 2023, 2:27 AM · Contributor Reviews (src)
minsoochoo0122_proton.me requested review of D41461: libc: make pthread_getname_np and _pthread_getname_np available.
Aug 15 2023, 2:27 AM · Contributor Reviews (src)

Aug 14 2023

minsoochoo0122_proton.me added inline comments to D41421: Update jemalloc to version 5.3.0.
Aug 14 2023, 4:52 PM · Contributor Reviews (src)
minsoochoo0122_proton.me updated the diff for D41421: Update jemalloc to version 5.3.0.

Fixed build error with missing _pthread_getname_np symbol reference

Aug 14 2023, 4:46 PM · Contributor Reviews (src)
minsoochoo0122_proton.me added a comment to D41421: Update jemalloc to version 5.3.0.

I still get error

cd /usr/src; _PARALLEL_SUBDIR_OK=1 time env MACHINE_ARCH=amd64  MACHINE=amd64  CPUTYPE= BUILD_TOOLS_META=.NOMETA CC="cc -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin" CXX="c++  -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin"  CPP="cpp -target x86_64-unknown-freebsd14.0 --sysroot=/usr/obj/usr/src/amd64.amd64/tmp -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin"  AS="as" AR="ar" ELFCTL="elfctl" LD="ld"  LLVM_LINK="" NM=nm OBJCOPY="objcopy"  RANLIB=ranlib STRINGS=  SIZE="size" STRIPBIN="strip"  INSTALL="install -U"  PATH=/usr/obj/usr/src/amd64.amd64/tmp/bin:/usr/obj/usr/src/amd64.amd64/tmp/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/libexec::/sbin:/bin:/usr/sbin:/usr/bin  SYSROOT=/usr/obj/usr/src/amd64.amd64/tmp make  -f Makefile.inc1  BWPHASE=everything  DESTDIR=/usr/obj/usr/src/amd64.amd64/tmp all
(cd /usr/src/lib/csu/tests/dynamic &&  DEPENDFILE=.depend.init_test  NO_SUBDIR=1 make -f /usr/src/lib/csu/tests/dynamic/Makefile _RECURSING_PROGS=t  PROG=init_test )
Building /usr/obj/usr/src/amd64.amd64/lib/csu/tests/dynamic/init_test.o
Building /usr/obj/usr/src/amd64.amd64/lib/csu/tests/dynamic/init_test.full
ld: error: undefined reference due to --no-allow-shlib-undefined: _pthread_getname_np
>>> referenced by /usr/obj/usr/src/amd64.amd64/tmp/lib/libc.so.7
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1
Aug 14 2023, 5:25 AM · Contributor Reviews (src)
minsoochoo0122_proton.me updated the diff for D41421: Update jemalloc to version 5.3.0.

Updated FREEBSD-diffs

Aug 14 2023, 5:16 AM · Contributor Reviews (src)

Aug 13 2023

minsoochoo0122_proton.me requested review of D41438: Improve poudriere.conf example.
Aug 13 2023, 2:13 AM · docs

Aug 12 2023

minsoochoo0122_proton.me added a comment to D41421: Update jemalloc to version 5.3.0.
In D41421#943650, @imp wrote:

Thanks for the work! One thing I would like to mention is that it seems having some issue building or running on 32-bit older CURRENT: https://github.com/jemalloc/jemalloc/pull/2228

I did some test on 32-bit FreeBSD and I found out that when clock_gettime is used on 64bit machine but compiled in 32bit, it sets tv_sec (time_t) as -1. On 32bit FreeBSD, clock_gettime works as expected.

that seems like it's a bug. On powerpc and amrv7 tv_sec should be the same. On i386, tv_sec is only32-bit, but we still have a dozen years left until it's inadequate. Can you finle a bug, if you haven't already, with a way to reproduce this?

Aug 12 2023, 10:02 PM · Contributor Reviews (src)
minsoochoo0122_proton.me added a comment to D41421: Update jemalloc to version 5.3.0.

Thanks for the work! One thing I would like to mention is that it seems having some issue building or running on 32-bit older CURRENT: https://github.com/jemalloc/jemalloc/pull/2228

Aug 12 2023, 2:34 PM · Contributor Reviews (src)
minsoochoo0122_proton.me added a comment to D41421: Update jemalloc to version 5.3.0.

Thanks for the work! One thing I would like to mention is that it seems having some issue building or running on 32-bit older CURRENT: https://github.com/jemalloc/jemalloc/pull/2228

Aug 12 2023, 5:23 AM · Contributor Reviews (src)

Aug 11 2023

minsoochoo0122_proton.me updated the diff for D41421: Update jemalloc to version 5.3.0.

Solved libc build error. However, linking fails with error that _pthread_getname_np is undefined symbol.

Building /usr/obj/usr/src/amd64.amd64/lib/csu/tests/dynamic/init_test.o
Building /usr/obj/usr/src/amd64.amd64/lib/csu/tests/dynamic/init_test.full
ld: error: undefined reference due to --no-allow-shlib-undefined: _pthread_getname_np
>>> referenced by /usr/obj/usr/src/amd64.amd64/tmp/lib/libc.so.7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1
Aug 11 2023, 5:56 AM · Contributor Reviews (src)
minsoochoo0122_proton.me added a comment to D41421: Update jemalloc to version 5.3.0.

When I build new jemalloc, clang generates an error:

jemalloc_prof_sys.c:310:9: error: call to undeclared function 'pthread_getname_np'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
        return pthread_getname_np(pthread_self(), buf, limit);
               ^
jemalloc_prof_sys.c:310:9: note: did you mean '_pthread_getname_np'?
/usr/src/include/pthread.h:305:6: note: '_pthread_getname_np' declared here
int             pthread_getname_np(pthread_t, char *, size_t);
                ^
/usr/src/lib/libc/include/namespace.h:141:30: note: expanded from macro 'pthread_getname_np'
#define         pthread_getname_np              _pthread_getname_np
                                                ^
1 error generated.
*** [jemalloc_prof_sys.o] Error code 1

although <pthread.h> is already included. Any ideas?

Aug 11 2023, 5:32 AM · Contributor Reviews (src)
minsoochoo0122_proton.me updated the summary of D41421: Update jemalloc to version 5.3.0.
Aug 11 2023, 5:23 AM · Contributor Reviews (src)
minsoochoo0122_proton.me requested review of D41421: Update jemalloc to version 5.3.0.
Aug 11 2023, 5:21 AM · Contributor Reviews (src)

Jul 31 2023

minsoochoo0122_proton.me abandoned D41035: Fix build error on Hugo 0.115.
Jul 31 2023, 5:22 PM · docs
minsoochoo0122_proton.me added a comment to D41035: Fix build error on Hugo 0.115.

This is now resolved in Hugo 115.4 git log. Closing revision.

Jul 31 2023, 5:21 PM · docs

Jul 29 2023

minsoochoo0122_proton.me added a comment to D41192: sysutils/rpi-firmware: Update to 1.20220405.

Additionally, when my usb keyboard (Corsair K65 RGB) is connected my raspberry pi during boot, the boot process becomes really slow especially when loading kernel. I don't know if this problem only occurs only on the 8GB rpi4 though.

Jul 29 2023, 3:57 AM · Contributor Reviewers (ports)

Jul 27 2023

minsoochoo0122_proton.me updated the diff for D41193: sysutils/u-boot-*: Update to 2023.07.02.

Fixed build error on sysutils/rockpro64

Jul 27 2023, 9:18 PM · Contributor Reviewers (ports)
minsoochoo0122_proton.me added a comment to D41193: sysutils/u-boot-*: Update to 2023.07.02.
In D41193#938512, @manu wrote:

u-boot-rockpro64 build fails.

# make install
===>  Building for u-boot-rockpro64-2023.07.02
gmake[1]: Entering directory '/usr/ports/sysutils/u-boot-rockpro64/work/u-boot-2023.07.02'
  ENVC    include/generated/env.txt
  UPD     include/generated/timestamp_autogenerated.h
  ENVP    include/generated/env.in
  ENVT    include/generated/environment.h
  CC      cmd/version.o
  CC      env/common.o
  AR      cmd/built-in.o
  CC      lib/efi_loader/dtbdump.o
  CC      lib/efi_loader/initrddump.o
  AR      env/built-in.o
  LD      lib/efi_loader/initrddump_efi.so
aarch64-none-elf-ld.bfd: warning: -z norelro ignored
  OBJCOPY lib/efi_loader/initrddump.efi
  LD      lib/efi_loader/dtbdump_efi.so
aarch64-none-elf-ld.bfd: warning: -z norelro ignored
  OBJCOPY lib/efi_loader/dtbdump.efi
  KSL     keep-syms-lto.c
/bin/sh: ./scripts/gen_ll_addressable_symbols.sh: not found
gmake[1]: *** [Makefile:1718: keep-syms-lto.c] Error 127
gmake[1]: *** Deleting file 'keep-syms-lto.c'
gmake[1]: Leaving directory '/usr/ports/sysutils/u-boot-rockpro64/work/u-boot-2023.07.02'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/u-boot-rockpro64

although scripts/gen_ll_addressable_symbols.sh exists.

I couldn't find any solutions on the internet. Can this be fixed by modifying u-boot-master/Makefile or should I report this to u-boot project?

Likely because of https://github.com/u-boot/u-boot/blob/master/scripts/gen_ll_addressable_symbols.sh#L1

Check if that can be patched to be /bin/sh, if not we need to add bash to the build depends and add a BINARY_ALIAS for it to be in /bin/

Jul 27 2023, 9:18 PM · Contributor Reviewers (ports)
minsoochoo0122_proton.me added a comment to D41193: sysutils/u-boot-*: Update to 2023.07.02.

u-boot-rockpro64 build fails.

# make install
===>  Building for u-boot-rockpro64-2023.07.02
gmake[1]: Entering directory '/usr/ports/sysutils/u-boot-rockpro64/work/u-boot-2023.07.02'
  ENVC    include/generated/env.txt
  UPD     include/generated/timestamp_autogenerated.h
  ENVP    include/generated/env.in
  ENVT    include/generated/environment.h
  CC      cmd/version.o
  CC      env/common.o
  AR      cmd/built-in.o
  CC      lib/efi_loader/dtbdump.o
  CC      lib/efi_loader/initrddump.o
  AR      env/built-in.o
  LD      lib/efi_loader/initrddump_efi.so
aarch64-none-elf-ld.bfd: warning: -z norelro ignored
  OBJCOPY lib/efi_loader/initrddump.efi
  LD      lib/efi_loader/dtbdump_efi.so
aarch64-none-elf-ld.bfd: warning: -z norelro ignored
  OBJCOPY lib/efi_loader/dtbdump.efi
  KSL     keep-syms-lto.c
/bin/sh: ./scripts/gen_ll_addressable_symbols.sh: not found
gmake[1]: *** [Makefile:1718: keep-syms-lto.c] Error 127
gmake[1]: *** Deleting file 'keep-syms-lto.c'
gmake[1]: Leaving directory '/usr/ports/sysutils/u-boot-rockpro64/work/u-boot-2023.07.02'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Jul 27 2023, 5:20 AM · Contributor Reviewers (ports)

Jul 26 2023

minsoochoo0122_proton.me added a comment to D41192: sysutils/rpi-firmware: Update to 1.20220405.
In D41192#938225, @manu wrote:

On what RPI model have this been tested ? Because updating rpi-firmware sometimes break some models.

Jul 26 2023, 8:24 PM · Contributor Reviewers (ports)
minsoochoo0122_proton.me updated the summary of D41193: sysutils/u-boot-*: Update to 2023.07.02.
Jul 26 2023, 2:07 AM · Contributor Reviewers (ports)
minsoochoo0122_proton.me updated the diff for D41091: Update release engineering article to follow git workflow.

Made sentence more clear. Release related docs are automatically generated after it is added to doc repository.

Jul 26 2023, 1:27 AM · docs
minsoochoo0122_proton.me updated the test plan for D41193: sysutils/u-boot-*: Update to 2023.07.02.
Jul 26 2023, 1:09 AM · Contributor Reviewers (ports)
minsoochoo0122_proton.me updated the test plan for D41193: sysutils/u-boot-*: Update to 2023.07.02.
Jul 26 2023, 1:09 AM · Contributor Reviewers (ports)
minsoochoo0122_proton.me updated the summary of D41193: sysutils/u-boot-*: Update to 2023.07.02.
Jul 26 2023, 1:07 AM · Contributor Reviewers (ports)
minsoochoo0122_proton.me updated the summary of D41192: sysutils/rpi-firmware: Update to 1.20220405.
Jul 26 2023, 1:06 AM · Contributor Reviewers (ports)
minsoochoo0122_proton.me requested review of D41193: sysutils/u-boot-*: Update to 2023.07.02.
Jul 26 2023, 1:05 AM · Contributor Reviewers (ports)
minsoochoo0122_proton.me requested review of D41192: sysutils/rpi-firmware: Update to 1.20220405.
Jul 26 2023, 1:03 AM · Contributor Reviewers (ports)

Jul 25 2023

minsoochoo0122_proton.me updated the diff for D41091: Update release engineering article to follow git workflow.

Approver list is now handled by gitadm@FreeBSD.org
Removed thermite.sh part.

Jul 25 2023, 8:55 PM · docs

Jul 24 2023

minsoochoo0122_proton.me added inline comments to D38767: FreeBSD Handbook: ZFS: correct use of the word 'pool', and a little more .
Jul 24 2023, 6:18 PM
minsoochoo0122_proton.me added a comment to D41091: Update release engineering article to follow git workflow.

I made comments in diff because there are things that I don't know about, like svnadmin. Can you check them please?

Jul 24 2023, 6:18 PM · docs

Jul 21 2023

minsoochoo0122_proton.me requested review of D41149: Introduce how to use specific port for running hugo server.
Jul 21 2023, 9:52 PM · docs
minsoochoo0122_proton.me updated the summary of D41145: Correct link to IRC channels lists.
Jul 21 2023, 4:55 PM · docs