Please bring back the "custom-cxxflags" useflag. I'm on a FPU-less MIPS32 platform (with appropriate CFLAGS to use softfloat), and without this flag qt is built to use hardfloat math, which unfortunately traps into the kernel and also suffers from some ABI differences wrt. to the rest of the softfloat userland. Reproducible: Always
The custom-cxxflags use flag has been removed because qt no longer forces cxxflags by default (ie. it now always uses the user specified cxxflags). See http://ben.liveforge.org/2009/06/27/qt-452-changes (via http://planet.gentoo.org ) Please try compiling and using the updated version. If you still have issues, please come back with a full build.log and the output of "emerge --info" (as well as any other information that may show the problem or possible solutions)
(In reply to comment #1) > The custom-cxxflags use flag has been removed because qt no longer forces > cxxflags by default (ie. it now always uses the user specified cxxflags). See > http://ben.liveforge.org/2009/06/27/qt-452-changes (via > http://planet.gentoo.org ) Well, it doesn't honor my CFLAGS; probably because I'm not on x86 and they're overridden by one of the mips qmake profiles. > Please try compiling and using the updated version. If you still have issues, > please come back with a full build.log and the output of "emerge --info" (as > well as any other information that may show the problem or possible solutions) here's the emerge --info output; the buildlog for qt-core could take a day... Portage 2.1.6.12 (default/linux/mips/2008.0/cobalt, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.31-rc2-exm1200-00162-g4327058 mips) ================================================================= System uname: Linux-2.6.31-rc2-exm1200-00162-g4327058-mips-Au1250_V0.2-with-gentoo-2.0.1 Timestamp of tree: Mon, 06 Jul 2009 05:45:01 +0000 distcc 3.1 mipsel-softfloat-linux-gnu [enabled] ccache version 2.4 [disabled] app-shells/bash: 4.0_p24 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.6.2-r1 dev-python/pycrypto: 2.0.1-r8 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.30 ACCEPT_KEYWORDS="mips x86 ~mips ~x86" CBUILD="mipsel-softfloat-linux-gnu" CFLAGS="-O2 -mips32 -mllsc -msoft-float -fPIC -DPIC -fwrapv -fvisibility=hidden --param max-aliased-vops=10000 -Wa,-mips32 -pipe" CHOST="mipsel-softfloat-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -mips32 -mllsc -msoft-float -fPIC -DPIC -fwrapv -fvisibility=hidden --param max-aliased-vops=10000 -Wa,-mips32" DISTDIR="/mnt/exchg/distfiles" FEATURES="buildpkg distcc distlocks fixpackages parallel-fetch protect-owned sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-O1" PKGDIR="/usr/portage/packages/mipsel" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X accessibility aiglx alsa berkdb bzip2 clucene consolekit custom-cxxflags dbus exif flac gif glib gtk inotify ipv6 jpeg jpeg2k kdehiddenvisibility kipi lcms mesa midi mips mng mp3 ogg opengl pam pch plasma png policykit qt qt3support qt4 redland sdl semantic-desktop ssl svg threads tiff truetype usb vorbis xcb xcomposite xorg zeroconf zlib" ALSA_PCM_PLUGINS="dmix dshare dsnoop empty extplug file hooks iec958 ioplug lfloat linear mmap_emul multi null plug rate route share shm" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="*" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Okay, I checked the g++.conf qmake spec, and it's using the specified CFLAGS in release builds; however for for some strange reason I have to excplicitly add "-fvisibility=hidden" to the CFLAGS, otherwise KDE-4 for instance complains about Qt4 being built without hidden symbols (QMAKE_CFLAGS_HIDESYMS seems to have no effect)