Re: [perl #48971] Parrot build failure no such instruction: `trap'

2008-05-04 Thread Walter M Szeliga

Excellent, the patch from ticket 52214 works.

Walter


Re: [perl #48971] Parrot build failure no such instruction: `trap'

2008-01-22 Thread Walter M Szeliga
New release 0.5.2 (r25150) still fails to build on PPC running OSX  
10.5.1.  Same version of perl as listed previously in the bug report.   
The same error is issued:


...
perl tools/build/c2str.pl --all
src/string.c
src/ops/core_ops.c
src/ops/debug.ops: In function ‘Parrot_debug_break’:
src/ops/debug.ops:103: warning: null argument where non-null required  
(argument 2)
src/ops/debug.ops:113: warning: null argument where non-null required  
(argument 2)

src/ops/debug.ops: In function ‘Parrot_debug_break’:
src/ops/debug.ops:103: warning: null argument where non-null required  
(argument 2)
src/ops/debug.ops:113: warning: null argument where non-null required  
(argument 2)

{standard input}:83575:no such instruction: `trap'
lipo: can't open input file: /var/folders/z9/z9oKoAkrEqiMhue-QoqwG+++ 
+TI/-Tmp-//ccu2CUMR.out (No such file or directory)

make: *** [src/ops/core_ops.o] Error 1

Cheers,
Walter Szeliga

Re: [perl #48971] Parrot build failure no such instruction: `trap'

2007-12-22 Thread Walter M Szeliga

perl -V yields

Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
  Platform:
osname=darwin, osvers=9.0, archname=darwin-thread-multi-2level
uname='darwin omen.apple.com 9.0 darwin kernel version 9.0.0b5:  
mon sep 10 17:17:11 pdt 2007; root:xnu-1166.6~1release_ppc power  
macintosh '
config_args='-ds -e -Dprefix=/usr -Dccflags=-g  -pipe  -Dldflags=- 
Dman3ext=3pm -Duseithreads -Duseshrplib'

hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define  
usemultiplicity=define

useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=define use64bitall=define uselongdouble=undef
usemymalloc=n, bincompat5005=undef
  Compiler:
cc='cc', ccflags ='-arch i386 -arch ppc -g -pipe -fno-common - 
DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -Wdeclaration-after- 
statement -I/usr/local/include',

optimize='-O3',
cppflags='-no-cpp-precomp -g -pipe -fno-common -DPERL_DARWIN -no- 
cpp-precomp -fno-strict-aliasing -Wdeclaration-after-statement -I/usr/ 
local/include'
ccversion='', gccversion='4.0.1 (Apple Inc. build 5465)',  
gccosandvers=''

intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
ivtype='long', ivsize=4, nvtype='double', nvsize=8,  
Off_t='off_t', lseeksize=8

alignbytes=8, prototype=define
  Linker and Libraries:
ld='cc -mmacosx-version-min=10.5', ldflags ='-arch i386 -arch ppc  
-L/usr/local/lib'

libpth=/usr/local/lib /usr/lib
libs=-ldbm -ldl -lm -lutil -lc
perllibs=-ldl -lm -lutil -lc
libc=/usr/lib/libc.dylib, so=dylib, useshrplib=true,  
libperl=libperl.dylib

gnulibc_version=''
  Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-arch i386 -arch ppc -bundle - 
undefined dynamic_lookup -L/usr/local/lib'



Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY PERL_IMPLICIT_CONTEXT
PERL_MALLOC_WRAP USE_ITHREADS USE_LARGE_FILES
USE_PERLIO USE_REENTRANT_API
  Locally applied patches:
fix for regcomp CVE-2007-5116 security vulnerability
  Built under darwin
  Compiled at Nov 26 2007 16:28:50
  %ENV:
PERL5LIB=/sw/lib/perl5:/sw/lib/perl5/darwin
  @INC:
/sw/lib/perl5/5.8.8/darwin-thread-multi-2level
/sw/lib/perl5/5.8.8
/sw/lib/perl5/darwin-thread-multi-2level
/sw/lib/perl5
/sw/lib/perl5/darwin
/System/Library/Perl/5.8.8/darwin-thread-multi-2level
/System/Library/Perl/5.8.8
/Library/Perl/5.8.8/darwin-thread-multi-2level
/Library/Perl/5.8.8
/Library/Perl
/Network/Library/Perl/5.8.8/darwin-thread-multi-2level
/Network/Library/Perl/5.8.8
/Network/Library/Perl
/System/Library/Perl/Extras/5.8.8/darwin-thread-multi-2level
/System/Library/Perl/Extras/5.8.8
/Library/Perl/5.8.6/darwin-thread-multi-2level
/Library/Perl/5.8.6
/Library/Perl/5.8.1/darwin-thread-multi-2level
/Library/Perl/5.8.1
.



[perl #48971] Parrot build failure no such instruction: `trap'

2007-12-21 Thread James Keenan via RT
On Thu Dec 20 21:34:41 2007, [EMAIL PROTECTED] wrote:
 On a PPC with OSX 10.5.1

I didn't know you could run 10.5.1 on PPC; I thought it only worked on x86.

Could you attach the output from 'perl -V'?  It may help us diagnose
this problem better.

Thank you very much.



[perl #48971] Parrot build failure no such instruction: `trap'

2007-12-20 Thread via RT
# New Ticket Created by  Walter M Szeliga 
# Please include the string:  [perl #48971]
# in the subject line of all future correspondence about this issue. 
# URL: http://rt.perl.org/rt3/Ticket/Display.html?id=48971 


On a PPC with OSX 10.5.1
Parrot revision number r24118
Running

perl Configure.pl
make

dies with the following snippet: ...

perl tools/build/c2str.pl --all
src/string.c
src/ops/core_ops.c
src/ops/debug.ops: In function ‘Parrot_debug_break’:
src/ops/debug.ops:103: warning: null argument where non-null required  
(argument 2)
src/ops/debug.ops:113: warning: null argument where non-null required  
(argument 2)
src/ops/debug.ops: In function ‘Parrot_debug_break’:
src/ops/debug.ops:103: warning: null argument where non-null required  
(argument 2)
src/ops/debug.ops:113: warning: null argument where non-null required  
(argument 2)
{standard input}:83572:no such instruction: `trap'
lipo: can't open input file: /var/folders/z9/z9oKoAkrEqiMhue-QoqwG+++ 
+TI/-Tmp-//cc38TM2T.out (No such file or directory)
make: *** [src/ops/core_ops.o] Error 1

This behavior is repeatable even after a `make realclean`

Cheers,
Walter Szeliga