Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 634984 - Archlinux with gcc 7.2.0: bootstrap-prefix.sh's stage2 segfaults on sys-devel/flex-2.6.4
Summary: Archlinux with gcc 7.2.0: bootstrap-prefix.sh's stage2 segfaults on sys-devel...
Status: RESOLVED DUPLICATE of bug 628744
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-21 11:36 UTC by Johannes Markert
Modified: 2017-10-23 09:48 UTC (History)
0 users

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


Attachments
build.log (build.log,31.72 KB, text/x-log)
2017-10-21 11:38 UTC, Johannes Markert
Details
environment describing the system (environment.txt,122.09 KB, text/plain)
2017-10-21 11:39 UTC, Johannes Markert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Markert 2017-10-21 11:36:18 UTC
It has already been reported here: https://github.com/westes/flex/issues/265

Adding -D_GNU_SOURCE to CFLAGS solves the problem.

Reproducible: Always
Comment 1 Johannes Markert 2017-10-21 11:38:26 UTC
Created attachment 499536 [details]
build.log
Comment 2 Johannes Markert 2017-10-21 11:39:03 UTC
Created attachment 499538 [details]
environment describing the system
Comment 3 Michael Haubenwallner (RETIRED) gentoo-dev 2017-10-23 06:42:28 UTC
Feels like a dup of bug#628744, and we need a bootstrap snapshot bump here:
Does it work when you set the LATEST_TREE_YES=1 environment variable before (re)starting bootstrap-prefix.sh?
Comment 4 Michael Haubenwallner (RETIRED) gentoo-dev 2017-10-23 06:57:45 UTC
(In reply to Michael Haubenwallner from comment #3)
> (re)starting bootstrap-prefix.sh?

Sorry, re-starting won't work, as it won't re-download the snapshot. You'd need to start from scratch with LATEST_TREE_YES=1 set.
Comment 5 Johannes Markert 2017-10-23 09:48:26 UTC
Setting LATEST_TREE_YES=1 before a fresh bootstrap indeed solved the issue. I didn't know that setting LATEST_TREE_YES=1 in the middle of a run does not have an effect. That's why I issued the bug report.

*** This bug has been marked as a duplicate of bug 628744 ***