lang/gcc compile errors to build the port

Xavier xavierfreebsdquestions at gmail.com
Tue Sep 10 12:53:01 UTC 2013


Hi,

I updated the system port:

root at acer_casa_FreeBSD:/root # portsnap fetch update
Looking up portsnap.FreeBSD.org mirrors... 7 mirrors found.
Fetching snapshot tag from ec2-eu-west-1.portsnap.freebsd.org... done.
Latest snapshot on server matches what we already have.
No updates needed.
Ports tree is already up to date.
root at acer_casa_FreeBSD:/root #

I have updated all ports:

root at acer_casa_FreeBSD:/root # portmaster -Da
===>>> Starting check of installed ports for available updates

===>>> All ports are up to date

===>>> Exiting
root at acer_casa_FreeBSD:/root #

I paste the last lines of compile errors:

/../gcc-4.6.3/libgfortran/../gcc -I../.././../gcc-4.6.3/libgfortran/../gcc/confi
g -I../.././../gcc-4.6.3/libgfortran/../libquadmath -I../.././gcc -D_GNU_SOURCE
-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
 -Wextra -Wwrite-strings -fcx-fortran-rules -ffunction-sections -fdata-sections
-g -O2 -pipe -I/usr/local/include -fno-strict-aliasing -MT fmain.lo -MD -MP -MF
.deps/fmain.Tpo -c ../.././../gcc-4.6.3/libgfortran/fmain.c  -fPIC -DPIC -o .lib
s/fmain.o
cc1: error: unrecognized command line option '-fcx-fortran-rules'
gmake[3]: *** [fmain.lo] Error 1
gmake[3]: Leaving directory `/usr/ports/lang/gcc/work/build/i386-portbld-freebsd
9.1/libgfortran'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/ports/lang/gcc/work/build/i386-portbld-freebsd
9.1/libgfortran'
gmake[1]: *** [all-target-libgfortran] Error 2
gmake[1]: Leaving directory `/usr/ports/lang/gcc/work/build'
gmake: *** [bootstrap-lean] 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 #

There is just an opening of 20090912 ( for lang/gcc44 ) and I guess is
not relevant for this problem.
I haven't found any relevant information about this problem.

As a last resource I ask in this mailing list, if any can help me to
fix this problem.

See you.


More information about the freebsd-questions mailing list