<div dir="ltr"><br><br><div class="gmail_quote">On Wed, Sep 24, 2008 at 11:37 PM, Anatoly Shipitsin <span dir="ltr"><<a href="mailto:norguhtar@gmail.com">norguhtar@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">Hello. I'm try build gcc-cross from openembedded.dev, but it failed on uclibc-initial with this error:<br><br>NOTE: Running task 200 of 366 (ID: 343, /home/sauron/projects/embedded/openembedded/packages/uclibc/<a href="http://uclibc-initial_0.9.29.bb" target="_blank">uclibc-initial_0.9.29.bb</a>, do_populate_staging)<br>
NOTE: package uclibc-initial-0.9.29: started<br>NOTE: package uclibc-initial-0.9.29-r27: task do_populate_staging: started<br>ERROR: function do_stage failed<br>ERROR: log data follows (/home/sauron/projects/embedded/build/tmp/work/x86-angstrom-linux-uclibc/uclibc-initial-0.9.29-r27/temp/log.do_stage.8357)<br>
| make[1]: `conf' is up to date.<br>| CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include/<br>| cc1: internal compiler error: in add_path, at c-incpath.c:371<br>| Please submit a full bug report,<br>| with preprocessed source if appropriate.<br>
| See <URL:<a href="http://gcc.gnu.org/bugs.html" target="_blank">http://gcc.gnu.org/bugs.html</a>> for instructions.<br>| CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include/<br>| cc1: internal compiler error: in add_path, at c-incpath.c:371<br>
| Please submit a full bug report,<br>| with preprocessed source if appropriate.<br>| See <URL:<a href="http://gcc.gnu.org/bugs.html" target="_blank">http://gcc.gnu.org/bugs.html</a>> for instructions.<br>| install -d /home/sauron/projects/embedded/build/tmp/staging/i486-angstrom-linux-uclibc/usr/include<br>
| printf ".svn\n.cvsignore\nCVS\n" > tar_exclude ; \<br>| tar -chf - -X tar_exclude include \<br>| | tar -xf - -C /home/sauron/projects/embedded/build/tmp/staging/i486-angstrom-linux-uclibc/usr/<br>
| tar: include/linux/byteorder: file changed as we read it<br>| tar: include/linux/netfilter: file changed as we read it<br>| tar: include/linux/netfilter_ipv4/ipt_SAME.h: file changed as we read it<br>| tar: include/linux/netfilter_ipv4: file changed as we read it<br>
| tar: include/linux/atm_zatm.h: file changed as we read it<br>| tar: include/linux/dm-ioctl.h: file changed as we read it<br>| tar: include/linux/dn.h: file changed as we read it<br>| tar: include/linux/if_strip.h: file changed as we read it<br>
| tar: include/linux/ixjuser.h: file changed as we read it<br>| tar: include/linux/limits.h: file changed as we read it<br>| tar: include/linux/snmp.h: file changed as we read it<br>| tar: include/linux/sockios.h: file changed as we read it<br>
| tar: include/linux/telephony.h: file changed as we read it<br>| tar: include/linux/coda.h: file changed as we read it<br>| tar: include/linux/errqueue.h: file changed as we read it<br>| tar: include/linux/ext3_fs.h: file changed as we read it<br>
| tar: include/linux/fb.h: file changed as we read it<br>| tar: include/linux/inet_diag.h: file changed as we read it<br>| tar: include/linux/mii.h: file changed as we read it<br>| tar: include/linux/reiserfs_fs.h: file changed as we read it<br>
| tar: include/linux/scc.h: file changed as we read it<br>| tar: include/linux/soundcard.h: file changed as we read it<br>| tar: include/linux/uinput.h: file changed as we read it<br>| tar: include/linux/wanrouter.h: file changed as we read it<br>
| tar: include/linux: file changed as we read it<br>| tar: include/asm: file changed as we read it<br>| rm -f tar_exclude<br>| printf '#ifndef _LIBC_INTERNAL_H\n#define _LIBC_INTERNAL_H 1\n#endif\n' > \<br>| /home/sauron/projects/embedded/build/tmp/staging/i486-angstrom-linux-uclibc/usr/include/libc-internal.h<br>
| echo '/* Dont use _syscall#() macros; use the syscall() function */' > \<br>| /home/sauron/projects/embedded/build/tmp/staging/i486-angstrom-linux-uclibc/usr/include/bits/syscalls.h<br>| rm -f /home/sauron/projects/embedded/build/tmp/staging/i486-angstrom-linux-uclibc/usr/include/dl-osinfo.h<br>
| rm -f /home/sauron/projects/embedded/build/tmp/staging/i486-angstrom-linux-uclibc/usr/include/_lfs_64.h<br>| rm -f /home/sauron/projects/embedded/build/tmp/staging/i486-angstrom-linux-uclibc/usr/include/bits/uClibc_uintmaxtostr.h<br>
| rm -f /home/sauron/projects/embedded/build/tmp/staging/i486-angstrom-linux-uclibc/usr/include/bits/kernel_sigaction.h<br>| rm -f /home/sauron/projects/embedded/build/tmp/staging/i486-angstrom-linux-uclibc/usr/include/bits/kernel_stat.h<br>
| # Remove iconv header since locale support is disabled.<br>| rm -f /home/sauron/projects/embedded/build/tmp/staging/i486-angstrom-linux-uclibc/usr/include/iconv.h<br>| # Remove xlocale header since extended locale support is disabled.<br>
| rm -f /home/sauron/projects/embedded/build/tmp/staging/i486-angstrom-linux-uclibc/usr/include/xlocale.h<br>| # Remove libintl header since gettext support is disabled.<br>| rm -f /home/sauron/projects/embedded/build/tmp/staging/i486-angstrom-linux-uclibc/usr/include/libintl.h<br>
| chown -R `id | sed 's/^uid=\([0-9]*\).*gid=\([0-9]*\).*$/\1:\2/'` /home/sauron/projects/embedded/build/tmp/staging/i486-angstrom-linux-uclibc/usr/include<br>| make[1]: `conf' is up to date.<br>| CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include/<br>
| cc1: internal compiler error: in add_path, at c-incpath.c:371<br>| Please submit a full bug report,<br>| with preprocessed source if appropriate.<br>| See <URL:<a href="http://gcc.gnu.org/bugs.html" target="_blank">http://gcc.gnu.org/bugs.html</a>> for instructions.<br>
| CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include/<br>| cc1: internal compiler error: in add_path, at c-incpath.c:371<br>| Please submit a full bug report,<br>| with preprocessed source if appropriate.<br>
| See <URL:<a href="http://gcc.gnu.org/bugs.html" target="_blank">http://gcc.gnu.org/bugs.html</a>> for instructions.<br>| AS lib/crt1.o<br>| CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include/<br>| cc1: internal compiler error: in add_path, at c-incpath.c:371<br>
| Please submit a full bug report,<br>| with preprocessed source if appropriate.<br>| See <URL:<a href="http://gcc.gnu.org/bugs.html" target="_blank">http://gcc.gnu.org/bugs.html</a>> for instructions.<br>| make: *** [lib/crt1.o] Error 1<br>
NOTE: Task failed: /home/sauron/projects/embedded/build/tmp/work/x86-angstrom-linux-uclibc/uclibc-initial-0.9.29-r27/temp/log.do_stage.8357<br>NOTE: package uclibc-initial-0.9.29-r27: task do_populate_staging: failed<br>
ERROR: TaskFailed event exception, aborting<br>
NOTE: package uclibc-initial-0.9.29: failed<br>ERROR: Build of /home/sauron/projects/embedded/openembedded/packages/uclibc/<a href="http://uclibc-initial_0.9.29.bb" target="_blank">uclibc-initial_0.9.29.bb</a> do_populate_staging failed<br>
ERROR: Task 343 (/home/sauron/projects/embedded/openembedded/packages/uclibc/<a href="http://uclibc-initial_0.9.29.bb" target="_blank">uclibc-initial_0.9.29.bb</a>, do_populate_staging) failed<br>NOTE: Tasks Summary: Attempted 199 tasks of which 199 didn't need to be rerun and 1 failed.<br>
ERROR: '/home/sauron/projects/embedded/openembedded/packages/uclibc/<a href="http://uclibc-initial_0.9.29.bb" target="_blank">uclibc-initial_0.9.29.bb</a>' failed<br><br>OE Build Configuration:<br>BB_VERSION = "1.8.10"<br>
METADATA_BRANCH = "<unknown>"<br>METADATA_REVISION = "<unknown>"<br>TARGET_ARCH = "i486"<br>TARGET_OS = "linux-uclibc"<br>MACHINE = "x86"<br>
DISTRO = "angstrom"<br>DISTRO_VERSION = "2008.1-test-20080924"<br>TARGET_FPU = ""<br><br>My OS Gentoo. </div></blockquote><div><br>Huh. I'm fixed this. uclibc don't contain config for machine "x86" only for "qemux86" set machine to qemux86 and rebuild fixed this.<br>
</div></div><br></div>