Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jun 2006 19:10:35 +0100
From:      dgmm <freebsd01@dgmm.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Compiler error during compilation of liboil
Message-ID:  <200606121910.36703.freebsd01@dgmm.net>
In-Reply-To: <200606121824.20497.freebsd01@dgmm.net>
References:  <20060612122033.GA93003@aurora.oekb.co.at> <b2203fed0606120706y3f354373g1181b0a4c33e0f93@mail.gmail.com> <200606121824.20497.freebsd01@dgmm.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <Ewald.Jenisch@oekb.at> 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

<snip>
===>  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
<snip>
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606121910.36703.freebsd01>