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

Bug 210880

Summary: sys-devel/gcc - "libffi has not been ported to hppa2.0-unknown-linux-gnu"
Product: Gentoo Linux Reporter: Jeroen Roovers (RETIRED) <jer>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED FIXED    
Severity: normal CC: hppa, levertond
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: dev-libs:libffi-3.4.3:20080219-154441.log.gz
sys-devel:gcc-4.1.2:20080219-161636.log.gz

Description Jeroen Roovers (RETIRED) gentoo-dev 2008-02-20 14:12:27 UTC
1) dev-libs/libffi fails to build (build log to follow shortly)

It isn't currently keyworded for HPPA and related USE flags (gcj) have been masked.


2) USE=libffi sys-devel/gcc fails to build (dito)

libffi has been p.u.masked
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-02-20 14:13:30 UTC
Created attachment 144094 [details]
dev-libs:libffi-3.4.3:20080219-154441.log.gz
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-02-20 14:14:51 UTC
Created attachment 144096 [details]
sys-devel:gcc-4.1.2:20080219-161636.log.gz
Comment 3 David Leverton 2008-02-20 15:08:18 UTC
The libffi configure script (in gcc 4.1.2 at least) recognises hppa-*-linux* but not hppa2.0-; I have no idea whether that's just an oversight or a genuine incompatibility.

If someone with hppa hardware wants to try patching it, one of the demo scripts from x11-libs/gtk-server (installed in /usr/share/doc) would be an easy way to test, although probably not comprehensive.
Comment 4 Mark Loeser (RETIRED) gentoo-dev 2009-05-02 03:12:31 UTC
gcc-4.3 seems to have had the configure script changed to recognized hppa*-*-linux*  Could one of the hppa folks please retest?
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2009-05-03 12:12:11 UTC
[ebuild   R   ] sys-devel/gcc-4.3.2-r3  USE="fortran gtk libffi mudflap nls objc objc++ objc-gc openmp test (-altivec) -bootstrap -build -doc (-fixed-point) (-gcj) (-hardened) -ip28 -ip32r10k (-multilib) -multislot (-n32) (-n64) -nocxx -nopie -vanilla" 0 kB

Seems to have been fixed.