IRC log for #crosstool-ng on 20110506

05:19.48*** join/#crosstool-ng jacques (~fontenot@nslu2-linux/jacques)
06:10.58*** join/#crosstool-ng daggs1 (~dagg@bzq-79-181-6-76.red.bezeqint.net)
06:11.03daggs1hello
06:18.12daggs1I've build a gcc4.5.2-glibc-2.11.1 x64 linux cross compiler with ct-ng from mercurial and I have a strange issue, when I run a certain compilation job which needs to run cc1, it fails with the folliwing error: error trying to exec 'cc1': execvp: No such file or directory. the file do exists in the sysroot, how can I solve it? here is my config: http://dpaste.com/539382/
06:19.27BuglouseLook @ config.log from compliation.
06:20.00Buglousemight be missing crt1.o
06:20.26daggs1if it is missing, how can I add it back?
07:24.14*** join/#crosstool-ng dalias (dalias@216-12-86-13.cv.mvl.ntelos.net)
08:08.55*** join/#crosstool-ng jacques (~fontenot@h43.18.172.72.dynamic.ip.windstream.net)
08:08.55*** join/#crosstool-ng jacques (~fontenot@nslu2-linux/jacques)
13:56.11*** join/#crosstool-ng jacques_ (~fontenot@72.172.18.5)
13:56.11*** join/#crosstool-ng jacques_ (~fontenot@nslu2-linux/jacques)
14:30.37*** join/#crosstool-ng mnt_real (~mnt_real@bas1-montreal43-1177755902.dsl.bell.ca)
16:25.09*** join/#crosstool-ng y_morin (~ymorin@ARennes-256-1-20-49.w90-32.abo.wanadoo.fr)
16:25.09*** mode/#crosstool-ng [+o y_morin] by ChanServ
16:39.59daggs1I've build a gcc4.5.2-glibc-2.11.1 x64 linux cross compiler with ct-ng from mercurial and I have a strange issue, when I run a certain compilation job which needs to run cc1, it fails with the folliwing error: error trying to exec 'cc1': execvp: No such file or directory. the file do exists in the sysroot, how can I solve it? here is my config: http://dpaste.com/539382/
17:24.49*** join/#crosstool-ng Buglouse (~bug@cpe-107-8-145-21.wi.res.rr.com)
17:59.14y_morindaggs1: hey! I'll look at your .config in a few secondes...
18:02.08y_morindaggs1: you are using custom kernel headers. What version is that? What are the differences with the corresponding upstream release?
18:02.26y_morindaggs1: also, can you pastebin your build.log?
18:07.51y_morindaggs1: also, you selected to use the ports addon for glibc 2.11.1. It does not exist on the GNU server. How did you manage to even pass the download step?
19:13.07daggs1y_morin|away, I need a kernel-2.6.22 compatible glibc or the program will crash with FATAL: kernel too old msg
19:13.25daggs1I've found the ports in some site
19:13.59daggs1I'll try and post the build.log soon
19:24.17daliassince when does glibc require latest kernels?
19:24.29daliaslast i checked it still had crap in it for supporting 2.4 or even 2.2...
19:40.24daggs1dalias, glibc-2.12.1 needs minimal ok 2.6.22.5
19:40.34daggs1see under --enable-kernel
20:14.53*** join/#crosstool-ng daggs1 (~dagg@bzq-79-181-6-76.red.bezeqint.net)
20:14.59daggs1hello again
20:15.14daggs1y_morin|away, here is the log: http://www.4shared.com/file/H6RKM81a/buildtar.html
21:17.18y_morindaggs1: you can also tell glibc to support older kernels. See: "C-library" --> "Minimum supported kernel version" --> "Specific kernel version", then: "Minimum kernel version to support"
21:17.58y_morinThe "extra config" is not necessary, there is already provision for it in the options, better use that, no? ;-)
21:18.16daggs1y_morin, according to glibc's site the newest glibc I can use it 2.11.1
21:18.21daggs1didn
21:18.26daggs1didn't know that
21:18.27daggs1thanks
21:18.57y_morindaggs1: how did you manage to build that config, as the glibc ports addon does not exist on the GNU ftp ?
21:19.14y_morinIt should not even have passed the download step...
21:19.16daggs1I've googled the file name
21:19.25y_morinAnd where did you get it from?
21:19.26daggs1and found a hit
21:19.30daggs1sec
21:20.18y_morinOK, so the toolchain compiled OK. Then that's when you want to use it that it fails, right?
21:20.23daggs1here: http://foss.doredevelopment.dk/mirrors/glibc-ports/
21:20.57y_morinOK/
21:20.59daggs1yes, it did compiled well but when I try to run a compilation which needs to run cc1, it fails
21:21.16daggs1complaining it cannot be found
21:21.32y_morinWho's comp[laining? gcc?
21:23.34daggs1yes
21:23.53y_morinThe same toolchain works pretty well here building busybox. What is it you are trying to build?
21:24.58daggs1small logger
21:25.00daggs1one c file
21:25.29y_morinAnd what's the build command line you are using ?
21:27.15daggs1can't remember and my work computer is dowb
21:27.20daggs1and I'm at home...
21:28.00daggs1thing is, when I use the original cross compiler created with the original crosstool
21:28.02daggs1it works okj
21:28.09y_morindaggs1: when you have the info, post it to the crossgcc ML.
21:28.19daggs1ok
21:29.28y_morindaggs1: and if possible the smallest testcase that exhibit the issue.
21:29.51daggs1the bizarre thing is that I cannot complete the build process now and before it worked ok (I still got the errors but it finished the build process)
21:30.00daggs1how can I cause gcc to use cc1?
21:30.23y_moringcc is 'only' a frontend. cc1 is the real C compiler.
21:30.31y_morinSortta.
21:30.41daggs1so why it fails suddenly on these files?
21:31.26y_morinNo idea without more info...
21:31.38daggs1you need the command?
21:32.38y_morindaggs1: at least the command line used when compiling the program. If possible, the C file itself. If not possible, a small testcase that exhibit the issue, so I can try to reproduce here.
21:33.03daggs1I cannot give the file, but I'll see what I can do
21:33.08y_morinAs it does work here for me on the few tests I have done, I can't investigate more.
21:33.10daggs1but it will be on sunday
21:33.13daggs1only
21:34.16y_morindaggs1: I understand you can't give the file. I doubt your code is the source of the issue. But to reproduce, I need a well-described test-case that exhibits the problem.
21:34.27daggs1will try
21:34.28daggs1thanks
21:35.08y_morinIt might also happen trying to build an empty file, just try that.
21:35.18daggs1will try
21:37.01y_morindaggs1: I might be difficult to reach during the WE, so post to the list...
21:37.17daggs1ok

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.