Parrot 6.1.0 "Black-collared Lovebird" | parrot.org/ | Log: irclog.perlgeek.de/parrot | #parrotsketch meeting Tuesday 19:30 UTC
Set by moderator on 18 February 2014.
00:51 kid51 joined 07:27 FROGGS joined 08:20 FROGGS joined 11:33 denis_boyun joined 11:43 drift joined, Tene joined, smash joined, ggherdov joined, Maddingu1 joined, autark_ joined, dngor joined, TonyC joined, dalek joined, Liz joined, particle joined, sa1 joined, wagle joined, simcop2387 joined 11:44 jsut joined 11:45 woolfy joined, FROGGS joined, cosimo joined, Patterner joined, denisboyun joined, allison_ joined, rurban joined, Timbus joined, mtj joined, Khisanth joined, ivan joined, cooper joined, ingy joined 11:46 p6eval joined 11:50 slavorg joined
dalek rrot/rurban/pasm_out: 67ba6f9 | rurban++ | / (26 files):
re-add PASM output to imcc, re-add imcpasm tests

one new IMCCompiler api method: set_to_pasm remove static output in imcc/instructions.c detect .pasm -o outfile extension add and fix old t/compilers/imcc/imcpasm/*.t tests and the pir_2*_
   Parrot::Test methods
change Parrot::Test pir_2_pasm method to use -d1000, which is equivalent
   to pasm output, just to stderr.
use new LIKELY/UNLIKELY macros
16:56
rrot/rurban/pasm_out: b22e4c6 | rurban++ | / (8 files):
enable pasm_out in parrot2, todo failing imcpasm tests

opt2 fails with changed used_once semantics: I0 = 10 is side-effecting, but *can* be removed if I0 is used only once (GH #1036), ...
rrot/rurban/pasm_out: 9117768 | rurban++ | lib/Parrot/Test.pm:
[test] ignore TEST_PROG_ARGS -O2 for opt1.t tests
rrot/rurban/pasm_out: ebc90dc | rurban++ | compilers/imcc/debug.c:
[cage] overlong line
rrot/rurban/pasm_out: 8378619 | rurban++ | / (2 files):
[cage] fix MANIFEST.SKIP, .gitignore
rrot/rurban/pasm_out: a766679 | rurban++ | compilers/imcc/ (3 files):
[codingstd] add docs, ...
rrot/rurban/pasm_out: 7ab677a | rurban++ | / (2 files):
[cage] imcc/embed.h

error: nonnull argument references non-pointer operand with llvm
17:07 bluescreen joined 17:42 Chirag joined 17:48 Chirag_ joined 18:00 Chirag joined 18:06 Chirag joined 18:23 TonyC joined
Chirag Hey! anyone there? 18:24
FROGGS Chirag: me 18:28
Chirag Hey!
FROGGS hey
Chirag I am trying to build Parrot VM
but get an error
Compilation failed with 'cc'
FROGGS can you paste that using a paste service?
Chirag yes
inter::progs - Determine what C compiler and linker to use...Compilation failed with 'cc' 18:29
FROGGS no, don't paste that here
Chirag oh
how?
FROGGS use nopaste.info/ or so
you paste the complete build output there, and after that you paste just the url you got to that channel here 18:30
Chirag nopaste.info/0ff42f62ab.html 18:31
FROGGS Chirag: what C compiler is installed on your box? 18:32
Chirag gcc
i am using ubunti 13.04 18:33
FROGGS okay, please try that then: perl Configure.pl --cc=gcc
Chirag compilation failed with gcc
FROGGS hmmm
what happens if you do: which gcc
Chirag i get the path 18:34
FROGGS weird
Chirag /usr/bin/gcc
i have used it for all my codes
FROGGS please add --verbose to your configure line 18:35
maybe it is midding some headers or so?
missing*
Chirag inopaste.info/4c8746ce0a.html 18:37
FROGGS see ubuntuforums.org/showthread.php?t=1986995 18:38
Chirag i ll do that 18:39
FROGGS cool
Chirag i just upgraded my ubuntu
maybe its corrupt 18:40
FROGGS please report back when that solves your problem
Chirag ok 18:42
done! should have performed a sanity check before itself! sorry for the trouble... 18:47
thanks a lot! 18:48
FROGGS you're welcome :o)
19:03 cotto joined
rurban fixed kids stupid optimized ppc TT #1930 bug (n mod 0.0 => -0) 19:46
double temp needs to be volatile of course 19:47
Chirag: does your gcc work now? 19:50
Chirag yes
rurban good :)
Chirag I was going through args.c 19:51
I had a doubt.. How does CallContext get cached? 19:53
rurban PMC *signature is a CallContext here, call_object also 19:56
Parrot_pcc_build_call_from_varargs checks if there's already a callobj, if not create one 19:57
Chirag ok..
rurban Parrot_pcc_build_sig_object_from_varargs does it not. 19:58
The best is really to debug through it and look at the backtrace 19:59
gdb has nice pretty printers for PMCs
and the STRING class also 20:00
Chirag I will do that..
Its just taking me time to see the flow
rurban Sure. This is super hairy :) Nobody wants to look at it 20:01
Chirag :D
dalek rrot/rurban/pasm_out: a4b6f26 | rurban++ | / (12 files):
[imcc] rename to set_write_pasm, revamp api

Improve docs of the imcc API
pasm_out: Pass the outfile path to set_write_pasm, so that we can initialize it emit_open. Since the lexer doesn't know the outfile name check for NULL in the lexer called emit_open(). Already initialized earlier by the frontend.
The new parrot needs to store the outfile for the pasm out api.
20:05
rrot: d66d188 | rurban++ | / (2 files):
fix TT #1930, optimized ppc: n mod 0.0 failure

we need to use volatile temporaries really with such floats. Fixes t/op/number.t test 50
rrot: a454577 | rurban++ | README.pod:
[docs] README.pod tell that --optimize is recommended for packagers

that it is 2x faster. Now that all known --optimize bugs are fixed (even on powerpc TT #1930)
rrot: 5751818 | rurban++ | src/gc/gc_gms.c:
[cage] gc_gms.c fix compiler cast warnings I introduced
rrot: 5d7461f | rurban++ | compilers/imcc/imc (3 files):
imcc.l: re-add missing optimizer_level and ITPUREFUNC
rrot: 3922e02 | rurban++ | / (8 files):
[config] support __builtin_expect LIKELY/UNLIKELY branch optimizations

add EXPECT,LIKELY,UNLIKELY macros to feature.h as in the linux kernel and perl5 probe for __builtin_expect() support in a new auto::expect configure step
Usage: if (UNLIKELY(var == 0)) fail();
Add emacs mode:c support for test_c.in files, and relax the coda test for this. Should be used in all test_c.in files.
20:22
rrot: cea93bf | rurban++ | ChangeLog:
ChangeLog: add TT #1930 fix
20:26 travis-ci joined
travis-ci [travis-ci] parrot/parrot#966 (master - 5d7461f : Reini Urban): The build is still failing. 20:26
[travis-ci] Change view : github.com/parrot/parrot/compare/4...7461f9445a
[travis-ci] Build details : travis-ci.org/parrot/parrot/builds/20160491
20:26 travis-ci left 20:33 Chirag joined 20:44 travis-ci joined
travis-ci [travis-ci] parrot/parrot#967 (master - cea93bf : Reini Urban): The build has errored. 20:44
[travis-ci] Change view : github.com/parrot/parrot/compare/5...a93bf1b0a8
[travis-ci] Build details : travis-ci.org/parrot/parrot/builds/20161569
20:44 travis-ci left
dalek rrot/rurban/pasm_out: f475d0b | rurban++ | config/gen/config_h/feature_h.in:
[config] support __builtin_expect LIKELY/UNLIKELY branch optimizations

add EXPECT,LIKELY,UNLIKELY macros to feature.h as in the linux kernel and perl5 probe for __builtin_expect() support in a new auto::expect configure step
Usage: if (UNLIKELY(var == 0)) fail();
Add emacs mode:c support for test_c.in files, and relax the coda test for this. Should be used in all test_c.in files.
20:55
rrot/rurban/pasm_out: 0bcca3c | rurban++ | / (25 files):
re-add PASM output to imcc, re-add imcpasm tests

one new IMCCompiler api method: set_to_pasm remove static output in imcc/instructions.c detect .pasm -o outfile extension add and fix old t/compilers/imcc/imcpasm/*.t tests and the pir_2*_
   Parrot::Test methods
change Parrot::Test pir_2_pasm method to use -d1000, which is equivalent
   to pasm output, just to stderr.
use new LIKELY/UNLIKELY macros
rrot/rurban/pasm_out: 6b8b317 | rurban++ | / (8 files):
enable pasm_out in parrot2, todo failing imcpasm tests

opt2 fails with changed used_once semantics: I0 = 10 is side-effecting, but *can* be removed if I0 is used only once (GH #1036), ...
rrot/rurban/pasm_out: 6efeb88 | rurban++ | lib/Parrot/Test.pm:
[test] ignore TEST_PROG_ARGS -O2 for opt1.t tests
rrot/rurban/pasm_out: 29101be | rurban++ | compilers/imcc/debug.c:
[cage] overlong line
rrot/rurban/pasm_out: 2fac34d | rurban++ | / (3 files):
[cage] update MANIFEST{,.SKIP}, .gitignore
rrot/rurban/pasm_out: b579401 | rurban++ | compilers/imcc/ (3 files):
[codingstd] add docs, ...
rrot/rurban/pasm_out: b93659e | rurban++ | / (2 files):
[cage] imcc/embed.h

error: nonnull argument references non-pointer operand with llvm
rrot/rurban/pasm_out: 0df8259 | rurban++ | / (12 files):
[imcc] rename to set_write_pasm, revamp api

Improve docs of the imcc API
pasm_out: Pass the outfile path to set_write_pasm, so that we can initialize it emit_open. Since the lexer doesn't know the outfile name check for NULL in the lexer called emit_open(). Already initialized earlier by the frontend.
The new parrot needs to store the outfile for the pasm out api.
rrot: 42f2c4e | rurban++ | t/ (2 files):
[test] ignore smolder upload failures on make smoke

and smolder_fulltest. fixes GH #1040. Travis should now be useful again
21:18
rrot: 2993801 | rurban++ | docs/pdds/pdd19_pir.pod:
[docs] fix "Discarding return values" GH #1004

According to zefram docs/pdds/pdd19_pir.pod talks about
   sub_label($I0, $I1, $I2)
as "... discards any return values". Actually this is not correct. The quoted code is equivalent to
  () = sub_label($I0, $I1, $I2)
It doesn't save any return values, but if result count checking is enabled then returning any non-zero number of results will cause an exception. Not quite the discarding that the documentation suggests.
I changed the wording to "does not save any return values."
21:28
21:34 travis-ci joined
travis-ci [travis-ci] parrot/parrot#968 (master - 42f2c4e : Reini Urban): The build passed. 21:34
[travis-ci] Change view : github.com/parrot/parrot/compare/c...f2c4ec490b
[travis-ci] Build details : travis-ci.org/parrot/parrot/builds/20164999
21:34 travis-ci left, bluescreen joined 21:46 travis-ci joined
travis-ci [travis-ci] parrot/parrot#969 (master - 2993801 : Reini Urban): The build passed. 21:46
[travis-ci] Change view : github.com/parrot/parrot/compare/4...9380189134
[travis-ci] Build details : travis-ci.org/parrot/parrot/builds/20165633
21:46 travis-ci left
dalek rrot: c33029c | rurban++ | docs/parrotbyte.pod:
[docs] fix parrotbyte.pod

Fixed magic, endian-ness and FloatType 2.
Fixes GH #992, thanks to Zefram.
21:53
rurban yeah, we can now use travis again
22:11 travis-ci joined
travis-ci [travis-ci] parrot/parrot#970 (master - c33029c : Reini Urban): The build passed. 22:11
[travis-ci] Change view : github.com/parrot/parrot/compare/2...3029ca5c3d
[travis-ci] Build details : travis-ci.org/parrot/parrot/builds/20167488
22:11 travis-ci left 22:19 bluescreen_ joined
dalek rrot/ptc/rm_morph-gh372: d279ea9 | rurban++ | / (6 files):
[GH #372] Removed the morph op by a deprecation stub

This is necessary so that we can remove the morph VTABLE as mentioned in GH #372 Bumped PBC_COMPAT to 13.1
22:40
rrot/ptc/rm_morph-gh372: 3e55f4b | paultcochrane++ | t/ (2 files):
[GH #372] Corrected tests using the 'morph' op

Now the test suite passes again :-)
rrot/ptc/rm_morph-gh372: 37b5bd5 | paultcochrane++ | src/ (2 files):
[GH #372] Replaced PMCNULL-setting morphs with the code directly

In src/call/args.c and src/embed/api.c VTABLE_morph() was just setting the called object to PMCNULL. The VTABLE_morph() has been replaced with a macro MORPH_REPLACE_NULL which basically replicates the code in-place. This change should allow us to eventually remove the morph VTABLE entry.
rrot/ptc/rm_morph-gh372: a403ba6 | paultcochrane++ | src/pmc.c:
[GH #372] Replaced VTABLE_morph() in check_set_std_props() with direct assignment

Hopefully this does what was intended (this comment is also part of this change). The tests pass, so at least the probability that nothing is broken is high, but unfortunately not 100%.
rrot/ptc/rm_morph-gh372: ad4de7f | paultcochrane++ | src/pmc/ (3 files):
[GH #372] Removed VTABLE_morph implementations
rrot/ptc/rm_morph-gh372: 65a40c1 | paultcochrane++ | src/vtable.tbl:
[GH #372] Removed the morph() vtable entry
rrot/ptc/rm_morph-gh372: e64e2fb | paultcochrane++ | t/ (2 files):
[GH #372] Removed tests of the morph() vtable after its removal
rurban now: src/pmc.c:1289:25: error: cannot convert ‘PMC*’ to ‘VTABLE* {aka _vtable*}’ in assignment
c++ is so much better checking errors 22:41
done for today
23:06 Psyche^ joined 23:36 kid51 joined
dalek rrot: 15db84b | rurban++ | t/src/extend_vtable.t:
[test] fix t/src/extend_vtable.t duplicate PMCNULL symbol (darwin)

fixes GH #1048.
23:41
23:56 travis-ci joined
travis-ci [travis-ci] parrot/parrot#971 (master - 15db84b : Reini Urban): The build passed. 23:56
[travis-ci] Change view : github.com/parrot/parrot/compare/c...db84b563f0
[travis-ci] Build details : travis-ci.org/parrot/parrot/builds/20174613
23:56 travis-ci left