# 05:06:53 |
jacques |
quits : Ping timeout: 252 seconds |
# 05:19:48 |
jacques |
joins #crosstool-ng |
# 06:10:58 |
daggs1 |
joins #crosstool-ng |
# 06:11:03 |
daggs1 |
hello |
# 06:18:11 |
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:26 |
Buglouse |
Look @ config.log from compliation. |
# 06:20:00 |
Buglouse |
might be missing crt1.o |
# 06:20:25 |
daggs1 |
if it is missing, how can I add it back? |
# 07:08:17 |
dalias |
quits : Ping timeout: 240 seconds |
# 07:24:14 |
dalias |
joins #crosstool-ng |
# 07:39:55 |
mnt_real |
quits : Remote host closed the connection |
# 08:07:22 |
jacques |
quits : Ping timeout: 252 seconds |
# 08:08:55 |
jacques |
joins #crosstool-ng |
# 08:08:55 |
jacques |
quits : Changing host |
# 08:08:55 |
jacques |
joins #crosstool-ng |
# 13:19:19 |
Buglouse |
quits : Ping timeout: 252 seconds |
# 13:56:11 |
jacques_ |
joins #crosstool-ng |
# 13:59:27 |
jacques |
quits : Ping timeout: 248 seconds |
# 14:30:37 |
mnt_real |
joins #crosstool-ng |
# 15:18:02 |
jacques_ |
is now known as: jacques |
# 16:25:09 |
y_morin |
joins #crosstool-ng |
# 16:27:33 |
y_morin |
is now known as: y_morin|away |
# 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 |
Buglouse |
joins #crosstool-ng |
# 17:58:56 |
y_morin|away |
is now known as: y_morin |
# 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? |
# 18:34:40 |
y_morin |
is now known as: y_morin|away |
# 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:16 |
dalias |
since when does glibc require latest kernels? |
# 19:24:28 |
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:33 |
daggs1 |
see under --enable-kernel |
# 20:14:15 |
daggs1 |
quits : Remote host closed the connection |
# 20:14:53 |
daggs1 |
joins #crosstool-ng |
# 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:12:57 |
y_morin|away |
is now known as: y_morin |
# 21:17:17 |
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:57 |
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:25 |
daggs1 |
didn't know that |
# 21:18:27 |
daggs1 |
thanks |
# 21:18:55 |
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:15 |
daggs1 |
I've googled the file name |
# 21:19:24 |
y_morin |
And where did you get it from? |
# 21:19:24 |
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:56 |
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:15 |
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:57 |
daggs1 |
small logger |
# 21:24:59 |
daggs1 |
one c file |
# 21:25:29 |
y_morin |
And what's the build command line you are using ? |
# 21:27:14 |
daggs1 |
can't remember and my work computer is dowb |
# 21:27:19 |
daggs1 |
and I'm at home... |
# 21:27:59 |
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:37 |
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:15 |
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:26 |
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:00 |
y_morin |
daggs1: I might be difficult to reach during the WE, so post to the list... |
# 21:37:17 |
daggs1 |
ok |
# 21:59:14 |
y_morin |
quits : Quit: Nite all! ZZzzz... |