Try to upgrade to newest boinc on ppc32. Notice some warnings during configure of the sort "check for missing prerequisite headers?" and then bombs fairly early on in compile with various errors, the first of which is "error: expected identifier before ‘unsigned’". Reproducible: Always Steps to Reproduce: 1. Take a ppc32 running stable branch with very limited set of unstable, like boinc 6.4.5-r2, which has been running fine since around May 2009 2. Do world update and let portage try to emerge the new boinc 6.6.40. 3. See some odd configure errors (as noted above) Actual Results: 4. See compiler bomb on errors (as noted above) Expected Results: Compiled boinc client. Tried j1 and no distcc. To be specific: mercury ~ # emerge --info Portage 2.1.6.13 (default/linux/powerpc/ppc32/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.31-gentoo ppc) ================================================================= System uname: Linux-2.6.31-gentoo-ppc-7450,_altivec_supported-with-glibc2.0 Timestamp of tree: Sat, 26 Sep 2009 22:45:01 +0000 distcc 3.1 powerpc-unknown-linux-gnu [disabled] ccache version 2.4 [enabled] app-shells/bash: 4.0_p28 dev-lang/python: 2.5.4-r3 dev-python/pycrypto: 2.0.1-r8 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.63-r1 sys-devel/automake: 1.6.3, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="ppc" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-mcpu=7450 -O2 -pipe -maltivec -mabi=altivec" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-mcpu=7450 -O2 -pipe -maltivec -mabi=altivec" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://ftp.ds.karen.hj.se/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1" MAKEOPTS="-j1" PKGDIR="/var/pkg" PORTAGE_CONFIGROOT="/" 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" SYNC="rsync://giddy.michael.hammill.name/gentoo-portage" USE="acl altivec bash-completion berkdb bzip2 cli cracklib crypt cups curl dri emacs fam fortran gdbm gnutls gpm iconv ipv6 isdnlog ldap mailwrapper modules mudflap nagios-ssh ncurses network-cron nls no-old-linux nptl nptlonly openmp pam pcre perl ppc pppd python readline reflection session spell spl ssl sysfs tcpd threads unicode xml xorg zlib" ALSA_CARDS="powermac" 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 cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint mach64 mga nv r128 radeon savage tdfx trident voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
*** Bug 286703 has been marked as a duplicate of this bug. ***
*** Bug 286705 has been marked as a duplicate of this bug. ***
*** Bug 286706 has been marked as a duplicate of this bug. ***
*** Bug 286710 has been marked as a duplicate of this bug. ***
*** Bug 286709 has been marked as a duplicate of this bug. ***
...and it would be "nice", to see the log.
Just want to explain all the duplicates and the lack of a log...I was getting a bugzilla internal error when trying to submit the bug, so it appeared no bug had been filled. I did send the internal perl error message onto the Gentoo bugzilla folks as the error message requested. Sorry for the extra traffic from the duplicate bugs. I will fetch the error log now. /Mike
Created attachment 205447 [details] emerge log boinc-6.6.40 on ppc32 (G4)
Sadly i have no idea :/ It should work with complete stable (tested on one amd64) and also works on complete testing for both x86 and amd64. Lets ask ppc team if they have any idea what can cause this. @ppc: Any hints/ideas?
also please post emerge --info sci-misc/boinc not just emerge --info :]
Created attachment 205506 [details] emerge --info sci-misc/boinc In response to request. (Actually, I didn't know you could do emerge --info with an argument. Thanks for the tip, and here is the result.)
(In reply to comment #11) Looking at the output of emerge --info sci-misc/boinc more closely, I see I had ccache enabled. I will try now without this enabled to see if it helps.
(In reply to comment #12) No luck with turning off ccache. Same result, even though emerge --info gives distcc 3.1 powerpc-unknown-linux-gnu [disabled] ccache version 2.4 [disabled] This machine is nearly all stable, but there is perhaps one exception worth noting in the tool chain, libtool. I wonder if there could be a problem because I am running libtool-2.2.6a? (I don't have anything from the 1.3 series installed.) mercury ~ # eix -I libtool [I] sys-devel/libtool Available versions: (1.3) 1.3.5 (1.5) 1.5.26 (~)2.2.4 2.2.6a **9999 {test vanilla} Installed versions: 2.2.6a(1.5)(06:05:45 PM 07/31/2009)(-vanilla) Homepage: http://www.gnu.org/software/libtool/ Description: A shared library tool for developers
It was because of changes in compile flags which were not recommended for ppc. That leads configure script to generate non-compilable tests so everything was failing like detection of <sys/types.h> so config.h was adding #define size_t unsigned int but size_t is defined in <sys/types.h>... Anyway, 6.6.40-r1 is fixing that (bumping because changing compile flags is a QA issue). Thanks for reporting Mike :)
(In reply to comment #14) You guys, once again, rock! Well, perhaps I should specifically thank volkmar, but I continue to be a Gentoo fan. Works perfect now with -r1 version (including with all the recent ppc32 upgrades, like python 2.6, kernel 2.6.31-r1. Back to doing some good, hopefully for everyone via boinc :-) I can also say as an aside that 6.6.40-r1 works on a x86_64 (nocona), and regular x86. I usually compile myself on sparc and mips, but now feel hopefull about the 6.6.40-r1 version there too. Anyway, THANKS! solved. 29-Sep-2009 12:03:58 [---] Received signal 15 29-Sep-2009 12:04:00 [---] Exit requested by user 29-Sep-2009 12:04:02 [---] Starting BOINC client version 6.6.40 for powerpc-unknown-linux-gnu 29-Sep-2009 12:04:02 [---] log flags: task, file_xfer, sched_ops 29-Sep-2009 12:04:02 [---] Libraries: libcurl/7.19.6 GnuTLS/2.6.6 zlib/1.2.3 29-Sep-2009 12:04:02 [---] Data directory: /var/lib/boinc 29-Sep-2009 12:04:02 [---] Processor: 1 PowerMac 7400 [Model 0 ] 29-Sep-2009 12:04:02 [---] Processor features: altivec 29-Sep-2009 12:04:02 [---] OS: Linux: 2.6.31-gentoo-r1 29-Sep-2009 12:04:02 [---] Memory: 373.99 MB physical, 3.00 GB virtual 29-Sep-2009 12:04:02 [---] Disk: 7.00 GB total, 5.19 GB free 29-Sep-2009 12:04:02 [---] Local time is UTC +2 hours 29-Sep-2009 12:04:02 [---] Can't load library libcudart 29-Sep-2009 12:04:02 [---] No coprocessors 29-Sep-2009 12:04:02 [SETI@home] Found app_info.xml; using anonymous platform 29-Sep-2009 12:04:02 [boincsimap] Found app_info.xml; using anonymous platform 29-Sep-2009 12:04:02 [---] Not using a proxy 29-Sep-2009 12:04:02 [SETI@home] URL: http://setiathome.berkeley.edu/; Computer ID: 4679755; location: home; project prefs: default 29-Sep-2009 12:04:02 [boincsimap] URL: http://boinc.bio.wzw.tum.de/boincsimap/; Computer ID: 132437; location: home; project prefs: default 29-Sep-2009 12:04:02 [---] General prefs: from http://cbl-boinc-server2.cs.technion.ac.il/superlinkattechnion/ (last modified 07-Jun-2009 15:15:37) 29-Sep-2009 12:04:02 [---] Computer location: home 29-Sep-2009 12:04:02 [---] General prefs: no separate prefs for home; using your defaults 29-Sep-2009 12:04:02 [---] Preferences limit memory usage when active to 373.99MB 29-Sep-2009 12:04:02 [---] Preferences limit memory usage when idle to 373.99MB 29-Sep-2009 12:04:02 [---] Preferences limit disk usage to 0.00GB 29-Sep-2009 12:04:02 [SETI@home] Restarting task 27au09af.2449.5384.10.10.230_0 using setiathome_enhanced version 527
Just to finish out some testing on ppc32: Can confirm sci-misc/boinc-6.6.40-r1 works on G3 and G4, specifically CFLAGS="-mcpu=7450 -O2 -pipe -maltivec -mabi=altivec" CFLAGS="-mcpu=7400 -O2 -pipe -maltivec -mabi=altivec" CFLAGS="-mcpu=750 -Os -pipe -fno-strict-aliasing" Thanks again!