From owner-freebsd-questions@FreeBSD.ORG Mon Jun 12 18:11:05 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E220016A46F for ; Mon, 12 Jun 2006 18:11:05 +0000 (UTC) (envelope-from freebsd01@dgmm.net) Received: from lon-mail-4.gradwell.net (lon-mail-4.gradwell.net [193.111.201.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC2BC43D68 for ; Mon, 12 Jun 2006 18:10:56 +0000 (GMT) (envelope-from freebsd01@dgmm.net) Received: from lon-mail-4.gradwell.net ([193.111.201.130] helo=webmaker country=GB ident=dave*pop3*dgmm*net) by lon-mail-4.gradwell.net with esmtpa (Gradwell gwh-smtpd 1.221) id 448dae28.97a8.36d for freebsd-questions@freebsd.org; Mon, 12 Jun 2006 19:10:48 +0100 (envelope-sender ) From: dgmm To: freebsd-questions@freebsd.org Date: Mon, 12 Jun 2006 19:10:35 +0100 User-Agent: KMail/1.9.1 References: <20060612122033.GA93003@aurora.oekb.co.at> <200606121824.20497.freebsd01@dgmm.net> In-Reply-To: <200606121824.20497.freebsd01@dgmm.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200606121910.36703.freebsd01@dgmm.net> Subject: Re: Compiler error during compilation of liboil X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jun 2006 18:11:06 -0000 On Monday 12 June 2006 18:24, dgmm wrote: > On Monday 12 June 2006 15:06, michael johnson wrote: > > On 6/12/06, Ewald Jenisch wrote: > > > Hi, > > > > > > During a regular portupgrade I ran into a problem during compiling > > > liboil: During compilation of composite_sse_2pix.c in > > > /usr/ports/devel/liboil/work/liboil-0.3.9/liboil/sse I get a gcc > > > compiler error. For the exact details see attached file. > > > > I just committed a fix. =) > > Thank you. I was about to post the same problem after it failed on me last > night ;-) Oops. Spoke too soon. portupgrade liboil ===> Patching for liboil-0.3.9 ===> liboil-0.3.9 depends on executable: gcc34 - not found ===> Verifying install for gcc34 in /usr/ports/lang/gcc34 Making GCC 3.4.6 for FreeBSD 5.4 target=i386-portbld-freebsd5.4 ===> Vulnerability check disabled, database not found ===> Extracting for gcc-3.4.6,1 => MD5 Checksum OK for gcc-core-3.4.6.tar.bz2. => SHA256 Checksum OK for gcc-core-3.4.6.tar.bz2. => MD5 Checksum OK for gcc-g++-3.4.6.tar.bz2. => SHA256 Checksum OK for gcc-g++-3.4.6.tar.bz2. => MD5 Checksum OK for gcc-g77-3.4.6.tar.bz2. => SHA256 Checksum OK for gcc-g77-3.4.6.tar.bz2. => MD5 Checksum OK for gcc-objc-3.4.6.tar.bz2. => SHA256 Checksum OK for gcc-objc-3.4.6.tar.bz2. => MD5 Checksum OK for gcc-testsuite-3.4.6.tar.bz2. => SHA256 Checksum OK for gcc-testsuite-3.4.6.tar.bz2. ===> gcc-3.4.6,1 depends on file: /usr/local/bin/perl5.8.8 - found gcc/ggc-common.c -o ggc-common.o cc -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -I/usr/local/include -I. -I. -I.././..//gcc-3.4.6/gcc -I.././..//gcc-3.4.6/gcc/. -I.././..//gcc-3.4.6/gcc/../include .././..//gcc-3.4.6/gcc/global.c -o global.o cc -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -I/usr/local/include -I. -I. -I.././..//gcc-3.4.6/gcc -I.././..//gcc-3.4.6/gcc/. -I.././..//gcc-3.4.6/gcc/../include .././..//gcc-3.4.6/gcc/graph.c -o graph.o cc -c -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -I/usr/local/include -I. -I. -I.././..//gcc-3.4.6/gcc -I.././..//gcc-3.4.6/gcc/. -I.././..//gcc-3.4.6/gcc/../include gtype-desc.c -o gtype-desc.o gtype-desc.c: In function `gt_ggc_mx_cgraph_varpool_node': gtype-desc.c:51: error: dereferencing pointer to incomplete type gtype-desc.c:51: error: dereferencing pointer to incomplete type gtype-desc.c:52: error: dereferencing pointer to incomplete type gtype-desc.c:52: error: dereferencing pointer to incomplete type gtype-desc.c: In function `gt_ggc_mx_cgraph_edge': gtype-desc.c:62: error: dereferencing pointer to incomplete type gtype-desc.c:62: error: dereferencing pointer to incomplete type gtype-desc.c:63: error: dereferencing pointer to incomplete type gtype-desc.c:63: error: dereferencing pointer to incomplete type gtype-desc.c:64: error: dereferencing pointer to incomplete type gtype-desc.c:64: error: dereferencing pointer to incomplete type gtype-desc.c:65: error: dereferencing pointer to incomplete type gtype-desc.c:65: error: dereferencing pointer to incomplete type gtype-desc.c: In function `gt_ggc_mx_cgraph_node': gtype-desc.c:75: error: dereferencing pointer to incomplete type gtype-desc.c:79: error: dereferencing pointer to incomplete type gtype-desc.c:86: error: dereferencing pointer to incomplete type gtype-desc.c:86: error: dereferencing pointer to incomplete type gtype-desc.c:87: error: dereferencing pointer to incomplete type gtype-desc.c:87: error: dereferencing pointer to incomplete type gtype-desc.c:88: error: dereferencing pointer to incomplete type gtype-desc.c:88: error: dereferencing pointer to incomplete type gtype-desc.c:89: error: dereferencing pointer to incomplete type gtype-desc.c:89: error: dereferencing pointer to incomplete type gtype-desc.c:90: error: dereferencing pointer to incomplete type gtype-desc.c:90: error: dereferencing pointer to incomplete type gtype-desc.c:91: error: dereferencing pointer to incomplete type gtype-desc.c:91: error: dereferencing pointer to incomplete type gtype-desc.c:92: error: dereferencing pointer to incomplete type gtype-desc.c:92: error: dereferencing pointer to incomplete type gtype-desc.c:93: error: dereferencing pointer to incomplete type gtype-desc.c:93: error: dereferencing pointer to incomplete type gtype-desc.c:94: error: dereferencing pointer to incomplete type gtype-desc.c:94: error: dereferencing pointer to incomplete type gtype-desc.c:95: error: dereferencing pointer to incomplete type gtype-desc.c: In function `gt_pch_nx_cgraph_varpool_node': gtype-desc.c:1287: error: dereferencing pointer to incomplete type gtype-desc.c:1287: error: dereferencing pointer to incomplete type gtype-desc.c:1288: error: dereferencing pointer to incomplete type gtype-desc.c:1288: error: dereferencing pointer to incomplete type gtype-desc.c: In function `gt_pch_nx_cgraph_edge': gtype-desc.c:1298: error: dereferencing pointer to incomplete type gtype-desc.c:1298: error: dereferencing pointer to incomplete type gtype-desc.c:1299: error: dereferencing pointer to incomplete type gtype-desc.c:1299: error: dereferencing pointer to incomplete type gtype-desc.c:1300: error: dereferencing pointer to incomplete type gtype-desc.c:1300: error: dereferencing pointer to incomplete type gtype-desc.c:1301: error: dereferencing pointer to incomplete type gtype-desc.c:1301: error: dereferencing pointer to incomplete type gtype-desc.c:1302: error: dereferencing pointer to incomplete type gtype-desc.c: In function `gt_pch_nx_cgraph_node': gtype-desc.c:1312: error: dereferencing pointer to incomplete type gtype-desc.c:1316: error: dereferencing pointer to incomplete type gtype-desc.c:1323: error: dereferencing pointer to incomplete type gtype-desc.c:1323: error: dereferencing pointer to incomplete type gtype-desc.c:1324: error: dereferencing pointer to incomplete type gtype-desc.c:1324: error: dereferencing pointer to incomplete type gtype-desc.c:1325: error: dereferencing pointer to incomplete type gtype-desc.c:1325: error: dereferencing pointer to incomplete type gtype-desc.c:1326: error: dereferencing pointer to incomplete type gtype-desc.c:1326: error: dereferencing pointer to incomplete type gtype-desc.c:1327: error: dereferencing pointer to incomplete type gtype-desc.c:1327: error: dereferencing pointer to incomplete type gtype-desc.c:1328: error: dereferencing pointer to incomplete type gtype-desc.c:1328: error: dereferencing pointer to incomplete type gtype-desc.c:1329: error: dereferencing pointer to incomplete type gtype-desc.c:1329: error: dereferencing pointer to incomplete type gtype-desc.c:1330: error: dereferencing pointer to incomplete type gtype-desc.c:1330: error: dereferencing pointer to incomplete type gtype-desc.c:1331: error: dereferencing pointer to incomplete type gtype-desc.c:1331: error: dereferencing pointer to incomplete type gtype-desc.c:1332: error: dereferencing pointer to incomplete type gtype-desc.c: In function `gt_pch_p_19cgraph_varpool_node': gtype-desc.c:2601: error: dereferencing pointer to incomplete type gtype-desc.c:2603: error: dereferencing pointer to incomplete type gtype-desc.c: In function `gt_pch_p_11cgraph_edge': gtype-desc.c:2614: error: dereferencing pointer to incomplete type gtype-desc.c:2616: error: dereferencing pointer to incomplete type gtype-desc.c:2618: error: dereferencing pointer to incomplete type gtype-desc.c:2620: error: dereferencing pointer to incomplete type gtype-desc.c:2622: error: dereferencing pointer to incomplete type gtype-desc.c: In function `gt_pch_p_11cgraph_node': gtype-desc.c:2633: error: dereferencing pointer to incomplete type gtype-desc.c:2635: error: dereferencing pointer to incomplete type gtype-desc.c:2637: error: dereferencing pointer to incomplete type gtype-desc.c:2639: error: dereferencing pointer to incomplete type gtype-desc.c:2641: error: dereferencing pointer to incomplete type gtype-desc.c:2643: error: dereferencing pointer to incomplete type gtype-desc.c:2645: error: dereferencing pointer to incomplete type gtype-desc.c:2647: error: dereferencing pointer to incomplete type gtype-desc.c:2649: error: dereferencing pointer to incomplete type gtype-desc.c: At top level: gtype-desc.c:4334: error: `cgraph_varpool_nodes_queue' undeclared here (not in a function) gtype-desc.c:4334: error: initializer element is not constant gtype-desc.c:4334: error: (near initialization for `gt_ggc_r_gtype_desc_c[0].base') gtype-desc.c:4339: error: initializer element is not constant gtype-desc.c:4339: error: (near initialization for `gt_ggc_r_gtype_desc_c[0]') gtype-desc.c:4341: error: `cgraph_nodes_queue' undeclared here (not in a function) gtype-desc.c:4341: error: initializer element is not constant gtype-desc.c:4341: error: (near initialization for `gt_ggc_r_gtype_desc_c[1].base') gtype-desc.c:4346: error: initializer element is not constant gtype-desc.c:4346: error: (near initialization for `gt_ggc_r_gtype_desc_c[1]') gtype-desc.c:4348: error: `cgraph_nodes' undeclared here (not in a function) gtype-desc.c:4348: error: initializer element is not constant gtype-desc.c:4348: error: (near initialization for `gt_ggc_r_gtype_desc_c[2].base') gtype-desc.c:4353: error: initializer element is not constant gtype-desc.c:4353: error: (near initialization for `gt_ggc_r_gtype_desc_c[2]') gtype-desc.c:4360: error: initializer element is not constant gtype-desc.c:4360: error: (near initialization for `gt_ggc_r_gtype_desc_c[3]') gtype-desc.c:4367: error: initializer element is not constant gtype-desc.c:4367: error: (near initialization for `gt_ggc_r_gtype_desc_c[4]') gtype-desc.c:4374: error: initializer element is not constant gtype-desc.c:4374: error: (near initialization for `gt_ggc_r_gtype_desc_c[5]') gtype-desc.c:4381: error: initializer element is not constant gtype-desc.c:4381: error: (near initialization for `gt_ggc_r_gtype_desc_c[6]') gtype-desc.c:4388: error: initializer element is not constant gtype-desc.c:4388: error: (near initialization for `gt_ggc_r_gtype_desc_c[7]') gtype-desc.c:4395: error: initializer element is not constant gtype-desc.c:4395: error: (near initialization for `gt_ggc_r_gtype_desc_c[8]') gtype-desc.c:4402: error: initializer element is not constant gtype-desc.c:4402: error: (near initialization for `gt_ggc_r_gtype_desc_c[9]') gtype-desc.c:4409: error: initializer element is not constant gtype-desc.c:4409: error: (near initialization for `gt_ggc_r_gtype_desc_c[10]') gtype-desc.c:4416: error: initializer element is not constant gtype-desc.c:4416: error: (near initialization for `gt_ggc_r_gtype_desc_c[11]') gtype-desc.c:4423: error: initializer element is not constant gtype-desc.c:4423: error: (near initialization for `gt_ggc_r_gtype_desc_c[12]') gtype-desc.c:4430: error: initializer element is not constant gtype-desc.c:4430: error: (near initialization for `gt_ggc_r_gtype_desc_c[13]') gtype-desc.c:4437: error: initializer element is not constant gtype-desc.c:4437: error: (near initialization for `gt_ggc_r_gtype_desc_c[14]') gtype-desc.c:4444: error: initializer element is not constant gtype-desc.c:4444: error: (near initialization for `gt_ggc_r_gtype_desc_c[15]') gtype-desc.c:4451: error: initializer element is not constant gtype-desc.c:4451: error: (near initialization for `gt_ggc_r_gtype_desc_c[16]') gtype-desc.c:4458: error: initializer element is not constant gtype-desc.c:4458: error: (near initialization for `gt_ggc_r_gtype_desc_c[17]') gtype-desc.c:4465: error: initializer element is not constant gtype-desc.c:4465: error: (near initialization for `gt_ggc_r_gtype_desc_c[18]') gtype-desc.c:4472: error: initializer element is not constant gtype-desc.c:4472: error: (near initialization for `gt_ggc_r_gtype_desc_c[19]') gtype-desc.c:4479: error: initializer element is not constant gtype-desc.c:4479: error: (near initialization for `gt_ggc_r_gtype_desc_c[20]') gtype-desc.c:4486: error: initializer element is not constant gtype-desc.c:4486: error: (near initialization for `gt_ggc_r_gtype_desc_c[21]') gtype-desc.c:4493: error: initializer element is not constant gtype-desc.c:4493: error: (near initialization for `gt_ggc_r_gtype_desc_c[22]') gtype-desc.c:4500: error: initializer element is not constant gtype-desc.c:4500: error: (near initialization for `gt_ggc_r_gtype_desc_c[23]') gtype-desc.c:4507: error: initializer element is not constant gtype-desc.c:4507: error: (near initialization for `gt_ggc_r_gtype_desc_c[24]') gtype-desc.c:4514: error: initializer element is not constant gtype-desc.c:4514: error: (near initialization for `gt_ggc_r_gtype_desc_c[25]') gtype-desc.c:4521: error: initializer element is not constant gtype-desc.c:4521: error: (near initialization for `gt_ggc_r_gtype_desc_c[26]') gtype-desc.c:4528: error: initializer element is not constant gtype-desc.c:4528: error: (near initialization for `gt_ggc_r_gtype_desc_c[27]') gtype-desc.c:4529: error: initializer element is not constant gtype-desc.c:4529: error: (near initialization for `gt_ggc_r_gtype_desc_c[28]') gtype-desc.c:4533: error: `cgraph_varpool_n_nodes' undeclared here (not in a function) gtype-desc.c:4533: error: initializer element is not constant gtype-desc.c:4533: error: (near initialization for `gt_pch_rs_gtype_desc_c[0].base') gtype-desc.c:4533: error: initializer element is not constant gtype-desc.c:4533: error: (near initialization for `gt_pch_rs_gtype_desc_c[0]') gtype-desc.c:4534: error: `cgraph_max_uid' undeclared here (not in a function) gtype-desc.c:4534: error: initializer element is not constant gtype-desc.c:4534: error: (near initialization for `gt_pch_rs_gtype_desc_c[1].base') gtype-desc.c:4534: error: initializer element is not constant gtype-desc.c:4534: error: (near initialization for `gt_pch_rs_gtype_desc_c[1]') gtype-desc.c:4535: error: `cgraph_n_nodes' undeclared here (not in a function) gtype-desc.c:4535: error: initializer element is not constant gtype-desc.c:4535: error: (near initialization for `gt_pch_rs_gtype_desc_c[2].base') gtype-desc.c:4535: error: initializer element is not constant gtype-desc.c:4535: error: (near initialization for `gt_pch_rs_gtype_desc_c[2]') gtype-desc.c:4536: error: initializer element is not constant gtype-desc.c:4536: error: (near initialization for `gt_pch_rs_gtype_desc_c[3]') gmake[2]: *** [gtype-desc.o] Error 1 gmake[2]: Leaving directory `/usr/ports/lang/gcc34/work/build/gcc' gmake[1]: *** [stage1_build] Error 2 gmake[1]: Leaving directory `/usr/ports/lang/gcc34/work/build/gcc' gmake: *** [bootstrap-lean] Error 2 *** Error code 2 Stop in /usr/ports/lang/gcc34. *** Error code 1 Stop in /usr/ports/devel/liboil. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade88107.0 make PORT_UPGRADE=yes ** Fix the problem and try again. ---> Upgrade tasks: 1 ---> Summary: 0 done, 0 ignored, 0 skipped and 1 failed ** Listing the failed packages (*:skipped / !:failed) ! devel/liboil (liboil-0.3.8) (stdio compatibility) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed Not a liboil problem but I do have *a* gcc compiler installed but don't know how to find out which version, probably installed with the base install. portversion/pkg_info | grep gcc show nothing. Is the gcc34 depend vital? Or maybe gcc34 is looking for something else which needs updating first? Still a newbie here. I can get by with most things I need to do but problems like this still stump me. -- Dave