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

Bug 51973

Summary: GCC does not compile comments beginning with a hash sign (#) in *.S files
Product: Gentoo Linux Reporter: Axel Schmalowsky <schmalowsky>
Component: [OLD] UnspecifiedAssignee: Please assign to toolchain <gcc-porting>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Axel Schmalowsky 2004-05-25 00:31:30 UTC
When I emerge something of the media-glx tree, I always get an error message like: "Invalid statement: #Check|OK in file have_mmx.S".
It should apparently be a comment, not a macro; and gcc complains about that.
I changed it into a C-comment, and it worked (but I had to install it "manually").
[ Sorry for that "bad english" ]

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




see Details
Comment 1 Travis Tilley (RETIRED) gentoo-dev 2004-07-15 02:05:49 UTC
what might that something be? does this bug still exist with 3.4.1/3.3.4? can you include the output of emerge info? has this been reported upstream?
Comment 2 Travis Tilley (RETIRED) gentoo-dev 2004-08-18 00:40:04 UTC
needinfo
Comment 3 David Westley 2005-01-09 13:13:26 UTC
I was experiencing this problem with gtk+-2.4.14 and narrowed it down to using -std in my CFLAGS so maybe it would be an idea to put a filter-flags in the ebuild to remove the -std flag for these?