Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Declare minimum system requirements for build: Was: "Rakudo Star 'make' fails on Darwin/PPC" #1984

Closed
p6rt opened this issue Jul 30, 2010 · 10 comments

Comments

@p6rt
Copy link

p6rt commented Jul 30, 2010

Migrated from rt.perl.org#76828 (status was 'resolved')

Searchable as RT76828$

@p6rt
Copy link
Author

p6rt commented Jul 30, 2010

From @jkeenan

On July 29 I successfully built Perl 6 from the Rakudo Star
distribution on two Linux/i386 boxes. However, I experienced
failures during 'make' on Darwin/PPC, notwithstanding the fact that I
have been able to build Perl 6 on top of Parrot on this same machine
in the past. The output of a typical build run is attached.

In each attempt, when 'make' reached this point​:

  /Users/jimk/work/rstar/rakudo-star-2010.07/install/bin/parrot src/
gen/perl6.pbc --target=pir \
  src/gen/core.pm > src/gen/core.pir

... it hung indefinitely -- and by indefinitely I mean that I let it
sit for nearly an hour before killing the process. (I let it go that
long because, from my previous experience, I knew that compiling
perl6 would take a long time on this iBook G4.)

I took the following steps in debugging the problem​:

1. I made sure that the underlying Parrot was okay.

Actually, at first it was not. When I ran Parrot's 'make test', I
discovered that the tests in t/pmc/packfile*.t were failing. But
this was not surprising, because when Parrot 2.6.0 was released we
discovered that these tests were failing on Darwin/PPC. As I did for
Parrot, I ran Parrot's tools/dev/mk_packfile_pbc which updated three
of the .pbc files, after which the t/pmc/packfile*.t tests ran
correctly. But this did not ultimately enable me to succeed in
building Rakudo.

I also examined the 'myconfig' and 'lib/Parrot/Config/Generated.pm'
which came from the Parrot part of the build. They differed in no
material respects from the same files I get when I configure Parrot
from HEAD every day of the week.

2. I built the underlying Parrot the way I customarily build Parrot
on this machine.

Back in 2006, when I joined the Parrot project, I was having trouble
getting Parrot to build on this box. At Will Coleda's suggestion, I
explicitly set certain command-line options and was thereafter always
able to configure and build successfully. Yesterday, when I first
attempted to build on this box, I followed the Rakudo Star README and
simply called 'perl Configure.pl --gen-parrot'. When Perl 6
subsequently failed to build, I figured I'd revert to my customary
options. So I wrapped Rakudo Star's Configure.pl in this shell script​:

#!/bin/sh
echo "MACOSX_DEPLOYMENT_TARGET is $MACOSX_DEPLOYMENT_TARGET"
/usr/local/bin/perl Configure.pl \
  --gen-parrot \
  --gen-parrot-option='--cc=/usr/bin/gcc' \
  --gen-parrot-option='--cxx=/usr/bin/g++' \
  --gen-parrot-option='--link=/usr/bin/g++' \
  --gen-parrot-option='--ld=/usr/bin/g++' \
  --gen-parrot-option='--configure_trace' \
  $@​

But, once again, Rakudo's 'make' ultimately halted at the same location.

It should be noted that I *have* built Perl 6 on top of Parrot on
this box in the past. As a matter of fact, I led a workshop with
that as its objective at YAPC in Chicago in 2008. But, for lack of
tuits, I have not attempted to keep up with Rakudo development in the
past two years. I would like Rakudo Star to work, mainly because it
will be my first real opportunity to learn Perl 6.

Thank you very much.
kid51

@p6rt
Copy link
Author

p6rt commented Jul 30, 2010

From @jkeenan

cd rakudo && /usr/local/bin/perl Configure.pl --parrot-config=/Users/jimk/work/rstar/rakudo-star-2010.07/install/bin/parrot_config && make

Reading configuration information from /Users/jimk/work/rstar/rakudo-star-2010.07/install/bin/parrot_config ...
Verifying Parrot installation...

Creating Makefile ...
Cleaning up ...

