Created attachment 153324 [details] log of `make reinstall` of `emulators/qemu-user-static` Reproduced with both `emulators/qemu-devel` and `emulators/qemu-sbruno`. The full error message is `../config-host.ld:14: syntax error`. Find the complete build log attached (with `emulators/qemu-sbruno` 2.2.50.g20150215 installed).
Created attachment 153325 [details] the config-host.ld file containing the syntax error
Which FreeBSD version is this? Can you show the config.log too? Looks like the fallback code in the configure script for when $CC -Wl,-Ttext-segment=... doesn't work is out of date, but that fallback code shouldn't even be reached... So we need to find out why it is reached in your case.
Hmm or maybe it should be reached in some cases but then your linker script would be unexpected... Can you show output of: ld --verbose too? Thanx!
> Which FreeBSD version is this? 9.3-RELEASE-p8
Created attachment 153351 [details] ./work/seanbruno-qemu-bsd-user-87de5f9/config.log The only config.log in `/usr/ports/emulator/qemu-user-static`
Created attachment 153352 [details] the output of ld --verbose
(In reply to Kalle Richter from comment #6) Yeah looks like something is odd on your box, possibly something in the environment? Can you show output of env too?
# env CCACHE_PREFIX=distcc SHELL=/bin/csh TERM=xterm DISTCC_HOSTS=192.168.178.21,cpp,lzo 192.168.178.2,cpp,lzo http_proxy=http://192.168.178.121:3128/ USER=root SUDO_USER=richter SUDO_UID=1001 FTP_PROXY=ftp://192.168.178.121:3128/ ftp_proxy=ftp://192.168.178.121:3128/ USERNAME=root MAIL=/var/mail/root PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/root/bin:/usr/local/fusion-io RSYNC_PROXY=rsync://192.168.178.121:3128/ rsync_proxy=rsync://192.168.178.121:3128/ PWD=/usr/ports/emulators/qemu-user-static SOCKS_PROXY=socks://192.168.178.121:3128/ socks_proxy=socks://192.168.178.121:3128/ HTTPS_PROXY=https://192.168.178.121:3128/ https_proxy=https://192.168.178.121:3128/ SHLVL=1 SUDO_COMMAND=/usr/sbin/jexec 3 /usr/local/bin/bash HOME=/root HTTP_PROXY=http://192.168.178.121:3128/ LOGNAME=root SUDO_GID=1001 _=/usr/bin/env OLDPWD=/
Yeah... Try this: PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin:/usr/local/fusion-io Putting /usr/local/{s,}bin first in PATH can cause all kinds of issues. HTH, :) Juergen
(In reply to Kalle Richter from comment #0) Is this resolved for you?