# New Ticket Created by Alberto Simoes
# Please include the string: [perl #53610]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=53610 >
---
osname= darwin
osvers= 9.1.0
arch= darwin-2level
cc= cc
---
Flags:
category=core
severity=critical
ack=no
---
As discussed on the mailing list, currently parrot is being linked with
a bunch of libraries that will be just used by dynamic loading.
For instante:
[EMAIL PROTECTED] parrot]$ ldd parrot
parrot:
/Users/ambs/Projects/parrot/blib/lib/libparrot.dylib (compatibility
version 0.0.0, current version 0.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 111.0.0)
/opt/local/lib/libicuuc.38.dylib (compatibility version 38.0.0, current
version 38.1.0)
/opt/local/lib/libicudata.38.dylib (compatibility version 38.0.0,
current version 38.1.0)
/usr/lib/libutil.dylib (compatibility version 1.0.0, current version
1.0.0)
/opt/local/lib/libgmp.3.dylib (compatibility version 8.0.0, current
version 8.2.0)
/opt/local/lib/libreadline.5.2.dylib (compatibility version 5.0.0,
current version 5.2.0)
/opt/local/lib/libpcre.0.dylib (compatibility version 1.0.0, current
version 1.1.0)
/System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
(compatibility version 1.0.0, current version 1.0.0)
/System/Library/Frameworks/GLUT.framework/Versions/A/GLUT
(compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libcrypto.0.9.7.dylib (compatibility version 0.9.7, current
version 0.9.7)
/opt/local/lib/libintl.8.dylib (compatibility version 9.0.0, current
version 9.2.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current
version 7.4.0)
/usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version
1.0.0)
From these, I am sure GLUT/GL and pcre should not be there. Some others
migh be in excess as well, like readline (?).
So, the CC line used to build parrot should be cleaned up from these
extra libraries.
---
Summary of my parrot 0.6.1 (r27240) configuration:
configdate='Thu May 1 18:16:46 2008 GMT'
Platform:
osname=darwin, archname=darwin-2level
jitcapable=0, jitarchname=nojit,
jitosname=darwin, jitcpuarch=i386
execcapable=0
perl=perl
Compiler:
cc='cc', ccflags='-I/opt/local/include -fno-common -no-cpp-precomp
-pipe -I/usr/local/include -I/opt/local/include -pipe -fno-common
-Wno-long-double -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 -Wbad-function-cast -Wcast-align -Wcast-qual
-Wchar-subscripts -Wcomment -Wdeclaration-after-statement
-Wdisabled-optimization -Wendif-labels -Wextra -Wformat
-Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wformat-y2k
-Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Wimport
-Winit-self -Winline -Winvalid-pch -Wmain -Wmissing-braces
-Wmissing-declarations -Wmissing-field-initializers
-Wno-missing-format-attribute -Wmissing-include-dirs
-Wmissing-prototypes -Wnested-externs -Wnonnull -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-strings -I/opt/local/include
-I/opt/local/include -I/opt/local/include -DHAS_GETTEXT',
Linker and Libraries:
ld='c++', ldflags='-L/opt/local/lib -L/usr/local/lib
-L/Users/ambs/Projects/parrot/blib/lib -L/opt/local/lib -L/opt/local/lib
-L/opt/local/lib',
cc_ldflags='',
libs='-lm -lutil -lgmp -lreadline -lpcre -framework OpenGL
-framework GLUT -lcrypto -lintl'
Dynamic Linking:
share_ext='.dylib', ld_share_flags='-dynamiclib -undefined
dynamic_lookup',
load_ext='.bundle', ld_load_flags='-bundle -undefined dynamic_lookup'
Types:
iv=long, intvalsize=4, intsize=4, opcode_t=long, opcode_t_size=4,
ptrsize=4, ptr_alignment=1 byteorder=1234,
nv=double, numvalsize=8, doublesize=8
---
Environment:
DYLD_LIBRARY_PATH (unset)
HOME =/Users/ambs
LANG (unset)
LANGUAGE (unset)
LC_ALL =pt_PT.utf-8
LC_CTYPE =UTF-8
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH
=/Users/ambs/bin:.:/opt/ccache:/opt/local/bin/:/Users/ambs/bin:.:/opt/local/bin/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/bin:/usr/texbin:/usr/local/bin:/usr/texbin
SHELL =/bin/bash