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

Bug 379339

Summary: emerge sys-devel/gcc-4.4.6-r1 fails to build (4.5.3-r1 did not)
Product: Gentoo Linux Reporter: Charles Marslett <charles>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: environment
emerge --info
emerge -pqv
sys-devel:gcc-4.4.6-r1:20111004-190926.log.xz

Description Charles Marslett 2011-08-16 00:19:06 UTC
emerge fails, same independent of single thread or multithread build, I think the significant error is at dwarf2out.c line 2292:

{standard input}: Assembler messages:
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
Comment 1 Charles Marslett 2011-08-16 00:20:11 UTC
Created attachment 283509 [details]
environment
Comment 2 Charles Marslett 2011-08-16 00:20:45 UTC
Created attachment 283511 [details]
emerge --info
Comment 3 Charles Marslett 2011-08-16 00:21:15 UTC
Created attachment 283515 [details]
emerge -pqv
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2011-08-16 22:55:48 UTC
You forgot to attach the build log.
Comment 5 Charles Marslett 2011-08-17 01:35:55 UTC
The build.log file was too big to attach, so I followed one of the recommendations and put it at the URL above.  That server is not consistently up, however, so if you can grab it, it might be a good idea to do so, because when you want to look at it, it may not be accessible.
Comment 6 Charles Marslett 2011-08-17 01:41:15 UTC
The title may be misleading: the ebuild gcc-4.4.6-r1 fails to successfully install the 4.4.6-r1 version of gcc, but the ebuild gcc-4.5.3-r1 does successfully install the 4.5.3-r1 version of gcc.  Older installs (say from February back) all installed successfully as well.
Comment 7 Matt Turner gentoo-dev 2011-08-17 03:37:46 UTC
Attach a gzip'd build.log.
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2011-08-21 15:26:12 UTC
Compress the build log and attach it.
Comment 9 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2011-10-04 19:34:53 UTC
Created attachment 288793 [details]
sys-devel:gcc-4.4.6-r1:20111004-190926.log.xz

Log of failure
Comment 10 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2011-10-04 19:35:45 UTC
Requested log attached. Please note .xz compression due to size of logfile.
Comment 11 Ryan Hill (RETIRED) gentoo-dev 2011-10-07 01:38:15 UTC
-mavx, which is implied by -march=native on your processor, seems broken in 4.4 and I can't get upstream to acknowledge it.  We've been telling people to just use -march=native -mno-avx with 4.4.

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