[Bug 602] New: Building Zero fails on ia64: ffi.h:60:0: error: "IA64" redefined [on the commandline]

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Fri Dec 3 01:19:07 PST 2010


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=602

           Summary: Building Zero fails on ia64: ffi.h:60:0: error: "IA64"
                    redefined [on the commandline]
           Product: IcedTea
           Version: 6-1.9.2
          Platform: all
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Zero
        AssignedTo: unassigned at icedtea.classpath.org
        ReportedBy: devurandom at gmx.net


When trying to build icedtea-6.1.9.3, I get following error message:
---
g++ -DLINUX -D_GNU_SOURCE -DCC_INTERP -DZERO -DIA64 -DZERO_LIBARCH=\"ia64\"
-DPRODUCT [...] -c ../generated/incls/_precompiled.incl -o
incls/_precompiled.incl.gch 
cc1plus: warnings being treated as errors
In file included from
/var/tmp/portage/dev-java/icedtea-6.1.9.3/work/icedtea6-1.9.3/openjdk-ecj/hotspot/src/cpu/zero/vm/globalDefinitions_zero.hpp:26:0,
                 from ../generated/incls/_globalDefinitions_pd.hpp.incl:1,
                 from
/var/tmp/portage/dev-java/icedtea-6.1.9.3/work/icedtea6-1.9.3/openjdk-ecj/hotspot/src/share/vm/utilities/globalDefinitions.hpp:307,
                 from ../generated/incls/_precompiled.incl:4:
/usr/lib/libffi-3.0.9/include/ffi.h:60:0: error: "IA64" redefined
<command-line>:0:0: note: this is the location of the previous definition
make[7]: *** [incls/_precompiled.incl.gch] Error 1
---

Apparently the definition of IA64 on the commandline when building Zero clashes
with the one of libffi-3.0.9 in their headers.

In ffi.h, they define unconditionally:
/* Specify which architecture libffi is configured for. */
#define IA64

build.log attached


-- 
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the distro-pkg-dev mailing list