# 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 # 1357430954 #crosstool-ng wayne join 1357431031 #crosstool-ng wayne say is mpfr.org down. tried to do a build and the site keeps timing out. 1357431204 - wayne quit Client Quit 1357431553 #crosstool-ng tiredbones join 1357433018 #crosstool-ng Net147 join 1357434216 - diorcety quit Read error: No route to host 1357434676 - al` quit Ping timeout: 248 seconds 1357435183 - Net147 quit Ping timeout: 245 seconds 1357435256 #crosstool-ng Net147 join 1357436266 #crosstool-ng tkil say wayne -- it's often called "subversion" in package managers. 1357436296 #crosstool-ng tkil say e.g., $ rpm -qf `which svn` => subversion-1.6.18-1.fc16.x86_64 1357438613 - mingwandroid quit Quit: Leaving. 1357438782 - smartin quit Quit: leaving 1357440566 #crosstool-ng tiredbones say thanks tkil 1357444957 - tiredbones quit Quit: Leaving 1357449682 - ubergeek42 quit Read error: Operation timed out 1357454439 - alan_o quit Quit: Leaving 1357457899 - Net147 quit Quit: HydraIRC -> http://www.hydrairc.com <- Go on, try it! 1357458228 #crosstool-ng Net147 join 1357460292 #crosstool-ng mingwandroid join 1357460574 - mingwandroid quit Ping timeout: 240 seconds 1357460924 #crosstool-ng smartin join 1357460978 #crosstool-ng plfiorini join 1357460982 #crosstool-ng plfiorini say hi 1357463701 - Net147 quit Read error: Connection reset by peer 1357463810 - sfan5|OFF nick sfan5 1357465042 #crosstool-ng diorcety join 1357466860 #crosstool-ng Net147 join 1357469140 #crosstool-ng y_morin join 1357474229 #crosstool-ng mingwandroid join 1357480879 - plfiorini quit Ping timeout: 272 seconds 1357481267 #crosstool-ng plfiorini join 1357481479 - Net147 quit Quit: HydraIRC -> http://www.hydrairc.com <- Chicks dig it 1357485204 #crosstool-ng ubergeek42 join 1357486028 - sh4rm4 quit Remote host closed the connection 1357486131 #crosstool-ng sh4rm4 join 1357489228 - diorcety quit Quit: Leaving. 1357490531 #crosstool-ng mingwandroid say y_morin: hello. 1357490552 #crosstool-ng y_morin say mingwandroid: howdy? 1357490571 #crosstool-ng mingwandroid say not bad. I'm hacking away at this cctools stuff again... 1357490597 #crosstool-ng mingwandroid say I've got the patch sizes down a lot and am splitting them up into a sensible series. 1357490599 #crosstool-ng y_morin say hehe! ;-) 1357490655 #crosstool-ng mingwandroid say one thing... you remember that we agreed that it'd be better if I find the SDK headers that we need on opensource.apple.com? 1357490716 #crosstool-ng y_morin say mingwandroid: yes. The idea would be to download them at runtime. 1357490740 #crosstool-ng y_morin say mingwandroid: Then your scripts would do, well, whatever they ahve to do to use those headers. 1357490767 #crosstool-ng herdingcat join 1357490775 #crosstool-ng herdingcat say anyone can have a look? http://fpaste.org/nv8H/ ? 1357490848 #crosstool-ng y_morin say herdingcat: what version of crosstool-NG? 1357490892 #crosstool-ng herdingcat say y_morin, the latest released version 1357490902 #crosstool-ng y_morin say herdingcat: which is? 1357490906 #crosstool-ng herdingcat say y_morin, 1.17.0 1357490923 #crosstool-ng y_morin say OK. Lemme see one thing... 1357490948 #crosstool-ng herdingcat say y_morin, thank you mate 1357491090 #crosstool-ng y_morin say herdingcat: could you try with the latest version in the repository? There has been a few enhancement to that 'staic build failing' message. 1357491107 #crosstool-ng y_morin say herdingcat: it should now tell you exactly what is failing (rather than this generic message). 1357491117 #crosstool-ng y_morin say staic -> static 1357491131 #crosstool-ng herdingcat say y_morin, sure, no problem. BTW, do I have to be root to do that? 1357491139 #crosstool-ng herdingcat say y_morin, I mean ct-ng build 1357491139 #crosstool-ng y_morin say mingwandroid: Any problem with the above statements? 1357491153 #crosstool-ng y_morin say herdingcat: No, you should *not* be root. 1357491166 #crosstool-ng y_morin say herdingcat: being root is alomost always a bad idea. 1357491194 #crosstool-ng y_morin say herdingcat: And if you even have to think "Should I be root to do that?" then the answer is almost invariably "No." ;-) 1357491236 #crosstool-ng y_morin tell thinks 'sudo' was a very, very bad idea, after all. Especially password-less sudo... Sigh... 1357491273 #crosstool-ng herdingcat say y_morin, okay, I didn;t use sudo/root 1357491286 #crosstool-ng mingwandroid say y_morin: sorry, got distracted... 1357491306 #crosstool-ng y_morin say herdingcat: logging in as root is also a Very Bad Idea (TM) ;-) 1357491309 #crosstool-ng mingwandroid say y_morin: no that's fine and I agree with it 100% and I think we can make that work for 1357491350 #crosstool-ng mingwandroid say y_morin: cctools. however, to build libgcc and crt*.o files, dylib files from Mac OSX SDK are needed at present. 1357491391 #crosstool-ng y_morin say mingwandroid: Hmm, repeat that for me. What does that mean? 1357491445 #crosstool-ng mingwandroid say y_morin: so cctools == apple's binutils. I'm mostly sure that these can be built fine without the Mac OSX SDK, downloading, at build time, components from opensource.apple.com.. 1357491465 #crosstool-ng y_morin say mingwandroid: Very good! 1357491477 #crosstool-ng herdingcat say huh? 1357491498 #crosstool-ng herdingcat say After ct-ng build failed, there's no build.log in my work dir 1357491506 #crosstool-ng herdingcat say It makes me confused, 1357491506 #crosstool-ng mingwandroid say y_morin: however, during the build of gcc or llvmgcc, the crt files and libgcc need to link against libSystem.dylib (which shared links to 25 other dylibs) which are part of the Mac OSX SDK. 1357491536 #crosstool-ng y_morin say mingwandroid: those are libs for the target, right? 1357491543 #crosstool-ng mingwandroid say y_morin: yes. 1357491554 #crosstool-ng y_morin say mingwandroid: and we do not have the sources for those libs 1357491571 #crosstool-ng y_morin say right? 1357491587 #crosstool-ng mingwandroid say y_morin: AFAIK that is the case yes. 1357491623 #crosstool-ng y_morin say mingwandroid: then we have to download those pre-built libs to be able to build crt*.o and libgcc* and some other stuff? 1357491670 #crosstool-ng mingwandroid say y_morin: we'd require the user to point us at their Mac OSX SDK to build gcc/llvmgcc (I'm not sure about clang/llvm as I've not looked at them yet) 1357491682 #crosstool-ng herdingcat say y_morin, can you help me w/ that? After ct-ng build failed, there's no build.log in my work dir 1357491709 #crosstool-ng herdingcat say y_morin, and config file is disappeared as well. 1357491729 #crosstool-ng y_morin say herdingcat: just a sec... 1357491774 #crosstool-ng y_morin tell really can't do two IRC discussions, reg-test build the ct-ng latest code, hack on buildroot, read mails, all at the same time... 1357491785 #crosstool-ng y_morin tell should buy a second brain... :-] 1357491801 #crosstool-ng y_morin say mingwandroid: you mean, we can't download those libs ? 1357491817 #crosstool-ng y_morin say herdingcat: Just a sec, I'm preparing a test-case for you to test... 1357491859 #crosstool-ng herdingcat say y_morin, okay 1357491875 #crosstool-ng herdingcat say y_morin, .config also disappeared. 1357491880 #crosstool-ng y_morin tell also wonders what on earth is stealing ~100MiB/s bandwidth on his disks... :-( 1357491962 #crosstool-ng crazedpsyc say check iotop? 1357491970 #crosstool-ng y_morin say herdingcat: do you have the .config somewhere else? 1357492004 #crosstool-ng y_morin say crazedpsyc: iotop requires task accounting (or some such) in the kernel, which I do not have... 1357492020 #crosstool-ng mingwandroid say y_morin: AFAIK, the SDK only *seems* to be available as part of Xcode with a EULA that states that you'll only use it on "Apple Branded Hardware": 1357492031 #crosstool-ng mingwandroid say "You agree not to install, use or run the SDK on any non-Apple branded computer, or to enable others to do so" 1357492034 #crosstool-ng mingwandroid say http://images.apple.com/legal/sla/docs/xcode.pdf 1357492044 #crosstool-ng crazedpsyc say y_morin: ah, lame 1357492069 #crosstool-ng herdingcat say y_morin, no 1357492083 #crosstool-ng herdingcat say y_morin, after ct-ng build .config gone 1357492087 #crosstool-ng herdingcat say y_morin, what magic? 1357492110 #crosstool-ng y_morin say mingwandroid: Ah, this is a PITA... We have no choice but to let the user enter the PATH to his/her SDK, then... 1357492156 #crosstool-ng y_morin say herdingcat: Can you check in the install prefix of the toolchain, if there is an executable named *-ct-ng.config (or smthg like that) 1357492187 #crosstool-ng huli_ join 1357492201 #crosstool-ng mingwandroid say y_morin: I'd still quite like to allow people who want to to build cctools without forcing an SDK to be identified? I don't know, but I suspect that llvm/clang may be buildable without requiring these dylibs to be present... 1357492230 #crosstool-ng y_morin say mingwandroid: Well, if the libs are optional, then we *do* want to build without them. 1357492244 #crosstool-ng mingwandroid say y_morin: and llvmgcc/gcc are being deprecated by llvm/clang anyway. 1357492259 #crosstool-ng y_morin say mingwandroid: if they are a nice-to-have, we can later add an option to use them. Optionally. 1357492290 #crosstool-ng mingwandroid say y_morin: ok, so proceed with cctools downloading headers at build time, then when it comes to gcc/llvmgcc later we'll have to add a configure argument for the user to identify the SDK? 1357492302 #crosstool-ng y_morin say herdingcat: the toolchain is by default install in ${HOME}/x-tools/tuple/ 1357492332 #crosstool-ng y_morin say herdingcat: tuple being replaced by the toolchain tuple, of course (arm-unknown-eabi in your case, I think) 1357492350 #crosstool-ng y_morin say mingwandroid: Yes, sounds good to me. :-) 1357492398 - herdingcat quit Ping timeout: 264 seconds 1357492442 #crosstool-ng huli_ say y_morin, noticed the issue, fixed seems 1357492450 #crosstool-ng huli_ say y_morin, Retrieving needed toolchain components' tarballs 1357492461 #crosstool-ng huli_ say y_morin, I think it should be in the doc 1357492466 #crosstool-ng y_morin say huli_ == herdingcat ? 1357492472 #crosstool-ng huli_ say y_morin, agreed. 1357492477 #crosstool-ng mingwandroid say y_morin: ok. cool. so far, I've found 95% of the headers needed... there are some however, that are procedurally generated from some .defs files... I may need to compile the generator program for those :-( 1357492479 #crosstool-ng huli_ tell nods 1357492534 #crosstool-ng y_morin say Got to go for a little while... Bak in < 10 min 1357492858 #crosstool-ng y_morin say huli_: See: http://crosstool-ng.org/download/ibot-logs/ <-- there are few questions for you at the end of the log... 1357493009 #crosstool-ng y_morin say huli_: Sorry, will give corect url in a sec... 1357493046 #crosstool-ng y_morin say huli_: http://crosstool-ng.org/download/ibot-logs/today.html#quick-17:09:16 1357493063 #crosstool-ng y_morin say huli_: http://crosstool-ng.org/download/ibot-logs/today.html#quick-17:11:42 1357493235 #crosstool-ng huli_ say y_morin, thanks mate. 1357493271 #crosstool-ng huli_ say y_morin, btw, I encounter this error when downloading: Not at this location: "http://www.mpfr.org/mpfr-3.1.0//mpfr-3.1.0" 1357493279 #crosstool-ng huli_ say y_morin, I cannot access the url 1357493394 #crosstool-ng y_morin say huli_: Could that be that MPFR changed their layout?... Checking... 1357493428 #crosstool-ng y_morin say Hmm... Looks like mpfr.org is down... :-( 1357493465 #crosstool-ng y_morin say huli_: Can you access mpfr.org from a browser? 1357493480 #crosstool-ng huli_ say y_morin, cannot 1357493490 #crosstool-ng huli_ say y_morin, so can I use Fedora rpm package? 1357493512 #crosstool-ng y_morin say huli_: Nope. Distro's packages are already patched. ct-ng wants the upstream versions... 1357493513 #crosstool-ng mingwandroid say mpfr.org is often down eh? 1357493539 #crosstool-ng y_morin say huli_: I'll put a copy on the crostool-ng.org mirror. Just a sec... 1357493578 #crosstool-ng huli_ say y_morin, thanks 1357493625 #crosstool-ng y_morin say huli_: actually, it's already there. 1357493654 #crosstool-ng huli_ say y_morin, how can I download it? 1357493664 #crosstool-ng y_morin say huli_: In the ct-ng menuconfig: Paths and misc options --> [*] Use a mirror 1357493666 #crosstool-ng huli_ say y_morin, and after download when I shall put ? 1357493679 #crosstool-ng y_morin say huli_: the default location is already setup to use crosstool-ng.org as the mirror. 1357493679 #crosstool-ng huli_ say y_morin, reconfigure? 1357493709 #crosstool-ng y_morin say huli_: jsut run: ct-ng menuconfig, and navigate to: Paths and misc options, the select [*] Use a mirror 1357493716 #crosstool-ng y_morin say *then select... 1357493763 #crosstool-ng huli_ say y_morin, done, do I need to select Only use mirror (NEW) ? 1357493775 #crosstool-ng y_morin say huli_: Nope. 1357493791 #crosstool-ng y_morin say huli_: ct-ng will try the mirror if it can not download from the upstream sources. 1357493799 #crosstool-ng huli_ say y_morin, okay, then save config? 1357493807 #crosstool-ng huli_ say y_morin, run ct-ng build? 1357493829 #crosstool-ng y_morin say huli_: and the mirror (crosstool-ng.org) is hosted gratis so I'd rather not we use too much bandwidth from it. 1357493851 #crosstool-ng y_morin say huli_: Yes, "exit and save config", then ct-ng build 1357493874 #crosstool-ng huli_ say y_morin, thanks, running now 1357494181 #crosstool-ng diorcety join 1357494668 #crosstool-ng huli_ say y_morin, http://fpaste.org/Oc8a/ 1357494741 #crosstool-ng y_morin say huli_: care to pastebin your .config, please? 1357494766 #crosstool-ng huli_ say y_morin, http://fpaste.org/dqo1/ 1357494842 #crosstool-ng y_morin say huli_: OK, I'll give it a spin here. 1357494881 #crosstool-ng y_morin say huli_: so, you're using 1.17.0. What was the reason for your 'static build not possible' ? 1357495332 #crosstool-ng huli_ say y_morin, I didn't install glibc-static rpm package 1357495350 #crosstool-ng y_morin say huli_: So, the mew message is much more helpfull? 1357495356 #crosstool-ng y_morin say mew -> new 1357495366 #crosstool-ng huli_ say y_morin, sorry? 1357495384 #crosstool-ng huli_ say y_morin, you mean I need to install GMP? 1357495402 #crosstool-ng y_morin say huli_: no. 1357495414 #crosstool-ng y_morin say huli_: how did you find that you needed to install glibc-static? 1357495491 #crosstool-ng huli_ say y_morin, http://comments.gmane.org/gmane.comp.gcc.cross-compiling/15226 1357495512 #crosstool-ng huli_ say y_morin, I installed gmp-devel and gmp-static, seems fixed. 1357495555 #crosstool-ng y_morin say huli_: No, that's *not* the solution. ct-ng should *not* need the host packages for gmp/mpfr et al. 1357495592 #crosstool-ng huli_ say y_morin, hmm 1357495600 #crosstool-ng y_morin say huli_: besides, if your distor uses a different version or a patched version, then you risk running into runtime issues when using the toolchain, and those will be much harder to debug. 1357495618 #crosstool-ng huli_ say y_morin, okay... 1357495625 #crosstool-ng huli_ say y_morin, so what's your idea? mate? 1357495628 #crosstool-ng y_morin say huli_: I'm test-running your .config here to see what's wrong 1357495653 #crosstool-ng y_morin say But my machine is currently very very loaded, and the build is a bit slow... 1357495665 #crosstool-ng huli_ say y_morin, thanks mate 1357495752 #crosstool-ng y_morin say huli_: what's your host distro? 1357495861 #crosstool-ng huli_ say y_morin, Fedora 16 x86_64 1357495891 #crosstool-ng y_morin say huli_: OK, I'll see if I can setup a VM with an FC16... 1357495936 #crosstool-ng huli_ say y_morin, great, thanks mate 1357495948 #crosstool-ng y_morin tell has found what is causing disk slowdowns: the RAID-5 array is being checked... 1357495967 #crosstool-ng huli_ say y_morin, I do really hope Fedora can include this great package 1357495979 #crosstool-ng y_morin say huli_: PPL builds just fine here on my Debian... 1357495994 #crosstool-ng alan_o join 1357495996 #crosstool-ng y_morin say huli_: so, it has something to do with FedoraCore... :-/ 1357496051 #crosstool-ng huli_ say y_morin, okay.. 1357496075 #crosstool-ng huli_ say y_morin, I gonna use ct-ng to create toolchian then I can compile many programs for my rpi 1357496099 #crosstool-ng y_morin say huli_: Ah, OK! :-) 1357496123 #crosstool-ng huli_ say y_morin, it tool about 12 hrs to compile OpenMPI in RPi. 1357496143 #crosstool-ng y_morin say huli_: then, you may want to wait a few hours, I'll push a new sample to build a hard-float toolchain for the RPI. ;-) 1357496166 #crosstool-ng huli_ say y_morin, the current one is not hfp? 1357496169 #crosstool-ng y_morin say huli_: And your current .config won't be able to build for the rpi/ 1357496179 #crosstool-ng huli_ say y_morin, why? 1357496206 #crosstool-ng huli_ say y_morin, I have kernels so what I wanna do is just compile programs 1357496237 #crosstool-ng y_morin say huli_: Ah, sorry, I misread the .config. 1357496268 #crosstool-ng y_morin say huli_: but still, your toolchain will not be optimised for the rpi. You forgot to specify the arch and cpu. 1357496293 #crosstool-ng huli_ say y_morin, it's okay, I will just use march and mcpu for gcc 1357496296 #crosstool-ng y_morin say huli_: and by default, I think gcc outputs armv5 opcodes, while rpi os armv6 1357496314 #crosstool-ng y_morin say huli_: why do it for every package, when you can setup the toolchain to do it by default? 1357496360 #crosstool-ng huli_ say y_morin, sorry? 1357496365 #crosstool-ng huli_ say y_morin, I don;t understand. 1357496402 #crosstool-ng y_morin say huli_: 1) the default cpu/arch variant for gcc is armv5. 1357496413 #crosstool-ng huli_ say y_morin, because cross-compile is quite fast in my i7 laptop 1357496416 #crosstool-ng y_morin say huli_: 2) you can configure gcc to use a different default 1357496437 #crosstool-ng y_morin say huli_: 3) this can be done with ct-ng by entering appropriate valuse in the menuconfig 1357496460 #crosstool-ng huli_ say y_morin, for 3) what I shall add for gcc? 1357496477 #crosstool-ng huli_ say y_morin, and is that for hard float? 1357496487 #crosstool-ng y_morin say huli_: just a sec... 1357496496 #crosstool-ng huli_ say y_morin, sure 1357496579 #crosstool-ng y_morin say huli_: http://code.bulix.org/aqeh07-82790 1357496595 #crosstool-ng huli_ say y_morin, what;s that? 1357496614 #crosstool-ng y_morin say huli_: that's my .config for a toolchain that targets the RPI. 1357496629 #crosstool-ng y_morin say huli_: optimised for armv6, and hardfloat. 1357496644 #crosstool-ng huli_ say y_morin, what about mine? 1357496682 #crosstool-ng y_morin say huli_: just diff the two files, you'll see the differences... ;-) 1357496704 #crosstool-ng y_morin say huli_: and I know mine is working ;-) 1357496706 #crosstool-ng huli_ say y_morin, mine is hard-float 1357496726 #crosstool-ng y_morin say huli_: diff the two files, you'll see the delta. ;-) 1357496769 #crosstool-ng y_morin say huli_: also, I'm using the latest content from the repository. 1357496815 #crosstool-ng y_morin tell got to go for real life matters. Probably back ~21:00 UTC... 1357496858 #crosstool-ng huli_ say y_morin, yes, I noticed that 1357496880 #crosstool-ng huli_ say y_morin, mate, just one last question, my toolchain is using hard-float, right? 1357496906 #crosstool-ng huli_ say y_morin, CT_ARCH_FLOAT="hard" 1357499961 - smartin quit Quit: leaving 1357500035 - codyps quit Ping timeout: 248 seconds 1357503957 #crosstool-ng Net147 join 1357503993 - Net147 quit Client Quit 1357504972 #crosstool-ng codyps join 1357505351 #crosstool-ng diabel say hello all 1357506397 - sfan5 nick sfan5|OFF 1357506711 #crosstool-ng devcoder join 1357507782 - plfiorini quit Ping timeout: 272 seconds 1357508128 #crosstool-ng plfiorini join 1357513609 #crosstool-ng diabel say y_morin: I've got new errors 1357513967 #crosstool-ng diorcety1 join 1357513967 - diorcety quit Read error: Connection reset by peer 1357514043 - diorcety1 quit Read error: Connection reset by peer 1357516249 - devcoder quit Quit: devcoder