ibotlog2html for #crosstool-ng

<< Previous 2012-05-02 Next >>

# 00:40:18 mnt_real__ joins #crosstool-ng
# 00:43:55 mnt_real_ quits : Ping timeout: 276 seconds
# 02:05:48 mnt_real__ quits : Quit: Leaving
# 02:06:42 mnt_real joins #crosstool-ng
# 09:19:40 smartin joins #crosstool-ng
# 11:28:57 madmac2501 joins #crosstool-ng
# 12:15:56 madmac2501 quits : Quit: Ex-Chat
# 14:41:00 joko joins #crosstool-ng
# 14:42:29 joko Hello, I'm trying to build the arm-unknown-eabi configuration sample and I get the following error: "error: automatic de-ANSI-fication support has been removed"
# 14:42:36 joko Any idea how to fix this problem?
# 14:45:43 joko Apparently this error pops up in mpfr-2.4.2; with mpfr-3.0.0 building seems to continue
# 16:49:37 smartin quits
# 17:12:56 y_morin joins #crosstool-ng
# 17:33:20 typn joins #crosstool-ng
# 17:34:27 typn Hi, I'm trying to compile a .c file translated from perl...
# 17:34:33 typn Now I could do $ gcc -o a.out -lperl file.c
# 17:35:15 typn but when I try to $ arm-chumby-linux-gnueabi-gcc -o a.out -lperl file.c
# 17:35:20 typn it throws an error
# 17:35:47 typn arm-chumby-linux-gnueabi/bin/ld: cannot find -lperl
# 17:35:47 typn collect2: ld returned 1 exit status
# 17:37:36 typn I wonder if there is something that I missed... why could gcc find libperl and gnueabi-gcc could not?
# 17:38:25 typn and/or if there is anything I could do to get libperl installed
# 18:13:58 chffelix joins #crosstool-ng
# 18:16:05 chffelix Hi, I just started trying to compile an ARM toolchain using crosstool-1.15 but I'm getting stuck at "Installing pass-1 core C compiler" step
# 18:16:24 chffelix it is failing to find PPL version 0.11
# 18:16:45 chffelix but that's strange, since on ct-ng menu there's only PPL 0.10.2 available
# 18:17:07 chffelix any tips?
# 18:17:14 chffelix thanks!
# 18:21:49 chffelix At crosstool-ng.org, at "snapshots" section i also found strange the menu on the last pic showing only PPL-0.10.2, just like mine, but on the "log of a successfull run" it retrieving "ppl-0.11.2"
# 18:22:16 chffelix and that was dated back to 20110808..
# 18:25:40 chffelix by the way, thanks y_morin for the great effort you put into crosstool-ng
# 18:26:07 chffelix it made our life so much easier!
# 18:46:45 kos_tom I remember y_morin talking about gcc versions vs. PPL versions
# 18:46:55 kos_tom depending on which gcc version you choose, you need to pick a different PPL version
# 18:47:07 kos_tom and last time I looked, I think ct-ng didn't had the logic to help you in making this decision
# 18:55:19 y_morin chffelix: That's a bug that I just understood reading your question...
# 18:55:39 y_morin kos_tom: indeed, the logic is not in ct-ng, and it's not trivial to do...
# 18:56:19 y_morin chffelix: A quick workaround is to enable 'EXPERIMENTAL' in the "Paths and misc options" sub-menu.
# 18:56:36 chffelix hmm
# 18:56:37 y_morin chffelix: then you can select PPL 0.11
# 18:56:58 chffelix thanks :) I'll try that right now
# 18:57:10 y_morin chffelix: that's because I removed the EXPERIMENTAL flag for most of gcc versions, but forgot to remove that flag for the corresponding ppl versions...
# 18:57:41 y_morin typn: you need to build perl for your target first. crosstool-Ng does not do that for you.
# 18:57:58 chffelix just as a side note, i marked it to use the latest versions of everything.. gcc is 4.6.3 in this case
# 18:58:07 typn y_morin: Oh... I see thanks
# 18:58:09 y_morin typn: the cross-compiler can not use the libperl from your host machine, obviously
# 18:58:16 chffelix and I'm using GCC 4.7 as my host compiler
# 18:58:45 y_morin chffelix: yes, but even if you asked for the latest gcc, the corresponding ppl is still hidden behing EXPERIMENTAL, and you can't select it
# 18:59:33 y_morin is poping the messages...
# 18:59:41 y_morin chffelix: cheers! ;-)
# 19:00:45 y_morin typn: about cross-buildingh libperl, IIRC it's not trivial...
# 19:01:04 typn right
# 19:01:08 typn it's very hard
# 19:01:17 typn so I'm trying to get away with not recompiling perl
# 19:01:49 y_morin typn: if your program needs to be linked against libperl, you can't avoid cross-building libperl
# 19:01:50 typn seems like what I want to do in perl can be done in c
# 19:02:02 typn as in native c
# 19:02:04 y_morin plays with xrandr...
# 19:02:24 y_morin plays with xinput
# 19:02:37 y_morin plays with xinput+xrandr at the same time..
# 19:02:41 y_morin gets headache...
# 19:02:55 y_morin bangs his head on keyboard...
# 19:03:26 y_morin Of course, the last may also imply the former... :-)
# 19:04:12 y_morin tosses in dual-screen and hotplug to the previous two...
# 19:04:21 y_morin gets a stronger headache...
# 19:08:37 y_morin invents new maths: dual-head + hotplug + touchscreen + rotation + multi-layout keyboards = insanity
# 19:38:28 claudio_ joins #crosstool-ng
# 19:40:04 claudio_ quits : Client Quit
# 19:40:43 claudio_ joins #crosstool-ng
# 19:41:03 claudio_ is now known as: testee
# 19:41:36 testee is now known as: chffelix_
# 19:42:32 chffelix quits : Ping timeout: 272 seconds
# 19:43:24 chffelix_ is now known as: chffelix
# 19:52:00 chffelix hmm.. to start on a more proven configuration than mine, which is specific to a ep9312 architecture, i tried using the sample "arm-unknown-linux-gnueabi"
# 19:53:01 chffelix but it is stopping with a permission denied error involving "limits.h"
# 19:53:06 chffelix /home/claudio/crosstool-1.15/.build/tools/bin/install -c -m 644 include/limits.h /usr/include/limits.h
# 19:53:06 chffelix [ALL ] /usr/bin/ginstall: cannot remove `/usr/include/limits.h': Permission denied
# 19:54:25 chffelix is it referring to the host system's limits.h?
# 19:54:32 y_morin chffelix: do *not* install in /usr ! How did you configure your toolchain?
# 19:54:50 y_morin chffelix: did you use the sample asi-is, ot did you tweak it ?
# 19:54:55 chffelix as is
# 19:55:06 y_morin chffelix: on what system?
# 19:55:25 chffelix my system is a slackware64
# 19:55:55 y_morin chffelix: just a sec, I'm checking here...
# 19:56:18 chffelix the only thing i did to the config was to remove the "duma" debug facility
# 19:56:27 y_morin chffelix: not an issue.
# 19:56:28 chffelix because the download link seems to be broken
# 19:56:50 y_morin chffelix: can you post your build.log somewhere I can grab it (eg. pastebin)?
# 19:56:55 chffelix yep.. sure
# 19:57:39 chffelix you want the entire log or just the last section?
# 19:57:57 y_morin chffelix: the entire log.
# 19:58:59 y_morin chffelix: BTW to get my attention (if I'm in front of my computer, that is), just prefix the line with: ymorin:
# 19:59:22 y_morin Otherwise I only look accosinnaly to my IRC client...
# 19:59:41 y_morin *occasionaly (or however it get written...)
# 19:59:44 chffelix oh.. sure :)
# 19:59:49 y_morin ;-)
# 19:59:50 chffelix thanks
# 20:00:48 y_morin jumps between two computers, four monitors, three keyboards, two mice and a touchscreen, and two desks...
# 20:04:03 chffelix ooops
# 20:04:19 chffelix the log exceeded maximum pastebin capacity
# 20:05:09 chffelix would you like me to DCC send you the file, y_morin?
# 20:05:09 smartin joins #crosstool-ng
# 20:05:30 y_morin chffelix: you can try that (not sure my client accepts DDC, though) Just give it a try.
# 20:06:12 chffelix there it goes
# 20:06:41 y_morin chffelix: "waiting for conneciton" (I just accepted the transfert)
# 20:06:50 chffelix hm.. seems like a firewall issue
# 20:06:53 y_morin chffelix: and now: Download of "build.log" from chffelix failed. Reason: Timed out.
# 20:07:35 y_morin chffelix: can you compress it (with bzip2), and report the compresed size?
# 20:07:42 chffelix ok
# 20:07:47 y_morin chffelix: if it is small enough, you can mail it to me.
# 20:09:35 chffelix from 5.90MB to 4.0k
# 20:09:38 chffelix fair enough
# 20:09:39 chffelix hehe
# 20:10:14 chffelix to which mail address should I send you?
# 20:10:18 y_morin chffelix: Only 4K? 8-/
# 20:10:39 chffelix oops
# 20:11:13 y_morin chffelix: yann(dot)morin(dot)1998(at)free(dot)fr
# 20:11:18 chffelix it seems strange indeed.. let me copy the file again
# 20:12:08 chffelix ok.. 104K
# 20:15:22 y_morin chffelix: Ah, looks more plausible! Send in the mail... ;-)
# 20:15:23 chffelix ok.. gone!
# 20:16:23 y_morin chffelix: OK, got it. Looking...
# 20:19:07 chffelix oh.. by the way.. i had also removed "Java" at the C compiler section
# 20:19:21 chffelix but i suspect that might not have anything to do with it
# 20:23:59 y_morin chffelix: indeed no.
# 20:24:09 y_morin chffelix: what does it says: install --version
# 20:24:45 chffelix install (GNU coreutils) 8.15
# 20:24:46 chffelix Copyright (C) 2012 Free Software Foundation, Inc.
# 20:24:46 chffelix License GPLv3+: GNU GPL version 3 or later .
# 20:24:46 chffelix This is free software: you are free to change and redistribute it.
# 20:24:46 chffelix There is NO WARRANTY, to the extent permitted by law.
# 20:24:46 chffelix Written by David MacKenzie.
# 20:25:19 y_morin OK (mine is 8.5, but no biggie)
# 20:25:52 y_morin chffelix: It all looks really weird. Your build.log is exactly the same as mine (except for the paths that I seded).
# 20:26:23 y_morin chffelix: then, all of a sudden, there is this install mishap that install in / for you, but really installs to sysroot for me...
# 20:26:32 y_morin is puzzled...
# 20:27:02 chffelix if you are.. imagine me
# 20:27:03 chffelix hehe
# 20:28:51 y_morin chffelix: make --version ?
# 20:29:07 y_morin smells something...
# 20:29:28 chffelix GNU Make 3.82
# 20:29:28 chffelix Built for x86_64-slackware-linux-gnu
# 20:29:28 chffelix Copyright (C) 2010 Free Software Foundation, Inc.
# 20:29:34 y_morin expected that...
# 20:29:41 y_morin chffelix: ready for a test?
# 20:29:44 chffelix yep
# 20:29:45 chffelix sure
# 20:30:32 y_morin chffelix: ct-ng menuconfig -> Paths and misc options -> Try features marked as EXPERIMENTAL
# 20:31:05 y_morin chffelix: then back to main menu -> Companion tools -> Build some companion tools -> make
# 20:31:20 y_morin chffelix: then exit and save, and rebuild.
# 20:31:50 y_morin chffelix: IIRC glibc-2.9 does not compile with make 3.82
# 20:32:16 y_morin chffelix: because make 3.82 /fixed/ a bug that older glibc were relying on...
# 20:32:27 chffelix hmm!
# 20:32:57 chffelix i would never guess that.. hehe
# 20:33:13 chffelix building...
# 20:33:26 y_morin chffelix: other symptom of the same issue: "mixed implicit and normal rules. Stop."
# 20:33:58 y_morin chffelix: the bug was also /leveraged/ by the Linux kernel, so older Linux kernel would fail with the other symptom (IIRC).
# 20:34:20 y_morin ... when built using make 3.82
# 20:34:58 y_morin chffelix: BTW, look at the known issues, in the source tree... I just remembered it was described in there... ;-p
# 20:35:20 y_morin chffelix: file is: docs/B - Known issues.txt
# 20:35:33 chffelix oh.. RTFM #)
# 20:35:36 chffelix hehe
# 20:35:37 y_morin Exerpt:
# 20:35:40 y_morin Symptoms:
# 20:35:42 y_morin glibc start files and headers fail with: [/usr/include/limits.h] Error 1
# 20:35:43 y_morin Explanations:
# 20:35:45 y_morin Old glibc (and eglibc) Makefiles break with make-3.82.
# 20:35:49 y_morin chffelix: no problem! ;-)
# 20:36:13 chffelix :)
# 20:36:19 chffelix seems to be going well..
# 20:36:29 chffelix it's already on pass-2 core C compiler
# 20:36:39 y_morin chffelix: I know it goes well: you're not yelling! ;-)
# 20:37:06 chffelix hehe
# 20:37:28 chffelix thanks again for all your work..
# 20:37:39 chffelix it's ct-ng is really a great tool
# 20:37:48 y_morin chffelix: BTW, the know issues file is referenced in the build error message, right at the last line. ;-)
# 20:37:53 y_morin chffelix: Tanks! :-)
# 20:39:23 y_morin chffelix: if you find something to make the error more meaningfull, just say. It;s obvious to me, as I coded that, but it should be especially obvious to the end user
# 20:39:33 chffelix putting together a cross-compiler is a daunting task and it makes it really easy to get the specifics you want
# 20:39:39 y_morin So, if the emssage needs rework, only end users can say...
# 20:40:13 y_morin chffelix: I too suffered as in hell the first time I build a toolchain, some 12 years ago...
# 20:40:22 chffelix yeap.. i'll give the known issues more attention next time
# 20:40:29 y_morin remebers his first steps with Linux From Scratch...
# 20:41:30 chffelix i always wanted to take that route sometime
# 20:41:41 chffelix but i didn't have much spare time for that
# 20:41:57 chffelix it should teach you a lot indeed
# 20:42:11 y_morin chffelix: it's not really about "paying more attention", it's about "making the user notice" that I was asking. If you find a better way for the end user (of which you are, until you become a developper!), then say so, I'm happy to improve the error messages...
# 20:42:49 chffelix yeah.. sure :) it is just that I didn't even look at it.. shame on me hehe
# 20:42:59 chffelix but i'll be glad to help in that sense
# 20:43:10 y_morin chffelix: at the time I tried (and used!) LFS, my machine was a plain pentium-3, with 128MiB RAM and a few GiBs of HDD... Needless to say that building LFS would take *days* on that machine! :-)
# 20:43:15 y_morin chffelix: thanks! :-)
# 20:43:19 smartin quits
# 20:43:43 chffelix hehe.. i can imagine
# 20:44:34 y_morin surrenders to his nicotine addiction, and will be unreachable for a few minutes... :-(
# 20:53:34 y_morin chffelix: so, how went the build?
# 20:56:20 chffelix worked like a charm
# 20:56:23 chffelix :)
# 20:56:30 y_morin Good.
# 20:56:37 chffelix now I'll try the specific one.. for the ep9312
# 20:57:04 y_morin Basically, what I recommend is that user start off with a sample, and change one thing at a time, until they get exactly what they want
# 20:57:05 chffelix i was trying to build it so it would use the maverick FPU on the ep9302 we use
# 20:57:29 y_morin chffelix: maverick is not supported by ct-ng... :-(
# 20:57:59 chffelix oh.. that's ok
# 20:58:36 chffelix it's not really i need a hardware FPU.. it is just an obsession of getting the most of the hw
# 20:58:40 chffelix hehe
# 20:59:03 y_morin chffelix: IIRC, maverick crunch never was completely integrated in upstream gcc, and the latest patchset I saw was against gcc-4.4 (IIRC)
# 20:59:18 chffelix just out of curiosity.. is that an issue with gcc itself?
# 20:59:22 y_morin chffelix: sure, you can build a soft-float toolchain optimised for ep9302.
# 20:59:46 chffelix because they list it as an option in gcc help
# 20:59:47 y_morin chffelix: I believe so, yes. gcc does not have proper support for Maverick Crunch.
# 21:00:02 y_morin chffelix: I do not know the specifics. though...
# 21:02:22 y_morin chffelix: the "reference" for Maverick Crunch and gcc: http://martinwguy.co.uk/martin/crunch/
# 21:03:34 y_morin ... on which I understand that the last external patchset was against gcc-4.3. I do not know if it was integrated upstream (prob. not).
# 21:03:58 chffelix hmm. nice
# 21:05:31 chffelix thanks!
# 21:25:17 ben1066 joins #crosstool-ng
# 21:26:44 ben1066_ quits : Ping timeout: 246 seconds
# 22:13:06 chffelix y_morin ..
# 22:13:39 y_morin ?
# 22:13:56 chffelix i was trying that build specific for the ep9312 cpu, which departed from that arm-unknown-linux-gnueabi sample
# 22:14:29 chffelix and i'm getting this error on libc-start-files
# 22:14:31 chffelix conftest.c:10:19: error: stdio.h: No such file or directory
# 22:14:31 chffelix conftest.c:11:23: error: sys/types.h: No such file or directory
# 22:14:31 chffelix conftest.c:12:22: error: sys/stat.h: No such file or directory
# 22:15:08 y_morin chffelix: post your .config (eg. pastebin.com, or code.bulix.org )
# 22:15:11 chffelix initially i was having a..
# 22:15:28 chffelix i found this in config.log
# 22:15:30 chffelix for
# 22:15:45 chffelix i mean.. at .build/arm-ep9312-linux-gnueabi/build/build-libc-startfiles
# 22:15:57 chffelix ok
# 22:16:29 y_morin And post that config.log, too (one bonus point for you for lookign there!)
# 22:18:06 chffelix yeah
# 22:18:14 chffelix i found a post of you telling about that :)
# 22:18:17 chffelix hehe
# 22:18:51 y_morin :-)
# 22:20:29 chffelix hmm.. seems like everybody is pastebiing now
# 22:20:29 chffelix hehe
# 22:20:41 chffelix the site didn't come up yet
# 22:20:54 y_morin chffelix: it's easier to exchange code-snippets, avoids mailing-list round-trip...
# 22:21:13 y_morin chffelix: try code.bulix.org, I just checked, it works.
# 22:22:41 chffelix http://code.bulix.org/0gnzsw-81435?raw
# 22:23:16 chffelix that's .config
# 22:25:25 chffelix http://code.bulix.org/fyezli-81436?raw
# 22:25:30 chffelix and this is config.log
# 22:26:08 y_morin chffelix: from config.log: configure:218: error: forced unwind support is required
# 22:26:16 chffelix hmm
# 22:26:24 y_morin chffelix: you need to select "Force unwind" in the ct-ng menuconfig.
# 22:26:34 y_morin (in the compiler sub-menu)
# 22:26:48 chffelix hm.. ok!
# 22:27:35 y_morin chffelix: half past midnight, here. Time for some sleep...
# 22:27:58 y_morin chffelix: I'll be back tomorrow, around 17:00Z
# 22:28:42 chffelix yeah. sure
# 22:28:46 chffelix thanks a lot y_morin!
# 22:29:00 y_morin chffelix: wel, it;s in the "C library" sub-menu, not the compiler sub-menu...
# 22:29:09 chffelix yep.. just found it
# 22:29:12 y_morin Well, it's...
# 22:29:15 chffelix it is building already
# 22:29:16 y_morin See ya!
# 22:29:17 chffelix :)
# 22:29:20 chffelix see ya!
# 22:29:24 y_morin quits : Quit: Night!
# 22:29:24 chffelix good night
# 22:30:38 chffelix quits : Quit: Leaving

Generated by ibotlog2html by Yann E. MORIN