lang/gcc with default port options don't compile

Luis Carlos Otte Junior jrluiscarlos at yahoo.com.br
Thu Oct 10 00:24:09 UTC 2013


Hi,

Try compile lang/gcc with all options selected (Bootstrap=ON and Java=On),  
it works for me ...

Regards
Luis Otte

> Hi,
>If I compile lang/gcc with default port options:
>root at acer_casa_FreeBSD:/usr/ports/lang/gcc # make showconfig
> ===> The following configuration options are available for gcc-4.6.3:
>     BOOTSTRAP=off: Build using a full bootstrap
>     JAVA=on: Java platform support
> ===> Use 'make config' to modify these settings
> root at acer_casa_FreeBSD:/usr/ports/lang/gcc #
>I get next error:
>
>decnumber/dpd -I../libdecnumber   -I/usr/local/include  
> .././../gcc-4.6.3/gcc/c-f
> amily/c-common.c -o c-family/c-common.o
> .././../gcc-4.6.3/gcc/c-family/c-common.c: In function  
> 'record_types_used_by_cur
> rent_var_decl':
> .././../gcc-4.6.3/gcc/c-family/c-common.c:9537: error:  
> 'types_used_by_cur_var_de
> cl' undeclared (first use in this function)
> .././../gcc-4.6.3/gcc/c-family/c-common.c:9537: error: (Each undeclared  
> identifi
> er is reported only once
> .././../gcc-4.6.3/gcc/c-family/c-common.c:9537: error: for each function  
> it appe
> ars in.)
> .././../gcc-4.6.3/gcc/c-family/c-common.c:9540: warning: implicit  
> declaration of
>  function 'types_used_by_var_decl_insert'
> gmake[2]: *** [c-family/c-common.o] Error 1
> gmake[2]: Leaving directory `/usr/ports/lang/gcc/work/build/gcc'
> gmake[1]: *** [all-gcc] Error 2
> gmake[1]: Leaving directory `/usr/ports/lang/gcc/work/build'
> gmake: *** [all] Error 2
> *** [do-build] Error code 1
>Stop in /usr/ports/lang/gcc.
> *** [build] Error code 1
>Stop in /usr/ports/lang/gcc.
> root at acer_casa_FreeBSD:/usr/ports/lang/gcc #
>Somebody can help me ?
>See you.


More information about the freebsd-ports mailing list