Date: Thu, 29 Oct 2020 18:33:01 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 250726] lang/luajit: switch to LLVM10 from ports for 12.1/amd64 Message-ID: <bug-250726-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250726 Bug ID: 250726 Summary: lang/luajit: switch to LLVM10 from ports for 12.1/amd64 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: osa@FreeBSD.org Reporter: kevans@freebsd.org Assignee: osa@FreeBSD.org Flags: maintainer-feedback?(osa@FreeBSD.org) Created attachment 219206 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D219206&action= =3Dedit svn(1) diff against the ports tree There's a little more detail in the patch comments, but 12.1 shipped with L= LVM 8.0.1 which links libluajit with a bogus (improperly aligned) TLS segment offset. Notably, this breaks under 12.2 rtld and causes a SIGBUS when an er= ror is raised (see, e.g., bug #250707, comment #1). Since the issue is technically a broken binary, the attached patch pins 12.1/amd64 builds of luajit to devel/llvm10 so that they can be rebuilt wit= h a linker that will handle this properly and stop breaking luajit-dependant applications on 12.2 while the packages are still built on 12.1. This will naturally fall away when portmgr goes to axe conditionals solely for FreeBSD 12.1 after it goes EOL. The src/Makefile patch has been dropped in this version in favor of just supplying the variables it was unsetting via Make arguments, but I'm not attached to this approach... at least the DEFAULT_CC hunk was redundant sin= ce we were setting CC via make(1) argument already. --=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-250726-7788>