Summary: | sys-devel/crossdev: 'crossdev -t powerpc64-unknown-linux-gnu --g ">=7.1" --show-fail-log' failed with ICE on x86_64 system (USE=vtv) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jiří Moravec <qjim> |
Component: | Current packages | Assignee: | Gentoo Crossdev team <crossdev> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | csanyipal, embedded, jstein, nbowler, slyfox, vapier |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 627914 | ||
Attachments: |
info
cross-powerpc64-unknown-linux-gnu-gcc-stage2.log.xz gcc-config.logs.tar.xz |
Description
Jiří Moravec
2017-05-17 17:40:50 UTC
Created attachment 473038 [details]
info
Created attachment 473040 [details]
cross-powerpc64-unknown-linux-gnu-gcc-stage2.log.xz
Created attachment 473042 [details]
gcc-config.logs.tar.xz
Is it better for 7.2.0 for you? I have powerpc64-unknown-linux-gnu-gcc-7.2.0 built here locally. (In reply to Sergei Trofimovich from comment #4) > Is it better for 7.2.0 for you? > > I have powerpc64-unknown-linux-gnu-gcc-7.2.0 built here locally. It's fine with USE="cxx graphite hardened nls nptl openmp pch pie ssp" With USE+="sanitize vtv" flags it's failing with same ICEs. Aha! Got the same crash. Looks simiar to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78553 Program received signal SIGSEGV, Segmentation fault. 0x0000000000889de8 in symtab_node::ultimate_alias_target(availability*, symtab_node*) () (gdb) bt #0 0x0000000000889de8 in symtab_node::ultimate_alias_target(availability*, symtab_node*) () #1 0x0000000000a47d05 in cgraph_node::ultimate_alias_target(availability*, symtab_node*) () #2 0x00000000012b9d27 in call_ABI_of_interest(tree_node*) () #3 0x00000000012b9fee in init_cumulative_args(rs6000_args*, tree_node*, rtx_def*, int, int, int, tree_node*, machine_mode) () #4 0x00000000009ed43b in expand_call(tree_node*, rtx_def*, int) () #5 0x0000000000b5a63a in expand_expr_real_1(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) () #6 0x0000000000b50a9b in expand_expr_real(tree_node*, rtx_def*, machine_mode, expand_modifier, rtx_def**, bool) () #7 0x0000000000b4a04a in store_expr_with_bounds(tree_node*, rtx_def*, int, bool, bool, tree_node*) () #8 0x0000000000b49477 in expand_assignment(tree_node*, tree_node*, bool) () *** Bug 588664 has been marked as a duplicate of this bug. *** The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=6027263a03cbfaa177399c466d48aa04f2e93f1d commit 6027263a03cbfaa177399c466d48aa04f2e93f1d Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2017-12-29 20:30:54 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2017-12-29 20:30:54 +0000 crossdev: change USE=vtv to whitelist Gentoo profiles enable vtv only for x86, amd64, arm and arm64. vtv is known to be broken at least for: - musl libc - bare metal targets - powerpc, powerpc64 (compiler SEGISEGVs: bug #618786) - hppa, ia64 (missing vtv crt* files) User can still explicitly enable vtv by tweaking /etc/portage/package.use/cross-${CTARGET} Bug: https://bugs.gentoo.org/618786 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> crossdev | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-)} The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=390435ad20e62c5fa0fc8a3b9a09f0f0ddcdf58c commit 390435ad20e62c5fa0fc8a3b9a09f0f0ddcdf58c Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2017-12-30 17:57:04 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2017-12-30 17:59:15 +0000 sys-devel/crossdev: bump up to 20171230 A few user-facing changes: - CROSSCOMPILE_OPTS=headers-only -> USE=headers-only transition (bug #642712) - USE=sanitize and USE=vtv are enabled only for whitelisted targets (bug #618786) Closes: https://bugs.gentoo.org/618786 Bug: https://bugs.gentoo.org/642712 Package-Manager: Portage-2.3.19, Repoman-2.3.6 sys-devel/crossdev/Manifest | 1 + sys-devel/crossdev/crossdev-20171230.ebuild | 35 +++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) I've disable USE=vtv for powerpc and other arches. Let's try to sort it out upstream first before bringing it back to gentoo. |