I tried to compile a simple program using ccc and it failed with the error show below. I am sure this is user error, I just don't know what ;) *** [pmoore@sockpuppet ~/tmp/ccc_test ]make ccc -o ccc_test main.c cc: Error: /usr/include/bits/pthreadtypes.h, line 69: Invalid declarator. (declarator) __pthread_cond_align_t __align; -------------------------^ cc: Error: /usr/include/sys/types.h, line 167: In this declaration, "int64_t" has no linkage and has a prior declaration in this scope at line number 27 in file /usr/lib/compaq/ccc-6.5.9.001-6/alpha-linux/include/sys/types.h. (nolinkage) __extension__ typedef long long int int64_t; ------------------------------------^ cc: Error: /usr/include/sys/types.h, line 176: In this declaration, "u_int64_t" has no linkage and has a prior declaration in this scope at line number 28 in file /usr/lib/compaq/ccc-6.5.9.001-6/alpha-linux/include/sys/types.h. (nolinkage) __extension__ typedef unsigned long long int u_int64_t; ---------------------------------------------^ make: *** [ccc_test] Error 1 *** Reproducible: Always Steps to Reproduce: 1. compile an application with ccc 2. 3. Actual Results: It failed as described. Expected Results: Produced a binary. Portage 2.0.48-r1 (default-alpha-1.4, gcc-3.2.3, glibc-2.2.5-r8,2.3.2-r1) ================================================================= System uname: 2.4.20-gentoo-alpha-r2 alpha EV67 GENTOO_MIRRORS="http://kant.zk3.dec.com/gentoo/mirror/sources/ http://www.ibiblio.org/gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/ rsync://csociety-ftp.ecn.purdue.edu/pub/gentoo/" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb:/usr/kde/3.1/share/config:/usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/my_gentoo" USE="alpha crypt encode gif jpeg libg++ libwww mikmod ncurses oss pdflib png quicktime spell truetype xml2 xmms xv zlib gnome-libs gdbm berkdb slang readline arts tcltk java sdl gpm tcpd pam ssl perl python esd imlib oggvorbis motif opengl mozilla X qt gtk kde -gnome -nls ev6 ipv6 xinerama mozspellcheck ldap cups doc" COMPILER="gcc3" CHOST="alphaev67-unknown-linux-gnu" CFLAGS="-mcpu=ev67 -O2 -pipe -g3 " CXXFLAGS="-mcpu=ev67 -O2 -pipe -g3 " ACCEPT_KEYWORDS="alpha ~alpha" MAKEOPTS="-j1" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="ccache"
Created attachment 13166 [details] Simple makefile for the test
Created attachment 13167 [details] Simple test
I have created two attachments; one is the 'hello world' test I am trying to compile, the other is a simple makefile I used to compile it.
glibc 2.3.2 breaks ccc, ive been working on this.
Created attachment 13243 [details, diff] dec cc/cxx compatability. This simple glibc patch seems to do the job for me, ive built perl and python with it. agriffis, any comments?
I think ive got this one nailed, reporter: try this, # emerge sync # emerge glibc # emerge clean and ccc should be working, please REOPEN if not. Thanks!
This fixes the problem for me - thanks.