ChanServ changed the topic of #zig to: zig programming language | ziglang.org | be excellent to each other | channel logs: https://irclog.whitequark.org/zig/
cenomla has joined #zig
cenomla has quit [Quit: cenomla]
brend0n has quit [Remote host closed the connection]
brend0n has joined #zig
cenomla has joined #zig
cenomla has quit [Quit: cenomla]
arBmind has joined #zig
arBmind has quit [Ping timeout: 248 seconds]
jfo has joined #zig
jfo has quit [Quit: Page closed]
dimenus has joined #zig
<ltr_> so it happens that llvm compilation on debug mode does uses more than 16Gb of ram, and i have less than 2Gb of swap , that didnt happened on my old mac with 8gb ram
<dimenus> ld is a memory hog
<dimenus> ltr_, are you building master or release_50?
<ltr_> master
<ltr_> llvm? or zig?
<dimenus> llvm
<dimenus> you may have better luck if you build & enable ldd
<ltr_> 5
<dimenus> *lld
<dimenus> wait
<dimenus> master is llvm6
<dimenus> not 5
<ltr_> llvm5
<ltr_> that is what i built
<dimenus> you may have better luck building & enabling lld
<ltr_> external lld
<ltr_> ?
<dimenus> no, for the llvm tree I mean
<dimenus> this has nothing to do with the zig projects
<ltr_> oh yeah, i was using gnu ld thats what is different from my mac, sometimes i forgot that llvm is not the default on linux
<ltr_> damn llvm.org down
<dimenus> there's a cmake variable that I can't see w/ llvm down
<dimenus> but i think it's LLVM_ENABLE_LLD
<dimenus> that build LLD first and then uses it to link the rest of the suite
<ltr_> oh nice
<ltr_> ill try that
<ltr_> i was able to compile llvm on debug , but with make -j2
<ltr_> i was using make -j8 that was the killer
<dimenus> heh
<ltr_> ill be right back, lunch
<dimenus> i was using ninja and it made my pc basically useless
<ltr_> jajaj
<ltr_> i mean hahah
<ltr_> sorry
<dimenus> no worries, :)
<dimenus> i played on the south american league server awhile ago
<dimenus> i'm used to jajajaj
<ltr_> ok lunch time ill brb
<ltr_> hahah nice
<ltr_> i play dota with friends time to time
<ltr_> that game takes out the worst of people
jfo has joined #zig
jfo has quit [Quit: leaving]
jfo has joined #zig
arBmind has joined #zig
<jfo> andrewrk: printf("%02x", '\v');
<jfo> can I format like that in `warn("{x}", '\v')`?
<jfo> `\v` is arbitrary disregard that
jfo has quit [Ping timeout: 240 seconds]
<ltr_> 2/back
jfo has joined #zig
<ltr_> LLVM_ENABLE_LLD:BOOL
<ltr_> lets see if it freeze now
jfo has quit [Ping timeout: 248 seconds]
brend0n has quit [Remote host closed the connection]
brend0n has joined #zig
jfo has joined #zig
PV_ has quit [Ping timeout: 260 seconds]
<ltr_> im getting this error building zig with custom llvm5 debug build
<ltr_> llvm::EnableABIBreakingChecks
<ltr_> libembedded_lld_elf.a(Driver.cpp.o):(.data+0x0): undefined reference to `llvm::EnableABIBreakingChecks'
cenomla has joined #zig
arBmind has quit [Quit: Leaving.]
arBmind has joined #zig
arBmind has quit [Client Quit]
<andrewrk> jfo, yes
<andrewrk> it's not documented yet but the code is here https://github.com/zig-lang/zig/blob/master/std/fmt/index.zig#L24
<andrewrk> {x90} where "90" is the width
<andrewrk> ltr_, you have to build against LLVM/clang 5.0.0 exactly
<andrewrk> I suspect that release_50 has 5.0.1 in it
<andrewrk> when 5.0.1 is released I'll update embedded_lld to 5.0.1
<andrewrk> we almost can get rid of our LLD fork
<andrewrk> but there's 1 commit that I haven't gotten them to accept upstream
<andrewrk> because we need to solve the root problem rather than add a workaround
<ltr_> mach-o related?
<ltr_> /home/pvd/Devel/llvm5/lib/libclangBasic.a(Targets.cpp.o):(.data+0x0): undefined reference to `llvm::EnableABIBreakingChecks'
<ltr_> that also fail
<ltr_> ok ill use the tarballs from the page to test again
<andrewrk> ltr_, yes mach-o related
<ltr_> i have installed clang 5.0.1 and llvm 5.0.1 without debug information
<ltr_> and zig compiles against them
<ltr_> but when i build them from source it fails with that error
<andrewrk> if we could fix this better we could get rid of our LLD fork
<jfo> andrewrk \o/
<andrewrk> ltr_, I'm not sure why you're getting that undefined symbol error
<ltr_> now im compiling llvm fron the tarballs of the llvm.org page
<ltr_> from*
cenomla has quit [Quit: cenomla]