Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GCC-8.2 anyone?
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
Cuong Nguyen
Apprentice
Apprentice


Joined: 18 Jan 2018
Posts: 152

PostPosted: Mon Jul 30, 2018 6:00 am    Post subject: GCC-8.2 anyone? Reply with quote

gcc-8.2 just officially released last week. I have tried rebuild toolchain with ~amd64 keywords and gcc-8.2 from the stefantalpalaru repo and 853/855 pkgs sucessfully re-emerged, only 2 pkgs with some errors in language standards compliance: dev-qt/qtcore-5.11.1 and app-crypt/gnupg-2.2.9
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 4553
Location: Germany

PostPosted: Mon Jul 30, 2018 6:43 am    Post subject: GCC-8.2 anyone? Reply with quote

Here is no Overlay required, gcc:8.2.0 is (currently unkeyworded) in ::gentoo main repository available.
Back to top
View user's profile Send private message
Cuong Nguyen
Apprentice
Apprentice


Joined: 18 Jan 2018
Posts: 152

PostPosted: Mon Jul 30, 2018 8:48 am    Post subject: Re: GCC-8.2 anyone? Reply with quote

Josef.95 wrote:
Here is no Overlay required, gcc:8.2.0 is (currently unkeyworded) in ::gentoo main repository available.

Thanks!
Just eix-synced again, will re-install it.
Back to top
View user's profile Send private message
appofice
n00b
n00b


Joined: 13 Jun 2007
Posts: 54

PostPosted: Mon Jul 30, 2018 12:43 pm    Post subject: Reply with quote

work fine for me
have some package that won t build
Back to top
View user's profile Send private message
Cuong Nguyen
Apprentice
Apprentice


Joined: 18 Jan 2018
Posts: 152

PostPosted: Mon Jul 30, 2018 6:59 pm    Post subject: Reply with quote

Keyworded gcc:8.2.0 from main ::gentoo repository. Those pkgs did not emerge with gcc-8.2.0 from stefantalpalaru repo successfully re-emerged.
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1438
Location: Earth

PostPosted: Mon Jul 30, 2018 8:04 pm    Post subject: Reply with quote

switched 2 days ago - no problems so far :!:

now i try -e @system and report back :roll:
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Back to top
View user's profile Send private message
tranquilcool
Veteran
Veteran


Joined: 25 Mar 2005
Posts: 1179

PostPosted: Tue Jul 31, 2018 12:11 am    Post subject: Reply with quote

did emerge -e system and everything is running fine so far.
_________________
this is a strange strange world.
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1438
Location: Earth

PostPosted: Tue Jul 31, 2018 12:22 am    Post subject: Reply with quote

Quote:
did emerge -e system and everything is running fine so far.


everything's fine here :D

Code:
397 Packages


Code:
real   222m7.574s
user   779m2.434s
sys   55m43.195s


emerge -e @system while watching NF / with ccache / using ~amd64 / CFLAGS="-march=native -O2 -pipe"

greetings
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Back to top
View user's profile Send private message
appofice
n00b
n00b


Joined: 13 Jun 2007
Posts: 54

PostPosted: Wed Aug 01, 2018 4:59 pm    Post subject: Reply with quote

hey guy which version of glibc do you use
if you have install gcc-8.2 and use it on your system can you please share your emerge --info.
Back to top
View user's profile Send private message
CooSee
Veteran
Veteran


Joined: 20 Nov 2004
Posts: 1438
Location: Earth

PostPosted: Wed Aug 01, 2018 7:20 pm    Post subject: Reply with quote

appofice wrote:
hey guy which version of glibc do you use
if you have install gcc-8.2 and use it on your system can you please share your emerge --info.


sure :wink:

Code:
emerge --info

Portage 2.3.41 (python 3.6.6-final-0, funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-8.2.0, glibc-2.27-r5, 4.17.8-ck-1 x86_64)
=================================================================
System uname: Linux-4.17.8-ck-1-x86_64-Intel-R-_Xeon-R-_CPU_E3-1245_v5_@_3.50GHz-with-gentoo-2.2.2
KiB Mem:    32903748 total,  20994340 free
KiB Swap:    1048572 total,   1048572 free
sh bash 4.4_p23
ld GNU ld (Gentoo 2.31.1 p1) 2.31.1
ccache version 3.3.4 [disabled]
app-shells/bash:          4.4_p23::layees
dev-lang/perl:            5.26.1::perl-kit
dev-lang/python:          2.7.15::layees, 3.4.8-r1::layees, 3.5.5-r1::layees, 3.6.6::layees
dev-util/ccache:          3.3.4-r1::core-kit
dev-util/cmake:           3.12.0::layees
sys-apps/baselayout:      2.2.2::core-kit
sys-apps/openrc:          0.35.5::core-kit
sys-apps/sandbox:         2.12::core-kit
sys-devel/autoconf:       2.13::core-kit, 2.69-r4::core-kit
sys-devel/automake:       1.15.1-r2::layees, 1.16.1-r1::layees
sys-devel/binutils:       2.30-r3::layees, 2.31.1::layees
sys-devel/gcc:            7.3.1::core-kit, 8.1.0-r3::layees, 8.2.0::layees
sys-devel/gcc-config:     1.9.1::core-kit
sys-devel/libtool:        2.4.6-r4::core-kit
sys-devel/make:           4.2.1-r3::layees
sys-kernel/linux-headers: 4.17::layees (virtual/os-headers)
sys-libs/glibc:           2.27-r5::layees
Repositories:

