<div dir="ltr"><br><br><div class="gmail_quote">On Wed, Sep 24, 2008 at 11:37 PM, Anatoly Shipitsin <span dir="ltr">&lt;<a href="mailto:norguhtar@gmail.com">norguhtar@gmail.com</a>&gt;</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&#39;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&#39; 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 &lt;URL:<a href="http://gcc.gnu.org/bugs.html" target="_blank">http://gcc.gnu.org/bugs.html</a>&gt; 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 &lt;URL:<a href="http://gcc.gnu.org/bugs.html" target="_blank">http://gcc.gnu.org/bugs.html</a>&gt; for instructions.<br>| install -d /home/sauron/projects/embedded/build/tmp/staging/i486-angstrom-linux-uclibc/usr/include<br>

| printf &quot;.svn\n.cvsignore\nCVS\n&quot; &gt; tar_exclude ; \<br>|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tar -chf - -X tar_exclude include \<br>|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | 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 &#39;#ifndef _LIBC_INTERNAL_H\n#define _LIBC_INTERNAL_H 1\n#endif\n&#39; &gt; \<br>|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /home/sauron/projects/embedded/build/tmp/staging/i486-angstrom-linux-uclibc/usr/include/libc-internal.h<br>

| echo &#39;/* Dont use _syscall#() macros; use the syscall() function */&#39; &gt; \<br>|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /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 &#39;s/^uid=\([0-9]*\).*gid=\([0-9]*\).*$/\1:\2/&#39;` /home/sauron/projects/embedded/build/tmp/staging/i486-angstrom-linux-uclibc/usr/include<br>| make[1]: `conf&#39; 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 &lt;URL:<a href="http://gcc.gnu.org/bugs.html" target="_blank">http://gcc.gnu.org/bugs.html</a>&gt; 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 &lt;URL:<a href="http://gcc.gnu.org/bugs.html" target="_blank">http://gcc.gnu.org/bugs.html</a>&gt; for instructions.<br>|&nbsp;&nbsp; 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 &lt;URL:<a href="http://gcc.gnu.org/bugs.html" target="_blank">http://gcc.gnu.org/bugs.html</a>&gt; 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&#39;t need to be rerun and 1 failed.<br>

ERROR: &#39;/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>&#39; failed<br><br>OE Build Configuration:<br>BB_VERSION&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &quot;1.8.10&quot;<br>

METADATA_BRANCH&nbsp;&nbsp; = &quot;&lt;unknown&gt;&quot;<br>METADATA_REVISION = &quot;&lt;unknown&gt;&quot;<br>TARGET_ARCH&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &quot;i486&quot;<br>TARGET_OS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &quot;linux-uclibc&quot;<br>MACHINE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &quot;x86&quot;<br>

DISTRO&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &quot;angstrom&quot;<br>DISTRO_VERSION&nbsp;&nbsp;&nbsp; = &quot;2008.1-test-20080924&quot;<br>TARGET_FPU&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = &quot;&quot;<br><br>My OS Gentoo. </div></blockquote><div><br>Huh. I&#39;m fixed this. uclibc don&#39;t contain config for machine &quot;x86&quot; only for &quot;qemux86&quot; set machine to qemux86 and rebuild fixed this.<br>
</div></div><br></div>