[kde-freebsd] [Bug 204923] devel/qt4-moc: Build fails with GCC, by clang builds fine

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Dec 3 14:50:43 UTC 2015


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

Raphael Kubo da Costa <rakuco at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open

--- Comment #8 from Raphael Kubo da Costa <rakuco at FreeBSD.org> ---
Answering myself: lang/gcc and base gcc work because they provide binaries
called "gcc" and "g++". The other ports have a version suffix in the binaries
("gcc48", "gcc6" etc), however the mkspec file we ship for GCC (freebsd-g++)
assume the binaries do not have any suffix, so the configuration tests all fail
like this:

floatmath auto-detection... ()
g++ -c -pipe -O2 -fstack-protector -Wl,-rpath=/usr/local/lib/gcc5
-fno-strict-aliasing -O2 -Wall -W  -I/usr/local/share/qt4/mkspecs/freebsd-g++
-I. -I/usr/local/include/qt4 -I/usr/local/include -o floatmath.o floatmath.cpp
/bin/sh: g++: not found
*** Error code 127

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


More information about the kde-freebsd mailing list