Subject: | Mac::Carbon 0.77 fails tests on MacOS 10.3.9 (Darwin 7.9.0) |
Date: | Sat, 3 Feb 2007 12:03:55 +0000 |
To: | bug-Mac-Carbon [...] rt.cpan.org |
From: | Tony Walton <tony [...] tony-walton.me.uk> |
Mac::Carbon 0.77 installation fails rather spectacularly on my G3
iBook, running MacOS 10.3.9. Details follow:
$ uname -a
Darwin Tony-Waltons-Computer.local 7.9.0 Darwin Kernel Version 7.9.0:
Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC
Power Macintosh powerpc
$ /usr/local/bin/perl -V
Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
Platform:
osname=darwin, osvers=7.9.0, archname=darwin-thread-multi-2level
uname='darwin tony-waltons-computer.local 7.9.0 darwin kernel
version 7.9.0: wed mar 30 20:11:17 pst 2005;
root:xnuxnu-517.12.7.obj~1release_ppc power macintosh powerpc '
config_args=''
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=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp
-fno-strict-aliasing -pipe -I/usr/local/include',
optimize='-Os',
cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-precomp
-fno-strict-aliasing -pipe -I/usr/local/include'
ccversion='', gccversion='3.3 20030304 (Apple Computer, Inc. build
1671)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags ='
-L/usr/local/lib'
libpth=/usr/local/lib /usr/lib
libs=-ldbm -ldl -lm -lc
perllibs=-ldl -lm -lc
libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false,
libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags=' -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
Built under darwin
Compiled at Aug 22 2006 21:28:53
@INC:
/usr/local/lib/perl5/5.8.8/darwin-thread-multi-2level
/usr/local/lib/perl5/5.8.8
/usr/local/lib/perl5/site_perl/5.8.8/darwin-thread-multi-2level
/usr/local/lib/perl5/site_perl/5.8.8
/usr/local/lib/perl5/site_perl
.
$ cc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1671)
$ make test
cc -c -I/Developer/Headers/FlatCarbon/ -fno-common -DPERL_DARWIN
-no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include
-fpascal-strings -Os -DVERSION=\"1.32\" -DXS_VERSION=\"1.32\"
"-I/usr/local/lib/perl5/5.8.8/darwin-thread-multi-2level/CORE"
PerlAEUtils.cpp
In file included from PerlAEUtils.cpp:27:
/usr/local/lib/perl5/5.8.8/darwin-thread-multi-2level/CORE/perl.h:2700:
error: parse
error before `__attribute__'
/usr/local/lib/perl5/5.8.8/darwin-thread-multi-2level/CORE/perl.h:2710:
error: parse
error before `__attribute__'
/usr/local/lib/perl5/5.8.8/darwin-thread-multi-2level/CORE/perl.h:2710:
error: syntax
error before `)' token
In file included from
/usr/local/lib/perl5/5.8.8/darwin-thread-multi-2level/CORE/iperlsys.h:
51,
from
/usr/local/lib/perl5/5.8.8/darwin-thread-multi-2level/CORE/perl.h:2733,
from PerlAEUtils.cpp:27:
/usr/local/lib/perl5/5.8.8/darwin-thread-multi-2level/CORE/perlio.h:
117: error: parse
error before `__attribute__'
/usr/local/lib/perl5/5.8.8/darwin-thread-multi-2level/CORE/perlio.h: In
function `void PerlIO_define_layer(...)':
/usr/local/lib/perl5/5.8.8/darwin-thread-multi-2level/CORE/perlio.h:
118: error: parse
error before `__attribute__'
/usr/local/lib/perl5/5.8.8/darwin-thread-multi-2level/CORE/perlio.h: In
function `PerlIO_funcs* PerlIO_find_layer(...)':
/usr/local/lib/perl5/5.8.8/darwin-thread-multi-2level/CORE/perlio.h:
121: error: parse
error before `__attribute__'
/usr/local/lib/perl5/5.8.8/darwin-thread-multi-2level/CORE/perlio.h: In
function `PerlIOl** PerlIO_push(...)':
...
... (over 6600 similar lines elided; full output available on request)
...
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:
151: error: cannot
declare static function inside another function
In file included from
/System/Library/Frameworks/CoreFoundation.framework/Headers/
CFPropertyList.h:10,
from
/System/Library/Frameworks/CoreFoundation.framework/Headers/
CoreFoundation.h:16,
from
/System/Library/Frameworks/CoreServices.framework/Frameworks/
CarbonCore.framework/Headers/CarbonCore.h:20,
from
/System/Library/Frameworks/CoreServices.framework/Headers/
CoreServices.h:21,
from
/System/Library/Frameworks/ApplicationServices.framework/Headers/
ApplicationServices.h:20,
from /Developer/Headers/FlatCarbon/AppleEvents.h:1,
from PerlAEUtils.h:33,
from PerlAEUtils.cpp:29:
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h:
In
function `StrLength(const unsigned char*)::CFRange CFRangeMake(long
int,
long int)':
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h:
637: error: cannot
declare static function inside another function
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h:
In
function `void CFStringInitInlineBuffer(const __CFString*,
CFRangeMake(long
int, long int)::CFStringInlineBuffer*, StrLength(const unsigned
char*)::CFRange)':
/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h:
644: error: cannot
declare static function inside another function
In file included from
/System/Library/Frameworks/CoreFoundation.framework/Headers/
CoreFoundation.h:64,
from
/System/Library/Frameworks/CoreServices.framework/Frameworks/
CarbonCore.framework/Headers/CarbonCore.h:20,
from
/System/Library/Frameworks/CoreServices.framework/Headers/
CoreServices.h:21,
from
/System/Library/Frameworks/ApplicationServices.framework/Headers/
ApplicationServices.h:20,
from /Developer/Headers/FlatCarbon/AppleEvents.h:1,
from PerlAEUtils.h:33,
from PerlAEUtils.cpp:29:
/System/Library/Frameworks/CoreFoundation.framework/Headers/
CFByteOrder.h: In
function `UniChar
CFStringGetCharacterFromInlineBuffer(CFRangeMake(long int,
long int)::CFStringInlineBuffer*, long int)':
/System/Library/Frameworks/CoreFoundation.framework/Headers/
CFByteOrder.h:28: error: cannot
declare static function inside another function
...
... (hundreds of similar lines deleted)
...
/System/Library/Frameworks/CoreServices.framework/Frameworks/
OSServices.framework/Headers/Power.h:416: error: previous
declaration as `typedef struct SleepQRec SleepQRec'
/System/Library/Frameworks/CoreServices.framework/Frameworks/
OSServices.framework/Headers/Power.h:433: error: conflicting
types for `struct __inline_ldtox80(const long double*,
StrLength(const
unsigned char*)::extended80*)::HDQueueElement'
/System/Library/Frameworks/CoreServices.framework/Frameworks/
OSServices.framework/Headers/Power.h:418: error: previous
declaration as `typedef struct HDQueueElement HDQueueElement'
/System/Library/Frameworks/CoreServices.framework/Frameworks/
OSServices.framework/Headers/Power.h:441: error: conflicting
types for `struct __inline_ldtox80(const long double*,
StrLength(const
unsigned char*)::extended80*)::PMgrQueueElement'
/System/Library/Frameworks/CoreServices.framework/Frameworks/
OSServices.framework/Headers/Power.h:419: error: previous
declaration as `typedef struct PMgrQueueElement PMgrQueueElement'
/System/Library/Frameworks/CoreServices.framework/Frameworks/
OSServices.framework/Headers/OpenTransport.h:3583: confused by earlier
errors, bailing out
{standard input}:4:FATAL:.abort detected. Assembly stopping.
make[1]: *** [PerlAEUtils.o] Error 1
make: *** [subdirs] Error 2
At this point the C compilation process crashes:
**********
Host Name: Tony-Waltons-Computer.local
Date/Time: 2007-02-03 12:02:39 +0000
OS Version: 10.3.9 (Build 7W98)
Report Version: 2
Command: cc1plus
Path: /usr/libexec/gcc/darwin/ppc/3.3/cc1plus
Version: ??? (???)
PID: 5293
Thread: 0
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000108
Thread 0 Crashed:
0 cc1plus 0x000c2c14 0x1000 + 0xc1c14
1 cc1plus 0x000598d4 0x1000 + 0x588d4
2 cc1plus 0x00090070 0x1000 + 0x8f070
3 cc1plus 0x000b0b4c 0x1000 + 0xafb4c
4 cc1plus 0x000d18c4 0x1000 + 0xd08c4
5 cc1plus 0x000d6e54 0x1000 + 0xd5e54
6 cc1plus 0x000d6f80 0x1000 + 0xd5f80
7 cc1plus 0x00001ef8 0x1000 + 0xef8
8 dyld 0x8fe1a31c _dyld_start + 0x64
PPC Thread State:
srr0: 0x000c2c14 srr1: 0x0000f930 vrsave: 0x00000000
cr: 0x48000222 xer: 0x2000000c lr: 0x000598d4 ctr: 0x00090068
r0: 0x017ae570 r1: 0xbfffeb70 r2: 0x00000000 r3: 0x017ae570
r4: 0x00000000 r5: 0x000032c8 r6: 0xbfffeb04 r7: 0x0043a0b4
r8: 0x404b6900 r9: 0x017ae570 r10: 0x404b693c r11: 0x017ae570
r12: 0x9011bd60 r13: 0x000000c8 r14: 0xbfffee00 r15: 0x00000055
r16: 0x00000000 r17: 0x00000000 r18: 0x00410000 r19: 0xbfffec70
r20: 0x00000000 r21: 0x00380000 r22: 0xbfffec8e r23: 0xbfffeeb4
r24: 0x00000000 r25: 0x00000000 r26: 0x00000c5e r27: 0x00000202
r28: 0x404b6e50 r29: 0x404b6c48 r30: 0x404b6c38 r31: 0x00410000
Binary Images Description:
0x1000 - 0x411fff cc1plus /usr/libexec/gcc/darwin/ppc/3.3/cc1plus
0x8fe00000 - 0x8fe4ffff dyld /usr/lib/dyld
0x90000000 - 0x9014ffff libSystem.B.dylib /usr/lib/libSystem.B.dylib
0x939d0000 - 0x939d4fff libmathCommon.A.dylib
/usr/lib/system/libmathCommon.A.dylib
0x96cb0000 - 0x96d9efff libiconv.2.dylib /usr/lib/libiconv.2.dylib
I can supply the full output of the make run if required.
--
Tony Walton
Message body not shown because it is not plain text.