nokit
    location: /var/git/meta-repo/kits/nokit
    masters: core-kit
    priority: -500

core-hw-kit
    location: /var/git/meta-repo/kits/core-hw-kit
    masters: core-kit
    priority: 1

core-kit
    location: /var/git/meta-repo/kits/core-kit
    priority: 1
    aliases: gentoo

desktop-kit
    location: /var/git/meta-repo/kits/desktop-kit
    masters: core-kit
    priority: 1

dev-kit
    location: /var/git/meta-repo/kits/dev-kit
    masters: core-kit
    priority: 1

editors-kit
    location: /var/git/meta-repo/kits/editors-kit
    masters: core-kit
    priority: 1

games-kit
    location: /var/git/meta-repo/kits/games-kit
    masters: core-kit
    priority: 1

gnome-kit
    location: /var/git/meta-repo/kits/gnome-kit
    masters: core-kit
    priority: 1

haskell-kit
    location: /var/git/meta-repo/kits/haskell-kit
    masters: core-kit
    priority: 1

java-kit
    location: /var/git/meta-repo/kits/java-kit
    masters: core-kit
    priority: 1

kde-kit
    location: /var/git/meta-repo/kits/kde-kit
    masters: core-kit
    priority: 1

lang-kit
    location: /var/git/meta-repo/kits/lang-kit
    masters: core-kit
    priority: 1

lisp-scheme-kit
    location: /var/git/meta-repo/kits/lisp-scheme-kit
    masters: core-kit
    priority: 1

llvm-kit
    location: /var/git/meta-repo/kits/llvm-kit
    masters: core-kit
    priority: 1

media-kit
    location: /var/git/meta-repo/kits/media-kit
    masters: core-kit
    priority: 1

ml-lang-kit
    location: /var/git/meta-repo/kits/ml-lang-kit
    masters: core-kit
    priority: 1

net-kit
    location: /var/git/meta-repo/kits/net-kit
    masters: core-kit
    priority: 1

perl-kit
    location: /var/git/meta-repo/kits/perl-kit
    masters: core-kit
    priority: 1

php-kit
    location: /var/git/meta-repo/kits/php-kit
    masters: core-kit
    priority: 1

python-kit
    location: /var/git/meta-repo/kits/python-kit
    masters: core-kit
    priority: 1

python-modules-kit
    location: /var/git/meta-repo/kits/python-modules-kit
    masters: core-kit
    priority: 1

ruby-kit
    location: /var/git/meta-repo/kits/ruby-kit
    masters: core-kit
    priority: 1

science-kit
    location: /var/git/meta-repo/kits/science-kit
    masters: core-kit
    priority: 1

security-kit
    location: /var/git/meta-repo/kits/security-kit
    masters: core-kit
    priority: 1

text-kit
    location: /var/git/meta-repo/kits/text-kit
    masters: core-kit
    priority: 1

xfce-kit
    location: /var/git/meta-repo/kits/xfce-kit
    masters: core-kit
    priority: 1

xorg-kit
    location: /var/git/meta-repo/kits/xorg-kit
    masters: core-kit
    priority: 1

compiz-reloaded
    location: /var/git/ovextras/compiz-reloaded-overlay
    masters: core-kit
    priority: 10

layees
    location: /var/git/overlay/layees
    masters: core-kit
    priority: 10

gentoo-mate
    location: /var/lib/layman/gentoo-mate
    masters: core-kit
    priority: 50

torbrowser
    location: /var/lib/layman/torbrowser
    masters: core-kit
    priority: 50

