public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/66765] New: gfortran invoking cc1 on AIX
@ 2015-07-04 16:30 dje at gcc dot gnu.org
  2015-08-30 14:29 ` [Bug fortran/66765] gfortran passing fortran-specific options to ld and collect2 dominiq at lps dot ens.fr
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: dje at gcc dot gnu.org @ 2015-07-04 16:30 UTC (permalink / raw)
  To: gcc-bugs

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.


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2021-12-18  2:49 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-04 16:30 [Bug fortran/66765] New: gfortran invoking cc1 on AIX dje at gcc dot gnu.org
2015-08-30 14:29 ` [Bug fortran/66765] gfortran passing fortran-specific options to ld and collect2 dominiq at lps dot ens.fr
2015-08-30 14:40 ` dje at gcc dot gnu.org
2015-08-30 15:23 ` dominiq at lps dot ens.fr
2015-08-30 17:29 ` dje at gcc dot gnu.org
2015-08-30 18:10 ` dominiq at lps dot ens.fr
2015-08-30 18:12 ` dominiq at lps dot ens.fr
2015-08-30 19:58 ` dje at gcc dot gnu.org
2015-08-30 21:25 ` dominiq at lps dot ens.fr
2015-08-31  0:05 ` dje at gcc dot gnu.org
2021-12-18  2:49 ` [Bug driver/66765] " pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).