On Sun, Feb 03 2019, Sebastien Marie <sema...@online.fr> wrote: > On Wed, Jan 30, 2019 at 05:29:53PM -0500, Brad Smith wrote: >> Pull in the save-args patch from base. > > with this llvm change, lang/rust is broken. it is not able to recompile > itself (`cd /usr/ports/lang/rust && make' fail). > > if I backout the change on devel/llvm, it build again. > (I am Cc dlg@ as the diff comes from base) > > error occurs at end of the build (in first steps, it uses bootstrapper > to build compiler, and later it will use the rustc binary it just > compiled, using llvm libs). > > example of errors: > - signal: 11, SIGSEGV: invalid memory reference > - rustc(71476) in free(): bogus pointer (double free?) 0x3c24548b44d88941 > - signal: 10, SIGBUS: access to undefined memory > - signal: 6, SIGABRT: process abort signal > > A build log is available at > https://exopi.bsdfrog.org/logs/latest/packages/rust-1.32.0p1.log > > it affects only amd64 and not i386 (for aarch64 I dunno).
Sorry for the trouble, I have backed out the -msave-args addition in devel/llvm. Note to self: lang/rust is a very good testsuite for devel/llvm! -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE