User account creation filtered due to spam.

Bug 11147

Summary: fficonfig.h is abi-specific
Product: gcc Reporter: drk
Component: libffiAssignee: Not yet assigned to anyone <unassigned>
Severity: normal CC: gcc-bugs, java-prs
Priority: P2    
Version: 3.3   
Target Milestone: 3.4.0   
Host: Target:
Build: Known to work:
Known to fail: Last reconfirmed: 2003-08-03 17:55:49
Bug Depends on: 7305    
Bug Blocks:    

Description drk 2003-06-11 03:15:08 UTC
The fficonfig.h header file gets installed in a generic
location.  Unfortunately it has abi-specific values hard
coded into it (SIZEOF_LONG and SIZEOF_VOID_P), so on systems
with multiple ABIs (like SGI IRIX) whatever you do will be
wrong for some architecture -- either you'll end up using
the 32-bit values when trying to compile 64-bit programs or
vice versa.
Comment 1 Andrew Pinski 2003-06-11 03:22:47 UTC
I think this is related to bug 7305 which is about libgcj headers but since fficonfig is really 
part of libgcj these should be handled the same way.
Comment 2 Richard Henderson 2003-06-11 06:57:22 UTC
I once gave Anthony Green a reorg of the ffi header files,
such that all the arch dependent stuff was split out, and
all stuff that's actually private is not installed.
Comment 3 CVS Commits 2003-11-12 18:18:32 UTC
Subject: Bug 11147

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	2003-11-12 18:18:30

Modified files:
	libffi         : ChangeLog configure 
	libffi/include : 

Log message:
	2003-11-12  Andreas Tobler  <>
	*, include/ PR libgcj/11147, install
	the ffitarget.h header file in a gcc versioned and target
	dependent place.
	* configure: Regenerated.
	*, include/ Likewise.
	* testsuite/ Likewise.


Comment 4 Andrew Pinski 2003-11-12 18:54:50 UTC
Fixed for 3.4