* [gentoo-embedded] Re: Appropriate toolchain for a SPARC?
[not found] <1169117250.4697.12.camel@localhost>
@ 2007-01-19 15:47 ` Dimitris Lampridis
2007-01-21 11:16 ` Peter S. Mazinger
0 siblings, 1 reply; 4+ messages in thread
From: Dimitris Lampridis @ 2007-01-19 15:47 UTC (permalink / raw
To: gentoo-embedded
[-- Attachment #1: Type: text/plain, Size: 1243 bytes --]
On Thu, 2007-01-18 at 11:47 +0100, Dimitris Lampridis wrote:
> I want to build a cross toolchain on an x86 system, to be able to
> compile for SPARC without hardware floating point support, using uclibc.
> I've done some attempts already but they all fail (for various reasons).
> Up until now, I have not succeeded 100%. So I thought I should do it in
> the proper way, starting from the beginning:
>
> Could you please let me know if there is a specific combination of
> binutils, gcc, uclibc etc., that is well-known to work for a
> sparc-softfloat-linux-uclibc target?
>
> thank you in advance,
> Dimitris
>
> PS: I currently try with:
> binutils-2.17
> gcc-4.1.1-r3
> linux-headers-2.6.19.2-r1
> uclibc-0.9.28-r2
>
nobody yet? Well, I've been trying several combinations of the programs,
and they still all fail. I've had success with binutils-2.17, with gcc
3.4.1-r3, 3.4.4-r1 and 4.1.1-r3, but no luck with uclibc.
I've tried uclibc 0.9.28-r2, 0.9.28-r1 and 0.9.28 (as well as 0.9.27
that apparently does not support sparc?), and every time they fail on
the same problem, complaining about duplicate "_start" symbol in ldso.c.
I've attached my uclibc emerge log, hopefully someone can propose
something?
thank you,
Dimitris
[-- Attachment #2: Type: text/x-log, Size: 22352 bytes --]
Calculating dependencies QA Notice: USE Flag 'crosscompile_opts_headers-only' not in IUSE for cross-sparc-softfloat-linux-uclibc/uclibc-0.9.28-r2
>>> Unpacking source...
>>> Unpacking uClibc-0.9.28.tar.bz2 to /var/tmp/cross/sparc-softfloat-linux-uclibc/portage/uclibc-0.9.28-r2/work
>>> Unpacking uClibc-0.9.28-patches-1.7.tar.bz2 to /var/tmp/cross/sparc-softfloat-linux-uclibc/portage/uclibc-0.9.28-r2/work
^[[32;01m*^[[0m Runtime Prefix: /
^[[32;01m*^[[0m Devel Prefix: /usr
^[[32;01m*^[[0m Kernel Prefix: /usr/sparc-softfloat-linux-uclibc/usr
^[[32;01m*^[[0m CBUILD: i686-pc-linux-gnu
^[[32;01m*^[[0m CHOST: i686-pc-linux-gnu
^[[32;01m*^[[0m CTARGET: sparc-softfloat-linux-uclibc
^[[32;01m*^[[0m CPU: default
^[[32;01m*^[[0m ENDIAN: little
>>> Unpacking uClibc-0.9.28-patches-1.7.tar.bz2 to /var/tmp/cross/sparc-softfloat-linux-uclibc/portage/uclibc-0.9.28-r2/work/uClibc-0.9.28
^[[32;01m*^[[0m Applying various patches (bugfixes/updates) ...
^[[32;01m*^[[0m 08_all_uClibc-punt-scalar-types.patch ...
^[[A^[[115C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m 11_all_uClibc-svn-assert.patch ...
^[[A^[[115C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m 14_all_uClibc-svn-simpler-kernel-headers.patch ...
^[[A^[[115C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m 15_all_uClibc-svn-getent-updates.patch ...
^[[A^[[115C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m 20_all_uClibc-svn-utils-build.patch ...
^[[A^[[115C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m 30_all_uClibc-arm-string-size-t-values.patch ...
^[[A^[[115C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m 30_all_uClibc-i386-string-size-t-values.patch ...
^[[A^[[115C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m 32_all_uClibc-sh-setjmp.patch ...
^[[A^[[115C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m 34_all_uClibc-mips-sigaction.patch ...
^[[A^[[115C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m 35_all_uClibc-svn-gethostbyaddr.patch ...
^[[A^[[115C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m 35_all_uClibc-svn-mips-stat.patch ...
^[[A^[[115C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m 36_all_uClibc-svn-mips-pipe-brk-updates.patch ...
^[[A^[[115C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m 37_all_uClibc-svn-posix_fadvise64-weak.patch ...
^[[A^[[115C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m 38_all_uClibc-svn-i386-syscall6.patch ...
^[[A^[[115C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m 40_all_uClibc-0.9.28-_dl_fini-correct-order.patch ...
^[[A^[[115C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m 41_all_uClibc-0.9.28-ldso-dl_iterate_phdr.patch ...
^[[A^[[115C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m 45_all_uClibc-svn-arm-gcc-4.1-ldso-udiv.patch ...
^[[A^[[115C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m 48_all_uClibc-svn-getdents.patch ...
^[[A^[[115C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m 50_all_uClibc-svn-getpagesize-getcwd.patch ...
^[[A^[[115C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m 70_all_uclibc-0.9.27-gettext.patch ...
^[[A^[[115C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m 80_all_uClibc-svn-ppc-kernel-types.patch ...
^[[A^[[115C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m 81_all_uClibc-svn-ppc-static-crash.patch ...
^[[A^[[115C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m 82_all_uClibc-svn-ppc-procfs.patch ...
^[[A^[[115C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m 83_all_uClibc-svn-ppc-syscalls.patch ...
^[[A^[[115C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m 84_all_uClibc-svn-readahead.patch ...
^[[A^[[115C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m 85_all_uClibc-svn-secureplt.patch ...
^[[A^[[115C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m Done with patching
^[[32;01m*^[[0m Applying various patches (bugfixes/updates) ...
^[[32;01m*^[[0m 10_all_uClibc-0.9.27-susv3-2.patch ...
^[[A^[[115C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m 15_all_uClibc-0.9.27-susv3-ldouble-3.patch ...
^[[A^[[115C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m Done with patching
conf.c: In function 'strip':
conf.c:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
conf.c: In function 'conf_askvalue':
conf.c:94: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness
conf.c: In function 'conf_string':
conf.c:187: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
conf.c:188: warning: pointer targets in assignment differ in signedness
conf.c: In function 'conf_sym':
conf.c:236: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
conf.c:236: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
conf.c:236: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
conf.c:236: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
conf.c:236: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
conf.c:236: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
conf.c:248: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
conf.c:248: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
conf.c:248: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
conf.c:248: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
conf.c:248: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
conf.c:248: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness
conf.c: In function 'conf_choice':
conf.c:350: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness
conf.c:360: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness
conf.c:384: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
In file included from zconf.tab.c:2125:
confdata.c: In function 'conf_expand_value':
confdata.c:35: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness
confdata.c:35: warning: pointer targets in assignment differ in signedness
confdata.c:36: warning: pointer targets in passing argument 2 of '__builtin_strncat' differ in signedness
confdata.c:47: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness
confdata.c: In function 'conf_get_default_confname':
confdata.c:58: warning: pointer targets in passing argument 1 of 'conf_expand_value' differ in signedness
confdata.c: In function 'conf_read':
confdata.c:84: warning: pointer targets in passing argument 1 of 'conf_expand_value' differ in signedness
QA Notice: USE Flag 'crosscompile_opts_headers-only' not in IUSE for cross-sparc-softfloat-linux-uclibc/uclibc-0.9.28-r2
>>> Source unpacked.
>>> Compiling source in /var/tmp/cross/sparc-softfloat-linux-uclibc/portage/uclibc-0.9.28-r2/work/uClibc-0.9.28 ...
rm -f -r include/bits
install -d include/bits
#
# using defaults found in .config
#
*
* uClibc Configuration
*
Target Architecture
1. alpha (TARGET_alpha)
2. arm (TARGET_arm)
3. bfin (TARGET_bfin)
4. cris (TARGET_cris)
5. e1 (TARGET_e1)
6. frv (TARGET_frv)
7. h8300 (TARGET_h8300)
8. i386 (TARGET_i386)
9. i960 (TARGET_i960)
10. m68k (TARGET_m68k)
11. microblaze (TARGET_microblaze)
12. mips (TARGET_mips)
13. nios (TARGET_nios)
14. nios2 (TARGET_nios2)
15. powerpc (TARGET_powerpc)
16. superh (TARGET_sh)
17. sh64 (TARGET_sh64)
> 18. sparc (TARGET_sparc)
19. v850 (TARGET_v850)
20. x86_64 (TARGET_x86_64)
choice[1-20?]: 18
*
* Target Architecture Features and Options
*
Target Processor Endianness
> 1. Big Endian (ARCH_BIG_ENDIAN)
choice[1]: 1
Target CPU has a memory management unit (MMU) (ARCH_HAS_MMU) [Y/n/?] y
Enable floating point number support (UCLIBC_HAS_FLOATS) [Y/n/?] y
Target CPU has a floating point unit (FPU) (HAS_FPU) [N/y/?] n
Enable full C99 math library support (DO_C99_MATH) [Y/n/?] y
Enable long double support (UCLIBC_HAS_LONG_DOUBLE_MATH) [Y/n/?] y
Linux kernel header location (KERNEL_SOURCE) [/usr/sparc-softfloat-linux-uclibc/usr] /usr/sparc-softfloat-linux-uclibc/usr
*
* General Library Settings
*
Generate Position Independent Code (PIC) (DOPIC) [Y/n/?] y
Enable support for shared libraries (HAVE_SHARED) [Y/n/?] y
Compile native shared library loader (BUILD_UCLIBC_LDSO) [Y/n/?] y
Only load shared libraries which can share their text segment (FORCE_SHAREABLE_TEXT_SEGMENTS) [N/y/?] n
Native shared library loader 'ldd' support (LDSO_LDD_SUPPORT) [Y/n/?] y
Enable shared library loader cache (LDSO_CACHE_SUPPORT) [Y/n/?] y
Enable shared library loader preload file support (LDSO_PRELOAD_FILE_SUPPORT) [N/y/?] n
Shared library loader naming prefix (LDSO_BASE_FILENAME) [ld.so] ld.so
Enable ELF RUNPATH tag support (LDSO_RUNPATH) [Y/n/?] y
uClibc 0.9.27 compatibility (DL_FINI_CRT_COMPAT) [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
Large File Support (UCLIBC_HAS_LFS) [Y/n/?] y
Link ldconfig statically (UCLIBC_STATIC_LDCONFIG) [Y/n/?] 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
Shadow Password Support (HAS_SHADOW) [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) [N/y/?] n
Path to the 'TZ' file for setting the global timezone (UCLIBC_TZ_FILE_PATH) [/etc/TZ] /etc/TZ
*
* Networking Support
*
IP version 6 Support (UCLIBC_HAS_IPV6) [N/y/?] n
Remote Procedure Call (RPC) support (UCLIBC_HAS_RPC) [Y/n/?] y
Full RPC support (UCLIBC_HAS_FULL_RPC) [Y/n/?] y
*
* 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) [N/y/?] n
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?]: 5
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
Attemt 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
*
* Big and Tall
*
Regular Expression Support (UCLIBC_HAS_REGEX) [Y/n/?] y
Support the wordexp() interface (UCLIBC_HAS_WORDEXP) [N/y/?] n
Support the ftw() and nftw() interfaces (UCLIBC_HAS_FTW) [Y/n/?] y
Support the glob() interface (UCLIBC_HAS_GLOB) [Y/n/?] y
*
* Library Installation Options
*
Shared library loader path (SHARED_LIB_LOADER_PREFIX) [/lib] /lib
uClibc runtime library directory (RUNTIME_PREFIX) [/] /
uClibc development environment directory (DEVEL_PREFIX) [/usr] /usr
*
* uClibc security related options
*
Enable security options (UCLIBC_SECURITY) [Y/n] y
Support for propolice smashing stack protector (UCLIBC_HAS_SSP) [Y/n/?] y
Use simple guard values without accessing /dev/urandom (SSP_QUICK_CANARY) [Y/n/?] y
Propolice protection blocking signal
1. abort (PROPOLICE_BLOCK_ABRT)
2. segfault (PROPOLICE_BLOCK_SEGV)
> 3. kill (PROPOLICE_BLOCK_KILL)
choice[1-3?]: 3
Build uClibc with propolice protection (UCLIBC_BUILD_SSP) [N/y/?] n
Build uClibc with RELRO (UCLIBC_BUILD_RELRO) [Y/n/?] y
Build uClibc with NOW (UCLIBC_BUILD_NOW) [N/y/?] n
Build uClibc with noexecstack marking (UCLIBC_BUILD_NOEXECSTACK) [N/y/?] n
*
* uClibc development/debugging options
*
Cross-compiling toolchain prefix (CROSS_COMPILER_PREFIX) [sparc-softfloat-linux-uclibc-] sparc-softfloat-linux-uclibc-
Build uClibc with debugging symbols (DODEBUG) [N/y/?] n
Build pthread with debugging output (DODEBUG_PT) [N/y/?] n
Build uClibc with run-time assertion testing (DOASSERTS) [N/y/?] n
Build the shared library loader with debugging support (SUPPORT_LD_DEBUG) [N/y/?] n
Build the shared library loader with early debugging support (SUPPORT_LD_DEBUG_EARLY) [N/y/?] n
Compiler Warnings (WARNINGS) [-Wall] -Wall
Manuel's hidden warnings (UCLIBC_MJN3_ONLY) [N/y/?] n
+ ./extra/scripts/fix_includes.sh -k /usr/sparc-softfloat-linux-uclibc/usr -t sparc
+ TOPDIR=.
+ CC=' sparc-softfloat-linux-uclibc-gcc'
+ /bin/sh extra/scripts/gen_bits_syscall_h.sh
+ cmp include/bits/sysnum.h include/bits/sysnum.h.new
+ mv -f include/bits/sysnum.h.new include/bits/sysnum.h
make -C libc/sysdeps/linux/common headers
make[1]: Entering directory `/var/tmp/cross/sparc-softfloat-linux-uclibc/portage/uclibc-0.9.28-r2/work/uClibc-0.9.28/libc/sysdeps/linux/common'
ln -fs ../libc/sysdeps/linux/common/fpu_control.h ../../../..//include/
make[1]: Leaving directory `/var/tmp/cross/sparc-softfloat-linux-uclibc/portage/uclibc-0.9.28-r2/work/uClibc-0.9.28/libc/sysdeps/linux/common'
make -C libc/sysdeps/linux/sparc headers
make[1]: Entering directory `/var/tmp/cross/sparc-softfloat-linux-uclibc/portage/uclibc-0.9.28-r2/work/uClibc-0.9.28/libc/sysdeps/linux/sparc'
ln -fs ../libc/sysdeps/linux/sparc/fpu_control.h ../../../..//include/
make[1]: Leaving directory `/var/tmp/cross/sparc-softfloat-linux-uclibc/portage/uclibc-0.9.28-r2/work/uClibc-0.9.28/libc/sysdeps/linux/sparc'
QA Notice: USE Flag 'crosscompile_opts_headers-only' not in IUSE for cross-sparc-softfloat-linux-uclibc/uclibc-0.9.28-r2
+ ./extra/scripts/fix_includes.sh -k /usr/sparc-softfloat-linux-uclibc/usr -t sparc
+ TOPDIR=.
+ CC=' sparc-softfloat-linux-uclibc-gcc'
+ /bin/sh extra/scripts/gen_bits_syscall_h.sh
+ cmp include/bits/sysnum.h include/bits/sysnum.h.new
+ rm -f include/bits/sysnum.h.new
make -C libc/sysdeps/linux/common headers
make[1]: Entering directory `/var/tmp/cross/sparc-softfloat-linux-uclibc/portage/uclibc-0.9.28-r2/work/uClibc-0.9.28/libc/sysdeps/linux/common'
ln -fs ../libc/sysdeps/linux/common/fpu_control.h ../../../..//include/
make[1]: Leaving directory `/var/tmp/cross/sparc-softfloat-linux-uclibc/portage/uclibc-0.9.28-r2/work/uClibc-0.9.28/libc/sysdeps/linux/common'
make -C libc/sysdeps/linux/sparc headers
make[1]: Entering directory `/var/tmp/cross/sparc-softfloat-linux-uclibc/portage/uclibc-0.9.28-r2/work/uClibc-0.9.28/libc/sysdeps/linux/sparc'
ln -fs ../libc/sysdeps/linux/sparc/fpu_control.h ../../../..//include/
make[1]: Leaving directory `/var/tmp/cross/sparc-softfloat-linux-uclibc/portage/uclibc-0.9.28-r2/work/uClibc-0.9.28/libc/sysdeps/linux/sparc'
make -C ldso
make[1]: Entering directory `/var/tmp/cross/sparc-softfloat-linux-uclibc/portage/uclibc-0.9.28-r2/work/uClibc-0.9.28/ldso'
ln -fs ../../include/elf.h include/elf.h
ln -fs ../ldso/sparc/dl-startup.h include/dl-startup.h
ln -fs ../ldso/sparc/dl-syscalls.h include/dl-syscalls.h
ln -fs ../ldso/sparc/dl-sysdep.h include/dl-sysdep.h
ln -fs ../ldso/sparc/dl-debug.h include/dl-debug.h
echo '#include "sparc/elfinterp.c"' \
> include/dl-progname.h
make -C ldso
make[2]: Entering directory `/var/tmp/cross/sparc-softfloat-linux-uclibc/portage/uclibc-0.9.28-r2/work/uClibc-0.9.28/ldso/ldso'
sparc-softfloat-linux-uclibc-gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-stack-protector -Os -funit-at-a-time -DUCLIBC_LDSO=\"ld-uClibc.so.0\" -msoft-float -fPIC -DUCLIBC_RUNTIME_PREFIX=\"/\" -fno-builtin -nostdinc -D_LIBC -I../../ldso/include -I. -I../../include -D_GNU_SOURCE -isystem /usr/lib/gcc/sparc-softfloat-linux-uclibc/4.1.1/include -c sparc/resolve.S -o sparc/resolve.o
sparc-softfloat-linux-uclibc-strip -x -R .note -R .comment sparc/resolve.o
sparc-softfloat-linux-uclibc-gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-stack-protector -Os -funit-at-a-time -DUCLIBC_LDSO=\"ld-uClibc.so.0\" -msoft-float -fPIC -DUCLIBC_RUNTIME_PREFIX=\"/\" -fno-builtin -nostdinc -D_LIBC -I../../ldso/include -I. -I../../include -D_GNU_SOURCE -isystem /usr/lib/gcc/sparc-softfloat-linux-uclibc/4.1.1/include -c ldso.c -o ldso.o
In file included from ../../ldso/include/ldso.h:21,
from ldso.c:33:
../../include/stdlib.h:494: warning: '__malloc__' attribute ignored
In file included from ../../ldso/include/dl-progname.h:1,
from ldso.c:42:
./sparc/elfinterp.c: In function '_dl_parse_lazy_relocation_information':
./sparc/elfinterp.c:156: warning: pointer targets in assignment differ in signedness
./sparc/elfinterp.c: In function '_dl_parse_relocation_information':
./sparc/elfinterp.c:198: warning: pointer targets in assignment differ in signedness
In file included from ldso.c:68:
dl-startup.c: In function '_dl_start':
dl-startup.c:311: warning: no return statement in function returning non-void
/var/tmp/cross/sparc-softfloat-linux-uclibc/portage/uclibc-0.9.28-r2/temp/ccd2SuO7.s: Assembler messages:
/var/tmp/cross/sparc-softfloat-linux-uclibc/portage/uclibc-0.9.28-r2/temp/ccd2SuO7.s:6: Error: symbol `_start' is already defined
make[2]: *** [ldso.o] Error 1
make[2]: Leaving directory `/var/tmp/cross/sparc-softfloat-linux-uclibc/portage/uclibc-0.9.28-r2/work/uClibc-0.9.28/ldso/ldso'
make[1]: *** [ldso] Error 2
make[1]: Leaving directory `/var/tmp/cross/sparc-softfloat-linux-uclibc/portage/uclibc-0.9.28-r2/work/uClibc-0.9.28/ldso'
make: *** [_dir_ldso] Error 2
!!! ERROR: cross-sparc-softfloat-linux-uclibc/uclibc-0.9.28-r2 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
uclibc-0.9.28-r2.ebuild, line 385: Called die
!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! This ebuild is from an overlay: '/usr/local/portage'
\b\b... done!
>>> Emerging (1 of 1) cross-sparc-softfloat-linux-uclibc/uclibc-0.9.28-r2 to /
* uClibc-0.9.28-patches-1.7.tar.bz2 MD5 ;-) ... [ ok ]
* uClibc-0.9.28-patches-1.7.tar.bz2 RMD160 ;-) ... [ ok ]
* uClibc-0.9.28-patches-1.7.tar.bz2 SHA1 ;-) ... [ ok ]
* uClibc-0.9.28-patches-1.7.tar.bz2 SHA256 ;-) ... [ ok ]
* uClibc-0.9.28-patches-1.7.tar.bz2 size ;-) ... [ ok ]
* uClibc-0.9.28.tar.bz2 MD5 ;-) ... [ ok ]
* uClibc-0.9.28.tar.bz2 RMD160 ;-) ... [ ok ]
* uClibc-0.9.28.tar.bz2 SHA1 ;-) ... [ ok ]
* uClibc-0.9.28.tar.bz2 SHA256 ;-) ... [ ok ]
* uClibc-0.9.28.tar.bz2 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking uClibc-0.9.28.tar.bz2 ;-) ... [ ok ]
* checking uClibc-0.9.28-patches-1.7.tar.bz2 ;-) ... [ ok ]
^ permalink raw reply [flat|nested] 4+ messages in thread