[uClibc 0000621]: uClibc build for SuperH fails
bugs at busybox.net
bugs at busybox.net
Thu Jan 5 20:56:22 UTC 2006
The following issue has been REOPENED.
======================================================================
http://busybox.net/bugs/view.php?id=621
======================================================================
Reported By: cfant
Assigned To: uClibc
======================================================================
Project: uClibc
Issue ID: 621
Category: Architecture Specific
Reproducibility: always
Severity: major
Priority: normal
Status: feedback
======================================================================
Date Submitted: 01-03-2006 11:06 PST
Last Modified: 01-05-2006 12:56 PST
======================================================================
Summary: uClibc build for SuperH fails
Description:
When building uClibc for SuperH compilation fails, because compiler can't
find ubc.h. This file is in asm/cpu and not under asm. See file ptrace.h.
======================================================================
----------------------------------------------------------------------
vapier - 01-03-06 11:50
----------------------------------------------------------------------
considering you didnt post any real information (like a build error log)
and that it works just fine for me with SH4, and that nowhere in the
uClibc source is the header file "ubc.h" used, i have to assume your
kernel headers suck and thus this is not a uClibc issue
----------------------------------------------------------------------
cfant - 01-05-06 12:56
----------------------------------------------------------------------
Here is the releavnt part of the build log:
CC libc/inet/rpc/rpc_thread.os
In file included from ./include/asm/user.h:4,
from ./include/sys/user.h:24,
from ./include/sys/procfs.h:31,
from
./libpthread/linuxthreads.old/../linuxthreads.old_db/proc_service.h:20,
from
./libpthread/linuxthreads.old/../linuxthreads.old_db/thread_dbP.h:9,
from ./libpthread/linuxthreads.old/internals.h:30,
from
./libpthread/linuxthreads.old/sysdeps/pthread/bits/libc-tsd.h:38,
from libc/inet/rpc/rpc_thread.c:9:
./include/asm/ptrace.h:4:21: asm/ubc.h: No such file or directory
In file included from ./libpthread/linuxthreads.old/internals.h:323,
from
./libpthread/linuxthreads.old/sysdeps/pthread/bits/libc-tsd.h:38,
from libc/inet/rpc/rpc_thread.c:9:
./include/bits/uClibc_page.h:25:1: warning: "PAGE_SHIFT" redefined
In file included from ./include/asm/user.h:5,
from ./include/sys/user.h:24,
from ./include/sys/procfs.h:31,
from
./libpthread/linuxthreads.old/../linuxthreads.old_db/proc_service.h:20,
from
./libpthread/linuxthreads.old/../linuxthreads.old_db/thread_dbP.h:9,
from ./libpthread/linuxthreads.old/internals.h:30,
from
./libpthread/linuxthreads.old/sysdeps/pthread/bits/libc-tsd.h:38,
from libc/inet/rpc/rpc_thread.c:9:
./include/asm/page.h:7:1: warning: this is the location of the previous
definition
In file included from ./libpthread/linuxthreads.old/internals.h:323,
from
./libpthread/linuxthreads.old/sysdeps/pthread/bits/libc-tsd.h:38,
from libc/inet/rpc/rpc_thread.c:9:
./include/bits/uClibc_page.h:26:1: warning: "PAGE_SIZE" redefined
In file included from ./include/asm/user.h:5,
from ./include/sys/user.h:24,
from ./include/sys/procfs.h:31,
from
./libpthread/linuxthreads.old/../linuxthreads.old_db/proc_service.h:20,
from
./libpthread/linuxthreads.old/../linuxthreads.old_db/thread_dbP.h:9,
from ./libpthread/linuxthreads.old/internals.h:30,
from
./libpthread/linuxthreads.old/sysdeps/pthread/bits/libc-tsd.h:38,
from libc/inet/rpc/rpc_thread.c:9:
./include/asm/page.h:6:1: warning: this is the location of the previous
definition
make[2]: *** [libc/inet/rpc/rpc_thread.os] Error 1
make[2]: Leaving directory
`/opt/buildroot-20060105/toolchain_build_sh4/uClibc'
make[1]: *** [lib/libc.so.0] Error 2
make[1]: Leaving directory
`/opt/buildroot-20060105/toolchain_build_sh4/uClibc'
make: *** [/opt/buildroot-20060105/toolchain_build_sh4/uClibc/lib/libc.a]
Error 2
I used daily snapshot for uclibc and busybox dated 01/05/2006. Gcc is
3.4.3, binutils 2.15.94.0.2.2 and kernel headers are for 2.6.11 which were
provided with buildroot. So this can be a problem with buildroot also.
Issue History
Date Modified Username Field Change
======================================================================
01-03-06 11:06 cfant New Issue
01-03-06 11:06 cfant Status new => assigned
01-03-06 11:06 cfant Assigned To => uClibc
01-03-06 11:50 vapier Note Added: 0000844
01-03-06 11:50 vapier Status assigned => closed
01-03-06 11:50 vapier Resolution open => unable to
reproduce
01-05-06 12:56 cfant Status closed => feedback
01-05-06 12:56 cfant Resolution unable to reproduce =>
reopened
01-05-06 12:56 cfant Note Added: 0000855
======================================================================
More information about the uClibc-cvs
mailing list