[perl #60686] Parallel make broken

[email protected] ((Andreas J. Koenig) (via RT))
Newsgroups perl.perl6.internals
Message-ID <[email protected]>
# New Ticket Created by  (Andreas J. Koenig) 
# Please include the string:  [perl #60686]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=60686 >


---
osname= linux
osvers= 2.6.18-6-xen-amd64
arch=   x86_64-linux-gnu-thread-multi
cc=     cc
---
Flags:
    category=core
    severity=medium
    ack=no
---
---
osname= linux
osvers= 2.6.18-6-xen-amd64
arch=   x86_64-linux-gnu-thread-multi
cc=     cc
---
Flags:
    category=core
    severity=medium
    ack=no
---
Today my parallel make with -j4 gave me:

  [...]
  src/io/unix.c
  src/io/win32.c
  src/io/portable.c
  src/io.c
  /usr/bin/perl tools/build/parrot_config_c.pl --mini > \
      src/null_config.c
  make -C docs
  make[1]: Entering directory `/home/src/perl/parrot/GIT/parrot/docs'
  /usr/bin/perl -MExtUtils::Command -e mkpath ops
  /usr/bin/perldoc -ud packfile-c.pod ../src/packfile.c
  Perldoc (Pod::Perldoc::ToPod) output saved to packfile-c.pod
  src/nci_test.c
  /usr/bin/perldoc -ud ops/bit.pod ../src/ops/bit.ops
  Perldoc (Pod::Perldoc::ToPod) output saved to ops/bit.pod
  /usr/bin/perl -MExtUtils::Command -e ExtUtils::Command::chmod 0644 ops/bit.pod
  src/glut_callbacks.c
  src/io.c:20:32: error: pmc/pmc_filehandle.h: No such file or directory
  src/io.c: In function ‘Parrot_io_set_os_handle’:/usr/bin/perldoc -ud ops/cmp.pod ../src/ops/cmp.ops

  src/io.c:153: warning: implicit declaration of function ‘PARROT_FILEHANDLE’
  src/io.c:153: warning: nested extern declaration of ‘PARROT_FILEHANDLE’
  src/io.c:153: error: invalid type argument of ‘->’ (have ‘int’)
  src/io.c: In function ‘Parrot_io_get_os_handle’:
  src/io.c:176: error: invalid type argument of ‘->’ (have ‘int’)
  src/io.c:177: warning: control reaches end of non-void function
  Perldoc (Pod::Perldoc::ToPod) output saved to ops/cmp.pod
  src/io.c: In function ‘Parrot_io_set_flags’:
  src/io.c:199: error: ‘Parrot_FileHandle_attributes’ undeclared (first use in thi
  [...]

Works fine without the -j switch.


---
Summary of my parrot 0.8.1 (r0) configuration:
  configdate='Thu Nov 20 03:48:08 2008 GMT'
  Platform:
    osname=linux, archname=x86_64-linux-gnu-thread-multi
    jitcapable=0, jitarchname=nojit,
    jitosname=linux, jitcpuarch=amd64
    execcapable=0
    perl=/usr/bin/perl
  Compiler:
    cc='cc', ccflags='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN  -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHASATTRIBUTE_CONST  -DHASATTRIBUTE_DEPRECATED  -DHASATTRIBUTE_MALLOC  -DHASATTRIBUTE_NONNULL  -DHASATTRIBUTE_NORETURN  -DHASATTRIBUTE_PURE  -DHASATTRIBUTE_UNUSED  -DHASATTRIBUTE_WARN_UNUSED_RESULT  -falign-functions=16 -fvisibility=hidden -maccumulate-outgoing-args -W -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wendif-labels -Wextra -Wformat -Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimplicit -Wimport -Winit-self -Winline -Winvalid-pch -Wlogical-op -Wmissing-braces -Wmissing-field-initializers -Wno-missing-format-attribute -Wmissing-include-dirs -Wpacked -Wparentheses -Wpointer-arith -Wreturn-type -Wsequence-point -Wno-shadow -Wsign-compare -Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch -Wswitch-default -Wtrigraphs -Wundef -Wunknown-pragmas -Wno-unused -Wvariadic-macros -Wwrite-stri!
 ngs -Wbad-function-cast -Wc++-compat -Wdeclaration-after-statement -Werror=declaration-after-statement -Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wnonnull -DHAS_GETTEXT',
  Linker and Libraries:
    ld='cc', ldflags=' -L/usr/local/lib',
    cc_ldflags='',
    libs='-ldl -lm -lpthread -lcrypt -lrt -lgmp -lreadline -lglut -lGLU -lGL -lcrypto '
  Dynamic Linking:
    share_ext='.so', ld_share_flags='-shared -O2 -g -L/usr/local/lib -fPIC',
    load_ext='.so', ld_load_flags='-shared -O2 -g -L/usr/local/lib -fPIC'
  Types:
    iv=long, intvalsize=8, intsize=4, opcode_t=long, opcode_t_size=8,
    ptrsize=8, ptr_alignment=1 byteorder=12345678, 
    nv=double, numvalsize=8, doublesize=8

---
Environment:
    HOME =/home/sand
    LANG =en_US.UTF-8
    LANGUAGE  (unset)
    LD_LIBRARY_PATH  (unset)
    LOGDIR  (unset)
    PATH =/home/sand/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/local/perl/bin:/usr/X11/bin:/sbin:/usr/sbin
    SHELL =/usr/bin/zsh

---
Summary of my parrot 0.8.1 (r0) configuration:
  configdate='Thu Nov 20 03:48:08 2008 GMT'
  Platform:
    osname=linux, archname=x86_64-linux-gnu-thread-multi
    jitcapable=0, jitarchname=nojit,
    jitosname=linux, jitcpuarch=amd64
    execcapable=0
    perl=/usr/bin/perl
  Compiler:
    cc='cc', ccflags='-D_REENTRANT -D_GNU_SOURCE -DDEBIAN  -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHASATTRIBUTE_CONST  -DHASATTRIBUTE_DEPRECATED  -DHASATTRIBUTE_MALLOC  -DHASATTRIBUTE_NONNULL  -DHASATTRIBUTE_NORETURN  -DHASATTRIBUTE_PURE  -DHASATTRIBUTE_UNUSED  -DHASATTRIBUTE_WARN_UNUSED_RESULT  -falign-functions=16 -fvisibility=hidden -maccumulate-outgoing-args -W -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wendif-labels -Wextra -Wformat -Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimplicit -Wimport -Winit-self -Winline -Winvalid-pch -Wlogical-op -Wmissing-braces -Wmissing-field-initializers -Wno-missing-format-attribute -Wmissing-include-dirs -Wpacked -Wparentheses -Wpointer-arith -Wreturn-type -Wsequence-point -Wno-shadow -Wsign-compare -Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch -Wswitch-default -Wtrigraphs -Wundef -Wunknown-pragmas -Wno-unused -Wvariadic-macros -Wwrite-stri!
 ngs -Wbad-function-cast -Wc++-compat -Wdeclaration-after-statement -Werror=declaration-after-statement -Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wnonnull -DHAS_GETTEXT',
  Linker and Libraries:
    ld='cc', ldflags=' -L/usr/local/lib',
    cc_ldflags='',
    libs='-ldl -lm -lpthread -lcrypt -lrt -lgmp -lreadline -lglut -lGLU -lGL -lcrypto '
  Dynamic Linking:
    share_ext='.so', ld_share_flags='-shared -O2 -g -L/usr/local/lib -fPIC',
    load_ext='.so', ld_load_flags='-shared -O2 -g -L/usr/local/lib -fPIC'
  Types:
    iv=long, intvalsize=8, intsize=4, opcode_t=long, opcode_t_size=8,
    ptrsize=8, ptr_alignment=1 byteorder=12345678, 
    nv=double, numvalsize=8, doublesize=8

---
Environment:
    HOME =/home/sand
    LANG =en_US.UTF-8
    LANGUAGE  (unset)
    LD_LIBRARY_PATH  (unset)
    LOGDIR  (unset)
    PATH =/home/sand/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/local/perl/bin:/usr/X11/bin:/sbin:/usr/sbin
    SHELL =/usr/bin/zsh


-- 
andreas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.