Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 635744

Summary: gcc-7 patches for 7.2.O
Product: Gentoo Linux Reporter: CaptainBlood <luc_pierard_de_maujouy>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal CC: tsmksubc
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch for lextab.py
gcc7 patch for pplexer.py

Description CaptainBlood 2017-10-29 05:17:42 UTC
Created attachment 500614 [details, diff]
patch for lextab.py

2 patches for gcc7.2, successful build here.
Possibly backportable for 7.0
upstream link: https://trac.osgeo.org/grass/changeset/71196

First long line of lextab.py has been reindented to match original
Second one hasn't.
Comment 1 CaptainBlood 2017-10-29 05:21:16 UTC
Created attachment 500616 [details, diff]
gcc7 patch for pplexer.py

gcc7.x patch for pplexer.py
Comment 2 CaptainBlood 2017-10-29 05:41:39 UTC
side note: could be ready for full gcc toolchain upgrade:
einfo
Portage 2.3.8 (python 3.5.4-final-0, default/linux/amd64/13.0, gcc-7.2.0, glibc-2.26-r2, 4.9.49-gentoo-r1-krnlschd x86_64)
=================================================================
System uname: Linux-4.9.49-gentoo-r1-krnlschd-x86_64-Intel-R-_Core-TM-_i3-3217U_CPU_@_1.80GHz-with-gentoo-2.4.1
KiB Mem:     8051012 total,   5383996 free
KiB Swap:    8048528 total,   8048528 free
Timestamp of repository gentoo: Sun, 29 Oct 2017 02:15:01 +0000
Head commit of repository gentoo: ddb399aee120e98ef400c4e648ade22d01ba8474
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
distcc[18821] (dcc_trace_version) distcc 3.2rc1 x86_64-pc-linux-gnu; built Oct  5 2017 01:06:39 [disabled]
ccache version 3.2.4 [disabled]
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo, 3.5.4::gentoo, 3.6.3::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.32.1::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0::gentoo, 7.2.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r2::gentoo
Comment 3 CaptainBlood 2017-10-29 06:10:08 UTC
because of glibc-2.26.1-r1 here we have:
CFLAGS="${GCC_CPU} ${GCC_OPT_LVL} ${GCC_MLTHRD} ${GCC_LT_LVL} ${GCC_LNKR_PLGN} ${GCC_LT_FT} ${GCC_LT_RPRT} ${GCC_LT_PRTTNS} ${GCC_LT_PRTTN} ${GCC_LT_CMPRS} ${GCC_GRPHT_DNTT} ${GCC_GRPHT_LPS} ${GCC_PP} -I/usr/include/tirpc/"

which is also pushed to CXXFLAGS
Comment 4 Mike Gilbert gentoo-dev 2017-10-29 16:47:23 UTC
It is unclear what package this bug report is for.

Please put the category/package in the bug summary and reset the status to UNCONFIRMED.