Summary: | x11-drivers/linuxwacom-0.8.3_p2 / gcc-4.3.3 CFLAGS=-combine - cc1: error: too many filenames given. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Radu Benea <radub82> |
Component: | New packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | jer |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
URL: | http://sourceforge.net/tracker/?func=detail&aid=2829774&group_id=69596&atid=525126 | ||
Whiteboard: | treecleaned | ||
Package list: | Runtime testing required: | --- | |
Attachments: |
complete build log
Replace CFLAGS with CPPFLAGS |
Description
Radu Benea
2009-06-24 08:36:15 UTC
Created attachment 195639 [details]
complete build log
Looks like -combine isn't working in your compiler. It could hardly be a problem with x11-drivers/linuxwacom. Toolchain? Does seem to be specific to x11-drivers/linuxwacom-0.8.3_p2. I can't reproduce it with other packages, but then maybe they don't do this: i686-pc-linux-gnu-gcc -MM -O2 -pipe -march=athlon-xp -Wall -combine -I../include -I/usr/inc lude/xorg ./xf86Wacom.c ./wcmSerial.c ./wcmUSB.c ./wcmISDV4.c ./wcmXCommand.c ./wcmCommon.c ./wcmCompat.c ./wcmConfig.c ./wcmFilter.c ./wcmTilt2Rotation.c > .depend yup, seems like without combine it works, should I close this? open a new one for the compiler? (In reply to comment #4) > yup, seems like without combine it works, should I close this? open a new one > for the compiler? No, it does seem like linuxwacom shouldn't be adding CFLAGS options in this case since it is only running the preprocessor. Not a compiler problem and I would think -combine is a valid CFLAGS option to use generally. Of course your workaround works, but I wouldn't want to conclude at this point that -combine should be filtered / marked an invalid CFLAGS option. Let's ask qa@ @scarabeus: According to metadata.xml, this bug should be CC'd to x11-drivers@gentoo.org. Created attachment 199438 [details, diff]
Replace CFLAGS with CPPFLAGS
Never mind. Index: linuxwacom-0.8.3_p2.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/x11-drivers/linuxwacom/linuxwacom-0.8.3_p2.ebuild,v retrieving revision 1.4 diff -u -B -r1.4 linuxwacom-0.8.3_p2.ebuild --- linuxwacom-0.8.3_p2.ebuild 21 Jul 2009 18:53:05 -0000 1.4 +++ linuxwacom-0.8.3_p2.ebuild 28 Jul 2009 14:38:32 -0000 @@ -74,6 +74,7 @@ fi epatch "${FILESDIR}/${PN}-0.8.2-kernel-2.6.29.patch" + epatch "${FILESDIR}/${P}-cppflags.patch" eautoreconf } Submitted for review. Reassigning since I can't look after linuxwacom any more. linuxwacom was removed from main tree. |