View previous topic :: View next topic |
Author |
Message |
xavier10 Guru

Joined: 19 Jan 2004 Posts: 485 Location: Paris, France
|
Posted: Fri May 31, 2019 3:48 pm Post subject: gcc-8.3.0-r1 compilation failure |
|
|
I have been trying to update my Gentoo VM to the latest gcc for quite some time, and experience only failure so far. I have been removing useless flags (at some point it was failing early due to fortran support which I do not need anymore), but still do not get it to work.
Here is the tail of the last emerge attempt:
Code: |
libtool: link: /usr/x86_64-pc-linux-gnu/bin/ar rc .libs/libatomic.a gload.o gstore.o gcas.o gexch.o glfree.o lock.o init.o fenv.o fence.o flag.o load_1_.o store_1_.o cas_1_.o exch_1_.o fadd_1_.o fsub_1_.o fand_1_.o fior_1_.o fxor_1_.o fnand_1_.o tas_1_.o load_2_.o store_2_.o cas_2_.o exch_2_.o fadd_2_.o fsub_2_.o fand_2_.o fior_2_.o fxor_2_.o fnand_2_.o tas_2_.o load_4_.o store_4_.o cas_4_.o exch_4_.o fadd_4_.o fsub_4_.o fand_4_.o fior_4_.o fxor_4_.o fnand_4_.o tas_4_.o load_8_.o store_8_.o cas_8_.o exch_8_.o fadd_8_.o fsub_8_.o fand_8_.o fior_8_.o fxor_8_.o fnand_8_.o tas_8_.o load_8_1_.o store_8_1_.o cas_8_1_.o exch_8_1_.o fadd_8_1_.o fsub_8_1_.o fand_8_1_.o fior_8_1_.o fxor_8_1_.o fnand_8_1_.o tas_8_1_.o
libtool: link: /usr/x86_64-pc-linux-gnu/bin/ranlib .libs/libatomic.a
libtool: link: ( cd ".libs" && rm -f "libatomic.la" && ln -s "../libatomic.la" "libatomic.la" )
make[8]: Leaving directory '/var/tmp/portage/sys-devel/gcc-8.3.0-r1/work/build/x86_64-pc-linux-gnu/32/libatomic'
make[7]: Leaving directory '/var/tmp/portage/sys-devel/gcc-8.3.0-r1/work/build/x86_64-pc-linux-gnu/32/libatomic'
make[6]: Leaving directory '/var/tmp/portage/sys-devel/gcc-8.3.0-r1/work/build/x86_64-pc-linux-gnu/32/libatomic'
make[5]: warning: Clock skew detected. Your build may be incomplete.
make[5]: Leaving directory '/var/tmp/portage/sys-devel/gcc-8.3.0-r1/work/build/x86_64-pc-linux-gnu/libatomic'
make[4]: Leaving directory '/var/tmp/portage/sys-devel/gcc-8.3.0-r1/work/build/x86_64-pc-linux-gnu/libatomic'
make[3]: Leaving directory '/var/tmp/portage/sys-devel/gcc-8.3.0-r1/work/build/x86_64-pc-linux-gnu/libatomic'
make[2]: Leaving directory '/var/tmp/portage/sys-devel/gcc-8.3.0-r1/work/build/x86_64-pc-linux-gnu/libatomic'
make[1]: Leaving directory '/var/tmp/portage/sys-devel/gcc-8.3.0-r1/work/build'
make: *** [Makefile:22390: bootstrap-lean] Error 2
* ERROR: sys-devel/gcc-8.3.0-r1::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=sys-devel/gcc-8.3.0-r1::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-devel/gcc-8.3.0-r1::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-devel/gcc-8.3.0-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-8.3.0-r1/temp/environment'.
* Working directory: '/var/tmp/portage/sys-devel/gcc-8.3.0-r1/work/build'
* S: '/var/tmp/portage/sys-devel/gcc-8.3.0-r1/work/gcc-8.3.0'
*
* Please include /var/tmp/portage/sys-devel/gcc-8.3.0-r1/work/gcc-build-logs.tar.bz2 in your bug report.
*
|
And the emerge information:
Code: |
Portage 2.3.66 (python 3.6.5-final-0, default/linux/amd64/17.0/desktop, gcc-7.3.0, glibc-2.29-r2, 4.1.15-gentoo-r1 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-4.1.15-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-7700HQ_CPU_@_2.80GHz-with-gentoo-2.6
KiB Mem: 4046600 total, 651528 free
KiB Swap: 1023996 total, 1014280 free
Timestamp of repository gentoo: Thu, 30 May 2019 08:30:01 +0000
Head commit of repository gentoo: b70da6911ad57c5f1a0a88bc30dc0f7105366cc1
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash: 4.4_p23-r1::gentoo
dev-lang/perl: 5.28.2-r1::gentoo
dev-lang/python: 2.7.15::gentoo, 3.4.8::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.38.3-r1::gentoo
sys-apps/sandbox: 2.13::gentoo
sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake: 1.15.1-r1::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils: 2.29.1-r1::gentoo, 2.30-r4::gentoo, 2.31.1-r6::gentoo
sys-devel/gcc: 6.4.0::gentoo, 7.3.0-r3::gentoo, 8.2.0-r6::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.gentoo.org/gentoo-portage
priority: -1000
sync-rsync-extra-opts:
sync-rsync-verify-max-age: 24
sync-rsync-verify-jobs: 1
sync-rsync-verify-metamanifest: yes
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE Vivaldi"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
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 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
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 config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch 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://distfiles.gentoo.org"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/var/cache/binpkgs"
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="X a52 aac acl acpi amd64 bash-completion berkdb bindist bluetooth branding bzip2 cairo cdr chappa cli consolekit crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam flac fontconfig gdbm gif glamor gpm gtk gudev hwdb iconv ipv6 jpeg lcms ldap libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ocaml ocamlopt ogg opengl openmp pam pango pcre pcre16 pdf perl png policykit postscript ppds python readline sdl seccomp sqlite ssl startup-notification subversion svg tcpd threads tinfo truetype udev udisks unicode upower usb vim-syntax vorbis wayland wxwidgets x264 xattr xcb xkb xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="mmx mmxext sse sse2" 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" INPUT_DEVICES="virtualbox evdev" KERNEL="linux" 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="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="virtualbox" 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
|
Am I missing something stupid ? |
|
Back to top |
|
 |
Zucca Moderator


Joined: 14 Jun 2007 Posts: 4045 Location: Rasi, Finland
|
Posted: Fri May 31, 2019 4:20 pm Post subject: |
|
|
Code: | warning: Clock skew detected. Your build may be incomplete. |
Well this is odd...
Check your system time and adjust it if needed. Then try to compile again.
EDIT: Pastebin the whole buildlog somewhere, before starting new compilation. _________________ ..: Zucca :..
My gentoo installs: | init=/sbin/openrc-init
-systemd -logind -elogind seatd |
Quote: | I am NaN! I am a man! |
|
|
Back to top |
|
 |
xavier10 Guru

Joined: 19 Jan 2004 Posts: 485 Location: Paris, France
|
Posted: Fri May 31, 2019 8:31 pm Post subject: |
|
|
I am sorry, I made a mistake with files so I lost the full log of the previous compilation.
I think the clock skew warning occurs due to the way running under a VM and the way it synchronizes with the hardware clock, so i treat it as a false alarm.
On the other hand, I thought I should recompile a set of packages first (elf, binutils, binutils-libs, glibc...) and this time gcc compiled successfully.
Sorry, I should have thought about this before posting...  |
|
Back to top |
|
 |
|
|
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
|
|