# 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 # 1329445669 - CcSsNET quit Ping timeout: 276 seconds 1329450187 #crosstool-ng CcSsNET join 1329465777 #crosstool-ng hank__ say hi guys. y_morin was saying the other day that 2.6.14 is too old for newer versions of uclibc. is 2.6.24 any better? 1329467409 #crosstool-ng smartin join 1329479454 - hank__ quit Ping timeout: 272 seconds 1329495774 - arekinath quit Ping timeout: 252 seconds 1329495943 #crosstool-ng arekinath join 1329495943 - arekinath quit Changing host 1329495943 #crosstool-ng arekinath join 1329504986 - smartin quit 1329506218 #crosstool-ng tick join 1329506452 #crosstool-ng tick say I used the latest release 1.14.1 and tried the sample config x86_64-unknown-linux-gnu (only removed Java and Fortran support). It failed at cc_core_pass_1 (Build failed in step 'Installing static core C compiler') 1329506523 #crosstool-ng tick say I checked the doc. The B. Known Issues.txt and it mentioned the workaround of building shared companion libraries? 1329506541 #crosstool-ng tick say However, I don't see that option in the menuconfig 1329506562 #crosstool-ng tick say Anybody? 1329506633 #crosstool-ng tick say ? 1329506862 - tick quit Quit: Leaving 1329507028 #crosstool-ng tick join 1329507055 #crosstool-ng imMute say tick: you might have to enable "Experimental Features" 1329507091 #crosstool-ng tick say I tried. I still didn't see the menu items. 1329507115 #crosstool-ng imMute say stick around till y_morin shows up, he'll probably know 1329507190 #crosstool-ng tick say In fact, I checked the companion_libs.in in .../lib/ct-ng.1.14.1/config and no menu items for companion libraries 1329507213 #crosstool-ng tick say I wonder if the doc is out-dated. 1329507269 #crosstool-ng tick say If someone has successfully create 64-bit toolchain and provide the config as a sample, I assume it shall work, isn't it? 1329507319 #crosstool-ng tick say Thanks imMute. Do you know when y_morin usually go online? 1329507350 #crosstool-ng imMute say he's usually online, hasn't been on since yesterday though :/ 1329507371 #crosstool-ng imMute say and I've successfully compiled a 64-bit toolchain, using one of the exmple config 1329507413 #crosstool-ng tick say I bet you don't see the config option (Build shared companion libraries) in companion libraries section. 1329507467 #crosstool-ng tick say Which one did you use? 1329507472 #crosstool-ng tick say Are you using 1.14.1? 1329507497 #crosstool-ng imMute say no, 1.13.2 1329508163 #crosstool-ng tick say Ok. I downloaded 1.13.2 as well and it doesn't have this option either. 1329508183 #crosstool-ng tick say Let me try it on 1.13.2 again. 1329508537 #crosstool-ng y_morin join 1329509620 #crosstool-ng tick say Hi, y_morin. imMute suggested that I should ask you the question. Do you have the log history of the channel? 1329509647 #crosstool-ng y_morin say tick: just ask again, please. 1329509657 #crosstool-ng tick say Sure. 1329509665 #crosstool-ng tick say Plz give me a minute. 1329509715 #crosstool-ng y_morin say tick: OK, issue with comanion libs... Just a sec... 1329509732 #crosstool-ng tick say You saw the log?> 1329509754 #crosstool-ng y_morin say tick: yep. 1329509759 #crosstool-ng tick say It failed at the step 'Installing static core C compiler' 1329509762 #crosstool-ng tick say thanks. 1329509776 #crosstool-ng y_morin say tick: can you pastebin your .config ? 1329509782 #crosstool-ng tick say The config I used was from x86_64-unknown-linux-gnu 1329509786 #crosstool-ng tick say Sure. 1329509842 #crosstool-ng y_morin say tick: that sample built for me here (Debian squeeze, x86_64). 1329509868 #crosstool-ng y_morin say tick: so, it is be a difference in your machine. 1329509881 #crosstool-ng tick say You meant my build environment? 1329509891 #crosstool-ng y_morin say tick: yes. What is it? 1329509901 #crosstool-ng tick say Fedora Core 14 but it's a VM. 1329509931 #crosstool-ng y_morin say tick: a VM is not a problem. FC14, I don't know that distro. 1329509946 #crosstool-ng y_morin say tick if you could also put your build.log somewhere I can garb it... 1329509993 #crosstool-ng tick say I am working on it. I am with my laptop now but the build VM is on the other network and the NAT is not there. 1329510146 #crosstool-ng y_morin say imMute: yes, it happens I'm not on-line for different reasons: sleep, day-time job, work in the house, hanging out with girlfriend... All the real-life fuss! Hehe! ;-) 1329510180 #crosstool-ng y_morin tell is eco-conscious, and powers off his computer when not sitting on front of it. :-] 1329510200 #crosstool-ng y_morin say kos_tom: around? 1329511260 - y_morin nick y_morin|away 1329511316 #crosstool-ng tick say Hi, y_morin 1329511320 #crosstool-ng tick say Ahh.... 1329511343 #crosstool-ng tick say Sorry for the delay but someone was in my cube. 1329511382 #crosstool-ng tick say msg /y_morin|away Here is the link 1329511552 - y_morin|away nick y_morin 1329511661 #crosstool-ng y_morin say tick: OK, I got he files, I'm looking at them... (no need to PM next time). 1329511697 #crosstool-ng tick say Sure. Sorry. 1329511720 - tick quit Quit: Leaving 1329511741 #crosstool-ng y_morin say tick: no problem. I found your issue: the sample by default wants to statically link libstdc++, but your system does have the static version of libstdc++. 1329511751 #crosstool-ng y_morin say Raahhhh.... 1329511999 #crosstool-ng tick join 1329512028 #crosstool-ng y_morin say tick: http://crosstool-ng.org/download/ibot-logs/today.html#quick-20:49:01 1329512107 #crosstool-ng tick say So what do I have to do? 1329512174 #crosstool-ng y_morin say tick: either install the static libstdc++ on your system (probably some -devel package), or de-select "Link libstdc++ statically" in the C compiler sub-menu. 1329512496 #crosstool-ng tick say Yeah... I deselected it before and later on it failed at libc step I think. The "B - Known issue section" mentioned about those cases and suggested to use Shared companion libraries 1329512547 #crosstool-ng tick say However, I didn't see the option listed in the companion library config 1329512567 #crosstool-ng y_morin say tick: you mean, the "libgcc not found" issue ? 1329512639 #crosstool-ng tick say Don't quite remember and the build log was overwritten. I will make a build again and forward you the log. 1329512647 #crosstool-ng tick say Otherwise the config file looks fine, right? 1329512662 #crosstool-ng y_morin say tick: indeed, the shared option has disapeared (last april). 1329512690 #crosstool-ng tick say But in the doc it still mentioned it (specifically for 64-bit build) 1329512698 #crosstool-ng tick say Sorry for the typo 1329512724 #crosstool-ng y_morin say tick: right, the doc is laggign behind (as is often the case for the doc! :-] ) 1329512729 #crosstool-ng y_morin say *lagging 1329512764 #crosstool-ng tick say :-) Got it... so if I don't see any option being mentioned in the doc, I can assume it's fine.. right? 1329512781 #crosstool-ng y_morin say tick: well, the code is The Reference! :-) 1329512814 #crosstool-ng tick say I know. I checked companion_libs.in and didn't see it there. But I was wondering if I should go back to use the old version. That's confusing me. 1329512815 #crosstool-ng y_morin say Seriously, keeping the doc up-to-date is tedious. So if the doc says something that is not available, it's probably an oversight, yes. 1329512851 #crosstool-ng y_morin say tick: and your .config looks OK. 1329512857 #crosstool-ng tick say Thanks y_morin. 1329512869 #crosstool-ng tick say I am going to make a build again. Will you be online for a while? 1329512871 #crosstool-ng y_morin say tick: I'd like to gt that build.log file where the build breaks in glibc, when you get it. 1329512881 #crosstool-ng tick say Sure. 1329512897 #crosstool-ng y_morin say tick: it's 22:07 here (France), so expect me to be still here for 2-3h... 1329512949 #crosstool-ng tick say I am sure it won'g take that long to reach that step. All the tarballs are in place. It should not take more than 30 mins. 1329512954 #crosstool-ng tick say won 1329512957 #crosstool-ng tick say won't :-) 1329512998 #crosstool-ng tick say TIA. 1329513006 #crosstool-ng y_morin say ;-) 1329513082 #crosstool-ng tick say So a quick question. Do I have to use Debian-based linux disto.? Fedora is not good? 1329513091 #crosstool-ng tick say Does that really matter? 1329513147 #crosstool-ng tick say Even the popular Suse in Europe is RPM-based pkgs. 1329513147 #crosstool-ng y_morin say tick: it should not matter. If it does not work, we fix it (at least we try!). Debian is just what I use. If you want to switch, you're welcome (of course!), but that should not be a requirement for using crosstool-NG. 1329513190 #crosstool-ng tick say Installing binutils now. 1329513224 #crosstool-ng y_morin say tick: that said, I can't fix distro-specific bugs by myself (I can't take the burden of installing zillions of distros on my machine, much less test on all of them). 1329513243 #crosstool-ng tick say Understood. 1329513281 #crosstool-ng tick say Building static core C compiler 1329513297 #crosstool-ng tick say Hopefully it will pass this time. 1329513306 #crosstool-ng y_morin say tick: that was not aimed at you specifically, sorry for the strict sentence. That's why your help in debugging this issue is appreciated! :-) 1329513344 #crosstool-ng tick say Ok. Should I take it as a compliment? :-) 1329513400 #crosstool-ng y_morin say tick: let's fix the bug, first! :-p 1329513491 #crosstool-ng tick say Ok. C compiler passed. Kernel headers passed. Now it's the part... Boom. 1329513544 #crosstool-ng y_morin say Really? "Boom"? There's no such string in the crostool-NG source code! :-p 1329513556 #crosstool-ng y_morin say OK, let's look at this build.log, now... 1329513558 #crosstool-ng tick say Ok. ! 1329513566 #crosstool-ng tick say I am uploading it. 1329513569 #crosstool-ng y_morin say K 1329513685 #crosstool-ng tick say http://dl.dropbox.com/u/16714304/build.log 1329513707 #crosstool-ng tick say http://dl.dropbox.com/u/16714304/.config 1329513751 #crosstool-ng y_morin say tick: Oh, that one is known: Makefile:240: *** mixed implicit and normal rules. Stop. 1329513755 #crosstool-ng y_morin say tick: just a sec... 1329513785 #crosstool-ng y_morin say tick: can you run: make --version please? 1329513844 #crosstool-ng tick say GNU Make 3.82 1329513850 #crosstool-ng y_morin say tick: Bingo! 1329513854 #crosstool-ng tick say What? 1329513860 #crosstool-ng tick say That make package is not good? 1329513907 #crosstool-ng y_morin say tick: http://crosstool-ng.org/hg/crosstool-ng/file/369e2fbe9010/docs/B%20-%20Known%20issues.txt#l220 1329513923 #crosstool-ng y_morin say tick: --> The build fails with "mixed implicit and normal rules. Stop." 1329513942 #crosstool-ng tick say Now you refer me to look at the doc :-) 1329513964 #crosstool-ng y_morin say tick: there was change between make-3.81 and 3.82 that broke many Makefiles (glibc, but also the Linux kernel). 1329513979 #crosstool-ng y_morin say :-) 1329514008 #crosstool-ng tick say So. Should I go back or there is newer version? 1329514019 #crosstool-ng y_morin say tick: basically, the parser changed, and what was accepted (but not documented) is no longer valid. 1329514034 #crosstool-ng tick say Shoot. 1329514044 #crosstool-ng tick say Please tell me your recommended version 1329514067 #crosstool-ng y_morin say tick: you can ask crosstool-NG to build the supported version for you (it's in the workaround for this issue). 1329514100 #crosstool-ng tick say How? 1329514118 #crosstool-ng tick say in the doc sorry. 1329514156 #crosstool-ng tick say That's EXPERIMENTAL.... is it safe? Or maybe I just manually install make-3.81? 1329514183 #crosstool-ng y_morin say It's safe. It;s EXPERIMENTAL to not be available by default. 1329514205 #crosstool-ng y_morin say Usually, I'd suggest you upgrade to a newer glibc version. 1329514239 #crosstool-ng tick say Ok. Let me try it again. BTW, is there a way to build from the last failing point instead of rebuild again? I know I can specify the step. But can I use the step as the starting point? 1329514270 #crosstool-ng y_morin say tick: yes, but that won't work when you change the config. Use: ct-ng +step 1329514319 #crosstool-ng tick say Yes!... Oh no... Is it possible to workaround it? :-) (I know there is nothing impossible).... 1329514334 #crosstool-ng y_morin say tick: not possible. 1329514352 #crosstool-ng tick say :-) Just kidding. 1329514354 #crosstool-ng y_morin say tick: that's a limitation, I know. Maybe in the future it will be possible, but not planned. 1329514359 #crosstool-ng y_morin say :-) 1329514375 #crosstool-ng tick say Ok. So internally it fetched make-3.81 and build it. 1329514381 #crosstool-ng y_morin say yes 1329514392 #crosstool-ng tick say What kernel version do you recommend? 1329514412 #crosstool-ng tick say I am using the config from the samples so it's 2.6.32.x I think. 1329514415 #crosstool-ng tick say It's kind of old. 1329514420 #crosstool-ng y_morin say Latest version of everything! :-) 1329514435 #crosstool-ng tick say I don't dare to try the latest version. It's more like a beta tester. 1329514449 #crosstool-ng y_morin say Well, they are pretty stable. 1329514497 #crosstool-ng tick say Actually, the project is about to upgrade the current 32-bit system to 64-bit. We build the embedded system and build everything from source. That probably means I have to upgrade all the packages/utilities as well? 1329514514 #crosstool-ng tick say I am pretty new in this field so if you don't mind I ask stupid question. 1329514559 #crosstool-ng tick say Or do I just setup kernel option to simulate 32-bit? 1329514589 #crosstool-ng tick say Probably that's not the right question.... forget it. 1329514607 #crosstool-ng y_morin say tick: you don't have to upgrade any package (except those that are not 64-bit clean). 1329514627 #crosstool-ng tick say That's what I meant. How do I know? 1329514633 #crosstool-ng tick say I have to check everyone of them? 1329514635 #crosstool-ng y_morin say tick: but if I had to do such an important upgrade (32->64), I take the opportunity to upgrade as much as possible as well. 1329514677 #crosstool-ng tick say Yeah... right. If I am standing at the same level as you guys I probably will go for it. But I am not a hacker. 1329514679 #crosstool-ng y_morin say tick: yes, you have to. There are aseveral routes you can go: run them, and wait for breakage. Aufdit them for breakage. Look at their bug-tracker. Look at their commit logs. 1329514721 #crosstool-ng tick say Oh... well.... nice. 1329514722 #crosstool-ng y_morin say tick: well, if you get away with building a toolchain, you can certainly handle the rest! ;-) 1329514735 #crosstool-ng tick say Thanks for the boost :-) 1329514789 #crosstool-ng tick say So besides toolchain. update package. Is there any place I can refer to for the good/stable Kernel options? Anything else I need for 64-bit system? 1329514800 #crosstool-ng tick say Kernel module? 1329514850 #crosstool-ng y_morin say tick: without much info from your project HW, I don;t know. But the Linux kernel is rock solid on x86_64. 1329514885 #crosstool-ng y_morin say tick: obviously, you'll need the kernel drivers (modules or built-in) for your peripherals. 1329514920 #crosstool-ng y_morin say tick: my very personal view on the subject is: everything as module, except the strictly required minimum to mount the root file system. 1329514923 #crosstool-ng tick say probably for LCD and RAID only. But we need to support VA as well (vSphere 5.0) 1329514930 #crosstool-ng y_morin say VA=? 1329514936 #crosstool-ng tick say Virtual Appliance. 1329514946 #crosstool-ng y_morin say You mean, virtualisation? 1329514947 #crosstool-ng tick say I meant the VA build. 1329514954 #crosstool-ng tick say For VMware 1329514973 #crosstool-ng tick say yes. 1329514980 #crosstool-ng y_morin say Arg. No VMWare! No! Ahhh!.... :-p 1329514999 #crosstool-ng y_morin say tick: you want your target to run virtual machines? 1329515005 #crosstool-ng tick say I know... I lost so many hairs when I tried to include the open-vm-tools into the build. 1329515065 #crosstool-ng tick say The vmware tool. We have the VA build. Of course it's 32-bit 1329515102 #crosstool-ng tick say Nice... it's passed. Now it's installing shared core C compiler. 1329517409 #crosstool-ng tick say Thanks man! It completes the build w/o issues. Really appreciate! 1329517422 #crosstool-ng y_morin say tick: good! :-) 1329517458 #crosstool-ng tick say Sorry for the belated good news. I have to work with someone over his place. 1329517473 #crosstool-ng tick say You have a good sleep :-) 1329517866 #crosstool-ng y_morin say tick: Yes, I think I'll be heading to bed in a short time. But a litle bit more hacking before... :-) 1329517975 #crosstool-ng tick say The wonderful work you have done! Hack more please :-) Nite. 1329519274 - y_morin quit Quit: Night! 1329521714 - tick quit Quit: Leaving