NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-cobalt/47199: Libffi 3.0.11 fails to compile on NetBSD 5.1.2
>Number: 47199
>Category: port-cobalt
>Synopsis: Libffi 3.0.11 fails to compile on NetBSD 5.1.2
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: port-cobalt-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Nov 16 12:35:01 +0000 2012
>Originator: Glyn Astill
>Release: 5.1.2 cobalt generic
>Organization:
see tickets
>Environment:
NetBSD bsd.8kb.co.uk 5.1.2 NetBSD 5.1.2 (GENERIC) #0: Thu Feb 2 13:33:26 UTC
2012
builds%b7.netbsd.org@localhost:/home/builds/ab/netbsd-5-1-2-RELEASE/cobalt/201202021012Z-obj/home/builds/ab/netbsd-5-1-2-RELEASE/src/sys/arch/cobalt/compile/GENERIC
cobalt
>Description:
Libffi 3.0.11 from pkgsrc fails to compile on cobalt qube2 in ffitarget.h with
the error;
-- something is very wrong --
The issue appears to be due to _MIPS_SIM not being defined. I defined it as 32
bit just before the error in ffitarget.h to get around for now as below,
however I'm not sure of the implications of this not being set to begin with.
#ifndef _MIPS_SIM
# define _MIPS_SIM _ABIO32
#endif
>How-To-Repeat:
Cobalt qube on 5.1.2 using restorecd
Get pkgsrc 2012Q3, (attempted to update via cvs but no updates)
Make install libffi from pkgsrc
>Fix:
Add the following in ffitarget.h:
#ifndef _MIPS_SIM
# define _MIPS_SIM _ABIO32
#endif
Just before
#if !defined(_MIPS_SIM)
# error -- something is very wrong --
Home |
Main Index |
Thread Index |
Old Index