Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126283 - net-misc/chrony-1.20-r1 gcc 4
Summary: net-misc/chrony-1.20-r1 gcc 4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Torsten Veller (RETIRED)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-03-15 04:36 UTC by Tobias Klausmann (RETIRED)
Modified: 2006-04-23 14:13 UTC (History)
3 users (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 Tobias Klausmann (RETIRED) gentoo-dev 2006-03-15 04:36:34 UTC
gcc -Wmissing-prototypes -Wall -march=prescott -O2 -pipe -fomit-frame-pointer  -
DLINUX -DHAS_SPINLOCK_H -DHAS_STDINT_H -DHAS_INTTYPES_H -c addrfilt.c           gcc -Wmissing-prototypes -Wall -march=prescott -O2 -pipe -fomit-frame-pointer  -
DLINUX -DHAS_SPINLOCK_H -DHAS_STDINT_H -DHAS_INTTYPES_H -c cmdparse.c           addrfilt.c:48: error: array type has incomplete element type
addrfilt.c:54: warning: type defaults to 'int' in declaration of 'extended'
addrfilt.c: In function 'close_node':
addrfilt.c:104: error: subscripted value is neither array nor pointer
addrfilt.c: In function 'open_node':
addrfilt.c:127: warning: type defaults to 'int' in declaration of 'type name'
addrfilt.c:127: warning: type defaults to 'int' in declaration of 'type name'
addrfilt.c:130: error: subscripted value is neither array nor pointer
addrfilt.c: In function 'set_subnet':
addrfilt.c:171: error: subscripted value is neither array nor pointer
addrfilt.c:190: error: subscripted value is neither array nor pointer
addrfilt.c:202: error: subscripted value is neither array nor pointer
addrfilt.c: In function 'check_ip_in_node':
addrfilt.c:286: error: subscripted value is neither array nor pointer
make: *** [addrfilt.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: net-misc/chrony-1.20-r1 failed.
Call stack:
  ebuild.sh, line 1557:   Called dyn_compile
  ebuild.sh, line 966:   Called src_compile

Portage 2.1_pre6-r2 (default-linux/x86/2005.0, gcc-4.1.0, glibc-2.4-r0, 2.6.16-r
c6 i686)                                                                        =================================================================
System uname: 2.6.16-rc6 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disable
d]                                                                              dev-lang/python:     2.3.5-r2, 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-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share
/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"                                                    CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict userpriv
 usersandbox"                                                                   GENTOO_MIRRORS="http://ftp.freenet.de/pub/ftp.snt.utwente.nl/pub/os/linux/gentoo
 http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"                         MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X a52 acpi aim alsa apache2 apm audiofile avi bash-completion berkdb bi
tmap-fonts browserplugin bzip2 bzlib crypt cups curlwrappers divx4linux dri dv dvd dvdread dxr3 emboss encode ethereal exif exiscan exiscan-acl fame fftw font-server foomaticdb fortran ftp gdbm gif gimpprint gnutls gpm gstreamer gtk gtk2 icq imap imlib jabber jpeg kdeenablefinal libg++ libwww mad maildir mailwrapper mikmod mmap mmx mng motif mp3 mpeg mpi ncurses network nls nptl nptlonly offensive ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline recode sdl sndfile spell sse ssl svg sysvipc tcpd theora truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vorbis wmf wxwindows xml2 xmms xpm xv xvid yv12 zlib elibc_glibc kernel_linux userland_GNU"                                        Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS

# gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /var/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/configure --prefix=/u
sr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.1.0 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.0/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.0 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.0/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.0/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.0/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu                                                                 Thread model: posix
gcc version 4.1.0 (Gentoo 4.1.0)
Comment 1 Torsten Veller (RETIRED) gentoo-dev 2006-03-25 01:55:59 UTC
I've just commited chrony-1.21 with a patch. It is currently package masked (for bug #21058).
Please test.

Will close this bug when i unmask it.
Comment 2 Tobias Klausmann (RETIRED) gentoo-dev 2006-03-25 03:14:10 UTC
As far as I can tell, that did it. 

FYI, my system has a HZ value of 250.
Comment 3 Tobias Klausmann (RETIRED) gentoo-dev 2006-03-26 06:38:59 UTC
Also, this seems to be stable on amd64 (my other workstation). So maybe adding the relevant keyword would be nice.
Comment 4 Mark Loeser (RETIRED) gentoo-dev 2006-04-13 22:00:45 UTC
Looks good, is this ready to get unmasked tove?
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2006-04-15 02:45:50 UTC
(In reply to comment #1)
> I've just commited chrony-1.21 with a patch. It is currently package masked
> (for bug #21058).
> Please test.

Worked for me, with GCC 4.1 and even with somewhat ricing CFLAGS on ~x86 system.

Please unmask.
Comment 6 Torsten Veller (RETIRED) gentoo-dev 2006-04-23 14:13:49 UTC
Unmasked. Thanks for your patience.
~amd64 should be added soon (bug #131023).