# Format for this file: # Epoch Channel Nickname Action Message # # All separated with a single space, empty values are replaced with a dash '-' # except messages which are kept empty. # Lines starting with '#' are comments; comments are not allowed except as the only content of the line # 1390177060 - y_morin quit Quit: Nightty Night! 1390181884 - mingwandroid quit Remote host closed the connection 1390183781 #crosstool-ng diorcety1 join 1390183959 - diorcety quit Ping timeout: 272 seconds 1390190106 - djerome quit Remote host closed the connection 1390190525 #crosstool-ng mayron join 1390191245 - mayron quit Remote host closed the connection 1390204517 - diorcety1 quit Quit: Leaving. 1390208314 - philenotfound quit Quit: leaving 1390208981 #crosstool-ng philenotfound join 1390212167 #crosstool-ng aalv join 1390213601 #crosstool-ng mingwandroid join 1390215249 - dzan__ quit Ping timeout: 272 seconds 1390219687 #crosstool-ng dzan__ join 1390221574 #crosstool-ng Net147 join 1390221811 #crosstool-ng loide join 1390222598 #crosstool-ng dzan__ say mingwandroid, hi :) 1390222623 #crosstool-ng dzan__ say mingwandroid, i was debugging the issue a bit and it's at scripts/build/libc/glibc-eglibc.sh-common: linescripts/build/libc/glibc-eglibc.sh-common: line 106scripts/build/libc/glibc-eglibc.sh-common: line 106 106 1390222658 #crosstool-ng dzan__ say it looks for gcc multilibs=( $("${CT_TARGET}-gcc" -print-multi-lib) ) do build libc 1390222663 #crosstool-ng dzan__ say but shouldn't it look for clang? 1390223082 #crosstool-ng mingwandroid say dzan__: well, I don't know if you can build *glibc with clang easily, when I build a clang-y toolchain I also build GCC. 1390223095 #crosstool-ng mingwandroid say dzan__: did you get my build.log? 1390223126 #crosstool-ng dzan__ say mingwandroid, downloading as we speak :) 1390223133 #crosstool-ng dzan__ say i'll try building gcc with 1390223150 #crosstool-ng dzan__ say mingwandroid, when should CT_TARGET be set? it's not in the config rigth? 1390223176 #crosstool-ng mingwandroid say CT_ARCH, CT_VENDOR, CT_OS AFAIR 1390223669 - Net147 quit Quit: HydraIRC -> http://www.hydrairc.com <- IRC with a difference 1390226326 #crosstool-ng An_Ony_Moose join 1390226339 #crosstool-ng An_Ony_Moose say oh! There's been a new release? 1390226377 #crosstool-ng fauno say and my patch couldn't make it :( 1390226435 #crosstool-ng An_Ony_Moose say I've intended to submit a patch for quite a while now but I can't remember how x) 1390227488 #crosstool-ng fauno say An_Ony_Moose: wait a sec 1390227510 #crosstool-ng fauno say An_Ony_Moose: https://sourceware.org/ml/crossgcc/2014-01/msg00042.html 1390229056 #crosstool-ng Martell join 1390229441 #crosstool-ng dzan__ say mingwandroid, you were rigth, when building gcc along it works 1390229460 #crosstool-ng dzan__ say mingwandroid, should be technically able to do without but ok :) 1390229476 #crosstool-ng An_Ony_Moose say weeeeeelll that failed! 1390229484 #crosstool-ng dzan__ say mingwandroid, when compiling with the resulting toolchain: hello.c:1:10: fatal error: 'stdio.h' file not found 1390229487 #crosstool-ng An_Ony_Moose say segfault on "Installing final compiler" 1390229488 #crosstool-ng An_Ony_Moose say :( 1390229504 #crosstool-ng dzan__ say gheh An_Ony_Moose what segfaulted? 1390229544 #crosstool-ng mingwandroid say dzan__: hmm, ok. I'll need to do some patching for that then :-( 1390229566 #crosstool-ng dzan__ say mingwandroid, you rock! :-) 1390230091 #crosstool-ng dzan__ say mingwandroid, if you point me to the issue maybe I can solve it for you 1390230200 #crosstool-ng mingwandroid say dzan__: thanks ;-) dirocety did most of the clang bits though to be honest. 1390230205 - Martell quit Ping timeout: 272 seconds 1390230258 #crosstool-ng dzan__ say mingwandroid, he's not on irc then? If I can help to get this issue fixed i'm all set 1390230306 #crosstool-ng An_Ony_Moose say dzan__: gcc I think. I was stupid enough to relaunch it before recovering build.log though >_> 1390230312 #crosstool-ng mingwandroid say dzan__: Well, there's various patches to aid the finding of the headers. AFAIR, Clang is never told of the actual sysroot folders that we specify to GCC/*glibc. 1390230354 #crosstool-ng mingwandroid say dzan__: there's e.g. crosstool-ng/patches/clang/head/140-default-gcc-paths.patch 1390230360 #crosstool-ng An_Ony_Moose say anyway, trying again with 1.19.0 (was on 1.18.0) and all packages updated 1390230366 #crosstool-ng dzan__ say An_Ony_Moose, enable build step saving :-) and debug output then just execute what ct did manually with vallgrind 1390230408 #crosstool-ng dzan__ say mingwandroid, i'l have a look at that patch 1390230421 #crosstool-ng dzan__ say mingwandroid, iirc there is a flag to make clang show where he's looking right? 1390230430 #crosstool-ng mingwandroid say just -v 1390230435 #crosstool-ng An_Ony_Moose say dzan__: where are those options? 1390230446 #crosstool-ng mingwandroid say compare and contract with gcc -v hello-world.c for example. 1390230501 #crosstool-ng dzan__ say An_Ony_Moose, if you use nconfig on your config file the first entry (paths & misc ) has debug options you can enable 1390230502 #crosstool-ng mingwandroid say dzan__: other thing to do is to use CT_DEBUGGABLE_TOOLCHAIN=y .. I added that. 1390230524 #crosstool-ng An_Ony_Moose say dzan__: thanks 1390230526 #crosstool-ng dzan__ say mingwandroid, what does that do/enable? 1390230534 #crosstool-ng mingwandroid say "-O0 -ggdb", no stripping. 1390230537 #crosstool-ng An_Ony_Moose say ugh why must compiling all the tools take so long though :( 1390230558 #crosstool-ng dzan__ say An_Ony_Moose, that why those steps are useful :) you can restart from where it crashed 1390230768 #crosstool-ng dzan__ say mingwandroid, http://paste.debian.net/77399/ guess line 12 & 13 are the issue? :p 1390230795 #crosstool-ng mingwandroid say dzan__: yeah, now it's ringing some bells! 1390230855 #crosstool-ng mingwandroid say dzan__: so we added Prefix calculation patches (search for "Driver::Prefix" or "Prefix" in the src or patches) but they don't get hit when doing C Preprocessor AFAIR .. 1390230887 #crosstool-ng mingwandroid say dzan__: now, it's been a week or two since I looked at it and will be a few days before I can get back to it. 1390231000 #crosstool-ng mingwandroid say dzan__: you may be able to pass -isysroot on the clang commandline (but I don't recommend that as it's a Darwin GCC 4.2.1 option that we ported across to Clang) 1390231059 #crosstool-ng dzan__ say mingwandroid, ok i'll try the isysroot for now, ping me if there would be a solution :-) 1390231069 #crosstool-ng dzan__ say mingwandroid, is it a problem I have a custom 'triple' name? the vendor is set 1390231269 #crosstool-ng dzan__ say mingwandroid, passed the prefixdir or the ct build as isysroot without result ( just letting you know ) 1390231771 #crosstool-ng An_Ony_Moose say dzan__: I don't want "Debug crosstool-ng", right? 1390231816 #crosstool-ng dzan__ say An_Ony_Moose, if you want to save the intermediate steps you do 1390231823 #crosstool-ng dzan__ say iirc 1390231833 #crosstool-ng geiser join 1390231833 #crosstool-ng dzan__ say enabling it will show you the other option 1390231837 #crosstool-ng An_Ony_Moose say aah yes 1390231837 #crosstool-ng An_Ony_Moose say thanks 1390231881 #crosstool-ng tagpin join 1390232023 #crosstool-ng An_Ony_Moose say Is there a way to display all the config options that have been changed from their initial values? 1390232246 #crosstool-ng mingwandroid say dzan__: I think someone is going to have to roll their sleves up and get stuck into solving the bug properly to be honest with you. 1390232289 #crosstool-ng dzan__ say mingwandroid, that sucks, I don't have time for that :p maybe have to switch to building without ct then for now.. 1390232302 #crosstool-ng dzan__ say An_Ony_Moose, yes do a diff of the .config against .config.old 1390232304 #crosstool-ng mingwandroid say dzan__: we checked as far as cross Darwin working correctly and maybe native Linux and that it compiles on Windows but not really much beyond that. 1390232329 #crosstool-ng dzan__ say mingwandroid, ok I see :) 1390232342 #crosstool-ng mingwandroid say dzan__: I think you'll probably run into the same issue, that Clang isn't very good at searching for headers. 1390232385 #crosstool-ng dzan__ say mingwandroid, so clang/llvm isn't used a lot atm for cross compiling? but I thought google's ndk for android used it by default now 1390232450 #crosstool-ng An_Ony_Moose say dzan__: and for the config you get when you simply run ct-ng menuconfig and exit? 1390232478 #crosstool-ng dzan__ say An_Ony_Moose, yes it should create an .config.old 1390232486 #crosstool-ng dzan__ say but i'm always using nconfig instead of menuconfig so not sure 1390232500 #crosstool-ng mingwandroid say yeah, but they don't build with weird sysroot folder that ctng uses in general: 1390232524 #crosstool-ng mingwandroid say e.g. I have prefix/x86_64-apple-darwin10/sysroot/include .. 1390232528 #crosstool-ng An_Ony_Moose say dzan__: but if I go into menuconfig multiple times it will replace the config.old won't it? 1390232542 #crosstool-ng mingwandroid say now if I had: prefix/x86_64-apple-darwin10/include then it'd probably be fine. 1390232553 #crosstool-ng An_Ony_Moose say Oh wait I can use ct-ng saveconfig and just look at the file that creates 1390232555 #crosstool-ng mingwandroid say you may want to try to specify CT_SYSROOT as "." instead of sysroot, maybe. 1390232572 #crosstool-ng mingwandroid say .. it's a bit of a hack 1390232607 #crosstool-ng mingwandroid say CT_FORCE_SYSROOT=y 1390232607 #crosstool-ng mingwandroid say CT_USE_SYSROOT=y 1390232607 #crosstool-ng mingwandroid say CT_SYSROOT_NAME="sysroot" 1390232773 #crosstool-ng shnyap join 1390233093 - tagpin quit Ping timeout: 272 seconds 1390233093 - geiser quit Ping timeout: 272 seconds 1390233187 - shnyap quit Ping timeout: 260 seconds 1390233236 #crosstool-ng dzan__ say mingwandroid, thanks i'll try that but I won't get the results today anymore :p took 2 hours :p 1390233319 #crosstool-ng Martell join 1390233401 #crosstool-ng mingwandroid say maybe CT_SYSROOT_NAME="./." or something, i seem to remember that some specific values are disallowed! 1390233413 #crosstool-ng mingwandroid say but those restrictions could be removed too. 1390234069 #crosstool-ng dzan__ say mingwandroid, trying as we speak i'll let you know 1390234122 #crosstool-ng dzan__ say Sysroot name contains forbidden slash(es): './.' ;-) 1390234191 #crosstool-ng dzan__ say Sysroot name is set to '.' which is forbidden 1390234214 #crosstool-ng mingwandroid say urgh, remove those checks I reckon! 1390234267 #crosstool-ng dzan__ say doing so :) 1390236036 #crosstool-ng An_Ony_Moose say aaaaand the error didn't happen this time OH WELL 1390237042 #crosstool-ng jopaweb join 1390237707 - jopaweb quit Ping timeout: 252 seconds 1390238266 #crosstool-ng y_morin join 1390239204 #crosstool-ng memleak join 1390239271 #crosstool-ng memleak say hello! i'm using make 3.82 trying to compile glibc 2.18 for arm and i'm getting a "cannot remove /usr/include/limits.h: permission denied" y_morin i believe you found a fix for this? 1390239309 #crosstool-ng memleak say using the latest hg checkout of "default" branch, head is at "adding patch for glibc 2.10.1 for make 3.82 and later" 1390239527 #crosstool-ng memleak say glibc log is at pastebin.com/pRPPWac2 1390239884 #crosstool-ng y_morin say memleak: No, that's a different issue. I don't know why/how it happens, I never had it on my machine... 1390239890 #crosstool-ng y_morin say memleak: what's your host distro? 1390239982 #crosstool-ng memleak say sadly it's archlinux 1390239993 #crosstool-ng memleak say i should really move back to gentoo 1390240038 #crosstool-ng y_morin say memleak: Yes, IIRC, the other reports about this /usr/include failure all occured on Arch. 1390240061 #crosstool-ng y_morin say But as I do not have Arch here (only Debian or Ubuntu), I can't test. 1390240186 #crosstool-ng memleak say ok back to gentoo! thanks y_morin not a problem, ill make the switch 1390240194 #crosstool-ng memleak say this distro sucks 1390240226 #crosstool-ng fauno say haha 1390240245 #crosstool-ng fauno say i us ct-ng on parabola with the same toolchain from arch and it doesn't throw this error 1390240249 #crosstool-ng fauno say use* 1390240271 #crosstool-ng fauno say not for arm though 1390240818 #crosstool-ng memleak say is crosstool-ng stable enough to be used for a complete distribution?? 1390240846 #crosstool-ng memleak say i have an ARM board and i rather cross compile everything to it than compile natively and i could see crosstool-ng saving me a lot of time 1390240910 #crosstool-ng y_morin say memleak: Yes, I use it all the time to generate ARM (mostly) and MIPS (a bit) compelte setups (from kernel to userland) with Buildroot. 1390240915 #crosstool-ng y_morin say memleak: works like a charm. 1390240930 #crosstool-ng y_morin say memleak: What board is it you're using? 1390240957 #crosstool-ng memleak say cubieboard2 with an allwinner a20 cortex a7 MP dual core processor 1390241028 #crosstool-ng memleak say cross compiling with an AMD FX-4350 4.2 GHz quad core so its a lot faster :P 1390241033 #crosstool-ng y_morin say memleak: That should be pretty easy to setup. 1390241042 #crosstool-ng memleak say it is :) 1390241084 #crosstool-ng memleak say ive got u-boot a custom kernel and all kinds of stuff running on it right now, just wanted to make sure i can build more than firmware and kernels 1390241154 #crosstool-ng y_morin say memleak: I know some guys even go as far as building Qt, Xorg and other large userspace with toolchains built with ct-ng. :-) 1390241186 #crosstool-ng memleak say perfect that's what i need! 1390241537 #crosstool-ng diorcety join 1390241768 #crosstool-ng memleak say y_morin, for the cortex-a7 optimization you think i should put it under mtune or mcpu? 1390241827 - Martell quit Ping timeout: 272 seconds 1390241836 #crosstool-ng y_morin say memleak: Both. :-p 1390241850 #crosstool-ng memleak say you can do that? 1390241876 #crosstool-ng y_morin say memleak: -mcpu tells what actual CPU to emit instructions for; -mtune tells what CPU to order intructions for. 1390241888 #crosstool-ng y_morin say memleak: man gcc <- will tell you you can. ;-) 1390241937 #crosstool-ng memleak say i read the official gcc documentation actually but it said mtune can have better performance than mcpu under some circumstances, didn't know you could use both though 1390242001 #crosstool-ng memleak say one other thing it doesn't talk about is the vfpv4-neon option. the vfpv4 unit it has is d16, if i use vfpv4-neon will it use vfpv4-d32 or d16 with neon instructions? 1390242011 #crosstool-ng y_morin say memleak: They are not exclusive. You can specify both. Although if you provide the same value to both, then -mtune is not needed. 1390242105 #crosstool-ng y_morin say memleak: Not sure about neon... :-/ 1390242195 #crosstool-ng aalv part 1390242308 #crosstool-ng memleak say well if you don't specify -d16 or -fp16 for -mfp will it compile by default 32? 1390242357 #crosstool-ng memleak say (hinting that vfpv4 is basically vfpv4-d32 even though vfpv4-d32 isn't a specific flag) 1390242423 #crosstool-ng memleak say i've been wondering about all that for years and the docs aren't clear at all about it 1390242676 #crosstool-ng alan_o join 1390242731 #crosstool-ng y_morin say memleak: I don't know. I sually let gcc decide, and it has always worked so far... 1390242736 #crosstool-ng y_morin say *usually 1390242771 #crosstool-ng memleak say ok :) 1390242803 #crosstool-ng y_morin say memleak: But if you know your FPU, then you may want to specify it explicitly. YMMV, as they say... ;-) 1390242900 #crosstool-ng memleak say wow i had to dig through the gcc source to find this out! 1390242968 #crosstool-ng memleak say gcc/config/arm/arm.c about 800 lines down, vfpv4 is d32 (as i assumed) and neon-vfpv4 is d32 (hoping it was d16 but it is rather d32) so for my a7 i really shouldn't be using vfpv4-neon considering the FPU only supports d16 1390243006 #crosstool-ng memleak say yet the kernel loaded... i guess ARM processors can still understand and emulate D32 even if they don't have it? 1390243097 #crosstool-ng y_morin say memleak: the kernel does not use floating points. 1390243124 #crosstool-ng y_morin say memleak: The real test is with floating point in userland. 1390243136 #crosstool-ng memleak say ah so basically my distro would have been broken :P 1390243194 #crosstool-ng memleak say i wish there was a vfpv4-neon-d16 xD 1390243209 - loide quit Read error: Connection reset by peer 1390243235 #crosstool-ng y_morin say memleak: I guess your best bet would be with vfpv4-d16, no? 1390243299 #crosstool-ng memleak say you are correct i'm just saying truly ideally 1390243602 #crosstool-ng An_Ony_Moose say y_morin: is this useful? http://soundray.org/linus/casio-sample.tar.gz 1390243661 #crosstool-ng y_morin say An_Ony_Moose: What's in there? 1390243707 #crosstool-ng y_morin say Ah, a sample... 1390243738 #crosstool-ng y_morin say An_Ony_Moose: Well, you can submit it, yes! :-) 1390243762 #crosstool-ng An_Ony_Moose say How? Can I just say "I hereby submit the sample I just posted a link to"? :P 1390243790 #crosstool-ng y_morin say An_Ony_Moose: Send a patch to the list. 1390243808 #crosstool-ng An_Ony_Moose say do I have to do mercurial stuff for that? 1390243822 #crosstool-ng An_Ony_Moose say Because I don't have mercurial and can't *really* be bothered to install it... 1390243863 #crosstool-ng loide join 1390243865 #crosstool-ng y_morin say An_Ony_Moose: On principle, yes. But if you just send the tarball as-is, with a Signed-of-by: Your Name " in the mail body, I'll add it myself. 1390243900 #crosstool-ng y_morin say An_Ony_Moose: "Signed-of-by" is described there: http://elinux.org/Developer_Certificate_Of_Origin 1390243924 #crosstool-ng y_morin say "Signed-off-by", even... 1390243943 #crosstool-ng memleak say y_morin, do you plan on ever switching to git? 1390244047 #crosstool-ng y_morin say memleak: Yes, I had hoped to do it before Christmas, but I'm late on it (need to upgrade the VM first) 1390244064 #crosstool-ng An_Ony_Moose say Um, the crossgcc mailing list? 1390244068 #crosstool-ng y_morin say An_Ony_Moose: Yes. 1390244105 #crosstool-ng y_morin say An_Ony_Moose: As instructed on: http://crosstool-ng.org/#contacts 1390244185 #crosstool-ng memleak say i take it the mailing list used to get spammed a lot judging from this line here: "You are a nice girl from Russia (or wherever), and you have pictures of your big breast to show me." 1390244229 #crosstool-ng y_morin say memleak: Not really, I picked that from somewhere else, and since it made me laugh, I replicated it. :-) 1390244260 #crosstool-ng memleak say heh :) 1390244324 #crosstool-ng An_Ony_Moose say shent! 1390244356 #crosstool-ng y_morin say An_Ony_Moose: Thanks! 1390244432 #crosstool-ng dvaerghoffmann join 1390244448 #crosstool-ng dvaerghoffmann say y_morin: Here. I'am 1390244449 #crosstool-ng dvaerghoffmann say :) 1390244485 #crosstool-ng y_morin say dvaerghoffmann: :-) 1390244491 #crosstool-ng dvaerghoffmann say tried a grep -i usleep .config within my ct-ng profile 1390244494 #crosstool-ng dvaerghoffmann say no result 1390244583 #crosstool-ng y_morin say dvaerghoffmann: That's because it's a uClibc option, not a ct-ng one. 1390244615 #crosstool-ng y_morin say dvaerghoffmann: And it's removed if you don't set UCLIBC_SUSV3_LEGACY 1390244620 #crosstool-ng dvaerghoffmann say ahhh 1390244650 #crosstool-ng dvaerghoffmann say is it the same like 'Use obsolte features'? 1390244705 #crosstool-ng y_morin say dvaerghoffmann: No, that is a crostool-NG option. You need to first configure your uClibc manually, then configure crostool-Ng to use the uClibc's .config file you generated. 1390244712 #crosstool-ng dvaerghoffmann say i see 1390244728 #crosstool-ng y_morin say GTG for dinner. Back later tonight (GMT+1) 1390244796 #crosstool-ng y_morin say An_Ony_Moose: Just a quicky before I go for dinner: your sample has not yet arrived on the list. Don;t post HTML mail, it's gonna be rejected by the list server. 1390244802 #crosstool-ng y_morin say Now, I'm off... 1390245218 - blueness quit Read error: Connection reset by peer 1390245840 #crosstool-ng dvaerghoffmann part 1390246746 - mingwandroid quit Remote host closed the connection 1390246820 #crosstool-ng forsergey join 1390247131 - forsergey quit Remote host closed the connection 1390247944 #crosstool-ng sergeypronin join 1390248015 #crosstool-ng mingwandroid join 1390248033 #crosstool-ng borisprivet join 1390248805 - borisprivet quit Ping timeout: 246 seconds 1390248806 #crosstool-ng smartin_ join 1390252936 - loide quit Quit: Saindo 1390253101 #crosstool-ng loide join 1390253320 - loide quit Client Quit 1390254649 #crosstool-ng mingwandroid_ join 1390254789 - mingwandroid quit Ping timeout: 248 seconds 1390254829 - sergeypronin quit K-Lined 1390255900 #crosstool-ng memleak say hey y_morin you seem like a really cool guy 1390255962 #crosstool-ng y_morin say Thanks! :-) 1390255975 #crosstool-ng memleak say that' 1390255975 #crosstool-ng memleak say s like the 10th time i saw someone k-lined 1390256028 #crosstool-ng memleak say so we're friends? :) 1390256062 #crosstool-ng y_morin say K-lined? 1390256106 #crosstool-ng memleak say yeah basically just an IP-address ban from freenode 1390256128 #crosstool-ng memleak say i'm in a few channels and everyone is getting k-lined like crazy, and now this channel too 1390256264 #crosstool-ng y_morin say Ah, wikipedia says what k-lined means. Did not know... 1390256711 #crosstool-ng blueness join 1390257003 #crosstool-ng memleak say i got k-lined once for trolling thats why i know 1390257015 #crosstool-ng memleak say IRC and thirteen year olds don't mix 1390257243 - An_Ony_Moose quit Ping timeout: 252 seconds 1390260648 - y_morin quit Quit: nighty Night!