Compile with LDFLAGS="${LDFLAGS} -Wl,--hash-style=gnu -Wl,-z,norelro" # checksec --file=/usr/lib64/libmozjs-78.so.0.0.0 RELRO STACK CANARY NX PIE RPATH RUNPATH Symbols FORTIFY Fortified Fortifiable FILE Partial RELRO No canary found NX enabled DSO No RPATH No RUNPATH No Symbols Yes 9 24 /usr/lib64/libmozjs-78.so.0.0.0 Partial relro is active instead of No relro.
This is probably caused by rust. I will not spend time on this, patches welcome.
(In reply to Thomas Deutschmann from comment #1) > I will not spend time on this If you are in touch with upstream, report to them would be great.