ChanServ changed the topic of #zig to: zig programming language | ziglang.org | be excellent to each other | channel logs: https://irclog.whitequark.org/zig/
drakonis has quit [Ping timeout: 255 seconds]
cenomla has quit [Quit: cenomla]
hasen_judy has joined #zig
<Elronnd> I know maybe half of those?
hasen_ju_ has joined #zig
hasen_judy has quit [Quit: hasen_judy]
hasen_judy has joined #zig
hasen_ju_ has quit [Ping timeout: 255 seconds]
cenomla has joined #zig
hasen_ju_ has joined #zig
hasen_ju_ has quit [Ping timeout: 252 seconds]
hasen_judy has quit [Quit: hasen_judy]
tiehuis has joined #zig
hasen_judy has joined #zig
cenomla has quit [Quit: cenomla]
pupp has joined #zig
hasen_judy has quit [Quit: hasen_judy]
hasen_judy has joined #zig
hasen_judy has quit [Ping timeout: 252 seconds]
<tiehuis> Elronnd: Fixed the build issues on FreeBSD, seemed as though llvm-config was adding that bad libexecinfo linker argument
<Elronnd> hmmm
<Elronnd> I'll complain to the fbsd folks
<Elronnd> tiehuis: I just pulled, and checked out 'freebsd'. Still getting the '/usr/bin/ld: cannot find -lLLVMLTO' issues
<tiehuis> okay, i haven't encountered that one on a fresh freebsd install unfortunately
<Elronnd> https://0x0.st/srH9.txt here's my link.txt
<Elronnd> what packages did you install?
<tiehuis> one second
<tiehuis> and just the default llvm50 from pkg and other standard ones
<tiehuis> let me try a debug build, i've been doing a release the whole time: https://clbin.com/Cr7MB
Elronnd is now known as Pope
arBmind has joined #zig
<tiehuis> alright, can reproduce it on a debug build
pupp has quit [Ping timeout: 255 seconds]
Pope is now known as Elronnd
pupp has joined #zig
arBmind has quit [Quit: Leaving.]
puppp has joined #zig
pupp has quit [Ping timeout: 248 seconds]
puppp has quit [Read error: Connection reset by peer]
puppp has joined #zig
<Elronnd> ohh
<Elronnd> yeah Ive been doing debug builds
<tiehuis> i'm going to look more into it tomorrow. I'm pretty sure a Release build statically links everything together hence some differences.
<Elronnd> ok
puppp has quit [Read error: Connection reset by peer]
puppp has joined #zig
arBmind has joined #zig
puppp has quit [Ping timeout: 255 seconds]
puppp has joined #zig
hasen_judy has joined #zig
tiehuis has quit [Quit: WeeChat 1.9.1]
hasen_judy has quit [Client Quit]
hasen_judy has joined #zig
hasen_judy has quit [Ping timeout: 252 seconds]
hasen_judy has joined #zig
hasen_judy has quit [Remote host closed the connection]
puppp has quit [Ping timeout: 248 seconds]
hasen_judy has joined #zig
hasen_judy has quit [Ping timeout: 258 seconds]
puppp has joined #zig
hasen_judy has joined #zig
cenomla has joined #zig
cenomla has quit [Quit: cenomla]
cenomla has joined #zig
hasen_judy has quit [Remote host closed the connection]
<andrewrk> Elronnd, tiehuis: note that we don't support debug builds of llvm currently because of a bug in llvm causing an invalid assertion. Should be fixed with the next llvm release.
<andrewrk> Or rather we don't support builds of llvm with assertions on.
hasen_judy has joined #zig
puppp has quit [Read error: Connection reset by peer]
puppp has joined #zig
arBmind has quit [Ping timeout: 252 seconds]
hasen_judy has quit [Remote host closed the connection]
hasen_judy has joined #zig
hasen_judy has quit [Remote host closed the connection]
xoxo_ has joined #zig
cenomla has quit [Read error: Connection reset by peer]
cenomla_ has joined #zig
xoxo_ has quit [Ping timeout: 260 seconds]
cenomla_ has quit [Quit: cenomla_]
hasen_judy has joined #zig
hasen_judy has quit [Ping timeout: 246 seconds]
arBmind has joined #zig
puppp has quit [Ping timeout: 240 seconds]
puppp has joined #zig
cenomla has joined #zig
steveno has joined #zig
<steveno> Hey, I'm trying to build zig on Ubuntu. Anyone around?
nightmared has joined #zig
<steveno> I followed the instructions on building LLVM, libclang, and liblld from source
<steveno> the modified the cmake command to use the new compiler and such in ~/local
<andrewrk> hi steveno
<andrewrk> there's a much easier way on ubuntu
<steveno> do tell
<steveno> lulz didn't know about that
<andrewrk> you want these packages: clang-5.0 libclang-5.0 libclang-5.0-dev llvm-5.0 llvm-5.0-dev liblld-5.0 liblld-5.0-dev cmake
<andrewrk> and then those instructions from the README should work verbatim
<steveno> Roger that. Let me try that.
<steveno> that appears to have worked. Make is no longer exploding.
<steveno> Thank you!
<andrewrk> steveno, you're welcome, if you start an open source project in zig link it here and I'll follow along
pupp has joined #zig
<steveno> Roger that.
puppp has quit [Ping timeout: 255 seconds]
hasen_judy has joined #zig
<steveno> The "Values" example in the documentation doesn't appear to compile
<steveno> type 'fn() -> ArgIterator' does not support field access const nullable_value = if (os.args.count() >= 2) os.args.at(1) else null;
steveno has quit [Quit: steveno]
<andrewrk> steveno, you're right, this is out of date. I'll fix this one when I get off work. Here's the issue for adding tests to verify documentation examples: https://github.com/zig-lang/zig/issues/465
cenomla has quit [Quit: cenomla]
hasen_judy has quit [Ping timeout: 255 seconds]
pupp has quit [Ping timeout: 264 seconds]
<andrewrk> dtzWill, btw did you figure out the commands to get zig building on nixos? -DZIG_EACH_LIB_RPATH=on -DZIG_DYNAMIC_LINKER="$(cc -print-file-name=ld-linux-x86-64.so.2)"
<andrewrk> the configure parameters, I mean. it works out of the box on nixos, no wrapping/patching needed
<dtzWill> oh, great! No Ihaven't had a change unfortunately but tyvm
scurest has joined #zig
hasen_judy has joined #zig
hasen_judy has quit [Ping timeout: 252 seconds]