Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 259144 - sys-libs/newlib: headers-only does not work
Summary: sys-libs/newlib: headers-only does not work
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 285267 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-02-15 20:37 UTC by Tomas Chabada
Modified: 2011-02-14 03:09 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
crossdev logs (logs.tar.gz,35.24 KB, application/octet-stream)
2009-02-16 05:53 UTC, Tomas Chabada
Details
crossdev-logs-20100712.tar.gz (crossdev-logs-20100712.tar.gz,10.75 KB, application/octet-stream)
2010-07-12 07:43 UTC, Siarhei Siamashka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Chabada 2009-02-15 20:37:36 UTC
* Host Portage ARCH:     amd64
* Target Portage ARCH:   ppc64
* Target System:         spu-elf
* Stage:                 3 (C compiler & libc)

* binutils:              binutils-[latest]
* gcc:                   gcc-[latest]
* libc:                  newlib-[latest]

* PORTDIR_OVERLAY:       /usr/local/portage/layman/cell
* PORT_LOGDIR:           /var/log/portage
* PKGDIR:                /usr/portage/packages/cross/spu-elf
* PORTAGE_TMPDIR:        /var/tmp/cross/spu-elf

binutils built without problems

>>> Emerging (1 of 1) cross-spu-elf/newlib-1.16.0 from unknown repo

Making all in libc
make[4]: Entering directory `/var/tmp/cross/spu-elf/portage/cross-spu-elf/newlib-1.16.0/work/build/spu-elf/newlib/libc'
Making all in argz
make[5]: Entering directory `/var/tmp/cross/spu-elf/portage/cross-spu-elf/newlib-1.16.0/work/build/spu-elf/newlib/libc/argz'
spu-elf-cc -B/var/tmp/cross/spu-elf/portage/cross-spu-elf/newlib-1.16.0/work/build/spu-elf/newlib/ -isystem /var/tmp/cross/spu-elf/portage/cross-spu-elf/newlib-1.16.0/work/build/spu-elf/newlib/targ-include -isystem /var/tmp/cross/spu-elf/portage/cross-spu-elf/newlib-1.16.0/work/newlib-1.16.0/newlib/libc/include -B/var/tmp/cross/spu-elf/portage/cross-spu-elf/newlib-1.16.0/work/build/spu-elf/libgloss/spu -L/var/tmp/cross/spu-elf/portage/cross-spu-elf/newlib-1.16.0/work/build/spu-elf/libgloss/libnosys -L/var/tmp/cross/spu-elf/portage/cross-spu-elf/newlib-1.16.0/work/newlib-1.16.0/libgloss/spu -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"1.16.0\" -DPACKAGE_STRING=\"newlib\ 1.16.0\" -DPACKAGE_BUGREPORT=\"\" -I. -I/var/tmp/cross/spu-elf/portage/cross-spu-elf/newlib-1.16.0/work/newlib-1.16.0/newlib/libc/argz -O2 -D_POSIX_MODE -ffunction-sections -fdata-sections  -DMISSING_SYSCALL_NAMES -fno-builtin      -O2 -g -march=core2 -O2 -pipe   -c -o lib_a-dummy.o `test -f 'dummy.c' || echo '/var/tmp/cross/spu-elf/portage/cross-spu-elf/newlib-1.16.0/work/newlib-1.16.0/newlib/libc/argz/'`dummy.c
spu-elf-cc -B/var/tmp/cross/spu-elf/portage/cross-spu-elf/newlib-1.16.0/work/build/spu-elf/newlib/ -isystem /var/tmp/cross/spu-elf/portage/cross-spu-elf/newlib-1.16.0/work/build/spu-elf/newlib/targ-include -isystem /var/tmp/cross/spu-elf/portage/cross-spu-elf/newlib-1.16.0/work/newlib-1.16.0/newlib/libc/include -B/var/tmp/cross/spu-elf/portage/cross-spu-elf/newlib-1.16.0/work/build/spu-elf/libgloss/spu -L/var/tmp/cross/spu-elf/portage/cross-spu-elf/newlib-1.16.0/work/build/spu-elf/libgloss/libnosys -L/var/tmp/cross/spu-elf/portage/cross-spu-elf/newlib-1.16.0/work/newlib-1.16.0/libgloss/spu -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"1.16.0\" -DPACKAGE_STRING=\"newlib\ 1.16.0\" -DPACKAGE_BUGREPORT=\"\" -I. -I/var/tmp/cross/spu-elf/portage/cross-spu-elf/newlib-1.16.0/work/newlib-1.16.0/newlib/libc/argz -O2 -D_POSIX_MODE -ffunction-sections -fdata-sections  -DMISSING_SYSCALL_NAMES -fno-builtin      -O2 -g -march=core2 -O2 -pipe   -c -o lib_a-argz_add.o `test -f 'argz_add.c' || echo '/var/tmp/cross/spu-elf/portage/cross-spu-elf/newlib-1.16.0/work/newlib-1.16.0/newlib/libc/argz/'`argz_add.c
spu-elf-cc -B/var/tmp/cross/spu-elf/portage/cross-spu-elf/newlib-1.16.0/work/build/spu-elf/newlib/ -isystem /var/tmp/cross/spu-elf/portage/cross-spu-elf/newlib-1.16.0/work/build/spu-elf/newlib/targ-include -isystem /var/tmp/cross/spu-elf/portage/cross-spu-elf/newlib-1.16.0/work/newlib-1.16.0/newlib/libc/include -B/var/tmp/cross/spu-elf/portage/cross-spu-elf/newlib-1.16.0/work/build/spu-elf/libgloss/spu -L/var/tmp/cross/spu-elf/portage/cross-spu-elf/newlib-1.16.0/work/build/spu-elf/libgloss/libnosys -L/var/tmp/cross/spu-elf/portage/cross-spu-elf/newlib-1.16.0/work/newlib-1.16.0/libgloss/spu -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"1.16.0\" -DPACKAGE_STRING=\"newlib\ 1.16.0\" -DPACKAGE_BUGREPORT=\"\" -I. -I/var/tmp/cross/spu-elf/portage/cross-spu-elf/newlib-1.16.0/work/newlib-1.16.0/newlib/libc/argz -O2 -D_POSIX_MODE -ffunction-sections -fdata-sections  -DMISSING_SYSCALL_NAMES -fno-builtin      -O2 -g -march=core2 -O2 -pipe   -c -o lib_a-argz_add_sep.o `test -f 'argz_add_sep.c' || echo '/var/tmp/cross/spu-elf/portage/cross-spu-elf/newlib-1.16.0/work/newlib-1.16.0/newlib/libc/argz/'`argz_add_sep.c
/bin/sh: spu-elf-cc: command not found
make[5]: *** [lib_a-argz_add_sep.o] Error 127
make[5]: *** Waiting for unfinished jobs....
/bin/sh: spu-elf-cc: command not found
make[5]: *** [lib_a-argz_add.o] Error 127
/bin/sh: spu-elf-cc: command not found
make[5]: *** [lib_a-dummy.o] Error 127


