[kde-freebsd] build of www/qt4-webkit produces: Bad machine code: Using an undefined physical register

Dimitry Andric dim at FreeBSD.org
Mon May 27 20:17:27 UTC 2013


On May 27, 2013, at 18:24, Matthias Apitz <guru at unixarea.de> wrote:
> On 10-CURRENT r250558 with ports from SVN head r319094, clang as
> 
> # clang --version
> FreeBSD clang version 3.3 (trunk 178860) 20130405
> 
> the compilation of:
> 
> # cd /usr/ports/www/qt4-webkit
> # make install 
> 
> ends up reproduceable with
> 
> *** Bad machine code: Using an undefined physical register ***
> 
> details see in the nohup.out here:
> 
> http://www.unixarea.de/qt4-webkit-4.8.4_1.nohup.out.txt
> 
> please advise where to raise this bug or how to solve; KDE4 can't be
> build on 10-CURRENT;

See <http://llvm.org/bugs/show_bug.cgi?id=16038>, this was reported last
week.  For now, the workarounds are:

* Use -march=pentium4 (or higher) to compile either the whole port, or
  this specific file
* Lower the optimization level to -O1
* Compile with gcc (last resort ;)

-Dimitry



More information about the kde-freebsd mailing list