[Bug fortran/66765] New: gfortran invoking cc1 on AIX
dje at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Jul 4 16:30:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66765
Bug ID: 66765
Summary: gfortran invoking cc1 on AIX
Product: gcc
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: dje at gcc dot gnu.org
Target Milestone: ---
Target: powerpc-ibm-aix*
/tmp/20150703/gcc/testsuite/gfortran5/../../gfortran
-B/tmp/20150703/gcc/testsuite/gfortran5/../../
-B/tmp/20150703/powerpc-ibm-aix7.1.0.0/./libgfortran/
/nasfarm/edelsohn/src/src/gcc/testsuite/gfortran.dg/implicit_class_1.f90
-fno-diagnostics-show-caret -fdiagnostics-color=never -O0
-fdump-fortran-original
-B/tmp/20150703/powerpc-ibm-aix7.1.0.0/./libgfortran/.libs
-L/tmp/20150703/powerpc-ibm-aix7.1.0.0/./libgfortran/.libs -lm -o
./implicit_class_1.exe
cc1: error: unrecognized command line option '-fdump-fortran-original'
collect2: fatal error: gcc returned 1 exit status
compilation terminated.
compiler exited with status 1
On AIX collect2-ld is a wrapper around the linker. It finds static
initializers and finalizers, writes them to a file, and compiles them with gcc.
It passes the command line arguments to gcc.
Compiling and linking a GNU Fortran program with a single command line causes
Fortran options to be passed to cc1 through collect2, causing cc1 to report a
fatal error of an unrecognized command line option.
More information about the Gcc-bugs
mailing list