# 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 # 1304658413 - jacques quit Ping timeout: 252 seconds 1304659188 #crosstool-ng jacques join 1304662258 #crosstool-ng daggs1 join 1304662263 #crosstool-ng daggs1 say hello 1304662691 #crosstool-ng daggs1 say 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/ 1304662766 #crosstool-ng Buglouse say Look @ config.log from compliation. 1304662800 #crosstool-ng Buglouse say might be missing crt1.o 1304662825 #crosstool-ng daggs1 say if it is missing, how can I add it back? 1304665697 - dalias quit Ping timeout: 240 seconds 1304666654 #crosstool-ng dalias join 1304667595 - mnt_real quit Remote host closed the connection 1304669242 - jacques quit Ping timeout: 252 seconds 1304669335 #crosstool-ng jacques join 1304669335 - jacques quit Changing host 1304669335 #crosstool-ng jacques join 1304687959 - Buglouse quit Ping timeout: 252 seconds 1304690171 #crosstool-ng jacques_ join 1304690367 - jacques quit Ping timeout: 248 seconds 1304692237 #crosstool-ng mnt_real join 1304695082 - jacques_ nick jacques 1304699109 #crosstool-ng y_morin join 1304699253 - y_morin nick y_morin|away 1304699999 #crosstool-ng daggs1 say 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/ 1304702689 #crosstool-ng Buglouse join 1304704736 - y_morin|away nick y_morin 1304704754 #crosstool-ng y_morin say daggs1: hey! I'll look at your .config in a few secondes... 1304704928 #crosstool-ng y_morin say daggs1: you are using custom kernel headers. What version is that? What are the differences with the corresponding upstream release? 1304704946 #crosstool-ng y_morin say daggs1: also, can you pastebin your build.log? 1304705271 #crosstool-ng y_morin say 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? 1304706880 - y_morin nick y_morin|away 1304709187 #crosstool-ng daggs1 say y_morin|away, I need a kernel-2.6.22 compatible glibc or the program will crash with FATAL: kernel too old msg 1304709205 #crosstool-ng daggs1 say I've found the ports in some site 1304709239 #crosstool-ng daggs1 say I'll try and post the build.log soon 1304709856 #crosstool-ng dalias say since when does glibc require latest kernels? 1304709868 #crosstool-ng dalias say last i checked it still had crap in it for supporting 2.4 or even 2.2... 1304710824 #crosstool-ng daggs1 say dalias, glibc-2.12.1 needs minimal ok 2.6.22.5 1304710833 #crosstool-ng daggs1 say see under --enable-kernel 1304712855 - daggs1 quit Remote host closed the connection 1304712893 #crosstool-ng daggs1 join 1304712899 #crosstool-ng daggs1 say hello again 1304712914 #crosstool-ng daggs1 say y_morin|away, here is the log: http://www.4shared.com/file/H6RKM81a/buildtar.html 1304716377 - y_morin|away nick y_morin 1304716637 #crosstool-ng y_morin say 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" 1304716677 #crosstool-ng y_morin say The "extra config" is not necessary, there is already provision for it in the options, better use that, no? ;-) 1304716696 #crosstool-ng daggs1 say y_morin, according to glibc's site the newest glibc I can use it 2.11.1 1304716701 #crosstool-ng daggs1 say didn 1304716705 #crosstool-ng daggs1 say didn't know that 1304716707 #crosstool-ng daggs1 say thanks 1304716735 #crosstool-ng y_morin say daggs1: how did you manage to build that config, as the glibc ports addon does not exist on the GNU ftp ? 1304716754 #crosstool-ng y_morin say It should not even have passed the download step... 1304716755 #crosstool-ng daggs1 say I've googled the file name 1304716764 #crosstool-ng y_morin say And where did you get it from? 1304716764 #crosstool-ng daggs1 say and found a hit 1304716770 #crosstool-ng daggs1 say sec 1304716818 #crosstool-ng y_morin say OK, so the toolchain compiled OK. Then that's when you want to use it that it fails, right? 1304716823 #crosstool-ng daggs1 say here: http://foss.doredevelopment.dk/mirrors/glibc-ports/ 1304716856 #crosstool-ng y_morin say OK/ 1304716859 #crosstool-ng daggs1 say yes, it did compiled well but when I try to run a compilation which needs to run cc1, it fails 1304716875 #crosstool-ng daggs1 say complaining it cannot be found 1304716892 #crosstool-ng y_morin say Who's comp[laining? gcc? 1304717014 #crosstool-ng daggs1 say yes 1304717033 #crosstool-ng y_morin say The same toolchain works pretty well here building busybox. What is it you are trying to build? 1304717097 #crosstool-ng daggs1 say small logger 1304717099 #crosstool-ng daggs1 say one c file 1304717129 #crosstool-ng y_morin say And what's the build command line you are using ? 1304717234 #crosstool-ng daggs1 say can't remember and my work computer is dowb 1304717239 #crosstool-ng daggs1 say and I'm at home... 1304717279 #crosstool-ng daggs1 say thing is, when I use the original cross compiler created with the original crosstool 1304717282 #crosstool-ng daggs1 say it works okj 1304717289 #crosstool-ng y_morin say daggs1: when you have the info, post it to the crossgcc ML. 1304717299 #crosstool-ng daggs1 say ok 1304717368 #crosstool-ng y_morin say daggs1: and if possible the smallest testcase that exhibit the issue. 1304717391 #crosstool-ng daggs1 say 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) 1304717400 #crosstool-ng daggs1 say how can I cause gcc to use cc1? 1304717423 #crosstool-ng y_morin say gcc is 'only' a frontend. cc1 is the real C compiler. 1304717431 #crosstool-ng y_morin say Sortta. 1304717441 #crosstool-ng daggs1 say so why it fails suddenly on these files? 1304717486 #crosstool-ng y_morin say No idea without more info... 1304717497 #crosstool-ng daggs1 say you need the command? 1304717558 #crosstool-ng y_morin say 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. 1304717583 #crosstool-ng daggs1 say I cannot give the file, but I'll see what I can do 1304717588 #crosstool-ng y_morin say As it does work here for me on the few tests I have done, I can't investigate more. 1304717590 #crosstool-ng daggs1 say but it will be on sunday 1304717593 #crosstool-ng daggs1 say only 1304717655 #crosstool-ng y_morin say 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. 1304717666 #crosstool-ng daggs1 say will try 1304717668 #crosstool-ng daggs1 say thanks 1304717708 #crosstool-ng y_morin say It might also happen trying to build an empty file, just try that. 1304717718 #crosstool-ng daggs1 say will try 1304717820 #crosstool-ng y_morin say daggs1: I might be difficult to reach during the WE, so post to the list... 1304717837 #crosstool-ng daggs1 say ok 1304719154 - y_morin quit Quit: Nite all! ZZzzz...