# 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 # 1394841748 #crosstool-ng blueness join 1394841749 #crosstool-ng mnt_real_ join 1394841831 #crosstool-ng ben1066 join 1394841870 #crosstool-ng ovf_ join 1394842229 - ben1066_ quit Read error: Connection reset by peer 1394842230 - ovf quit Ping timeout: 246 seconds 1394842233 - memleak quit Ping timeout: 246 seconds 1394842238 - xrl____ quit Ping timeout: 245 seconds 1394842293 #crosstool-ng memleak join 1394842293 - memleak quit Changing host 1394842293 #crosstool-ng memleak join 1394842319 #crosstool-ng xrl____ join 1394843777 #crosstool-ng xrl_____ join 1394843869 - xrl____ quit Ping timeout: 246 seconds 1394843876 - xrl_____ nick xrl____ 1394844629 - Net147 quit Quit: HydraIRC -> http://www.hydrairc.com <- Would you like to know more? 1394847215 #crosstool-ng djerome join 1394864403 - bhundven quit Ping timeout: 245 seconds 1394864419 - ovf_ quit Ping timeout: 264 seconds 1394864444 - xrl____ quit Ping timeout: 265 seconds 1394864880 #crosstool-ng bhundven_ join 1394867984 #crosstool-ng xrl_____ join 1394871511 #crosstool-ng ovf_ join 1394876604 #crosstool-ng Net147 join 1394880839 - ovf_ nick ovf 1394881377 #crosstool-ng smartin_ join 1394881866 #crosstool-ng y_morin join 1394882292 - smartin_ quit Quit: leaving 1394882482 #crosstool-ng smartin_ join 1394885517 #crosstool-ng ius join 1394891235 #crosstool-ng perr join 1394891579 - perr quit Ping timeout: 240 seconds 1394892008 - Net147 quit Quit: HydraIRC -> http://www.hydrairc.com <- It'll be on slashdot one day... 1394892482 #crosstool-ng perr join 1394893033 - perr quit Ping timeout: 240 seconds 1394893765 #crosstool-ng perr join 1394894335 - perr quit Ping timeout: 264 seconds 1394895150 #crosstool-ng perr join 1394895774 #crosstool-ng ius say So I'm trying to build a toolchain targeting sh4a, gcc 4.8.2 / glibc 2.24 1394895793 #crosstool-ng ius say (ctng hg checkout a couple of days old) 1394895885 #crosstool-ng ius say But it fails to link libc, missing __emutls_get_address. I believe this is due to failing to link -lgcc_s, but im not really sure what's at fault and how to resolve it 1394895961 #crosstool-ng ius say (I tried adding -lgcc_s to the cc_flags/cflags variable for libc, but then it fails to find gcc_s during configure) 1394895961 - perr quit Ping timeout: 240 seconds 1394896750 #crosstool-ng perr join 1394897678 - perr quit Quit: Leaving 1394905436 - sh4rm4 quit Ping timeout: 252 seconds 1394905672 #crosstool-ng sh4rm4 join 1394906801 - smartin_ quit Quit: leaving 1394908208 - tlwoerner quit Ping timeout: 264 seconds 1394909010 #crosstool-ng tlwoerner join 1394916675 #crosstool-ng daze join 1394916679 #crosstool-ng daze part 1394916693 #crosstool-ng oty join 1394917043 #crosstool-ng oty say Hey. I'm trying to get a crosscompiler working for arm-cortex_a8-linux-gnueabi. I did "ct-ng arm-cortex_a8-linux-gnueabi" and then setup few change "kernel 3.4.69", and because I had few problems I added companions tools autoconf and automake. I also changed gliblc to the latest I could find. But I get this error about "support for the tls_model attribute is required" 1394917053 #crosstool-ng oty say And I don't know what to do from that :o 1394917130 #crosstool-ng oty say (I'm not familiar at all with cross compiling, I just get adviced, I obeyed pretty blindly) 1394917277 #crosstool-ng y_morin say oty: care to share your .config? 1394917452 #crosstool-ng oty say sure y_morin. I that normal I have a .config2 too ? 1394917457 #crosstool-ng oty say *Is 1394917511 #crosstool-ng y_morin say oty: Yes, .cofig2 id just an internal file. We just need the .config 1394917530 #crosstool-ng y_morin say .config2 is.... 1394917531 #crosstool-ng oty say http://pastebin.com/uvuuhAQR 1394917551 #crosstool-ng y_morin say oty: I'll do a test build here... 1394917562 #crosstool-ng oty say thanks ! 1394917636 #crosstool-ng oty say (but well, it took me about 40 minute to get the error :s) 1394917810 #crosstool-ng y_morin say oty: except for the download, a similar toolchain took about 15-20 minutes here. 1394917871 #crosstool-ng oty say yay o/ 1394918051 #crosstool-ng y_morin say oty: What is your host system? 1394919631 #crosstool-ng y_morin say oty: Build failed here too. I'll have a look a bit later... 1394920159 - bhundven_ nick bhundven 1394920176 - bhundven quit Changing host 1394920177 #crosstool-ng bhundven join 1394920177 - bhundven quit Changing host 1394920177 #crosstool-ng bhundven join 1394920203 #crosstool-ng bhundven say y_morin: back in seattle :D 1394920582 #crosstool-ng y_morin say bhundven: Hey! How did it go? 1394920709 #crosstool-ng bhundven say y_morin: chicago was fun, but our startup got some really big wins. 1394920757 #crosstool-ng bhundven say I will have a lot of work to do, in the near term, so ray and I should start hammering out this multilib stuff 1394920768 #crosstool-ng bhundven say before I get too busy with work 1394920801 #crosstool-ng y_morin say Hey, that's good news for you, then! :-) 1394920931 #crosstool-ng bhundven say tlwoerner: in other words, I may need you to jump in with some arm help 1394921309 #crosstool-ng bhundven say y_morin: yes, indeed. 1394921331 #crosstool-ng bhundven say y_morin: but bad news for any projects I am working on, because I'm going to get so busy 1394921370 #crosstool-ng bhundven say and probably heading to Sydney, back to Chicago, and maybe to Hong-Kong to tie the rest of the shoes to get our startup going. 1394921445 #crosstool-ng y_morin say bhundven: Yeah! You get Miles for your holidays travels! :-) 1394921461 #crosstool-ng bhundven say I need to get a card that rewards me for miles 1394922130 #crosstool-ng oty say y_morin: thanks for trying. I'm on archlinux x86_64 Linux 3.11. Using the AUR crosstool-ng-h version (3243.9838aecd6340-1) 1394922248 #crosstool-ng oty say (I don't particulary care about my actual config ; what is important as far as I know is the arm-cortex_a8-linux-gnueabi, and the 3.4.X kernel :p) 1394922293 #crosstool-ng y_morin say oty: I found the problem. 1394922303 #crosstool-ng oty say o/ 1394922306 #crosstool-ng y_morin say oty: Lemme do one more test before, though... 1394922331 #crosstool-ng oty say y_morin: I will wait praising your name :o 1394922449 #crosstool-ng y_morin say oty: Oh, don't! ;-) Results in about 15mins... 1394922486 #crosstool-ng oty say xD 1394922504 #crosstool-ng oty say y_morin: well seen x) 1394923330 #crosstool-ng y_morin say oty: OK, your problem is solved: -mcpu=cortex-a8 conflicts with -march=armv7-a 1394923354 #crosstool-ng y_morin say oty: Just remove the "Architecture level" in "Target options" 1394923360 #crosstool-ng oty say o/ 1394923375 #crosstool-ng y_morin say oty: But this uncovered another problem: glibc-2.19 needs binutils 2.21 or above. 1394923402 #crosstool-ng y_morin say oty: I'll let you test this further, now! ;-) 1394923411 #crosstool-ng oty say ^^ 1394923447 #crosstool-ng oty say binutils 2.21 is to install on my system, not to chose in the menuconfig, right ? 1394923469 #crosstool-ng y_morin say oty: In the menuconfig, yes. 1394923489 #crosstool-ng oty say oki doki ! 1394923502 #crosstool-ng y_morin say oty doki? :-) 1394923507 #crosstool-ng y_morin tell hides... 1394923510 #crosstool-ng oty say :o 1394923551 #crosstool-ng y_morin say oty: But basically you would not want to mix too disparate components versions: use a gcc/glib/binutils combo that were released at about the same time. 1394923568 #crosstool-ng y_morin say *glibc not glib 1394923591 #crosstool-ng y_morin say oty: Do not try to mix an old gcc or binutils with a newer glibc. Or any other weird combo. 1394923600 #crosstool-ng oty say I'd want to have everything the most recent possible generally. 1394923628 #crosstool-ng y_morin say oty: Then do so: bump binutils, gcc and the linux headers. 1394923639 #crosstool-ng oty say ok ok ! 1394923881 #crosstool-ng oty say mhm 1394923890 #crosstool-ng oty say linux headers ? 1394923950 #crosstool-ng y_morin say oty: Linux headers, yes. They are part of the toolchain. In the "Operating System" sub-menu. 1394923961 #crosstool-ng oty say the kernel version ? 1394923977 #crosstool-ng y_morin say oty: Basically, glibc needs to know the API and ABI to talk to the kernel, so it needs the kernel headers. 1394923977 #crosstool-ng oty say x) 1394924003 #crosstool-ng oty say doki ! 1394924007 #crosstool-ng y_morin say :-) 1394924007 #crosstool-ng oty say >< 1394924056 #crosstool-ng oty say (I'll re-use that I think, I've no shame stealing, even shameful stuff :p) 1394924059 #crosstool-ng y_morin say oty: But beware the kernel headers! You should ensure that glibc can talk to the kernel running on your target. 1394924070 #crosstool-ng y_morin say oty: You can achive tht in two ways: 1394924091 #crosstool-ng y_morin say oty: 1) set the same version for kenel headers in ct-ng as the kernel you run on your target 1394924110 #crosstool-ng y_morin say oty: or 2) tell glibc what the oldest kernel it should support will be. 1394924122 #crosstool-ng y_morin say oty: Usually, 1) is the preffered solution. 1394924129 #crosstool-ng oty say I was running the 1) o/ 1394924141 #crosstool-ng oty say *for 1394924144 #crosstool-ng y_morin say oty: Good, then keep that version as kernel headers. 1394924189 #crosstool-ng y_morin say oty: The drawback is if you upgrade your kernel on the target: glibc won't be able to use the latest APIs of the newer kernel, unles you recompile your toolchain. 1394924300 #crosstool-ng oty say one hour of compilation is fine, as long as I still have the .config somewhere with everything working ^^ 1394924370 #crosstool-ng y_morin say oty: The .config is saved in the toolchain. 1394924411 #crosstool-ng y_morin say oty: It is a script that is named: --ct-ng.config 1394924461 #crosstool-ng tlwoerner say bhundven: okay, np. congrats on your startup wins! sounds exciting :-) 1394924461 #crosstool-ng y_morin say oty: So you can run (eg.) arm-unknown-linux-gnueabi-ct-ng.config >.config to retrieve the .config used for that toolchain. 1394924562 #crosstool-ng oty say y_morin: cool ! 1394924772 #crosstool-ng bhundven say tlwoerner: :D , but I do want to get the multilib stuff done and get the patches on patchworks so we can get comments 1394924803 #crosstool-ng bhundven say I don't think y_morin will even look at them and comment from my patchqueue 1394925103 #crosstool-ng bhundven say tlwoerner: to go back to the discussion we were having on email, wrt multlib-list; We are trying to provide a solution that allows for simple multilib configuration, but I'd also like to include a CT_CC_GCC_CUSTOM_MULTILIB_LIST, incase you want to do something weird (and noted that it is not recommended.) 1394925244 #crosstool-ng oty say y_morin: "[ERROR] configure: error: forced unwind support is required" is something you heard about ? :o 1394925283 #crosstool-ng y_morin say bhundven: Yes, we want a default, no-config multilib config option that activates the dfault settings for that arch. And an additional, optional config option for the user to specify a non-default (trimmed-down, experimental...) multilib settings. 1394925297 #crosstool-ng bhundven say :) 1394925302 #crosstool-ng bhundven say exactly 1394925314 #crosstool-ng y_morin say oty: Yes, just say 'Y' to force Unwind support in the menuconfig, in the "C library" sub-menu. 1394925371 #crosstool-ng y_morin say (but it should 'y' by default..) 1394925417 #crosstool-ng bhundven say y_morin: heh, I was about to ask about that. 1394925454 #crosstool-ng bhundven say I notice on most of my configs, I run into the problem where unwind should be on but it's not. I think it's more rare now to not force unwind support 1394925509 #crosstool-ng oty say Maybe I unchecked it by error, but I doubt that x) 1394925615 #crosstool-ng y_morin say bhundven, oty: strange: the default is 'y' (I just checked). 1394925637 #crosstool-ng bhundven say o.O 1394925640 #crosstool-ng bhundven say hrm 1394925642 #crosstool-ng bhundven say your right 1394925648 #crosstool-ng bhundven tell feels crazy 1394925650 #crosstool-ng y_morin say oty: Ah, but it is explicitly set to off in the arm-cortex_a8 sample. 1394925656 #crosstool-ng oty say o/ 1394925661 #crosstool-ng oty say I'm not crazy yet o/ 1394925675 #crosstool-ng y_morin say oty 1, bhundven 0. ;-) 1394925680 #crosstool-ng bhundven say haha 1394925697 #crosstool-ng y_morin say Well, time for bed here... 1394925703 #crosstool-ng bhundven say l8r y_morin 1394925709 #crosstool-ng oty say sweet dreams o/ 1394925723 #crosstool-ng y_morin tell hates when his body's phisiological needs kick in... :-/ 1394925726 #crosstool-ng y_morin say Bye! 1394925732 - y_morin quit Quit: Nighty Night! 1394925746 #crosstool-ng bhundven say well, humans are not machines. 1394925777 #crosstool-ng bhundven say and even machines are affected by entropy 1394926453 #crosstool-ng mingwandroid join 1394927629 #crosstool-ng oty say error: field 'siginfo' has incomplete type 1394927652 #crosstool-ng oty say y_morin my savior is asleep, if any idea, I'll take it x)