Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 421255 - sys-devel/gcc-4.7.x build fixes
Summary: sys-devel/gcc-4.7.x build fixes
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-15 16:05 UTC by safety0ff.bugz
Modified: 2012-06-18 04:34 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description safety0ff.bugz 2012-06-15 16:05:25 UTC
Gcc 4.7.0 does not build with CFLAGS/CXXFLAGS = -march=native -mno-avx due to upstream bug #53113.

Gcc 4.7.1 does not build with USE "go" due to upstream bug #53679, and suffers from the above issue too.

I've submitted my patches upstream, I've put working ebuilds here: https://github.com/Safety0ff/ebuilds/tree/master/sys-devel/gcc
Patches are in the files/${PV}/ directories.

Reproducible: Always
Comment 1 Marco Leogrande 2012-06-16 19:23:21 UTC
I confirm that patch gcc-4.7.1-libgo-runtime.diff at the URL above solves the build problem when USE "go" is enabled.
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2012-06-18 04:31:47 UTC
(In reply to comment #0)
> Gcc 4.7.0 does not build with CFLAGS/CXXFLAGS = -march=native -mno-avx due
> to upstream bug #53113.

Bug #417271

> Gcc 4.7.1 does not build with USE "go" due to upstream bug #53679, and
> suffers from the above issue too.

That bug says it fails because of -Werror, which we don't allow.  If -Werror is being passed then we should fix that, otherwise it doesn't affect us.
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2012-06-18 04:34:01 UTC
PS.  Please file individual bugs in the future, with build logs and emerge --info.  Patches need to be attached, not put in a repo somewhere.