Installed sets: @compiz_live_builds, @mate_live_builds
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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="-march=native -O2 -pipe"
DISTDIR="/var/cache/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --keep-going --with-bdeps=y --complete-graph --usepkg"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ http://ftp.halifax.rwth-aachen.de/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/"
INSTALL_MASK="/etc/systemd/ /usr/lib/systemd/ /lib/systemd/"
LANG="en_US.UTF-8"
LDFLAGS="-march=native -O2 -pipe"
LINGUAS="en_US en"
MAKEOPTS="-j9 -s"
PKGDIR="/var/cache/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/var/tmp"
USE="# X a52 aac aalib acl acpi alsa alsaplugins amd64 apng appindicator applet bash-completion berkdb branding bzip2 cairo caja cddb cdr cleartype cleartype_hinting consolekit corefonts cracklib crypt css curl cxx dbus device-mapper dhcpd djvu dri dri3 dts dvd dvdarchive dvdnav dvdr dvdread encode evdev exif extras faac faad fat ffmpeg flac fontconfig fonts fpx gdbm gif gpm gtk3 hdri ico iconv icu image-converter imagemagick introspection ipod ipv6 jbig jpeg jpeg2k lame lcms libass libburn libguess libmpeg2 libnotify mad mate matroska mjpeg mmx modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl ogg openexr opengl openmp pam pcre pdf png pnm postproc pulseaudio python quicktime rar readline resolvconf sndfile sse sse2 ssl startup-notification svg taglib tcpd tga theora tiff tools truetype twolame type1 udev udisks uefi unicode upower usb v4l vdpau vorbis vpx wav wavpack webp widevine win32codecs wmf x264 x265 xattr xcomposite xinerama xkb xml xrandr xscreensaver xvid xvmc zlib zvbi" ABI_X86="64" ALSA_CARDS="usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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 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 authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul 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="efi-64" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" L10N="en-US en en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_US en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python3_6 python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="nvidia" 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:  CPPFLAGS, CTARGET, ENV_UNSET, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS


this is a mix of FunToo and GenToo.

i hope this will help you in some way.
_________________
" Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier "
Back to top
View user's profile Send private message
fturco
Veteran
Veteran


Joined: 08 Dec 2010
Posts: 1181
Location: Italy

PostPosted: Sat Aug 04, 2018 12:43 pm    Post subject: Reply with quote

I just finished rebuilding @world (1035 packages) after having switched to GCC 8.2.0. No problems.
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6098
Location: Dallas area

PostPosted: Sat Aug 04, 2018 12:46 pm    Post subject: Reply with quote

fturco wrote:
I just finished rebuilding @world (1035 packages) after having switched to GCC 8.2.0. No problems.


Does it provide anything better than gcc 7.3?

I'm not really into rebuilding stuff just to see if it will rebuild, I expect (take your pick) better file size, faster binaries, etc. ie tangible benefits



(and no I'm not knocking those who recompile, someone has to push boundaries)
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
fturco
Veteran
Veteran


Joined: 08 Dec 2010
Posts: 1181
Location: Italy

PostPosted: Sat Aug 04, 2018 1:52 pm    Post subject: Reply with quote

Personally I don't upgrade GCC on my system because of new, better features. My goal is simply to report any build issues to Gentoo Bugzilla. It's my way to contribute to the project without having any major technical skills... :)
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Sat Aug 04, 2018 2:36 pm    Post subject: Reply with quote

there doesn't seem anything special in gcc-8... I jumped to gcc-7 due to ryzen and all the goodness. Then there was all the spectre stuff so aspects of a bump were needed.
_________________
Quote:
Removed by Chiitoo
Back to top
View user's profile Send private message
Helena
Veteran
Veteran


Joined: 02 Apr 2003
Posts: 1114
Location: Den Dolder, The Netherlands

PostPosted: Mon Aug 20, 2018 12:39 pm    Post subject: Success Reply with quote

I just upgraded to gcc-8.2. Followed the long road from https://wiki.gentoo.org/wiki/Upgrading_GCC#Rebuilding_everything. 449 packages in @system, 1141 in @world. Took somewhat more than half a day, but no problems so far.
Back to top
View user's profile Send private message
Cuong Nguyen
Apprentice
Apprentice


Joined: 18 Jan 2018
Posts: 152

PostPosted: Tue Aug 21, 2018 3:31 am    Post subject: Reply with quote

sys-devel/gcc-8.2.0-r2 just keyworded as ~amd64 recently. I have no benchmarks, but it seems gcc-8.2 compiling faster.
Back to top
View user's profile Send private message
drizzt
Guru
Guru


Joined: 21 Jul 2002
Posts: 428

PostPosted: Wed Aug 22, 2018 8:45 am    Post subject: Reply with quote

Naib wrote:
there doesn't seem anything special in gcc-8... I jumped to gcc-7 due to ryzen and all the goodness. Then there was all the spectre stuff so aspects of a bump were needed.


Regarding to the changelogs znver1 is better optimized:
Quote:
Better tuning for znver1 and Intel Core based CPUs.
https://gcc.gnu.org/gcc-8/changes.html
_________________
People don't have to earn my respect. I offer my respect to them, but be careful to lose my respect...
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 6051
Location: Removed by Neddy

PostPosted: Wed Aug 22, 2018 10:45 am    Post subject: Reply with quote

drizzt wrote:
Naib wrote:
there doesn't seem anything special in gcc-8... I jumped to gcc-7 due to ryzen and all the goodness. Then there was all the spectre stuff so aspects of a bump were needed.


Regarding to the changelogs znver1 is better optimized:
Quote:
Better tuning for znver1 and Intel Core based CPUs.
https://gcc.gnu.org/gcc-8/changes.html
missed that :)
gcc-8.2 got merged last night anyway so all packages will slowly get rebuilt via attrition (or forced rebuild as I had to with KiCAD due to ABI compatibility issues)
_________________
Quote:
Removed by Chiitoo
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