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

Bug 473640

Summary: gcc-4.7.3 ada (gnat) fails to compile with -fopenmp flag on multilib amd64...
Product: Gentoo Linux Reporter: ag.aiston
Component: [OLD] DevelopmentAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description ag.aiston 2013-06-17 22:43:41 UTC
Gcc-4.7.3 ada (gnat) multilib fails to build with -fopenmp c-cxx flag.  Get segmentation faults or errors.

Using these flags to build gcc-4.7.3: "-O2 -pipe -msse -msse2 -msse3 -msse4a -msseregparm -mfpmath=sse -fomit-frame-pointer -fopenmp -minline-all-stringops -mno-3dnow -march=bdver2".  

Ommitting -fopenmp flag from above allows gcc-4.7.3 multilib to build fine however.

EDIT:
Lost log file.  Sorry. Will reproduce the issue when I get time (already reproduced it four times which took a whole day)...
Comment 1 ag.aiston 2013-06-18 11:16:29 UTC
Built fine with fopenmp after installing it without fopenmp...  Could very well be my hardware...
Comment 2 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-06-18 15:46:55 UTC
Please don't obfuscate the title, it makes searching this bug harder; thank you.