# 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 # 1347668457 - codyps quit Ping timeout: 260 seconds 1347669428 #crosstool-ng devcoder join 1347670465 - devcoder quit Quit: devcoder 1347670520 #crosstool-ng codyps join 1347671899 #crosstool-ng codyps1 join 1347672068 - codyps quit Ping timeout: 268 seconds 1347674174 - codyps1 quit Quit: Leaving. 1347678954 - redengin quit Ping timeout: 252 seconds 1347679202 #crosstool-ng redengin join 1347682175 - ChanServ quit *.net *.split 1347684602 - Net147 quit Quit: HydraIRC -> http://www.hydrairc.com <- Go on, try it! 1347693456 - sh4rm4 quit Ping timeout: 276 seconds 1347696423 #crosstool-ng ChanServ join 1347698006 - ChanServ quit shutting down 1347698047 #crosstool-ng ChanServ join 1347699103 - smartin nick smartin|away 1347699740 #crosstool-ng Net147 join 1347700347 #crosstool-ng sspiff join 1347700348 - sspiff quit Changing host 1347700348 #crosstool-ng sspiff join 1347701015 - sspiff quit Remote host closed the connection 1347703502 - Net147 quit Quit: HydraIRC -> http://www.hydrairc.com <- Would you like to know more? 1347703507 #crosstool-ng y_morin join 1347714327 #crosstool-ng sh4rm4 join 1347719733 - smartin|away nick smartin 1347720902 #crosstool-ng redengin say success, using the new build had to turn on shared-libs to get ncsd to compile but now its done! 1347724925 #crosstool-ng andreas_schmidt join 1347724981 - andreas_schmidt quit Client Quit 1347725084 #crosstool-ng andreas_1707 join 1347725151 #crosstool-ng andreas_1707 part 1347736057 #crosstool-ng devcoder join 1347740879 - devcoder quit Quit: devcoder 1347743319 #crosstool-ng kratz00 join 1347744434 #crosstool-ng kratz00 say hi 1347744450 #crosstool-ng y_morin say kratz00: hello! 1347744454 #crosstool-ng kratz00 say i have the same problem like him: http://www.digipedia.pl/usenet/thread/12142/15087/ 1347744474 #crosstool-ng kratz00 say any ideas? 1347744553 #crosstool-ng y_morin say kratz00: Error: open CFI at theend of file; missing .cfi_endproc directive 1347744563 #crosstool-ng y_morin say kratz00: that one is known. Lemme remember... 1347744615 #crosstool-ng Juv1228 say y_morin, did you ever look at this patch? http://sourceware.org/ml/crossgcc/2012-08/msg00061.html 1347744681 #crosstool-ng Juv1228 say or this one http://sourceware.org/ml/crossgcc/2012-08/msg00043.html 1347744689 #crosstool-ng y_morin say Juv1228: nope, I missed it (august were holidays). Sorry. 1347744722 #crosstool-ng Juv1228 say ah, no problem. glad i brought it up then heh 1347744759 #crosstool-ng y_morin say Juv1228: yes! ;-) Can you ping them on the list (msg with a single "Ping?" for each of your patches) ? 1347744775 #crosstool-ng y_morin say That will just make them pop into view ;-) 1347744783 #crosstool-ng y_morin say *into my view 1347744786 #crosstool-ng kratz00 say here is the exact message i got: http://nopaste.info/b1a04ab345.html 1347744829 #crosstool-ng y_morin say kratz00: Yep, almost the same. I'm looking for the resolution for this issue. Just a minute... 1347744909 #crosstool-ng y_morin say kratz00: Oh yes, I get it! :-) Older glibc used a construct that was OK with older binutils, but is not with newer binutils. 1347744921 #crosstool-ng y_morin say kratz00: what version of binutils are you using? 1347744939 #crosstool-ng Juv1228 say y_morin, done for both 1347744951 #crosstool-ng y_morin say Juv1228: Thanks for your patience! ;-) 1347745166 #crosstool-ng Juv1228 say [PATCH] [CT_NG] [config] [scripts] fix download options < that patch is probably more subjective than my other one 1347745230 #crosstool-ng kratz00 say y_morin 2.22 1347745268 #crosstool-ng y_morin say kratz00: OK, that explains it, then. glibc 2.10 (which you're using) is "too old". Use a more recent version. 1347745283 #crosstool-ng y_morin say kratz00: or downgrade your binutils to before 2.20. 1347745307 #crosstool-ng kratz00 say actually it's glibc 2.9 i am trying to build 1347745338 #crosstool-ng y_morin say kratz00: your build.log says otherwise: Leaving directory `/tmp/try2/.build/src/glibc-2.10.1' 1347745339 #crosstool-ng kratz00 say y_morin which is the minimum glibc version i can build with 2.22? 1347745377 #crosstool-ng kratz00 say y_morin doh, you are right, sry :) 1347745383 #crosstool-ng y_morin say kratz00: not sure. Why would you not want to use the latest? 1347745474 #crosstool-ng kratz00 say portability, i am trying to build x86 binaries for Linux 1347745604 #crosstool-ng y_morin say kratz00: so, why not use the latest? What is the restriction for using an old version of glibc? Do you have a binary blob of hell that requires that version? 1347745677 #crosstool-ng kratz00 say no, but if a build a binary which requires a recent glibc then everybody needs at least this version too 1347745714 #crosstool-ng Juv1228 say no? 1347745728 #crosstool-ng Juv1228 say the glibc version you are building will be distributed with your toolchain 1347745736 #crosstool-ng Juv1228 say and built for the target, not the host 1347745779 #crosstool-ng Juv1228 say if you want to distribute a single binary for many distro's you should build a static toolchain 1347745822 #crosstool-ng y_morin say kratz00: you mean, you want to install it on existing distros ? 1347745843 #crosstool-ng y_morin say kratz00: As Juv1228 said. ;-) 1347745853 #crosstool-ng kratz00 say y_morin not the toolchain itself, but the binary build with the toolchain 1347745895 #crosstool-ng kratz00 say i can link everythink statically because of license issues 1347745912 #crosstool-ng y_morin say kratz00: you meant "can't", right? 1347745937 #crosstool-ng kratz00 say right 1347745943 #crosstool-ng kratz00 say sry :) 1347745973 #crosstool-ng Juv1228 say well, in that case you will either need to back down the binutils version or require a new version of glibc 1347745996 #crosstool-ng y_morin say kratz00: As Juv1228 just said. :-) 1347746069 #crosstool-ng kratz00 say and we are back at my initial question, if you know what the min. glibc version is which i can build with binutils 2.22 :) 1347746083 #crosstool-ng Juv1228 say its not the best option, but you could also distribute the glibc.so with your project 1347746166 #crosstool-ng y_morin say kratz00: you should first decide on what is the 9oldest glibc you want to support. Then you should use a binutils of that era. 1347746199 #crosstool-ng kratz00 say y_morin i think this is the best approach 1347746202 #crosstool-ng y_morin say kratz00: eg. you can stick to glibc-2.10.1, but then you look at its release date, and use a binutils that was released just before. 1347746214 #crosstool-ng kratz00 say thanks everyone 1347746221 #crosstool-ng y_morin say kratz00: Cheers! ;-) 1347746301 #crosstool-ng Juv1228 say y_morin, i also had a few ideas i wanted to run by you quickly 1347746311 #crosstool-ng y_morin say Juv1228: Shoot! ;-) 1347746349 #crosstool-ng y_morin say smartin: I am beginning to feel schyzonphreniac, following discussions on two channels at a time! ;-) 1347746350 #crosstool-ng Juv1228 say the way we are using ct-ng is as a submodule in our git repo combine with some patches/sample's and a wrapper makefile to tie it all together 1347746390 #crosstool-ng Juv1228 say the biggest issue i have right now is some options are not saved in sample configs 1347746398 #crosstool-ng Juv1228 say or rather are reverted to the default before being saved 1347746408 #crosstool-ng y_morin say Juv1228: what options? 1347746426 #crosstool-ng Juv1228 say one i know for sure is the tarball directory 1347746432 #crosstool-ng Juv1228 say which is logical to reset 1347746454 #crosstool-ng y_morin say Juv1228: does it happen if you run ct-ng on its own? 1347746472 #crosstool-ng Juv1228 say but my idea was to have something along the lines of a .local-config that would be merged with a sample's configuration upon loading it 1347746509 #crosstool-ng Juv1228 say the issues is with ct-ng saveconfig 1347746511 #crosstool-ng Juv1228 say i think 1347746587 #crosstool-ng Juv1228 say http://crosstool-ng.org/hg/crosstool-ng/file/de4120991433/scripts/saveSample.sh.in#l78 1347746602 #crosstool-ng y_morin say Juv1228: yes, I was looking at that exact same line. 1347746632 #crosstool-ng Juv1228 say basically whatever i set to CT_LOCAL_TARBALLS_DIR in my config gets reset to the default in the sample config 1347746657 #crosstool-ng Juv1228 say and what we are doing is trying to contain everything ct-ng does in a local tree (our git repo) 1347746669 #crosstool-ng Juv1228 say so its abit easier to manage some aspects 1347746680 - kratz00 quit Quit: Leaving 1347746693 #crosstool-ng y_morin say Juv1228: The idea behind saveconfig is for the saved samples to be useable as-is by anyone on their machine, without requiring special provileges, hence paths are all saved as pointing to sub-dirs in ${HOME}, because that's the only place that is guaranteed to be writeable for any user., 1347746705 #crosstool-ng Juv1228 say yes, i understand this 1347746715 #crosstool-ng Juv1228 say im not proposing that line be changed 1347746733 #crosstool-ng y_morin say Juv1228: Yes, understood. Now, lets come up with a solution! ;-) 1347746737 #crosstool-ng Juv1228 say im proposing some sort of 'local' configuration be available to override options in a sample configuration 1347746764 #crosstool-ng Juv1228 say so, if an option appears in .local-config or something, it would replace the option used in the sample 1347746775 #crosstool-ng y_morin say Juv1228: I'm not really happy with this solution. 1347746800 #crosstool-ng Juv1228 say ok, what about it doesnt sound good to you? 1347746829 #crosstool-ng y_morin say Juv1228: would it be acceptable if saveconfig used some environment variable, and if not set, use the current defaults? 1347746887 #crosstool-ng Juv1228 say so if a variable is set dont run that filter line in saveSample.sh? 1347746888 #crosstool-ng y_morin say Juv1228: Providing an override feature is prone to widely open a door to a whole lot of compatibility issues in the config. 1347746912 #crosstool-ng y_morin say Juv1228: Run the line, but with the content of that variable, for example: 1347746920 #crosstool-ng Juv1228 say ah, ok 1347746959 #crosstool-ng Juv1228 say there would need to be two of said variable then, one for CT_PREFIX_DIR and one for CT_LOCAL_TARBALLS_DIR 1347746969 #crosstool-ng y_morin say Juv1228: to save CT_LOCAL_TARBALLS_DIR, look at ${CT_OVERRIDE_TARBALLS_DIR}, and if not set, use ${HOME}/src. 1347746977 #crosstool-ng y_morin say Juv1228: yep. 1347746978 #crosstool-ng Juv1228 say yes, i understand now 1347746995 #crosstool-ng y_morin say Juv1228: do you think that would be acceptable for your use-case? 1347747026 #crosstool-ng Juv1228 say i think so, as long as it would be possible to set those variables in the wrapper makefile we have 1347747041 #crosstool-ng Juv1228 say we are currently importing the ct-ng makefile script in ours 1347747115 #crosstool-ng y_morin say Juv1228: there is a feature in ct-ng so it behaves as a "backend" for an upper-layer build-system. Have you looked at it? 1347747126 #crosstool-ng y_morin say Juv1228: that's what is used in buildroot, for example. 1347747153 #crosstool-ng Juv1228 say yes, knew it existed (we are also looking at using buildroot) but i have not looked into it yet 1347747212 #crosstool-ng y_morin say Juv1228: That feature is probably badly explained in the doc, so if you need more info, just say so on the list, I'll see how to enhance the docs. 1347747234 #crosstool-ng Juv1228 say i think one of the things that was not liked about that solution for our team is wanting to keep the toolchain and our root filesystem separated 1347747253 #crosstool-ng Juv1228 say we have many users who would like to have just the toolchain and use our pre-built rootfs/kernel etc 1347747292 #crosstool-ng y_morin say Juv1228: OK, that makes sense. 1347747324 #crosstool-ng Juv1228 say thanks for the information, ill take a look into that feature and see if i can make it work for us 1347747387 #crosstool-ng y_morin say Juv1228: I was looking at your forbid-downloads patch: there was an explicit change to still use the mirror even if downloads were forbidden: http://crosstool-ng.org/hg/crosstool-ng/rev/d6b2354d9d17 1347747471 #crosstool-ng y_morin say Juv1228: But I think your patch is not bad either. I have to think about it some more (not tonight, but tomorrow, sure). 1347747499 #crosstool-ng y_morin say Juv1228: And OK for your newlib patch (I'll apply tomorrow also) 1347747503 #crosstool-ng Juv1228 say ok, well if you want to discuss it any more you can find me here 1347747519 #crosstool-ng Juv1228 say i have to go now, thanks for the help 1347747523 #crosstool-ng y_morin say Juv1228: See ya! 1347747565 #crosstool-ng y_morin say Juv1228: your newlib patch is not signed-of-by. 1347748837 - y_morin quit Quit: Nighty Night! 1347749978 - smartin quit Quit: leaving 1347750395 - redengin quit Ping timeout: 255 seconds