Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130521 - strace-4.5.14 fails to compile against linux-headers-2.6.16
Summary: strace-4.5.14 fails to compile against linux-headers-2.6.16
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Other
: High normal (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-19 14:05 UTC by Nathan Sullivan
Modified: 2006-05-26 08:04 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Sullivan 2006-04-19 14:05:11 UTC
if powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -Ilinux/powerpc -I./linux/powerpc -Ilinux -I./linux   -Wall -O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -MT proc.o -MD -MP -MF ".deps/proc.Tpo" -c -o proc.o proc.c; \
        then mv -f ".deps/proc.Tpo" ".deps/proc.Po"; else rm -f ".deps/proc.Tpo"; exit 1; fi
if powerpc-unknown-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -Ilinux/powerpc -I./linux/powerpc -Ilinux -I./linux   -Wall -O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe -MT stream.o -MD -MP -MF ".deps/stream.Tpo" -c -o stream.o stream.c; \
        then mv -f ".deps/stream.Tpo" ".deps/stream.Po"; else rm -f ".deps/stream.Tpo"; exit 1; fi
In file included from /usr/include/linux/timex.h:61,
                 from /usr/include/linux/sched.h:11,
                 from /usr/include/linux/interrupt.h:12,
                 from /usr/include/linux/rtc.h:14,
                 from time.c:38:
/usr/include/asm/timex.h: In function 'get_cycles':
/usr/include/asm/timex.h:40: error: 'CPU_FTR_601' undeclared (first use in this function)
/usr/include/asm/timex.h:40: error: (Each undeclared identifier is reported only once
/usr/include/asm/timex.h:40: error: for each function it appears in.)
In file included from /usr/include/asm/div64.h:1,
                 from /usr/include/linux/calc64.h:5,
                 from /usr/include/linux/jiffies.h:4,
                 from /usr/include/linux/sched.h:12,
                 from /usr/include/linux/interrupt.h:12,
                 from /usr/include/linux/rtc.h:14,
                 from time.c:38:
/usr/include/asm-generic/div64.h: At top level:
/usr/include/asm-generic/div64.h:35: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__div64_32'
In file included from /usr/include/linux/jiffies.h:4,
                 from /usr/include/linux/sched.h:12,
                 from /usr/include/linux/interrupt.h:12,
                 from /usr/include/linux/rtc.h:14,
                 from time.c:38:
/usr/include/linux/calc64.h: In function 'do_div_llr':
/usr/include/linux/calc64.h:25: error: 'uint32_t' undeclared (first use in this function)
/usr/include/linux/calc64.h:25: error: expected ';' before '__base'
/usr/include/linux/calc64.h:25: error: expected ';' before '__rem'
/usr/include/linux/calc64.h:25: error: 'uint64_t' undeclared (first use in this function)
/usr/include/linux/calc64.h:25: error: expected expression before ')' token
/usr/include/linux/calc64.h:25: error: '__rem' undeclared (first use in this function)
/usr/include/linux/calc64.h:25: error: '__base' undeclared (first use in this function)
In file included from /usr/include/linux/sched.h:12,
                 from /usr/include/linux/interrupt.h:12,
                 from /usr/include/linux/rtc.h:14,
                 from time.c:38:
/usr/include/linux/jiffies.h: In function 'jiffies_64_to_clock_t':
/usr/include/linux/jiffies.h:411: error: 'uint32_t' undeclared (first use in this function)
/usr/include/linux/jiffies.h:411: error: expected ';' before '__base'
/usr/include/linux/jiffies.h:411: error: expected ';' before '__rem'
/usr/include/linux/jiffies.h:411: error: 'uint64_t' undeclared (first use in this function)
/usr/include/linux/jiffies.h:411: error: expected expression before ')' token
/usr/include/linux/jiffies.h:411: error: '__rem' undeclared (first use in this function)
/usr/include/linux/jiffies.h:411: error: '__base' undeclared (first use in this function)
/usr/include/linux/jiffies.h: In function 'nsec_to_clock_t':
/usr/include/linux/jiffies.h:427: error: 'uint32_t' undeclared (first use in this function)
/usr/include/linux/jiffies.h:427: error: expected ';' before '__base'
/usr/include/linux/jiffies.h:427: error: expected ';' before '__rem'
/usr/include/linux/jiffies.h:427: error: 'uint64_t' undeclared (first use in this function)
/usr/include/linux/jiffies.h:427: error: expected expression before ')' token
/usr/include/linux/jiffies.h:427: error: '__rem' undeclared (first use in this function)
/usr/include/linux/jiffies.h:427: error: '__base' undeclared (first use in this function)
In file included from /usr/include/linux/signal.h:6,
                 from /usr/include/linux/sched.h:28,
                 from /usr/include/linux/interrupt.h:12,
                 from /usr/include/linux/rtc.h:14,
                 from time.c:38:
/usr/include/asm/signal.h: At top level:
/usr/include/asm/signal.h:18: error: conflicting types for 'sigset_t'
/usr/include/sys/select.h:38: error: previous declaration of 'sigset_t' was here
In file included from /usr/include/linux/sched.h:34,
                 from /usr/include/linux/interrupt.h:12,
                 from /usr/include/linux/rtc.h:14,
                 from time.c:38:
/usr/include/linux/percpu.h: In function '__alloc_percpu':
/usr/include/linux/percpu.h:45: error: 'gfp_t' undeclared (first use in this function)
/usr/include/linux/percpu.h:45: error: expected ')' before numeric constant
/usr/include/linux/percpu.h:45: error: expected ')' before numeric constant
/usr/include/linux/percpu.h:45: error: expected ')' before numeric constant
make[1]: *** [time.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/strace-4.5.14/work/strace-4.5.14'
make: *** [all] Error 2

!!! ERROR: dev-util/strace-4.5.14 failed.
Call stack:
  ebuild.sh, line 1532:   Called dyn_compile
  ebuild.sh, line 929:   Called src_compile
  strace-4.5.14.ebuild, line 55:   Called die

!!! (no error message)

---------------------------------------

Portage 2.1_pre7-r5 (default-linux/ppc/2005.0, gcc-4.1.0, glibc-2.4-r2, 2.6.16-ck3 ppc)
=================================================================
System uname: 2.6.16-ck3 ppc 7447A, altivec supported
Gentoo Base System version 1.12.0_pre17
ccache version 2.4 [enabled]
dev-lang/python:     2.3.4-r1, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer nostrip sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.pacific.net.au/linux/Gentoo http://mirror.gentoo.gr.jp ftp://gg3.net/pub/linux/gentoo http://ftp-mirror.internap.com/pub/gentoo ftp://gentoo.agsn.ca/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://10.100.10.1/gentoo-portage"
USE="X aim alsa altivec apache2 berkdb bitmap-fonts bluetooth browserplugin bzip2 cairo cdr cli crypt ctype cups curl dba divx4linux dri dvd dvdr emboss ethereal exif extraengine fam flac fortran gd gdbm gif gpm gps graphviz gstreamer gtk gtk2 icq imap imlib innodb ipv6 isdnlog jabber java jpeg kerberos ldap libwww mad mhash motif mozsvg mp3 mpeg mysql mysqli ncurses nls nptl nptlonly nsplugin ogg oggvorbis opengl pam pci pcmcia pcntl pcre pdflib pear perl png posix ppc pppd python readline ruby samba session simplexml snmp soap softmmu spell sqlite ssl svg tcpd tidy tiff truetype truetype-fonts type1-fonts unicode usb userlocales utf8 vhosts vnc vorbis wddx xine xml xml2 xmms xv xvid yahoo zip zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_ati"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Nathan Sullivan 2006-04-21 04:53:25 UTC
app-emulation/qemu-softmmu-0.8.0 fails due to what seems to be the same reason...
Comment 2 Nathan Sullivan 2006-05-24 18:27:54 UTC
Fixes found with plasmaroo, patch should be in portage in a matter of days, for anyone with the same issue :)
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2006-05-26 08:04:09 UTC
Fixed in 2.6.16-3.