Reproducible: Always




Portage 2.2_rc23 (default/linux/amd64/2008.0/desktop, gcc-4.3.3, glibc-2.9_p20081201-r1, 2.6.28-gentoo-r1 x86_64)
=================================================================                                                
System uname: Linux-2.6.28-gentoo-r1-x86_64-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-glibc2.2.5                
Timestamp of tree: Sun, 15 Feb 2009 17:15:02 +0000                                                               
ccache version 2.4 [enabled]                                                                                     
app-shells/bash:     3.2_p48-r1                                                                                  
dev-java/java-config: 2.1.7                                                                                      
dev-lang/python:     2.5.4-r2                                                                                    
dev-util/ccache:     2.4-r8                                                                                      
dev-util/cmake:      2.6.2-r1                                                                                    
sys-apps/baselayout: 2.0.0                                                                                       
sys-apps/openrc:     0.4.3-r1                                                                                    
sys-apps/sandbox:    1.3.7                                                                                       
sys-devel/autoconf:  2.13, 2.63                                                                                  
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19.1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.gentoo.sk/pub"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/cell /usr/local/portage/layman/toolchain"
SYNC="rsync://mirror.gentoo.sk/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdparanoia cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg firefox fortran gdbm gif gpm gstreamer gtk hal iconv ieee1394 ipv6 isdnlog java jpeg kde kdeprefix libnotify mad midi mikmod mmx mp3 mpeg mplayer mudflap multilib mysql ncurses nls nptl nptlonly nsplugin ogg openal opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session sockets spell spl sse sse2 ssl startup-notification svg sysfs tcpd threads tiff truetype unicode usb v4l vcd vorbis wxwindows xcomposite xinerama xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontzcfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 SpanKY gentoo-dev 2009-02-15 23:59:10 UTC
post the files crossdev told you to
Comment 2 Tomas Chabada 2009-02-16 05:53:31 UTC
Created attachment 182201 [details]
crossdev logs
Comment 3 Tomas Chabada 2009-02-18 07:13:06 UTC
crossdev logs
Comment 4 Siarhei Siamashka 2009-04-10 15:35:30 UTC
Encountered this problem too. A workaround found in this forum thread helps:
http://forums.gentoo.org/viewtopic-t-697847-highlight-crossdev+spu.html
Comment 5 Luca Barbato gentoo-dev 2010-02-28 23:37:37 UTC
could you please check again, I updated newlib recently and it seems to work fine.
Comment 6 Siarhei Siamashka 2010-07-12 07:43:41 UTC
Created attachment 238395 [details]
crossdev-logs-20100712.tar.gz

No, it still does not work for me.
Comment 7 SpanKY gentoo-dev 2011-02-12 23:51:04 UTC
*** Bug 285267 has been marked as a duplicate of this bug. ***
Comment 8 SpanKY gentoo-dev 2011-02-14 03:09:06 UTC
i've defaulted to --without-headers for newlib targets

http://git.overlays.gentoo.org/gitweb/?p=proj/crossdev.git;a=commitdiff;h=1cd06f195aa1ab628658938b6e671642c5248d9e