Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't build dev-qt/qtcore-5.11.3-r2 with GCC 9.1.0 [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
causality
Apprentice
Apprentice


Joined: 03 Jun 2006
Posts: 228

PostPosted: Mon May 20, 2019 8:18 pm    Post subject: Can't build dev-qt/qtcore-5.11.3-r2 with GCC 9.1.0 [SOLVED] Reply with quote

I can successfully build dev-qt/qtcore-5.11.3-r2 with GCC 8.3.0. When I try to emerge it with GCC 9.1.0 I get this error:

Code:
x86_64-pc-linux-gnu-g++ -c -o qabstractfileengine.o  -march=native -O2 -pipe -std=c++11 -ffunction-sections  -I/var/tmp/portage/dev-qt/qtcore-5.11.3-r2/work/qtbase-everywhere-src-5.11.3/qmake -I/var/tmp/portage/dev-qt/qtcore-5.11.3-r2/work/qtbase-everywhere-src-5.11.3/qmake/library -I/var/tmp/portage/dev-qt/qtcore-5.11.3-r2/work/qtbase-everywhere-src-5.11.3/qmake/generators -I/var/tmp/portage/dev-qt/qtcore-5.11.3-r2/work/qtbase-everywhere-src-5.11.3/qmake/generators/unix -I/var/tmp/portage/dev-qt/qtcore-5.11.3-r2/work/qtbase-everywhere-src-5.11.3/qmake/generators/win32 -I/var/tmp/portage/dev-qt/qtcore-5.11.3-r2/work/qtbase-everywhere-src-5.11.3/qmake/generators/mac -I/var/tmp/portage/dev-qt/qtcore-5.11.3-r2/work/qtbase-everywhere-src-5.11.3/include -I/var/tmp/portage/dev-qt/qtcore-5.11.3-r2/work/qtbase-everywhere-src-5.11.3/include/QtCore -I/var/tmp/portage/dev-qt/qtcore-5.11.3-r2/work/qtbase-everywhere-src-5.11.3/include/QtCore/5.11.3 -I/var/tmp/portage/dev-qt/qtcore-5.11.3-r2/work/qtbase-everywhere-src-5.11.3/include/QtCore/5.11.3/QtCore -I../src/corelib/global -I/var/tmp/portage/dev-qt/qtcore-5.11.3-r2/work/qtbase-everywhere-src-5.11.3/mkspecs/linux-g++ -DQT_VERSION_STR=\"5.11.3\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=11 -DQT_VERSION_PATCH=3 -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_FOREACH /var/tmp/portage/dev-qt/qtcore-5.11.3-r2/work/qtbase-everywhere-src-5.11.3/src/corelib/io/qabstractfileengine.cpp
x86_64-pc-linux-gnu-g++ -c -o qbuffer.o  -march=native -O2 -pipe -std=c++11 -ffunction-sections  -I/var/tmp/portage/dev-qt/qtcore-5.11.3-r2/work/qtbase-everywhere-src-5.11.3/qmake -I/var/tmp/portage/dev-qt/qtcore-5.11.3-r2/work/qtbase-everywhere-src-5.11.3/qmake/library -I/var/tmp/portage/dev-qt/qtcore-5.11.3-r2/work/qtbase-everywhere-src-5.11.3/qmake/generators -I/var/tmp/portage/dev-qt/qtcore-5.11.3-r2/work/qtbase-everywhere-src-5.11.3/qmake/generators/unix -I/var/tmp/portage/dev-qt/qtcore-5.11.3-r2/work/qtbase-everywhere-src-5.11.3/qmake/generators/win32 -I/var/tmp/portage/dev-qt/qtcore-5.11.3-r2/work/qtbase-everywhere-src-5.11.3/qmake/generators/mac -I/var/tmp/portage/dev-qt/qtcore-5.11.3-r2/work/qtbase-everywhere-src-5.11.3/include -I/var/tmp/portage/dev-qt/qtcore-5.11.3-r2/work/qtbase-everywhere-src-5.11.3/include/QtCore -I/var/tmp/portage/dev-qt/qtcore-5.11.3-r2/work/qtbase-everywhere-src-5.11.3/include/QtCore/5.11.3 -I/var/tmp/portage/dev-qt/qtcore-5.11.3-r2/work/qtbase-everywhere-src-5.11.3/include/QtCore/5.11.3/QtCore -I../src/corelib/global -I/var/tmp/portage/dev-qt/qtcore-5.11.3-r2/work/qtbase-everywhere-src-5.11.3/mkspecs/linux-g++ -DQT_VERSION_STR=\"5.11.3\" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=11 -DQT_VERSION_PATCH=3 -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_FOREACH /var/tmp/portage/dev-qt/qtcore-5.11.3-r2/work/qtbase-everywhere-src-5.11.3/src/corelib/io/qbuffer.cpp
/var/tmp/portage/dev-qt/qtcore-5.11.3-r2/work/qtbase-everywhere-src-5.11.3/src/corelib/global/qrandom.cpp: In static member function 'static void QRandomGenerator::SystemAndGlobalGenerators::securelySeed(QRandomGenerator*)':
/var/tmp/portage/dev-qt/qtcore-5.11.3-r2/work/qtbase-everywhere-src-5.11.3/src/corelib/global/qrandom.cpp:455:62: error: no matching function for call to 'std::mersenne_twister_engine<unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>::mersenne_twister_engine(QRandomGenerator::SystemGenerator&)'
  455 |         new (&rng->storage.engine()) RandomEngine(self()->sys);
      |                                                              ^
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/random:49,
                 from /var/tmp/portage/dev-qt/qtcore-5.11.3-r2/work/qtbase-everywhere-src-5.11.3/src/corelib/global/qrandom.h:45,
                 from /var/tmp/portage/dev-qt/qtcore-5.11.3-r2/work/qtbase-everywhere-src-5.11.3/src/corelib/global/qrandom.cpp:43:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/bits/random.h:530:9: note: candidate: 'template<class _Sseq, class> std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::mersenne_twister_engine(_Sseq&)'
  530 |         mersenne_twister_engine(_Sseq& __q)
      |         ^~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/bits/random.h:530:9: note:   template argument deduction/substitution failed:
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/bits/random.h: In substitution of 'template<class _Sseq, class _Engine, class _Res, class _GenerateCheck> using __is_seed_seq = std::__and_<std::__not_<std::is_same<typename std::remove_cv<typename std::remove_reference<_Tp>::type>::type, _Engine> >, std::is_unsigned<typename _Sseq::result_type>, std::__not_<std::is_convertible<_Sseq, _Res> > > [with _Sseq = QRandomGenerator::SystemGenerator; _Engine = std::mersenne_twister_engine<unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>; _Res = unsigned int; _GenerateCheck = void]':
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/bits/random.h:491:8:   required by substitution of 'template<class _UIntType, long unsigned int __w, long unsigned int __n, long unsigned int __m, long unsigned int __r, _UIntType __a, long unsigned int __u, _UIntType __d, long unsigned int __s, _UIntType __b, long unsigned int __t, _UIntType __c, long unsigned int __l, _UIntType __f> template<class _Sseq> using _If_seed_seq = typename std::enable_if<std::__detail::__is_seed_seq<_Sseq, std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>, _UIntType>::value>::type [with _Sseq = QRandomGenerator::SystemGenerator; _UIntType = unsigned int; long unsigned int __w = 32; long unsigned int __n = 624; long unsigned int __m = 397; long unsigned int __r = 31; _UIntType __a = 2567483615; long unsigned int __u = 11; _UIntType __d = 4294967295; long unsigned int __s = 7; _UIntType __b = 2636928640; long unsigned int __t = 15; _UIntType __c = 4022730752; long unsigned int __l = 18; _UIntType __f = 1812433253]'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/bits/random.h:528:32:   required from here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/bits/random.h:197:13: error: no type named 'result_type' in 'struct QRandomGenerator::SystemGenerator'
  197 |       using __is_seed_seq = __and_<
      |             ^~~~~~~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/bits/random.h:519:7: note: candidate: 'std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::mersenne_twister_engine(std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::result_type) [with _UIntType = unsigned int; long unsigned int __w = 32; long unsigned int __n = 624; long unsigned int __m = 397; long unsigned int __r = 31; _UIntType __a = 2567483615; long unsigned int __u = 11; _UIntType __d = 4294967295; long unsigned int __s = 7; _UIntType __b = 2636928640; long unsigned int __t = 15; _UIntType __c = 4022730752; long unsigned int __l = 18; _UIntType __f = 1812433253; std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::result_type = unsigned int]'
  519 |       mersenne_twister_engine(result_type __sd)
      |       ^~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/bits/random.h:519:43: note:   no known conversion for argument 1 from 'QRandomGenerator::SystemGenerator' to 'std::mersenne_twister_engine<unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>::result_type' {aka 'unsigned int'}
  519 |       mersenne_twister_engine(result_type __sd)
      |                               ~~~~~~~~~~~~^~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/bits/random.h:516:7: note: candidate: 'std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>::mersenne_twister_engine() [with _UIntType = unsigned int; long unsigned int __w = 32; long unsigned int __n = 624; long unsigned int __m = 397; long unsigned int __r = 31; _UIntType __a = 2567483615; long unsigned int __u = 11; _UIntType __d = 4294967295; long unsigned int __s = 7; _UIntType __b = 2636928640; long unsigned int __t = 15; _UIntType __c = 4022730752; long unsigned int __l = 18; _UIntType __f = 1812433253]'
  516 |       mersenne_twister_engine() : mersenne_twister_engine(default_seed) { }
      |       ^~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/bits/random.h:516:7: note:   candidate expects 0 arguments, 1 provided
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/bits/random.h:461:11: note: candidate: 'constexpr std::mersenne_twister_engine<unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>::mersenne_twister_engine(const std::mersenne_twister_engine<unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>&)'
  461 |     class mersenne_twister_engine
      |           ^~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/bits/random.h:461:11: note:   no known conversion for argument 1 from 'QRandomGenerator::SystemGenerator' to 'const std::mersenne_twister_engine<unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>&'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/bits/random.h:461:11: note: candidate: 'constexpr std::mersenne_twister_engine<unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>::mersenne_twister_engine(std::mersenne_twister_engine<unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>&&)'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include/g++-v9/bits/random.h:461:11: note:   no known conversion for argument 1 from 'QRandomGenerator::SystemGenerator' to 'std::mersenne_twister_engine<unsigned int, 32, 624, 397, 31, 2567483615, 11, 4294967295, 7, 2636928640, 15, 4022730752, 18, 1812433253>&&'
