Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 594628

Summary: cross-i686-w64-mingw32/gcc-5.4.0: build/genautomata segfaults
Product: Gentoo Linux Reporter: John Manko <grover.blue>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: cross-i686-w64-mingw32-info.log
cross-i686-w64-mingw32-gcc-stage1.log.xz
gcc-config.logs.tar.xz

Description John Manko 2016-09-21 15:04:34 UTC
Created attachment 447040 [details]
cross-i686-w64-mingw32-info.log

# USE='cxx' crossdev --stable --libc '[latest]' -t i686-w64-mingw32
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 * crossdev version:      20160602
 * Host Portage ARCH:     x86
 * Target Portage ARCH:   x86
 * Target System:         i686-w64-mingw32
 * Stage:                 4 (C/C++ compiler)
 * ABIs:                  default

 * binutils:              binutils-[stable]
 * gcc:                   gcc-[stable]
 * libc:                  mingw64-runtime-[latest]

 * CROSSDEV_OVERLAY:      /var/lib/layman/betagarden
 * PORT_LOGDIR:           /var/log/portage
 * PORTAGE_CONFIGROOT:    
 * Portage flags:         
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  
 * leaving metadata/layout.conf alone in /var/lib/layman/betagarden
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  
 * Log: /var/log/portage/cross-i686-w64-mingw32-binutils.log
 * Emerging cross-binutils ...                                                 [ ok ]
 * Log: /var/log/portage/cross-i686-w64-mingw32-mingw64-runtime-headers.log
 * Emerging cross-mingw64-runtime-headers ...                                  [ ok ]
 * Log: /var/log/portage/cross-i686-w64-mingw32-gcc-stage1.log
 * Emerging cross-gcc-stage1 ...

 * error: gcc failed :(
 * 
 * If you file a bug, please attach the following logfiles:
 * /var/log/portage/cross-i686-w64-mingw32-info.log
 * /var/log/portage/cross-i686-w64-mingw32-gcc-stage1.log.xz
 * /var/tmp/portage/cross-i686-w64-mingw32/gcc*/temp/gcc-config.logs.tar.xz
Comment 1 John Manko 2016-09-21 15:05:43 UTC
Created attachment 447042 [details]
cross-i686-w64-mingw32-gcc-stage1.log.xz
Comment 2 John Manko 2016-09-21 15:06:28 UTC
Created attachment 447044 [details]
gcc-config.logs.tar.xz
Comment 3 SpanKY gentoo-dev 2017-02-15 08:52:02 UTC
/bin/bash: line 1: 30807 Segmentation fault      build/genautomata /var/tmp/portage/cross-i686-w64-mingw32/gcc-5.4.0/work/gcc-5.4.0/gcc/common.md /var/tmp/portage/cross-i686-w64-mingw32/gcc-5.4.0/work/gcc-5.4.0/gcc/config/i386/i386.md insn-conditions.md > tmp-automata.c
make[2]: *** [Makefile:2159: s-automata] Error 139

that's pretty unusual.  does it crash at the same place every time ?  is there anything interesting in `dmesg` ?