uClibc build failure for generic i686
Tobias
openembedded-users at sm0svx.shacknet.nu
Thu May 1 09:14:37 UTC 2008
Hello,
I just registered on the list. I have some trouble building a generic i686
image. I'm trying to build an image for an old thin client, a Fujitsu-Siemens
Futro B100.
http://www.fujitsu-siemens.co.uk/rl/servicesupport/techsupport/professionalpc/ThinClients/FutroBxxx/FutroB100.htm
It has a Geode GX1LV 300MHz processor. This is my local.conf:
BBFILES
= "/home/blomman/projs/svxbox/stuff/org.openembedded.dev/packages/*/*.bb"
DISTRO = "generic-uclibc"
MACHINE = "i686-generic"
I followed the "Getting started" guide to get everything setup on my Gentoo
box. Are the DISTRO and MACHINE choices reasonable ones for the given target
machine?
My goal is to compile a minimal distribution for running my own application
on.
I used "bitbake bootstrap-image" to start the compilation. It failed when
compiling uClibc. Log file attached. One strange thing I see in the log file
is the choice of target architecture, which is "alpha". Shouldn't this
be "i386"?
It errors out on an internal compiler error but I guess what causing it is
this: "CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include/".
This is my OE Build Configuration:
BB_VERSION = "1.8.10"
OE_REVISION = "a73b62bfa46dd3bec609e1b1307c59a93f4a4469"
TARGET_ARCH = "i686"
TARGET_OS = "linux-uclibc"
MACHINE = "i686-generic"
DISTRO = "generic-uclibc"
DISTRO_VERSION = ".dev-snapshot-20080501"
TARGET_FPU = ""
Where do I go from here?
/ Tobias
-------------- next part --------------
NOTE: make STRIPTOOL=true LD=i686-linux-uclibc-ld LOCALE_DATA_FILENAME=uClibc-locale-030818.tgz CC=ccache i686-linux-uclibc-gcc -mcpu=pentiumpro HOSTCFLAGS=-I/home/blomman/projs/svxbox/stuff/build/tmp/staging/i686-linux/usr/include
*
* uClibc Configuration
*
Target Architecture
> 1. alpha (TARGET_alpha)
2. arm (TARGET_arm)
3. avr32 (TARGET_avr32)
4. bfin (TARGET_bfin)
5. cris (TARGET_cris)
6. e1 (BROKEN) (TARGET_e1)
7. frv (BROKEN) (TARGET_frv)
8. h8300 (BROKEN) (TARGET_h8300)
9. hppa (TARGET_hppa)
10. i386 (TARGET_i386)
11. i960 (BROKEN) (TARGET_i960)
12. ia64 (TARGET_ia64)
13. m68k (TARGET_m68k)
14. microblaze (BROKEN) (TARGET_microblaze)
15. mips (TARGET_mips)
16. nios (TARGET_nios)
17. nios2 (TARGET_nios2)
18. powerpc (TARGET_powerpc)
19. superh (TARGET_sh)
20. sh64 (TARGET_sh64)
21. sparc (TARGET_sparc)
22. v850 (BROKEN) (TARGET_v850)
23. vax (TARGET_vax)
24. x86_64 (TARGET_x86_64)
choice[1-24?]: 1
*
* Target Architecture Features and Options
*
*
* Using ELF file format
*
*
* Using Little Endian
*
Target CPU has a memory management unit (MMU) (ARCH_HAS_MMU) [Y/?] y
Do you want to utilize the MMU? (ARCH_USE_MMU) [Y/n/?] y
Enable floating point number support (UCLIBC_HAS_FLOATS) [Y/n/?] y
Target CPU has a floating point unit (FPU) (UCLIBC_HAS_FPU) [Y/n/?] y
Enable full C99 math library support (DO_C99_MATH) [Y/n/?] y
Linux kernel header location (KERNEL_HEADERS) [/usr/include] /usr/include
*
* General Library Settings
*
Generate only Position Independent Code (PIC) (DOPIC) [N/y/?] n
Support global constructors and destructors (UCLIBC_CTOR_DTOR) [Y/n/?] y
POSIX Threading Support (UCLIBC_HAS_THREADS) [Y/n/?] y
Build pthreads debugging support (PTHREADS_DEBUG_SUPPORT) [Y/n/?] y
Use the older (stable) version of linuxthreads (LINUXTHREADS_OLD) [Y/n/?] y
Large File Support (UCLIBC_HAS_LFS) [Y/?] y
Malloc Implementation
1. malloc (MALLOC)
2. malloc-simple (MALLOC_SIMPLE)
> 3. malloc-standard (MALLOC_STANDARD)
choice[1-3?]: 3
Malloc returns live pointer for malloc(0) (MALLOC_GLIBC_COMPAT) [Y/n/?] y
Dynamic atexit() Support (UCLIBC_DYNAMIC_ATEXIT) [Y/n/?] y
Old (visible) atexit Support (COMPAT_ATEXIT) [Y/n/?] y
Enable SuSv3 LEGACY functions (UCLIBC_SUSV3_LEGACY) [Y/n/?] y
Enable SuSv3 LEGACY macros (UCLIBC_SUSV3_LEGACY_MACROS) [Y/n/?] y
Shadow Password Support (UCLIBC_HAS_SHADOW) [Y/n/?] y
Support for program_invocation_name (UCLIBC_HAS_PROGRAM_INVOCATION_NAME) [N/y/?] n
Support for __progname (UCLIBC_HAS___PROGNAME) [Y/n/?] y
Support only Unix 98 PTYs (UNIX98PTY_ONLY) [Y/n/?] y
Assume that /dev/pts is a devpts or devfs file system (ASSUME_DEVPTS) [Y/n/?] y
Support 'struct tm' timezone extension fields (UCLIBC_HAS_TM_EXTENSIONS) [Y/n/?] y
Enable caching of the last valid timezone 'TZ' string (UCLIBC_HAS_TZ_CACHING) [Y/n/?] y
Enable '/etc/TZ' file support to set a default timezone (uClibc-specific) (UCLIBC_HAS_TZ_FILE) [Y/n/?] y
Repeatedly read the '/etc/TZ' file (UCLIBC_HAS_TZ_FILE_READ_MANY) [Y/n/?] y
Path to the 'TZ' file for setting the global timezone (UCLIBC_TZ_FILE_PATH) [/etc/TZ] /etc/TZ
*
* Advanced Library Settings
*
Buffer size for getpwnam() and friends (UCLIBC_PWD_BUFFER_SIZE) [256] 256
Buffer size for getgrnam() and friends (UCLIBC_GRP_BUFFER_SIZE) [256] 256
*
* Networking Support
*
IP version 6 Support (UCLIBC_HAS_IPV6) [Y/n/?] y
Remote Procedure Call (RPC) support (UCLIBC_HAS_RPC) [Y/n/?] y
Full RPC support (UCLIBC_HAS_FULL_RPC) [Y/n/?] y
Reentrant RPC support (UCLIBC_HAS_REENTRANT_RPC) [N/y/?] n
Use netlink to query interfaces (UCLIBC_USE_NETLINK) [N/y/?] n
Support res_close() (bsd-compat) (UCLIBC_HAS_BSD_RES_CLOSE) [N/y/?] n
*
* String and Stdio Support
*
Use glibc generic string functions (UCLIBC_HAS_STRING_GENERIC_OPT) [Y/n/?] y
Use arch-specific string functions (UCLIBC_HAS_STRING_ARCH_OPT) [Y/n/?] y
Use Table Versions Of 'ctype.h' Functions. (UCLIBC_HAS_CTYPE_TABLES) [Y/n/?] y
Support Signed Characters In 'ctype.h' Functions. (UCLIBC_HAS_CTYPE_SIGNED) [Y/n/?] y
ctype argument checking
1. Do not check -- unsafe (UCLIBC_HAS_CTYPE_UNSAFE)
> 2. Detect and handle appropriately (UCLIBC_HAS_CTYPE_CHECKED)
3. Issue a diagnostic and abort() (UCLIBC_HAS_CTYPE_ENFORCED)
choice[1-3?]: 2
Wide Character Support (UCLIBC_HAS_WCHAR) [Y/n/?] y
Locale Support (UCLIBC_HAS_LOCALE) [N/y/?] n
Support hexadecimal float notation (UCLIBC_HAS_HEXADECIMAL_FLOATS) [Y/n/?] y
Support glibc's register_printf_function() (glibc-compat) (UCLIBC_HAS_GLIBC_CUSTOM_PRINTF) [Y/n/?] y
Maximum number of positional args. Either 0 or >= 9. (UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS) [9] 9
Support glibc's 'a' flag for scanf string conversions (not implemented) (UCLIBC_HAS_SCANF_GLIBC_A_FLAG) [Y/n/?] y
Stdio buffer size
> 1. 256 (minimum ANSI/ISO C99 value) (UCLIBC_HAS_STDIO_BUFSIZ_256)
2. 512 (UCLIBC_HAS_STDIO_BUFSIZ_512)
3. 1024 (UCLIBC_HAS_STDIO_BUFSIZ_1024)
4. 2048 (UCLIBC_HAS_STDIO_BUFSIZ_2048)
5. 4096 (UCLIBC_HAS_STDIO_BUFSIZ_4096)
6. 8192 (UCLIBC_HAS_STDIO_BUFSIZ_8192)
choice[1-6?]: 1
Stdio builtin buffer size (uClibc-specific)
> 1. None (UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE)
2. 4 (UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4)
3. 8 (UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8)
choice[1-3?]: 1
Attempt to shutdown stdio subsystem when abort() is called. (UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT) [N/y/?] n
Provide a macro version of getc() (UCLIBC_HAS_STDIO_GETC_MACRO) [Y/n/?] y
Provide a macro version of putc() (UCLIBC_HAS_STDIO_PUTC_MACRO) [Y/n/?] y
Support auto-r/w transition (UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION) [Y/n/?] y
Support an fopen() 'F' flag for large file mode (uClibc-specific) (UCLIBC_HAS_FOPEN_LARGEFILE_MODE) [N/y/?] n
Support an fopen() 'x' flag for exclusive mode (glibc-compat) (UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE) [Y/n/?] y
Support fmemopen(), open_memstream(), and fopencookie() (glibc-compat) (UCLIBC_HAS_GLIBC_CUSTOM_STREAMS) [Y/n/?] y
Support the '%m' specifier in printf format strings (glibc-compat) (UCLIBC_HAS_PRINTF_M_SPEC) [Y/n/?] y
Include the errno message text in the library (UCLIBC_HAS_ERRNO_MESSAGES) [Y/n/?] y
Support sys_errlist[] (obsolete-compat) (UCLIBC_HAS_SYS_ERRLIST) [N/y/?] n
Include the signum message text in the library (UCLIBC_HAS_SIGNUM_MESSAGES) [Y/n/?] y
Support sys_siglist[] (bsd-compat) (UCLIBC_HAS_SYS_SIGLIST) [N/y/?] n
Support gnu getopt (UCLIBC_HAS_GNU_GETOPT) [Y/n/?] y
Support glibc getsubopt (UCLIBC_HAS_GNU_GETSUBOPT) [Y/n/?] y
*
* Big and Tall
*
Regular Expression Support (UCLIBC_HAS_REGEX) [Y/n/?] y
Use the older (stable) regular expression code (UCLIBC_HAS_REGEX_OLD) [N/y/?] n
fnmatch Support (UCLIBC_HAS_FNMATCH) [Y/n/?] y
Use the older (stable) fnmatch code (UCLIBC_HAS_FNMATCH_OLD) [N/y/?] n
Support the wordexp() interface (UCLIBC_HAS_WORDEXP) [Y/n/?] y
Support the ftw() and nftw() interfaces (UCLIBC_HAS_FTW) [Y/n/?] y
Support the glob() interface (UCLIBC_HAS_GLOB) [Y/n/?] y
Support gnu glob() interface (UCLIBC_HAS_GNU_GLOB) [N/y/?] n
*
* Library Installation Options
*
uClibc runtime library directory (RUNTIME_PREFIX) [/] /
uClibc development environment directory (DEVEL_PREFIX) [//usr] //usr
*
* Security options
*
Include the arc4random() function (UCLIBC_HAS_ARC4RANDOM) [N/y/?] n
Support for propolice smashing stack protector (UCLIBC_HAS_SSP) [N/y/?] n
Build uClibc with noexecstack marking (UCLIBC_BUILD_NOEXECSTACK) [Y/n/?] y
*
* uClibc development/debugging options
*
Cross-compiling toolchain prefix (CROSS_COMPILER_PREFIX) []
Enter any extra CFLAGS to use to build uClibc (UCLIBC_EXTRA_CFLAGS) []
Build uClibc with debugging symbols (DODEBUG) [N/y/?] n
Build pthread with debugging output (DODEBUG_PT) [N/y/?] n
Strip libraries and executables (DOSTRIP) [Y/n/?] y
Build uClibc with run-time assertion testing (DOASSERTS) [N/y/?] n
Build malloc with debugging support (UCLIBC_MALLOC_DEBUGGING) [N/y/?] n
Compiler Warnings (WARNINGS) [-Wall] -Wall
Enable extra annoying warnings (EXTRA_WARNINGS) [N/y/?] n
Compile all sources at once into an object (DOMULTI) [N/y/?] n
Manuel's hidden warnings (UCLIBC_MJN3_ONLY) [N/y/?] n
#
# configuration written to .config
#
./extra/scripts/conf-header.sh .config > include/bits/uClibc_config.h
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include/
cc1: internal compiler error: in add_path, at c-incpath.c:362
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include/
cc1: internal compiler error: in add_path, at c-incpath.c:362
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
CC libcrypt/crypt.o
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include/
cc1: internal compiler error: in add_path, at c-incpath.c:362
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make: *** [libcrypt/crypt.o] Error 1
FATAL: oe_runmake failed
More information about the Openembedded-users
mailing list