gmake: *** [Makefile:313: qrandom.o] Error 1
gmake: *** Waiting for unfinished jobs....
 * ERROR: dev-qt/qtcore-5.11.3-r2::gentoo failed (configure phase):
 *   configure failed
 *
 * Call stack:
 *     ebuild.sh, line  124:  Called src_configure
 *   environment, line 2794:  Called qt5-build_src_configure
 *   environment, line 2354:  Called qt5_base_configure
 *   environment, line 2466:  Called die
 * The specific snippet of code:
 *       "${S}"/configure "${conf[@]}" || die "configure failed";
 *
 * If you need support, post the output of `emerge --info '=dev-qt/qtcore-5.11.3-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-qt/qtcore-5.11.3-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-qt/qtcore-5.11.3-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-qt/qtcore-5.11.3-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-qt/qtcore-5.11.3-r2/work/qtbase-everywhere-src-5.11.3'
 * S: '/var/tmp/portage/dev-qt/qtcore-5.11.3-r2/work/qtbase-everywhere-src-5.11.3'

>>> Failed to emerge dev-qt/qtcore-5.11.3-r2


Note that this is with basic CFLAGS. The following is the relevant package.env config for this package:

Code:
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="-march=native -O2 -pipe"
LDFLAGS="-Wl,-O2 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common -Wl,-z,combreloc -Wl,-z,relro -Wl,-z,now -Wl,--strip-debug ${CFLAGS}"


Here is the output of emerge --info:

Code:
# emerge --info
Portage 2.3.62 (python 3.6.5-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-9.1.0, glibc-2.29-r2, 5.0.10-gentoo x86_64)
=================================================================
System uname: Linux-5.0.10-gentoo-x86_64-Intel-R-_Core-TM-_i5-6500_CPU_@_3.20GHz-with-gentoo-2.6
KiB Mem:    16362740 total,   1663288 free
KiB Swap:    2246652 total,   1997820 free
Timestamp of repository gentoo: Tue, 14 May 2019 21:15:01 +0000
Head commit of repository gentoo: fe0d66d051a0a3f6547fd400484539fd3be4f350
Head commit of repository brother-overlay: 15e7feba59713be9cc0547ca20f6ff7872a2837e

sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.30 p5) 2.30.0
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.5.5::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r4::gentoo, 2.31.1-r6::gentoo
sys-devel/gcc:            8.2.0-r6::gentoo, 8.3.0-r1::gentoo, 9.1.0::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.14-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.ca.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1

brother-overlay
    location: /usr/local/overlay/brother-overlay
    sync-type: git
    sync-uri: https://github.com/stefan-langenmaier/brother-overlay.git
    masters: gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -fomit-frame-pointer -fsched-pressure -ftree-loop-distribution -fweb -frename-registers -floop-interchange -ftree-vectorize -fivopts -pipe -flto -fno-fat-lto-objects -fuse-linker-plugin -floop-nest-optimize -fgraphite-identity"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -fomit-frame-pointer -fsched-pressure -ftree-loop-distribution -fweb -frename-registers -floop-interchange -ftree-vectorize -fivopts -pipe -flto -fno-fat-lto-objects -fuse-linker-plugin -floop-nest-optimize -fgraphite-identity"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg candy cgroup config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O2 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common -Wl,-z,combreloc -Wl,-z,relro -Wl,-z,now -Wl,--strip-debug -O2 -march=native -fomit-frame-pointer -fsched-pressure -ftree-loop-distribution -fweb -frename-registers -floop-interchange -ftree-vectorize -fivopts -pipe -flto -fno-fat-lto-objects -fuse-linker-plugin -floop-nest-optimize -fgraphite-identity"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="3dnow 3dnowext X \ a52 aac aalib acl acpi activities alsa amd64 bash-completion berkdb branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam ffmpeg flac fortran gdbm gif glamor gpm gtk iconv ipv6 jpeg jpeg2k kde kipi kwallet lcms ldap libnotify libtirpc lzma mad mng mp3 mp4 mpeg mplayer multilib mysql ncurses nptl offensive ogg opengl openmp openssl pam pango pcre pdf phonon plasma png policykit ppds python qml qt5 readline sdl seccomp socks5 spell ssl startup-notification svg symlink tcpd tiff truetype udev udisks unicode upower usb videos vorbis widgets wmf wxwidgets x264 xattr xcb xcomposite xine xml xscreensaver xv xvid zlib" ABI_X86="64 32" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_5 python3_6" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


I tried searching bugs.gentoo.org and the upstream GCC bugtracker and didn't find anything related to GCC and qtcore. A Startpage (Google) search turned up nothing as well. Any help with this would be really appreciated. This is the only package on my system (out of 1378 installed packages) that won't build with GCC 9.1.0. There were three others but turning off LTO fixed two and turning off Graphite fixed a third (gnugo). On this one, I'm stuck.


Last edited by causality on Tue May 21, 2019 9:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 7966
Location: Austria

PostPosted: Mon May 20, 2019 8:33 pm    Post subject: Reply with quote

Can you build Qt 5.12.3?
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
causality
Apprentice
Apprentice


Joined: 03 Jun 2006
Posts: 228

PostPosted: Mon May 20, 2019 9:00 pm    Post subject: Reply with quote

Well this is a (mostly) stable system so I get all kinds of conflicts keywording qtcore-5.12.3 and trying to build it.

If that's truly the best way forward I suppose I can move all the rest of the Qt-related packages to unstable and try that, but I was hoping to understand the nature of the problem.
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 24685
Location: here

PostPosted: Tue May 21, 2019 5:51 am    Post subject: Reply with quote

https://codereview.qt-project.org/c/qt/qtbase/+/245425, the patch is applied on qtcore-5.12.3
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
causality
Apprentice
Apprentice


Joined: 03 Jun 2006
Posts: 228

PostPosted: Tue May 21, 2019 9:49 pm    Post subject: Reply with quote

Creating the necessary directories to drop that patch into /etc/portage/patches/dev-qt/qtcore-5.11.3-r2 fixed it. Also reading that link helped me understand the nature of the problem. asturm, fedeliallalinea, thanks for all your help! Now everything builds. I suppose next I'll see if I can remove some "no-lto.conf" entries from package.env as it does seem to improve with each GCC release.

Changing topic to include "[SOLIVED]" and hopefully this will save time for anyone else who likes testing new GCC releases.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum