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.03 | daggs1 | hello |
06:18.12 | daggs1 | I'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.27 | Buglouse | Look @ config.log from compliation. |
06:20.00 | Buglouse | might be missing crt1.o |
06:20.26 | daggs1 | if 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.59 | daggs1 | I'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.14 | y_morin | daggs1: hey! I'll look at your .config in a few secondes... |
18:02.08 | y_morin | daggs1: you are using custom kernel headers. What version is that? What are the differences with the corresponding upstream release? |
18:02.26 | y_morin | daggs1: also, can you pastebin your build.log? |
18:07.51 | y_morin | daggs1: 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.07 | daggs1 | y_morin|away, I need a kernel-2.6.22 compatible glibc or the program will crash with FATAL: kernel too old msg |
19:13.25 | daggs1 | I've found the ports in some site |
19:13.59 | daggs1 | I'll try and post the build.log soon |
19:24.17 | dalias | since when does glibc require latest kernels? |
19:24.29 | dalias | last i checked it still had crap in it for supporting 2.4 or even 2.2... |
19:40.24 | daggs1 | dalias, glibc-2.12.1 needs minimal ok 2.6.22.5 |
19:40.34 | daggs1 | see under --enable-kernel |
20:14.53 | *** join/#crosstool-ng daggs1 (~dagg@bzq-79-181-6-76.red.bezeqint.net) |
20:14.59 | daggs1 | hello again |
20:15.14 | daggs1 | y_morin|away, here is the log: http://www.4shared.com/file/H6RKM81a/buildtar.html |
21:17.18 | y_morin | daggs1: 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.58 | y_morin | The "extra config" is not necessary, there is already provision for it in the options, better use that, no? ;-) |
21:18.16 | daggs1 | y_morin, according to glibc's site the newest glibc I can use it 2.11.1 |
21:18.21 | daggs1 | didn |
21:18.26 | daggs1 | didn't know that |
21:18.27 | daggs1 | thanks |
21:18.57 | y_morin | daggs1: how did you manage to build that config, as the glibc ports addon does not exist on the GNU ftp ? |
21:19.14 | y_morin | It should not even have passed the download step... |
21:19.16 | daggs1 | I've googled the file name |
21:19.25 | y_morin | And where did you get it from? |
21:19.26 | daggs1 | and found a hit |
21:19.30 | daggs1 | sec |
21:20.18 | y_morin | OK, so the toolchain compiled OK. Then that's when you want to use it that it fails, right? |
21:20.23 | daggs1 | here: http://foss.doredevelopment.dk/mirrors/glibc-ports/ |
21:20.57 | y_morin | OK/ |
21:20.59 | daggs1 | yes, it did compiled well but when I try to run a compilation which needs to run cc1, it fails |
21:21.16 | daggs1 | complaining it cannot be found |
21:21.32 | y_morin | Who's comp[laining? gcc? |
21:23.34 | daggs1 | yes |
21:23.53 | y_morin | The same toolchain works pretty well here building busybox. What is it you are trying to build? |
21:24.58 | daggs1 | small logger |
21:25.00 | daggs1 | one c file |
21:25.29 | y_morin | And what's the build command line you are using ? |
21:27.15 | daggs1 | can't remember and my work computer is dowb |
21:27.20 | daggs1 | and I'm at home... |
21:28.00 | daggs1 | thing is, when I use the original cross compiler created with the original crosstool |
21:28.02 | daggs1 | it works okj |
21:28.09 | y_morin | daggs1: when you have the info, post it to the crossgcc ML. |
21:28.19 | daggs1 | ok |
21:29.28 | y_morin | daggs1: and if possible the smallest testcase that exhibit the issue. |
21:29.51 | daggs1 | the 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.00 | daggs1 | how can I cause gcc to use cc1? |
21:30.23 | y_morin | gcc is 'only' a frontend. cc1 is the real C compiler. |
21:30.31 | y_morin | Sortta. |
21:30.41 | daggs1 | so why it fails suddenly on these files? |
21:31.26 | y_morin | No idea without more info... |
21:31.38 | daggs1 | you need the command? |
21:32.38 | y_morin | daggs1: 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.03 | daggs1 | I cannot give the file, but I'll see what I can do |
21:33.08 | y_morin | As it does work here for me on the few tests I have done, I can't investigate more. |
21:33.10 | daggs1 | but it will be on sunday |
21:33.13 | daggs1 | only |
21:34.16 | y_morin | daggs1: 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.27 | daggs1 | will try |
21:34.28 | daggs1 | thanks |
21:35.08 | y_morin | It might also happen trying to build an empty file, just try that. |
21:35.18 | daggs1 | will try |
21:37.01 | y_morin | daggs1: I might be difficult to reach during the WE, so post to the list... |
21:37.17 | daggs1 | ok |