[Bug 250448] emulators/qemu-user-static: fails to run devel/llvm10 on 12.1/12.2

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Oct 19 18:08:13 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250448

Kyle Evans <kevans at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |brooks at FreeBSD.org
 Attachment #218899|                            |maintainer-approval?(brooks
              Flags|                            |@FreeBSD.org)

--- Comment #6 from Kyle Evans <kevans at freebsd.org> ---
Created attachment 218899
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=218899&action=edit
svn(1) diff against the ports tree

Ah, sorry, I should have known this sounded familiar... in-fact, I've solved
this once before.

devel/llvm10 needs this backported to it: https://reviews.freebsd.org/rS360875

The TL;DR is that qemu-user-static doesn't currently provide AT_EXECPATH, so
llvm runs off the end of auxv in the older versions that don't do
elf_aux_info(AT_EXECPATH, ...)

The patch attached should fix it, if brooks approves then we can go ahead and
commit it. It's still building locally, but I dont' anticipate the build to
fail given how trivial it is.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-x11 mailing list