You can now use 'make' to build Rakudo Perl.
After that, you can use 'make test' to run some local tests,
or 'make spectest' to check out (via svn) a copy of the Perl 6
official test suite and run its tests.

/Users/jimk/work/rstar/rakudo-star-2010.07/install/bin/parrot-nqp --output=src/gen/Attribute.pir --encoding=utf8 \
  --target=pir src/metamodel/Attribute.nqp
/Users/jimk/work/rstar/rakudo-star-2010.07/install/bin/parrot-nqp --output=src/gen/RoleToRoleApplier.pir --encoding=utf8 \
  --target=pir src/metamodel/RoleToRoleApplier.nqp
/Users/jimk/work/rstar/rakudo-star-2010.07/install/bin/parrot-nqp --output=src/gen/RoleToClassApplier.pir --encoding=utf8 \
  --target=pir src/metamodel/RoleToClassApplier.nqp
/Users/jimk/work/rstar/rakudo-star-2010.07/install/bin/parrot-nqp --output=src/gen/RoleToInstanceApplier.pir --encoding=utf8 \
  --target=pir src/metamodel/RoleToInstanceApplier.nqp
/usr/local/bin/perl build/gen_builtins_pir.pl src/glue/contextuals.pir src/glue/dispatch.pir src/glue/enum.pir src/glue/phasers.pir src/glue/regex.pir src/glue/role.pir src/glue/run.pir src/glue/types.pir src/builtins/Mu.pir src/metamodel/ClassHOW.pir src/builtins/Any.pir src/gen/Attribute.pir src/builtins/Cool.pir src/metamodel/RoleHOW.pir src/gen/RoleToRoleApplier.pir src/gen/RoleToClassApplier.pir src/gen/RoleToInstanceApplier.pir src/metamodel/GrammarHOW.pir src/builtins/Role.pir src/builtins/ConcreteRole.pir src/builtins/Positional.pir src/builtins/Iterable.pir src/builtins/Iterator.pir src/builtins/EMPTY.pir src/builtins/List.pir src/builtins/ParrotIter.pir src/builtins/ListIter.pir src/builtins/MapIter.pir src/builtins/GatherIter.pir src/builtins/Parcel.pir src/builtins/ParcelIter.pir src/builtins/Bool.pir src/builtins/Int.pir src/builtins/Num.pir src/builtins/Str.pir src/builtins/Enum.pir src/builtins/Pair.pir src/builtins/Code.pir src/builtins/Block.pir src/builtins/Routine.pir src/builtins/Multi.pir src/builtins/Sub.pir src/builtins/Method.pir src/builtins/Submethod.pir src/builtins/Regex.pir src/builtins/Associative.pir src/builtins/Array.pir src/builtins/Seq.pir src/builtins/Proxy.pir src/builtins/ContainerDeclarand.pir src/builtins/Exception.pir src/builtins/Failure.pir src/builtins/Signature.pir src/builtins/Junction.pir src/builtins/Capture.pir src/builtins/assign.pir src/builtins/metaops.pir src/builtins/control.pir src/builtins/Cursor.pir > src/gen/builtins.pir
/usr/local/bin/perl build/gen_uprop_pir.pl > src/gen/uprop-cheats.pir
/usr/local/bin/perl build/gen_cheats_pir.pl src/cheats/constants.pir src/cheats/perl6-compiler.pir src/cheats/autoincrement.pir src/cheats/fail.pir src/cheats/object.pir src/cheats/int-ops.pir src/cheats/num-ops.pir src/cheats/str-ops.pir src/cheats/relops.pir src/cheats/only_infix_redispatcher.pir src/cheats/import.pir src/cheats/want-caller-side-callsig.pir src/cheats/parrot-role-quirks.pir src/cheats/parrot/attriter.pir src/cheats/parrot/Protoobject.pir src/cheats/parrot/P6metaclass.pir src/cheats/parrot/P6role.pir src/cheats/parrot/Sub.pir src/gen/uprop-cheats.pir src/cheats/parrot/register.pir > src/gen/cheats.pir
/Users/jimk/work/rstar/rakudo-star-2010.07/install/bin/parrot-nqp --output=src/gen/signature_pm.pir --encoding=utf8 \
  --target=pir src/Perl6/Compiler/Signature.pm
/Users/jimk/work/rstar/rakudo-star-2010.07/install/bin/parrot-nqp --output=src/gen/parameter_pm.pir --encoding=utf8 \
  --target=pir src/Perl6/Compiler/Parameter.pm
/Users/jimk/work/rstar/rakudo-star-2010.07/install/bin/parrot-nqp --output=src/gen/package_pm.pir --encoding=utf8 \
  --target=pir src/Perl6/Compiler/Package.pm
/Users/jimk/work/rstar/rakudo-star-2010.07/install/bin/parrot-nqp --output=src/gen/module_pm.pir --encoding=utf8 \
  --target=pir src/Perl6/Compiler/Module.pm
/Users/jimk/work/rstar/rakudo-star-2010.07/install/bin/parrot-nqp --output=src/gen/role_pm.pir --encoding=utf8 \
  --target=pir src/Perl6/Compiler/Role.pm
/Users/jimk/work/rstar/rakudo-star-2010.07/install/bin/parrot-nqp --output=src/gen/locator_pm.pir --encoding=utf8 \
  --target=pir src/Perl6/Module/Locator.pm
/Users/jimk/work/rstar/rakudo-star-2010.07/install/bin/parrot-nqp --output=src/gen/versiondetectionactions_pm.pir --encoding=utf8 \
  --target=pir src/Perl6/Module/VersionDetectionActions.pm
/Users/jimk/work/rstar/rakudo-star-2010.07/install/bin/parrot-nqp --output=src/gen/loader_pm.pir --encoding=utf8 \
  --target=pir src/Perl6/Module/Loader.pm
/Users/jimk/work/rstar/rakudo-star-2010.07/install/bin/parrot-nqp --output=src/gen/backtraceprinter_pm.pir --encoding=utf8 \
  --target=pir src/Perl6/BacktracePrinter.pm
/Users/jimk/work/rstar/rakudo-star-2010.07/install/bin/parrot-nqp --target=pir --output=src/gen/perl6-grammar.pir --encoding=utf8 \
  src/Perl6/Grammar.pm
/Users/jimk/work/rstar/rakudo-star-2010.07/install/bin/parrot-nqp --target=pir --output=src/gen/perl6-actions.pir --encoding=utf8 \
  src/Perl6/Actions.pm
/usr/local/bin/perl -I/Users/jimk/work/rstar/rakudo-star-2010.07/install/lib/parrot/2.6.0/tools/lib build/gen_objectref_pmc.pl src/pmc/objectref_pmc.template \
  src/pmc/objectref.pmc
