# New Ticket Created by  [EMAIL PROTECTED] 
# Please include the string:  [perl #58958]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=58958 >


I'm trying to build Parrot 0.7.1 with Intel Compiler (see version
information below). The operating system is Ubuntu 8.04, 64-bit. Build
succeeds with GCC (4.2.3 installed). Parameters to Configure.pl are as
follows:

perl Configure.pl --cc=icc --cxx=icc --ld=icc 

I have four versions installed under /opt: 9.1.042 in 32 and 64-bit;
10.1.015 in 32 and 64-bit. (Switching between them using the method
recommended by Intel: source iccvars.sh.) I have been successful in
compiling previous versions of Parrot with icc in the past; I think
0.6.4 was the last one that worked. 

For both 32-bit versions, Configure.pl fails at:

--cut--

init::manifest -      Check
MANIFEST.....................................done.
init::defaults -      Set Configure's default
values.....................done.
init::install -       Set up installation
paths..........................done.
init::miniparrot -    Tweak settings for
miniparrot...................skipped.
init::hints -         Load platform and local hints
files................done.
init::headers -       Find header files distributed with
Parrot..........done.
inter::progs -        Determine what C compiler and linker to
use...Compilation failed with 'icc'

--cut--

I have been unable to enable Configure.pl to produce more output, or the
error messages themselves. 32-bit icc works fine when compiling other
programs on the same system.

For 64-bit 9.1.042 and 10.1.015, I get the following error:

--cut--

/usr/bin/perl5.8.8 tools/build/c2str.pl --all
src/string.c
src/ops/core_ops.c
src/ops/core_ops_switch.c
src/byteorder.c
src/charset.c
src/core_pmcs.c
src/cpu_dep.c
src/datatypes.c
src/debug.c
src/debug.c(1384): warning #593: variable "regleft" was set but never
used
      unsigned char    regleft;
                       ^

src/dynext.c
src/embed.c
src/encoding.c
src/events.c
src/exceptions.c
src/exceptions.c(74): error: identifier "_CONST_STRING_74" is undefined
      VTABLE_set_integer_keyed_str(interp, exception,
      ^

src/exceptions.c(76): error: identifier "_CONST_STRING_76" is undefined
      VTABLE_set_integer_keyed_str(interp, exception,
      ^

src/exceptions.c(106): error: identifier "_CONST_STRING_106" is
undefined
          const INTVAL severity = VTABLE_get_integer_keyed_str(interp,
                                  ^

src/exceptions.c(125): error: identifier "_CONST_STRING_125" is
undefined
              exit_status = VTABLE_get_integer_keyed_str(interp,
                            ^

src/exceptions.c(276): error: identifier "_CONST_STRING_276" is
undefined
          int exitcode = VTABLE_get_integer_keyed_str(interp, exception,
                         ^

src/exceptions.c(287): warning #191: type qualifier is meaningless on
cast type
              (Parrot_runloop * const)VTABLE_get_pointer(interp,
              handler);
               ^

src/exceptions.c(401): error: identifier "_CONST_STRING_401" is
undefined
      VTABLE_set_integer_keyed_str(interp, exception,
      ^

compilation aborted for src/exceptions.c (code 2)
make: *** [src/exceptions.o] Error 2

--cut--

Will provide more information on request.

-- 
Ville Koskinen

Reply via email to