[uClibc 0000718]: uClibc-0.9.28 compilation fails on Slackware 10.2 with 2.6.14 kernel
bugs at busybox.net
bugs at busybox.net
Sun Feb 12 17:55:30 UTC 2006
The following issue has been CLOSED
======================================================================
http://busybox.net/bugs/view.php?id=718
======================================================================
Reported By: galitsyn
Assigned To: uClibc
======================================================================
Project: uClibc
Issue ID: 718
Category: Other
Reproducibility: always
Severity: block
Priority: normal
Status: closed
Resolution: no change required
Fixed in Version:
======================================================================
Date Submitted: 02-12-2006 07:25 PST
Last Modified: 02-12-2006 09:55 PST
======================================================================
Summary: uClibc-0.9.28 compilation fails on Slackware 10.2
with 2.6.14 kernel
Description:
--------------------------------------------
1. Trying to compile uClibc-0.9.28 with gcc:
--------------------------------------------
make[4]: Entering directory
`/mnt/hda/hda3/CompileCache/uClibc-0.9.28/libc/sysdeps/linux/common'
gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
-fno-builtin -nostdinc -D_LIBC -I../../../../include -I. -Os -isystem
/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/include -DNDEBUG -fPIC -c
__rt_sigtimedwait.c -o __rt_sigtimedwait.o
__rt_sigtimedwait.c: In function `__rt_sigtimedwait':
__rt_sigtimedwait.c:16: error: unknown register name `P0' in `asm'
__rt_sigtimedwait.c:16: error: unknown register name `R3' in `asm'
__rt_sigtimedwait.c:16: error: unknown register name `R2' in `asm'
__rt_sigtimedwait.c:16: error: unknown register name `R1' in `asm'
__rt_sigtimedwait.c:16: error: unknown register name `R0' in `asm'
__rt_sigtimedwait.c:16: error: unknown register name `CC' in `asm'
make[4]: *** [__rt_sigtimedwait.o] Error 1
make[4]: Leaving directory
`/mnt/hda/hda3/CompileCache/uClibc-0.9.28/libc/sysdeps/linux/common'
make[3]: *** [common] Error 2
make[3]: Leaving directory
`/mnt/hda/hda3/CompileCache/uClibc-0.9.28/libc/sysdeps/linux'
make[2]: *** [_dir_linux] Error 2
make[2]: Leaving directory
`/mnt/hda/hda3/CompileCache/uClibc-0.9.28/libc/sysdeps'
make[1]: *** [_dir_sysdeps] Error 2
make[1]: Leaving directory
`/mnt/hda/hda3/CompileCache/uClibc-0.9.28/libc'
make: *** [_dir_libc] Error 2
-----------------------------------------------------------------
2. Trying to compile uClibc-0.9.28 with bfin-elf- cross compiler:
-----------------------------------------------------------------
make -C assert
make[3]: Entering directory
`/mnt/hda/hda3/CompileCache/uClibc-0.9.28/libc/misc/assert'
bfin-elf-gcc -Wall -Wstrict-prototypes -Wno-trigraphs
-fno-strict-aliasing -fno-builtin -nostdinc -D_LIBC -I../../../include
-I. -Os -funit-at-a-time -isystem
/opt/blackfin/bfin-elf/bin/../lib/gcc/bfin-elf/3.4.4/include -DNDEBUG
-fPIC -c __assert.c -o __assert.o
/tmp/ccf2XLoe.s: Assembler messages:
/tmp/ccf2XLoe.s:14: Error: parse error. Input text was @.
/tmp/ccf2XLoe.s:14: Error:
/tmp/ccf2XLoe.s:17: Error: parse error. Input text was @.
/tmp/ccf2XLoe.s:17: Error:
/tmp/ccf2XLoe.s:26: Error: parse error. Input text was @.
/tmp/ccf2XLoe.s:26: Error:
/tmp/ccf2XLoe.s:27: Error: parse error. Input text was @.
/tmp/ccf2XLoe.s:27: Error:
/tmp/ccf2XLoe.s:28: Error: parse error. Input text was @.
/tmp/ccf2XLoe.s:28: Error:
/tmp/ccf2XLoe.s:30: Error: parse error. Input text was @.
/tmp/ccf2XLoe.s:30: Error:
/tmp/ccf2XLoe.s:31: Error: parse error. Input text was @.
/tmp/ccf2XLoe.s:31: Error:
/tmp/ccf2XLoe.s:32: Error: parse error. Input text was @.
/tmp/ccf2XLoe.s:32: Error:
/tmp/ccf2XLoe.s:44: Error: parse error. Input text was @.
/tmp/ccf2XLoe.s:44: Error:
/tmp/ccf2XLoe.s:45: Error: parse error. Input text was @.
/tmp/ccf2XLoe.s:45: Error:
/tmp/ccf2XLoe.s:49: Error: parse error. Input text was @.
/tmp/ccf2XLoe.s:49: Error:
/tmp/ccf2XLoe.s:50: Error: parse error. Input text was @.
/tmp/ccf2XLoe.s:50: Error:
/tmp/ccf2XLoe.s:60: Error: parse error. Input text was @.
/tmp/ccf2XLoe.s:60: Error:
/tmp/ccf2XLoe.s:61: Error: parse error. Input text was @.
/tmp/ccf2XLoe.s:61: Error:
make[3]: *** [__assert.o] Error 1
make[3]: Leaving directory
`/mnt/hda/hda3/CompileCache/uClibc-0.9.28/libc/misc/assert'
make[2]: *** [_dir_assert] Error 2
make[2]: Leaving directory
`/mnt/hda/hda3/CompileCache/uClibc-0.9.28/libc/misc'
make[1]: *** [_dir_misc] Error 2
make[1]: Leaving directory
`/mnt/hda/hda3/CompileCache/uClibc-0.9.28/libc'
make: *** [_dir_libc] Error 2
======================================================================
----------------------------------------------------------------------
vapier - 02-12-06 09:55
----------------------------------------------------------------------
a bunch of issues:
- trying to compile blackfin with your host gcc makes no sense -> INVALID
- that bfin-elf error is because you wrongly enabled PIC support
- you shouldnt be compiling uClibc with the bfin-elf- toolchain
- bfin is broken in uClibc 0.9.28
- you should just use the uClinux tree in the blackfin cvs repo unless you
plan on helping maintain the blackfin port in uClibc svn
Issue History
Date Modified Username Field Change
======================================================================
02-12-06 07:25 galitsyn New Issue
02-12-06 07:25 galitsyn Status new => assigned
02-12-06 07:25 galitsyn Assigned To => uClibc
02-12-06 07:25 galitsyn File Added: .config
02-12-06 09:55 vapier Note Added: 0001084
02-12-06 09:55 vapier Status assigned => closed
02-12-06 09:55 vapier Resolution open => no change
required
======================================================================
More information about the uClibc-cvs
mailing list