# 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 # 1362272229 #crosstool-ng nandub join 1362276451 - nandub quit Quit: Lost terminal 1362276507 #crosstool-ng nandub join 1362281256 #crosstool-ng jevin__ join 1362281441 - jevin quit *.net *.split 1362281442 - blueness quit *.net *.split 1362281468 - jevin__ nick jevin 1362281875 #crosstool-ng blueness join 1362281876 - blueness quit Changing host 1362281876 #crosstool-ng blueness join 1362289108 - codyps quit Ping timeout: 248 seconds 1362289853 - imMute quit Ping timeout: 255 seconds 1362289865 - ubergeek42 quit *.net *.split 1362289920 #crosstool-ng rfs_ join 1362289920 #crosstool-ng imMute^ join 1362289921 - imMute^ quit Changing host 1362289921 #crosstool-ng imMute^ join 1362289955 - rfs quit Ping timeout: 260 seconds 1362290207 #crosstool-ng ubergeek42 join 1362291925 - blueness quit Ping timeout: 248 seconds 1362291964 #crosstool-ng blueness join 1362291964 - blueness quit Changing host 1362291964 #crosstool-ng blueness join 1362294287 - sfan5|OFF nick sfan5 1362300758 #crosstool-ng smartin join 1362302761 #crosstool-ng codyps join 1362306494 #crosstool-ng y_morin join 1362307390 - y_morin quit Remote host closed the connection 1362308269 #crosstool-ng y_morin join 1362318976 #crosstool-ng y_morin_ join 1362319287 - y_morin quit *.net *.split 1362319296 - y_morin_ nick y_morin 1362319939 #crosstool-ng mwpowellhtx join 1362319975 #crosstool-ng mwpowellhtx say q: the latest crosstool release is up to date with GCC 4.7.2? 1362320099 - nandub quit Quit: leaving 1362320152 #crosstool-ng y_morin say mwpowellhtx: yes. gcc-4.7.2 is available in 1.18.0 1362320206 - rfs_ nick rfs 1362320234 #crosstool-ng rfs say Hi all 1362320300 #crosstool-ng mwpowellhtx say so to turn on 0x support, we specify -std=c++0x or -std=c++11 for 11 ? 1362320362 #crosstool-ng y_morin say mwpowellhtx: yes, but this is done when using the cross-compiler (ie. at run-time, not at build-time). 1362320410 #crosstool-ng mwpowellhtx say run time of the cross compiler; i.e. build time of the app targeting the ARM? 1362320466 #crosstool-ng y_morin say mwpowellhtx: yes. 1362320503 #crosstool-ng y_morin say mwpowellhtx: I meant: not at build-time of the toolchain, but at run-time of the toolchain, which is at build-time of your app. 1362320509 #crosstool-ng y_morin say Confusing, isn't it? ;-) 1362320513 #crosstool-ng mwpowellhtx say not really 1362320529 #crosstool-ng y_morin say mwpowellhtx: Good, then! :-) 1362320531 #crosstool-ng mwpowellhtx say I've worked with VxWorks cross compilers, so some take a binary and convert that 1362320542 #crosstool-ng mwpowellhtx say this one actually builds source to the target 1362320594 #crosstool-ng mwpowellhtx say excellent news. any ideas when GCC 4.8 support? that will have additional concurrency I'll be interested in. 1362320685 - blueness quit Ping timeout: 260 seconds 1362320691 #crosstool-ng mwpowellhtx say to verify type gcc --version and you get not only GCC version but also tool chain version 1362320692 #crosstool-ng y_morin say mwpowellhtx: when it will be released, which is expected not before end of March: http://gcc.gnu.org/ml/gcc/2013-02/msg00177.html 1362320858 #crosstool-ng mwpowellhtx say in the mean time, fair to say stick with 0x? or is 11 stable enough with the features it supports? 1362320872 #crosstool-ng y_morin say Well, 4.8.0-rc1 is expected in March. I'd suspect 4.8.0 final to be in April. 1362320887 #crosstool-ng y_morin say mwpowellhtx: I don't know. 1362320913 #crosstool-ng mwpowellhtx say thank ye 1362320953 #crosstool-ng y_morin say rfs: Hello! Any problem? 1362320964 #crosstool-ng Joeboy part 1362321023 #crosstool-ng rfs say y_morin: Morning :) Yep, I'm having trouble with glibc... compile fails in sem_post.c, seems to be that lll_futex_wake() no longer returns a value 1362321056 #crosstool-ng y_morin say rfs: Can you post your .config and your build.log? 1362321086 #crosstool-ng rfs say y_morin: sure, one sec. 1362321117 #crosstool-ng y_morin say rfs: not on the channel, use some pastebin for that. 1362321312 #crosstool-ng rfs say y_morin: http://nw.dreamhosters.com/ct-ng/ 1362321390 #crosstool-ng y_morin say rfs: that's because NPTL does not work on i386, which is too old a processor. You need at least i486 for NPTL. 1362321437 #crosstool-ng rfs say y_morin: I was actally aiming for i686... eg. 32-bit 1362321506 #crosstool-ng y_morin say rfs: then you need to set either or both of: CT_ARCH_TUNE or CT_ARCH_CPU 1362321533 #crosstool-ng y_morin say rfs: eg: CT_ARCH_TUNE="i686" 1362321572 #crosstool-ng y_morin say rfs: it's in the "Target options" sub-menu 1362321715 #crosstool-ng rfs_ join 1362321749 - smartin quit Ping timeout: 245 seconds 1362321749 - rfs quit Ping timeout: 245 seconds 1362321793 #crosstool-ng rfs_ say y_morin: so it defaults i386 when not otherwise specified? 1362321797 - rfs_ nick rfs 1362321813 #crosstool-ng y_morin say rfs: yes 1362321829 #crosstool-ng y_morin say rfs: the default is gcc's choice, not crosstool-NG's 1362321847 #crosstool-ng rfs say y_morin: gotcha. Trying it now... 1362321847 #crosstool-ng smartin join 1362321927 #crosstool-ng rfs say y_morin: out of curiosity, how do you test various versions? I gather you use VMs, any particular tricks to the setup? 1362322017 #crosstool-ng y_morin say rfs: I mostly (95%) test on my Debian Squeeze (aka stable). I sometime fire up a VM with a different distro just to check a complex corner case that does not show up on my system. 1362322036 #crosstool-ng y_morin say rfs: otherwise, I rely on others to report issues and fixes for other distros. 1362322099 #crosstool-ng y_morin say rfs: With Debian, it's dead easy to build a chrrot with a different version, so I also sometime debootstrap a testing or an Ubuntu to check in the chroot rather than pay the overhead of a VM. 1362322109 #crosstool-ng y_morin say s/chrrot/chroot/ 1362322143 - mwpowellhtx quit Quit: If you think nobody cares, try missing a few payments 1362322288 #crosstool-ng rfs say y_morin: ok thanks, I've been using chroot to test as well, but wasn't sure if that might be part of my problem. 1362322344 #crosstool-ng y_morin say rfs: rpobably not. Except if you are trying in a 32-bit chroot on an otherwise 64-bit machine. 1362322451 #crosstool-ng y_morin say rfs: but this was clearly not your issue. 1362322452 #crosstool-ng rfs say y_morin: yup, I've got all the 32-bit libs etc installed too. 1362322452 #crosstool-ng rfs say y_morin: I'm actually aiming for a self-building system, with just enough to be able to recompile itself. 1362322452 #crosstool-ng y_morin say rfs: no, I meant: a chroot with only the 32-bit libs, runing on a 64-bit kernel. 1362322484 #crosstool-ng rfs say y_morin: that's what I put in my chroot. All good. 1362322496 #crosstool-ng y_morin say rfs: and your kernel is 64-bit? 1362322520 #crosstool-ng rfs say y_morin: BTW, I put both CT_ARCH_TUNE and CT_ARCH_CPU and i'm getting warnings about -mcpu= is deprecated (but it is building) 1362322530 #crosstool-ng rfs say y_morin: yes, running on 64-bit host. 1362322589 #crosstool-ng y_morin say rfs: yes, -mcpu is deprecated, but it's only a warning. Leave it empty next time, and only set: CT_ARCH_TUNE CT_ARCH_ARCH 1362322619 #crosstool-ng y_morin say rfs: sorry, I initially gave you the wrong variables. The above two are the correct ones. 1362322640 #crosstool-ng rfs say y_morin: will do. Build completed successfully just now. 1362322816 #crosstool-ng rfs say y_morin: Many thanks for the diagnostics... 1362323479 #crosstool-ng mnt_real_ join 1362323556 #crosstool-ng rfs say re-build with CT_ARCH_TUNE and CT_ARCH_ARCH also completed successfully. Now to rebuild my chroot... 1362323608 - mnt_real quit Ping timeout: 245 seconds 1362323817 - sh4rm4 quit Quit: sh4rm4 1362323915 #crosstool-ng sh4rm4 join 1362326244 - diorcety quit Quit: Leaving. 1362327643 - sfan5 nick sfan5|OFF 1362327834 - rfs quit Quit: reboot 1362328898 #crosstool-ng mwpowellhtx join 1362328959 #crosstool-ng mwpowellhtx say q: trying to build a simple hello main c++ app. I type: /path/to/g++ -Wall main.cpp -o hello 1362328987 #crosstool-ng mwpowellhtx say I get: g++: error trying to exec 'cc1plus': execvp: No such file or directory 1362329028 #crosstool-ng y_morin say mwpowellhtx: Can you paste the exact /path/to/g++ ? 1362329097 #crosstool-ng mwpowellhtx say sure: /opt/x-tools/TARGET/arm-unknown-linux-gnueabi/bin/g++ 1362329108 #crosstool-ng mwpowellhtx say it's entirely possible I need to tweak my .config and rebuild 1362329131 #crosstool-ng mwpowellhtx say the linaro g++ works just fine. "Hello, world!" 1362329138 #crosstool-ng y_morin say mwpowellhtx: That's not what you should use. You should use: /opt/x-tools/TARGET/bin/TARGET-g++ 1362329162 #crosstool-ng y_morin say (obviously, replace 'TARGET' with 'arm-unknown-linux-gnueabi' 1362329188 #crosstool-ng mwpowellhtx say ok. but use TARGET-g++ (would be better to identify the ARM probably). I gotcha. 1362329189 #crosstool-ng y_morin say mwpowellhtx: the g++ you point to is an internal tool, and should not be used manually. 1362329259 #crosstool-ng y_morin say mwpowellhtx: you can export PATH="${PATH}:/opt/x-tools/TARGET/bin" and then use "TARGET-g++" without the full path. 1362329276 #crosstool-ng y_morin say mwpowellhtx: and exporting the PATH will allow you to run: ./configure --host=TARGET 1362329298 #crosstool-ng y_morin say mwpowellhtx: as ./configure will automatically find TARGET-{gcc,g++,as,ar,ld,...} 1362329305 #crosstool-ng mwpowellhtx say viola 1362329314 #crosstool-ng mwpowellhtx say file hello-arm tells me ARM info 1362329343 #crosstool-ng mwpowellhtx say golden tip re: configure. thank you 1362329347 #crosstool-ng y_morin say mwpowellhtx: I guess you meant "voilà" 1362329352 #crosstool-ng mwpowellhtx say yessir thanks 1362329365 #crosstool-ng y_morin say ;-) 1362329382 #crosstool-ng y_morin tell should know about voilà, being French! ;-) 1362329649 #crosstool-ng mwpowellhtx say we'll probably need to adjust our kernel versions and such. I am more confident this puts on track to target our ARM. 1362329813 - mwpowellhtx quit Quit: There's nothing dirtier then a giant ball of oil 1362329965 #crosstool-ng uminded join 1362330128 #crosstool-ng uminded say I can compile a toolchain (-march=armv7-a -mtune=cortex-a8 -mthumb -mfpu=neon -mfloat-abi=hard) and have compiled working kernels with it but I need a native chain to run on that cortex-a8. What do I set in menuconfig?? 1362330205 #crosstool-ng y_morin say uminded: crosstool-NG is not currently capable of building a native toolchain. 1362330293 #crosstool-ng y_morin say uminded: crosstool-NG is initially a cross-compilation tool. Having a toolchain on the target is not really the initial goal of crosstool-NG, and although I'd like to have it, I'm not investing too much on that for now... 1362330293 #crosstool-ng uminded say oh. Well it did a great job for my cross compiling one so I had hoped... What do you reccomended I do? I have not been able to find a download for a native cortex-a8 one 1362330345 #crosstool-ng y_morin say uminded: Well, I do recopmmend to do all with cross-compilation. There's no way your ARM target will build code as fast as your PC. (at least, not in the foreseeable future). 1362330427 #crosstool-ng uminded say Some of these crazy 2.5ghz quad core cell phones might change that soon... But I am trying to compile linuxcnc and currently if you use --host or CC= during configure it has a bug and fails 1362330478 #crosstool-ng uminded say it works fine when compiling nativly though so I was joing going to build that one on the arm 1362330590 #crosstool-ng y_morin say Argh... Yet another package that does not use a traditional build-system... :-( 1362330614 #crosstool-ng y_morin say uminded: You'll get faster at fixing linuxcnc that trying to build a native toolchain. 1362330671 #crosstool-ng y_morin say Ah, it uses autotools, in fact. 1362330686 #crosstool-ng uminded say yup 1362330767 #crosstool-ng y_morin tell is going for a break... 1362330963 #crosstool-ng mwpowellhtx join 1362331282 #crosstool-ng diorcety join 1362331442 #crosstool-ng mwpowellhtx say uh oh ./configure command not found 1362331467 #crosstool-ng mwpowellhtx say I recently upgraded GCC to 4.7.2, then build the crosstool tool chain 1362331818 #crosstool-ng mwpowellhtx say <-- Linux newbie. configure is a script that gets included with a code base to configure Makefile(s)? 1362332388 - hrubi quit Ping timeout: 264 seconds 1362332520 #crosstool-ng hrubi join 1362334275 #crosstool-ng y_morin say mwpowellhtx: what package are you trying to build? 1362334325 #crosstool-ng mwpowellhtx say I am learning what configure means to our code base, configuring our make system and such 1362334380 #crosstool-ng y_morin say mwpowellhtx: yes, some packages include a script named 'configure'. 'configure' is part of the autotools buildsystem; it is very common, but not all packages have. Some packages will use another buildsystem (eg. cmake...) 1362334419 #crosstool-ng y_morin say mwpowellhtx: if you're trying to build your own code, then you should know how to specify the cross-compiling tools, no? ;-) 1362334454 #crosstool-ng mwpowellhtx say we'll have a mix for decoupling, testability, etc, SOLID approach 1362334728 #crosstool-ng diorcety1 join 1362334895 - diorcety quit Ping timeout: 260 seconds 1362337233 - mwpowellhtx quit Quit: Some folks are wise, and some otherwise. 1362339794 - sfan5|OFF nick sfan5 1362345009 - sfan5 nick sfan5|OFF 1362347212 - mnt_real_ quit Quit: Leaving 1362349249 #crosstool-ng blueness join 1362349249 - blueness quit Changing host 1362349249 #crosstool-ng blueness join 1362350260 - smartin quit Quit: leaving 1362351843 - y_morin quit Quit: Nighty Night!