[Bug lto/87076] -mpcu/-march not propagated through LTO bytecode (ice/segfault if arch flags do not match)

2018-08-23 Thread kelledin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87076 --- Comment #1 from Frank Schaefer --- Coming from PR87067: binutils suffers badly from this, because the testsuite apparently honors $CFLAGS but intentionally ignores $LDFLAGS. So even if an end-user does the right thing and adds consistent "-m

[Bug target/87067] [8.1, 8.2] LTO-related ICE when running armv7 binutils test suite

2018-08-23 Thread kelledin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87067 --- Comment #3 from Frank Schaefer --- Well...it looks like Vladislav Ivanishin actually nailed down the root-cause (see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87076 ). His small test program reproduces the same issue I'm seeing--and based

[Bug lto/87067] New: [8.1, 8.2] LTO-related ICE when running armv7 binutils test suite

2018-08-22 Thread kelledin at gmail dot com
Priority: P3 Component: lto Assignee: unassigned at gcc dot gnu.org Reporter: kelledin at gmail dot com CC: marxin at gcc dot gnu.org Target Milestone: --- I'm attempting to build gcc-8.2.0+binutils-2.31.1 native compiler for ARMv7, an