/usr/local/bin/perl /Users/jimk/work/rstar/rakudo-star-2010.07/install/lib/parrot/2.6.0/tools/build/pmc2c.pl --no-lines --dump --include src/pmc --include /Users/jimk/work/rstar/rakudo-star-2010.07/install/src/parrot/2.6.0 --include /Users/jimk/work/rstar/rakudo-star-2010.07/install/src/parrot/2.6.0/pmc src/pmc/objectref.pmc
/usr/local/bin/perl /Users/jimk/work/rstar/rakudo-star-2010.07/install/lib/parrot/2.6.0/tools/build/pmc2c.pl --no-lines --dump --include src/pmc --include /Users/jimk/work/rstar/rakudo-star-2010.07/install/src/parrot/2.6.0 --include /Users/jimk/work/rstar/rakudo-star-2010.07/install/src/parrot/2.6.0/pmc src/pmc/perl6str.pmc src/pmc/objectref.pmc src/pmc/perl6scalar.pmc src/pmc/mutablevar.pmc src/pmc/perl6multisub.pmc src/pmc/p6invocation.pmc src/pmc/p6opaque.pmc src/pmc/p6role.pmc src/pmc/p6lowlevelsig.pmc
/usr/local/bin/perl /Users/jimk/work/rstar/rakudo-star-2010.07/install/lib/parrot/2.6.0/tools/build/pmc2c.pl --no-lines --c --include src/pmc --include /Users/jimk/work/rstar/rakudo-star-2010.07/install/src/parrot/2.6.0 --include /Users/jimk/work/rstar/rakudo-star-2010.07/install/src/parrot/2.6.0/pmc src/pmc/perl6str.pmc src/pmc/objectref.pmc src/pmc/perl6scalar.pmc src/pmc/mutablevar.pmc src/pmc/perl6multisub.pmc src/pmc/p6invocation.pmc src/pmc/p6opaque.pmc src/pmc/p6role.pmc src/pmc/p6lowlevelsig.pmc
/usr/local/bin/perl /Users/jimk/work/rstar/rakudo-star-2010.07/install/lib/parrot/2.6.0/tools/build/pmc2c.pl --no-lines --library perl6_group --c src/pmc/perl6str.pmc src/pmc/objectref.pmc src/pmc/perl6scalar.pmc src/pmc/mutablevar.pmc src/pmc/perl6multisub.pmc src/pmc/p6invocation.pmc src/pmc/p6opaque.pmc src/pmc/p6role.pmc src/pmc/p6lowlevelsig.pmc
/usr/bin/gcc -c -o perl6_group.o -Isrc/pmc -I/Users/jimk/work/rstar/rakudo-star-2010.07/install/include/parrot/2.6.0 -I/Users/jimk/work/rstar/rakudo-star-2010.07/install/include/parrot/2.6.0/pmc -pipe -fno-common -Wno-long-double -I/sw/include -I/opt/local/include -DHASATTRIBUTE_CONST -DHASATTRIBUTE_DEPRECATED -DHASATTRIBUTE_MALLOC -DHASATTRIBUTE_NONNULL -DHASATTRIBUTE_NORETURN -DHASATTRIBUTE_PURE -DHASATTRIBUTE_UNUSED -DHASATTRIBUTE_WARN_UNUSED_RESULT -DDISABLE_GC_DEBUG=1 -DNDEBUG -DHAS_GETTEXT -falign-functions=16 -fvisibility=hidden -funit-at-a-time -W -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wdisabled-optimization -Wdiv-by-zero -Wendif-labels -Wextra -Wformat -Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimplicit -Wimport -Winit-self -Winline -Winvalid-pch -Wmissing-braces -Wmissing-field-initializers -Wno-missing-format-attribute -Wmissing-include-dirs -Wmultichar -Wpacked -Wparentheses -Wpointer-arith -Wpointer-sign -Wreturn-type -Wsequence-point -Wsign-compare -Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch -Wswitch-default -Wtrigraphs -Wundef -Wno-unused -Wunknown-pragmas -Wvariadic-macros -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wnonnull -Wold-style-definition -Wstrict-prototypes perl6_group.c
cd src/pmc && /usr/bin/gcc -c -I/Users/jimk/work/rstar/rakudo-star-2010.07/install/include/parrot/2.6.0 -I/Users/jimk/work/rstar/rakudo-star-2010.07/install/include/parrot/2.6.0/pmc -pipe -fno-common -Wno-long-double -I/sw/include -I/opt/local/include -DHASATTRIBUTE_CONST -DHASATTRIBUTE_DEPRECATED -DHASATTRIBUTE_MALLOC -DHASATTRIBUTE_NONNULL -DHASATTRIBUTE_NORETURN -DHASATTRIBUTE_PURE -DHASATTRIBUTE_UNUSED -DHASATTRIBUTE_WARN_UNUSED_RESULT -DDISABLE_GC_DEBUG=1 -DNDEBUG -DHAS_GETTEXT -falign-functions=16 -fvisibility=hidden -funit-at-a-time -W -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wdisabled-optimization -Wdiv-by-zero -Wendif-labels -Wextra -Wformat -Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimplicit -Wimport -Winit-self -Winline -Winvalid-pch -Wmissing-braces -Wmissing-field-initializers -Wno-missing-format-attribute -Wmissing-include-dirs -Wmultichar -Wpacked -Wparentheses -Wpointer-arith -Wpointer-sign -Wreturn-type -Wsequence-point -Wsign-compare -Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch -Wswitch-default -Wtrigraphs -Wundef -Wno-unused -Wunknown-pragmas -Wvariadic-macros -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wnonnull -Wold-style-definition -Wstrict-prototypes *.c
cd src/binder && /usr/bin/gcc -c -o bind.o -I../../src/pmc -I/Users/jimk/work/rstar/rakudo-star-2010.07/install/include/parrot/2.6.0 -I/Users/jimk/work/rstar/rakudo-star-2010.07/install/include/parrot/2.6.0/pmc -pipe -fno-common -Wno-long-double -I/sw/include -I/opt/local/include -DHASATTRIBUTE_CONST -DHASATTRIBUTE_DEPRECATED -DHASATTRIBUTE_MALLOC -DHASATTRIBUTE_NONNULL -DHASATTRIBUTE_NORETURN -DHASATTRIBUTE_PURE -DHASATTRIBUTE_UNUSED -DHASATTRIBUTE_WARN_UNUSED_RESULT -DDISABLE_GC_DEBUG=1 -DNDEBUG -DHAS_GETTEXT -falign-functions=16 -fvisibility=hidden -funit-at-a-time -W -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wdisabled-optimization -Wdiv-by-zero -Wendif-labels -Wextra -Wformat -Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimplicit -Wimport -Winit-self -Winline -Winvalid-pch -Wmissing-braces -Wmissing-field-initializers -Wno-missing-format-attribute -Wmissing-include-dirs -Wmultichar -Wpacked -Wparentheses -Wpointer-arith -Wpointer-sign -Wreturn-type -Wsequence-point -Wsign-compare -Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch -Wswitch-default -Wtrigraphs -Wundef -Wno-unused -Wunknown-pragmas -Wvariadic-macros -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wnonnull -Wold-style-definition -Wstrict-prototypes bind.c
/usr/bin/g++ -o src/pmc/perl6_group.bundle perl6_group.o src/pmc/*.o src/binder/bind.o -L/usr/local/lib -L/opt/local/lib -L/Users/jimk/work/rstar/rakudo-star-2010.07/parrot-2.6.0/blib/lib -L/sw/lib -undefined dynamic_lookup -bundle -lm -lgmp -lreadline -lintl
cd src/ops && /Users/jimk/work/rstar/rakudo-star-2010.07/install/bin/ops2c C --dynamic perl6.ops
# Parsing perl6.ops...
# Parsed perl6.ops in 9.048 seconds; found 74 ops.
# Ops parsed in 9.053 seconds.
cd src/ops && /usr/bin/gcc -c -o perl6_ops.o -I/Users/jimk/work/rstar/rakudo-star-2010.07/install/include/parrot/2.6.0 -I/Users/jimk/work/rstar/rakudo-star-2010.07/install/include/parrot/2.6.0/pmc -pipe -fno-common -Wno-long-double -I/sw/include -I/opt/local/include -DHASATTRIBUTE_CONST -DHASATTRIBUTE_DEPRECATED -DHASATTRIBUTE_MALLOC -DHASATTRIBUTE_NONNULL -DHASATTRIBUTE_NORETURN -DHASATTRIBUTE_PURE -DHASATTRIBUTE_UNUSED -DHASATTRIBUTE_WARN_UNUSED_RESULT -DDISABLE_GC_DEBUG=1 -DNDEBUG -DHAS_GETTEXT -falign-functions=16 -fvisibility=hidden -funit-at-a-time -W -Wall -Waggregate-return -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wdisabled-optimization -Wdiv-by-zero -Wendif-labels -Wextra -Wformat -Wformat-extra-args -Wformat-nonliteral -Wformat-security -Wformat-y2k -Wimplicit -Wimport -Winit-self -Winline -Winvalid-pch -Wmissing-braces -Wmissing-field-initializers -Wno-missing-format-attribute -Wmissing-include-dirs -Wmultichar -Wpacked -Wparentheses -Wpointer-arith -Wpointer-sign -Wreturn-type -Wsequence-point -Wsign-compare -Wstrict-aliasing -Wstrict-aliasing=2 -Wswitch -Wswitch-default -Wtrigraphs -Wundef -Wno-unused -Wunknown-pragmas -Wvariadic-macros -Wwrite-strings -Wbad-function-cast -Wdeclaration-after-statement -Wimplicit-function-declaration -Wimplicit-int -Wmain -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wnonnull -Wold-style-definition -Wstrict-prototypes perl6_ops.c
cd src/ops && /usr/bin/g++ -o perl6_ops.bundle perl6_ops.o -L/usr/local/lib -L/opt/local/lib -L/Users/jimk/work/rstar/rakudo-star-2010.07/parrot-2.6.0/blib/lib -L/sw/lib -undefined dynamic_lookup -bundle -lm -lgmp -lreadline -lintl
/usr/local/bin/perl -MExtUtils​::Command -e cp src/pmc/perl6_group.bundle src/ops/perl6_ops.bundle dynext
/usr/local/bin/perl -MExtUtils​::Command -e chmod 755 dynext/perl6_group.bundle
/usr/local/bin/perl -MExtUtils​::Command -e chmod 755 dynext/perl6_ops.bundle
/usr/local/bin/perl -e "" > src/gen/core.pir
/usr/local/bin/perl build/gen_version.pl > src/gen/version.pir
/Users/jimk/work/rstar/rakudo-star-2010.07/install/bin/parrot -o src/gen/perl6.pbc src/Perl6/Compiler.pir
/usr/local/bin/perl build/gen_core_pm.pl src/core/Positional.pm src/core/Associative.pm src/core/Callable.pm src/core/Abstraction.pm src/core/traits.pm src/core/metaops.pm src/core/operators.pm src/glue/handles.pm src/glue/subset.pm src/glue/enum.pm src/cheats/trait-export.pm src/cheats/num.pm src/cheats/eval.pm src/core/Mu.pm src/core/Bool.pm src/core/Parcel.pm src/core/Any.pm src/core/Any-list.pm src/core/Code.pm src/core/Cool.pm src/core/Cool-num.pm src/core/Cool-str.pm src/core/List.pm src/core/Set.pm src/core/Array.pm src/core/Numeric.pm src/core/Real.pm src/core/Int.pm src/core/Iterable.pm src/core/Iterator.pm src/core/Num.pm src/core/Rat.pm src/core/Complex.pm src/core/Stringy.pm src/core/Buf.pm src/core/Str.pm src/core/Whatever.pm src/core/Pair.pm src/core/RangeIter.pm src/core/Range.pm src/core/EnumMap.pm src/core/Hash.pm src/core/Enum.pm src/core/IO.pm src/core/IO/ArgFiles.pm src/core/IO/Socket.pm src/core/IO/Socket/INET.pm src/core/IO/Stat.pm src/core/Parameter.pm src/core/Signature.pm src/core/Block.pm src/core/WhateverCode.pm src/core/Routine.pm src/core/Regex.pm src/core/Junction.pm src/core/Grammar.pm src/core/system.pm src/cheats/process.pm src/core/tai-utc.pm src/core/Temporal.pm src/core/Match.pm src/core/Attribute.pm src/core/CallFrame.pm src/core/Capture.pm src/core/MAIN.pm src/core/YOU_ARE_HERE.pm > src/gen/core.pm
/Users/jimk/work/rstar/rakudo-star-2010.07/install/bin/parrot src/gen/perl6.pbc --target=pir \
  src/gen/core.pm > src/gen/core.pir

@p6rt
Copy link
Author

p6rt commented Jul 30, 2010

From @coke

On Fri Jul 30 05​:28​:27 2010, jkeen@​verizon.net wrote​:

On July 29 I successfully built Perl 6 from the Rakudo Star
distribution on two Linux/i386 boxes. However, I experienced
failures during 'make' on Darwin/PPC, notwithstanding the fact that I
have been able to build Perl 6 on top of Parrot on this same machine
in the past. The output of a typical build run is attached.

In each attempt, when 'make' reached this point​:

/Users/jimk/work/rstar/rakudo-star-2010.07/install/bin/parrot src/
gen/perl6.pbc --target=pir \
src/gen/core.pm > src/gen/core.pir

... it hung indefinitely -- and by indefinitely I mean that I let it
sit for nearly an hour before killing the process. (I let it go that
long because, from my previous experience, I knew that compiling
perl6 would take a long time on this iBook G4.)
<SNIP>

This file is the single largest compilation that occurs during the
process, and requires a LOT of memory, and it's likely gotten bigger
since the last time you ran. So this doesn't entirely surprise me.

How much memory do you have in the box (physical), and do you have a
ulimit set?

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Jul 30, 2010

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Jul 30, 2010

From @jkeenan

On Fri Jul 30 06​:20​:30 2010, coke wrote​:

How much memory do you have in the box (physical), ...

From 'top'​:

PhysMem​: 46.3M wired, 137M active, 68.7M inactive, 252M used, 3.68M free

From System Profiler​: Memory​: 256 MB

and do you have a ulimit set?

Apparently not​:

$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) 6144
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 256
pipe size (512 bytes, -p) 1
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 100
virtual memory (kbytes, -v) unlimited

kid51

@p6rt
Copy link
Author

p6rt commented Jul 31, 2010

From @coke

On Fri Jul 30 16​:26​:21 2010, jkeen@​verizon.net wrote​:

On Fri Jul 30 06​:20​:30 2010, coke wrote​:

How much memory do you have in the box (physical), ...

From 'top'​:

PhysMem​: 46.3M wired, 137M active, 68.7M inactive, 252M used, 3.68M free

From System Profiler​: Memory​: 256 MB

and do you have a ulimit set?

Apparently not​:

$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) 6144
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 256
pipe size (512 bytes, -p) 1
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 100
virtual memory (kbytes, -v) unlimited

kid51

Based on recent history, I think 1G is the minimum recommend memory for building rakudo
(for that file in particular).

Someone should probably add this to the README.

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Sep 26, 2010

From @jkeenan

Cf. also this ticket reported to Parrot's ticketing system​:
http://trac.parrot.org/parrot/ticket/1804

@p6rt
Copy link
Author

p6rt commented Sep 23, 2011

From @jkeenan

On Fri Jul 30 17​:58​:48 2010, coke wrote​:

Based on recent history, I think 1G is the minimum recommend memory
for building rakudo
(for that file in particular).

Someone should probably add this to the README.

Has the Rakudo project established minimum recommended memory
requirements for Rakudo*?

If so, and if they're above what I have available on this machine, then
I'll simply abandon my attempt to build Rakudo on this machine. (Rakudo
might still build, of course, on Darwin/PPC machines with more memory.)

If memory requirements have not been established, then this ticket
should probably remain open.

Thank you very much.
Jim Keenan

@p6rt
Copy link
Author

p6rt commented Apr 17, 2013

From @coke

On Fri Sep 23 14​:24​:02 2011, jkeen@​verizon.net wrote​:

On Fri Jul 30 17​:58​:48 2010, coke wrote​:

Based on recent history, I think 1G is the minimum recommend memory
for building rakudo
(for that file in particular).

Someone should probably add this to the README.

Has the Rakudo project established minimum recommended memory
requirements for Rakudo*?

If so, and if they're above what I have available on this machine, then
I'll simply abandon my attempt to build Rakudo on this machine. (Rakudo
might still build, of course, on Darwin/PPC machines with more memory.)

If memory requirements have not been established, then this ticket
should probably remain open.

Thank you very much.
Jim Keenan

Added a paragraph near the top of INSTALL.txt; Check back again once we can target the JVM,
you may have better luck there.

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Apr 17, 2013

@coke - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Apr 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant