emulators/qemu: qemu ports failing due to compiler error on 12-CURRENT

O. Hartmann ohartmann at walstatt.org
Wed Dec 7 09:42:18 UTC 2016

Hello out there.

I try my first steps in cross compiling ports with poudriere and therefore I try to setup
an appropriate jail and QEMU environment.

Well, I'm failing at the jail setup due to the non-exitence of any suitable QEMU
environment and for that I tried to figure out to find some proper HOWTO. 
Searching via google ave some hints, but in questions which QEMU from ports should be
used, all leave me alone, so I tried


emulators/qemu is known for me to fail since months and the days of 11-CURRENT, there is a
compiler error spit out with clang 3.8 and now 3.9. The very same for qemu-devel (both
ports used with standard options, no extras). See also Bug 214873
(https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214873) and Bug 215100

I tried also emulators/qemu-static, but it also fails compiling on most recent 12-CURRENT
(as the others, too, also my poudriere environment, which has also CURRENT jails) with 

/usr/bin/ld:../config-host.ld:14: syntax error
c++: error: linker command failed with exit code 1 (use -v to see invocation)

in several occurences.

At the moment I feel lost at this point, since the likelyhood of all ports failing is
either incompatibility with CURRENT/clang 3.9 or something is weird with my setup. But on
the other hand, my poudriere environment is setup a kind of "vanilla" - no extras, just
straight forward compiler options.

I need some advice here how to build QEMU on my on.

Pleas CC me, I do not subscribe "freebsd-ports" list. And please apoligize for
crossposting, but I didn't really know to which list this might could belong to. 

Thanks in advance for patience and advice,


O. Hartmann

Ich widerspreche der Nutzung oder Übermittlung meiner Daten für
Werbezwecke oder für die Markt- oder Meinungsforschung (§ 28 Abs. 4 BDSG).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 313 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20161207/971017ad/attachment.sig>

More information about the freebsd-ports mailing list