* [Buildroot] unable to fix Arm EABI in UClibc Menuconfig
@ 2007-08-17 12:33 Hebbar
2007-08-17 17:55 ` Tom
0 siblings, 1 reply; 3+ messages in thread
From: Hebbar @ 2007-08-17 12:33 UTC (permalink / raw)
To: buildroot
Hi All,
With new buildroot snapshot, whatever i do to set ARM Target as EABI - it
reverts back to OABI because of which i am getting below mentioned error. I
set it to ARM EABI "Make menuconfig & make uclibc-menuconfig". i tried
setting manually in uclibc-9.29.0.config & uclibc-9.29.0-wchar.config. If i
set it manually in buildroot/toolchain_build_arm/uClibc-0.9.29 & then go to
"make uclibc-menuconfig" still it reverts back to ARM OABI.
Kindly help me to solve this. I didnt face this in last weeks Snapshot(of
around last wek thursday). but from oday its happening.
This is my buildroot .config
BR2_arm=y
BR2_arm926t=y
BR2_ARM_TYPE="ARM926T"
# BR2_ARM_OABI is not set
BR2_ARM_EABI=y
BR2_ARCH="arm"
BR2_ENDIAN="LITTLE"
BR2_GCC_TARGET_TUNE="arm9tdmi"
Error ---------->
make[4]: `conf' is up to date.
CC extra/locale/locale_data.os
CC libc/sysdeps/linux/arm/brk.os
CC libc/sysdeps/linux/arm/ioperm.os
CC libc/sysdeps/linux/arm/iopl.os
CC libc/sysdeps/linux/arm/mmap.os
CC libc/sysdeps/linux/arm/posix_fadvise.os
libc/sysdeps/linux/arm/posix_fadvise.c: In function '__libc_posix_fadvise':
libc/sysdeps/linux/arm/posix_fadvise.c:20: warning: right shift count >=
width of type
libc/sysdeps/linux/arm/posix_fadvise.c:20: warning: right shift count >=
width of type
CC libc/sysdeps/linux/arm/posix_fadvise64.os
CC libc/sysdeps/linux/arm/sigaction.os
CC libc/sysdeps/linux/arm/__syscall_error.os
CC libc/sysdeps/linux/arm/syscall.os
libc/sysdeps/linux/arm/syscall.c: In function 'syscall':
libc/sysdeps/linux/arm/syscall.c:28: error: '__NR_syscall' undeclared (first
use in this function)
libc/sysdeps/linux/arm/syscall.c:28: error: (Each undeclared identifier is
reported only once
libc/sysdeps/linux/arm/syscall.c:28: error: for each function it appears
in.)
make[2]: *** [libc/sysdeps/linux/arm/syscall.os] Error 1
make[1]: *** [lib/libc.so.0] Error 2
make[1]: Leaving directory
`/home/guru/project/original/bldrt/buildroot/toolchain_build_arm/uClibc-0.9.29'
make: ***
[/home/guru/project/original/bldrt/buildroot/toolchain_build_arm/uClibc-0.9.29/lib/libc.a]
Error 2
Regards
Gururaja
--
View this message in context: http://www.nabble.com/unable-to-fix-Arm-EABI-in-UClibc-Menuconfig-tf4285433.html#a12198764
Sent from the BuildRoot mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] unable to fix Arm EABI in UClibc Menuconfig
2007-08-17 12:33 [Buildroot] unable to fix Arm EABI in UClibc Menuconfig Hebbar
@ 2007-08-17 17:55 ` Tom
0 siblings, 0 replies; 3+ messages in thread
From: Tom @ 2007-08-17 17:55 UTC (permalink / raw)
To: buildroot
Hebbar wrote:
> Hi All,
>
> With new buildroot snapshot, whatever i do to set ARM Target as EABI - it
> reverts back to OABI because of which i am getting below mentioned error. I
> set it to ARM EABI "Make menuconfig & make uclibc-menuconfig". i tried
> setting manually in uclibc-9.29.0.config & uclibc-9.29.0-wchar.config. If i
> set it manually in buildroot/toolchain_build_arm/uClibc-0.9.29 & then go to
> "make uclibc-menuconfig" still it reverts back to ARM OABI.
>
> Kindly help me to solve this. I didnt face this in last weeks Snapshot(of
> around last wek thursday). but from oday its happening.
When I used buildroot (Jun 2007) and pre-prepared files (.config with
BR2_ARM_EABI=y and uClibc-0.9.29.config with CONFIG_ARM_EABI=y), I ran
into similar behavior:
After unzipping buildroot and then copying the files to the appropriate
locations, starting a build / doing menuconfig would, at some point,
always change uClibc config back to OABI, causing this error you describe.
However, when just manually changing it back to EABI then and restarting
the build, eventually it would build fully. As the buildroot
documentation talked about getting the full build only in several config
/ build steps, I did not pursue this any further.
>
> This is my buildroot .config
>
> BR2_arm=y
> BR2_arm926t=y
> BR2_ARM_TYPE="ARM926T"
> # BR2_ARM_OABI is not set
> BR2_ARM_EABI=y
> BR2_ARCH="arm"
> BR2_ENDIAN="LITTLE"
> BR2_GCC_TARGET_TUNE="arm9tdmi"
>
> Error ---------->
>
> make[4]: `conf' is up to date.
> CC extra/locale/locale_data.os
> CC libc/sysdeps/linux/arm/brk.os
> CC libc/sysdeps/linux/arm/ioperm.os
> CC libc/sysdeps/linux/arm/iopl.os
> CC libc/sysdeps/linux/arm/mmap.os
> CC libc/sysdeps/linux/arm/posix_fadvise.os
> libc/sysdeps/linux/arm/posix_fadvise.c: In function '__libc_posix_fadvise':
> libc/sysdeps/linux/arm/posix_fadvise.c:20: warning: right shift count >=
> width of type
> libc/sysdeps/linux/arm/posix_fadvise.c:20: warning: right shift count >=
> width of type
> CC libc/sysdeps/linux/arm/posix_fadvise64.os
> CC libc/sysdeps/linux/arm/sigaction.os
> CC libc/sysdeps/linux/arm/__syscall_error.os
> CC libc/sysdeps/linux/arm/syscall.os
> libc/sysdeps/linux/arm/syscall.c: In function 'syscall':
> libc/sysdeps/linux/arm/syscall.c:28: error: '__NR_syscall' undeclared (first
> use in this function)
> libc/sysdeps/linux/arm/syscall.c:28: error: (Each undeclared identifier is
> reported only once
> libc/sysdeps/linux/arm/syscall.c:28: error: for each function it appears
> in.)
> make[2]: *** [libc/sysdeps/linux/arm/syscall.os] Error 1
> make[1]: *** [lib/libc.so.0] Error 2
> make[1]: Leaving directory
> `/home/guru/project/original/bldrt/buildroot/toolchain_build_arm/uClibc-0.9.29'
> make: ***
> [/home/guru/project/original/bldrt/buildroot/toolchain_build_arm/uClibc-0.9.29/lib/libc.a]
> Error 2
>
>
> Regards
> Gururaja
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] unable to fix Arm EABI in UClibc Menuconfig
@ 2007-08-19 8:34 Gururaja Hebbar K R
0 siblings, 0 replies; 3+ messages in thread
From: Gururaja Hebbar K R @ 2007-08-19 8:34 UTC (permalink / raw)
To: buildroot
Sorry, I know this is a repost. Last mail went without any subject. so
i thought that would be rejected. so corrected the subject line &
resending
Hi All,
Thanks for all your feedbacks. I tried again with latest snapshot
(today's) again ran into same problem really no idea y. Probably below
attached buildroot make steps would help you out. I am also attaching my
buildroot .config file & uclibc-0.9.29-wchar.config file. Really Hoping
to solve this soon.
/usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -c conf.c -o conf.o
/usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -c kxgettext.c -o
kxgettext.o
/usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -c
lxdialog/checklist.c -o lxdialog/checklist.o
/usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -c
lxdialog/inputbox.c -o lxdialog/inputbox.o
/usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -c lxdialog/menubox.c
-o lxdialog/menubox.o
/usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -c lxdialog/textbox.c
-o lxdialog/textbox.o
/usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -c lxdialog/util.c -o
lxdialog/util.o
/usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -c lxdialog/yesno.c
-o lxdialog/yesno.o
/usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -c mconf.c -o mconf.o
/usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -I. -c zconf.tab.c -o
zconf.tab.o
/usr/bin/gcc -DCURSES_LOC="<ncurses.h>" -DLOCALE -lncursesw conf.o
zconf.tab.o -o conf
.config:64:warning: trying to assign nonexistent symbol HAS_FPU
.config:141:warning: trying to reassign symbol
UCLIBC_PREGENERATED_LOCALE_DATA
.config:142:warning: trying to reassign symbol
UCLIBC_DOWNLOAD_PREGENERATED_LOCALE_DATA
.config:143:warning: trying to reassign symbol UCLIBC_HAS_XLOCALE
.config:145:warning: trying to reassign symbol
UCLIBC_HAS_GLIBC_DIGIT_GROUPING
.config:220:warning: trying to reassign symbol CONFIG_ARM_OABI
.config:221:warning: trying to reassign symbol CONFIG_ARM_EABI
.config:223:warning: trying to assign nonexistent symbol LINUXTHREADS
.config:225:warning: trying to assign nonexistent symbol
UCLIBC_HAS_THREADS_NATIVE
*
* uClibc Configuration
*
Target Architecture
1. alpha (TARGET_alpha)
> 2. arm (TARGET_arm)
3. bfin (TARGET_bfin)
4. cris (TARGET_cris)
5. e1 (BROKEN) (TARGET_e1)
6. frv (BROKEN) (TARGET_frv)
7. h8300 (BROKEN) (TARGET_h8300)
8. hppa (TARGET_hppa)
9. i386 (TARGET_i386)
10. i960 (BROKEN) (TARGET_i960)
11. ia64 (TARGET_ia64)
12. m68k (TARGET_m68k)
13. microblaze (BROKEN) (TARGET_microblaze)
14. mips (TARGET_mips)
15. nios (TARGET_nios)
16. nios2 (TARGET_nios2)
17. powerpc (TARGET_powerpc)
18. superh (TARGET_sh)
19. sh64 (TARGET_sh64)
20. sparc (TARGET_sparc)
21. v850 (BROKEN) (TARGET_v850)
22. vax (TARGET_vax)
23. x86_64 (TARGET_x86_64)
choice[1-23?]: 2
*
* Target Architecture Features and Options
*
Target ABI
> 1. OABI (CONFIG_ARM_OABI)
2. EABI (CONFIG_ARM_EABI)
choice[1-2?]: 1
Use BX in function return (USE_BX) [Y/n/?] (NEW)
Regards
Gururaja
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uClibc-0.9.29-wchar.config
Type: application/octet-stream
Size: 5513 bytes
Desc: uClibc-0.9.29-wchar.config
Url : http://busybox.net/lists/buildroot/attachments/20070819/38801b36/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: buildroot.config
Type: application/octet-stream
Size: 11554 bytes
Desc: buildroot.config
Url : http://busybox.net/lists/buildroot/attachments/20070819/38801b36/attachment-0001.obj
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-08-19 8:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-17 12:33 [Buildroot] unable to fix Arm EABI in UClibc Menuconfig Hebbar
2007-08-17 17:55 ` Tom
-- strict thread matches above, loose matches on Subject: below --
2007-08-19 8:34 Gururaja Hebbar K R
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox