Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 622290 - =sys-apps/diffutils-3.5 fails to compile in stage2 with GCC 7.1
Summary: =sys-apps/diffutils-3.5 fails to compile in stage2 with GCC 7.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-20 12:11 UTC by Muhammad Herdiansyah
Modified: 2017-07-10 17:23 UTC (History)
0 users

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


Attachments
stage2 log (gzipped) (stage2.log.gz,202.20 KB, application/gzip)
2017-06-20 12:11 UTC, Muhammad Herdiansyah
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Muhammad Herdiansyah 2017-06-20 12:11:01 UTC
Created attachment 477316 [details]
stage2 log (gzipped)

Hello,

It seems stage2 failed when I'm trying to set up a prefix

> intprops.h:234:34: error: expected ')' before '(' token
>     __builtin_add_overflow (a, b, (__typeof__ ((a) + (b)) *) 0)                                  >                                   ^

The full log is gzipped below.
Comment 1 Muhammad Herdiansyah 2017-06-27 18:11:34 UTC
It has been addressed in bug 617538 but it seems the patch hasn't been applied here.
Comment 2 Fabian Groffen gentoo-dev 2017-06-28 08:08:02 UTC
The patch doesn't seem in because we use an older snapshot.  Can you export LATEST_TREE_YES=1 and try the bootstrap again?  If that works, I can bump the snapshot.
Comment 3 Muhammad Herdiansyah 2017-06-29 08:04:48 UTC
It doesn't seem to work, it produces the same error.
Comment 4 Willem Mulder 2017-07-06 13:51:15 UTC
For me, exporting LATEST_TREE_YES=1 builds diffutils 3.6, which succeeds.
Comment 5 Muhammad Herdiansyah 2017-07-08 18:03:58 UTC
Oops. Sorry. Fault on my part. Yeah, after a second time testing it does work.
Comment 6 Fabian Groffen gentoo-dev 2017-07-10 17:23:52 UTC
snapshot bumped, thanks