<bb010g>
Ok, that's more in line with my intuition. Thanks!
plietar has joined #ponylang
<plietar>
vaninwagen: that’s right, auto recovery is more powerful than a consume/recover sequence
<plietar>
consume requires a local variable, whereas auto recovery works with any temporary
<plietar>
Including field access and method call results, as in this example
jemc has joined #ponylang
jemc has quit [Ping timeout: 240 seconds]
_whitelogger has joined #ponylang
endformationage has quit [Quit: WeeChat 1.9.1]
<vaninwagen>
plietar: ^5
<vaninwagen>
Are there any Berlin-based folks around here that would be interested in a pony-meetup?
<vaninwagen>
In early december this year
_whitelogger has joined #ponylang
Foaly has joined #ponylang
Foaly has quit [Quit: Now 'mid shadows deep falls blessed sleep.]
acarrico has quit [Ping timeout: 240 seconds]
TwoNotes has joined #ponylang
<TwoNotes>
I get a segment violation in ponyc during code generation. How can I narrow down which part of my program is causing this so I can submit a reproducer?
<TwoNotes>
I know that it happens in gen_try
jemc has joined #ponylang
Foaly has joined #ponylang
<vaninwagen>
You can run it with gdb or lldb and then get a traceback using the bt command (inside the debugger)
<TwoNotes>
I did that - it is not very specific.
<TwoNotes>
It was not built with symbols
<TwoNotes>
Trouble is, my program is quite large, with many packages. It would be inconvenient to send in, so I need to narrow it down
<vaninwagen>
Hmmm... I think building ponyc with debug symbols would be the way
<vaninwagen>
If that is suitable to you
<TwoNotes>
I did that once before a couple years ago, but am rusty on the process. I guess I would clone the ponyc git to start
acarrico has joined #ponylang
<TwoNotes>
Groan, LLVM version hell. Which version do I need?
<TwoNotes>
3.9.1 apparantly
<vaninwagen>
If cloned from master you can also compile the bundled llvm
<vaninwagen>
make -f Makefile-lib-llvm config=debug ...
<vaninwagen>
But 3.9.1 is the choice
jemc has quit [Ping timeout: 268 seconds]
acarrico has quit [Ping timeout: 268 seconds]
melbot has joined #ponylang
<TwoNotes>
ponyc requires ncurses??
<TwoNotes>
On unsuaul requirement for a compiler
Foaly has quit [Quit: Now 'mid shadows deep falls blessed sleep.]
endformationage has joined #ponylang
<vaninwagen>
If anything the stdlib needs it, i am not aware of any other place where ncurses could be necessary
endformationage has quit [Quit: WeeChat 1.9.1]
endformationage has joined #ponylang
ExtraCrispy has quit [Ping timeout: 256 seconds]
endformationage has quit [Quit: WeeChat 1.9.1]
endformationage has joined #ponylang
<vaninwagen>
Actually i cannot find any explicit use of it in stdlib ... puzzling
travis-ci has joined #ponylang
<travis-ci>
ponylang/ponyc#5463 (master - 1437c32 : [Main]): The build has errored.
<TwoNotes>
Installing 'libncurses5-dev' satisfied that requirement in ponyc
<TwoNotes>
libponyc.tests does not link either, but I do not need it. /usr/bin/ld: build/debug/lib/native/libponyrt.a(except_try_catch.o): relocation R_X86_64_32 against symbol `ponyint_personality_v0' can not be used when making a PIE object; recompile with -fPIC
melbot has quit []
<TwoNotes>
I submitted issue #2935 about the compiler segfault