Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Feb 2024 10:21:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 277222] libsys/rtld breaks bind 9.18 / mysql / java / ...
Message-ID:  <bug-277222-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277222

            Bug ID: 277222
           Summary: libsys/rtld breaks bind 9.18 / mysql / java / ...
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: netchild@FreeBSD.org

Hi,

-current as of 2024-02-22 in the morning (UTC) still fails. Issues are bind
9.18 not being able to open files (I use it as a local primary, but a cachi=
ng
resolver should already exhibit the issue), mysql not being able to do a
filesystem socket authentication (mysql command line client connecting to t=
he
local database with user authentication), java being able to bind to TCP po=
rts,
...

Reverting those commits (maybe a bit too much, but anyway) make all of the
above issues vanish:
452c5e9995ab4cd6c7ea230cffe0c53bfa65c1ab        fdlopen(3): do not create a=
 new
object mapping if already loaded
2f4cbf459d4af41977be30eab2f6f7d7e9f9b5b5        libsys auxv.c: add fences
needed to ensure that flag works
3668e1fa0a50562f58508565bdde0bdb83e0b475        libsys: disable ssp
fe920a4f2f80fda4a24c3991de0d593e06ae7f6f        libsys: move errno to libsys
8271d9b99a3b98c662ee9a6257a144284b7e1728        libsys: remove usage of
pthread_once and _once_stub
af9758deff9abb118ce189cbab0a830b02fc63db        libsys: internalize memcpy,
memset, and strlcpy
180df764c4ee570850deb4a910a11780ec3316df        rtld: remove pointless "ext=
ern"
eb90239d08863bcff3cf82a556ad9d89776cdf3f        lib{c,thr}: add DT_RUNPATH =
for
gcc -m32
99ea67573164637d633e8051eb0a5d52f1f9488e        lib{c,sys}: move auxargs mo=
re
firmly into libsys
968a18975adc9c2a619bb52aa2f009de99fc9e24        rtld: ignore load_filtees()
calls if we already loading filtees for the obj
30b5f6b33b35623e6b6aa1d27a78311e199fa602        rtld load_filtees(): reinde=
nt
and reduce block nesting
9ea864b54b57f2d0125860fb923f8db52b20eac2        rtld symlook_obj: move comm=
on
code to check filtees into helper
1995ea1ea2654d5c32ef17ddf651380ecc23c635        libsys: add guards to MD
manpages
d5677b0b8b8a1505edeaafab5606c4f890c1a42d        libsys: actually install
manpages
cc697d22c4a43d6d40744799695a65a1076bf3e8        libsys: move some missed
manpages
82bebc7936581e9c4ff3604d4cb998f8cc017f50        rescue: Don't explicitly li=
nk
with libsys
49d684369c6682eebca325c55a6c96b7c03f5aeb        libthr: filter rather than =
link
with libsys
49076f376af52ac6cb7e8dfaf19766044fedd4d5        libc: don't directly link
libsys
57ddfad884a0c490e462b78634f2582e6b07dc9a        lib/libc: version auxiliary
libsys.so
11f9745c5bab98165238882f0dde1058bf42b3aa        libsys: fix powerpcspe build
8d2e8f720516e88a896390763ff372a6e5a2550f        libc: make syscall stubs em=
pty
for shared lib
f21777224411fee14b8aea6d8465bd6c2b318429        SYS.h: make _SYSCALL_BODY
overridable
0d4f7723bc43e06ca22025740cb826a7f282ea11        libc: link libsys as a
auxiliary filter library
ef9871c6205c158b16ee23702d2b8c043debc51a        libthr: move _umtx_op_err()=
 to
libsys
e9d961055aa2502f4915611e8fb2e9f9f9c86719        libsys: plumb in to build
86deddfacb6f66549303c1cea241a55de25fc0c2        libsys: generate private sy=
mbol
map
b71defdbd8715c1a778ebf8195e41b1c6db90d6c        makesyscalls: generate priv=
ate
syscall symbols
10f1b536ad71fddc725da58d9e30a42fa66d183c        libc: move __getosreldate to
libsys
f70c5a0925c621ce862327a1f335394e731fbaed        libc: move getpagesize(s) to
libsys
4c33415e4cf52c075046569000d92032496978fb        libc: elf auxiliary vector
handling to libsys
81245a77f0a34f80f8097ed461d785a9074855e3        libc: compile _once in libs=
ys
1e2502bfca58344780747c3948b51164e25c8b5f        libc: move MD sys related
symbols to libsys
cdecda8da32b67f2be34a4d2ea37f90986a45a00        libc: move rfork_thread(3) =
to
libsys
31a46e2cc84d7ebfc25ce5a33e54681057e9ed9a        libc: Move per-arch
sys/Makefile.inc to libsys
19149b03b1b5ae3134a58bb6baafef07888181a5        libc: remove .PATH refs to
libc/<arch>/sys
4bc66c0f9f2c349af86cbf4e77f000b49d819fea        libc: remove remaining x86 =
sys
bits to libsys
0d6cc87b18ded879b17574384ce86f119921bc5d        libc:
libc/<arch>/sys/__vdso_gettc -> libsys/<arch>/
84dd0c080ba5ddf67a54e9eb070fe5174ffead19        libc:
libc/gen/sched_getcpu_gen.c -> libsys/
a52cb4c480f270fc7158a0f58179f7b80d8a5b3c        Document aio_read2/aio_writ=
e2
8dfc788b8480a13f1f945f0a94d8b1e327af5c6f        aio_read2/aio_write2: add
AIO_OP2_VECTORED
06cb1c3f9528f088bdaf10d28dcfe7eeaad726d3        libc: add aio_read2() and
aio_write2() functions
e4b7bbd6ab77e908a60362aa29e518f224a117b0        lio_listio(2): add LIO_FOFF=
SET
flag to ignore aiocb aio_offset
29d079c9649174a36a87a26d1f99e3c0b3e78e0c        libsys: move
__libsys_interposer consumers
8f529310bd09c064d5d69740f03c6fe6f12650a3        libc: libc/sys/Makefile.inc=
 ->
libsys/Makefile.sys
8269e7673cf033aba67dab8264fe719920c70f87        libsys: relocate
implementations and manpages
228d8c9efe1e9a2946a5e64ff33362a54b9c3b5d        libc: split libc and syscall
interposing (2/2)
9cbd96582c0ac133f911270a47bff189d769ac8d        libc: split libc and syscall
interposing (1/2)

My src.conf:
WITHOUT_PROFILE=3Dyes
MALLOC_PRODUCTION=3Dyes
WITH_MALLOC_PRODUCTION=3Dyes
WITHOUT_LLVM_ASSERTIONS=3Dyes
WITH_RETPOLINE=3Dyes
WITH_BIND_NOW=3Dyes
WITHOUT_CLEAN=3Dyes

src-env.conf has only WITH_META_MODE=3Dyes.

make.conf:
.if empty{.CURDIR:M/usr/src/sys/boot*}
CPUTYPE?=3Dnative
.endif
. if !empty{.CURDIR:M/usr/src/*}
CFLAGS+=3D -O2 -pipe
.else
CFLAGS+=3D -O2 -pipe -mtune=3Dnative
.endif

Bye,
Alexander.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277222-227>