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

Bug 396005 (PR45348)

Summary: [sys-devel/gcc-4.6] c-family plugin headers installed to incorrect location
Product: Gentoo Linux Reporter: David E. Narváez <david.narvaez>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal CC: mgorny
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://gcc.gnu.org/PR45348
Whiteboard:
Package list:
Runtime testing required: ---

Description David E. Narváez 2011-12-25 17:58:07 UTC
According to

http://gcc.gnu.org/viewcvs?view=revision&revision=178892

this seems to be an issue with the Makefile, so porting the change mentioned in that URL should fix the issue.

Reproducible: Always

Steps to Reproduce:
1. Install sys-deve/gcc-4.6.2
2. Include /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/plugin/include/cp/cp-tree.h in a source file
3. Try to compile
Actual Results:  
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/plugin/include/cp/cp-tree.h:43:31: fatal error: c-family/c-common.h: No such file or directory

Expected Results:  
It should be able to find the c-common.h header file, which is acutally located at /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/plugin/include/c-common.h

I found this trying to compile Mozilla's Dehydra in a Sabayon installation. After symlinking c-common.h and c-pretty-print.h in the right places, everything went on fine.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2011-12-29 17:39:26 UTC
*** Bug 396433 has been marked as a duplicate of this bug. ***
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2012-02-20 05:12:00 UTC
Fixed in 4.6.3_p1.4.