This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ISO_C_BINDING patch commited to fortran-experiments branch
Tobias Schlüter wrote:
> The build fails for me with:
> ld64-59.2 failed: duplicate symbol ___iso_c_binding_c_null_ptr in
> .libs/iso_c_binding.o and .libs/iso_c_generated_procs.o
Works for me on x86_64-unknown-linux-gnu.
> It looks like the testcases ended up in the wrong directory
> (gcc/testsuite instead of gcc/testsuite/gfortran.dg
I did a svn move to move them (*.f90, *.c) into gfortran.dg (r120007).
By the way, I get the following errors, when running check-gfortran. At
least for gfortran.dg/bind_c_coms.f90 this is due to the fact that
"dg-do run" does not work if there is only a "module" and no "program".
Tobias
FAIL: gfortran.dg/bind_c_coms.f90 -O0 (test for excess errors)
WARNING: gfortran.dg/bind_c_coms.f90 -O0 compilation failed to produce
executable
FAIL: gfortran.dg/bind_c_coms.f90 -O1 (test for excess errors)
WARNING: gfortran.dg/bind_c_coms.f90 -O1 compilation failed to produce
executable
FAIL: gfortran.dg/bind_c_coms.f90 -O2 (test for excess errors)
WARNING: gfortran.dg/bind_c_coms.f90 -O2 compilation failed to produce
executable
FAIL: gfortran.dg/bind_c_coms.f90 -O3 -fomit-frame-pointer (test for
excess errors)
WARNING: gfortran.dg/bind_c_coms.f90 -O3 -fomit-frame-pointer
compilation failed to produce executable
FAIL: gfortran.dg/bind_c_coms.f90 -O3 -fomit-frame-pointer
-funroll-loops (test for excess errors)
WARNING: gfortran.dg/bind_c_coms.f90 -O3 -fomit-frame-pointer
-funroll-loops compilation failed to produce executable
FAIL: gfortran.dg/bind_c_coms.f90 -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions (test for excess errors)
WARNING: gfortran.dg/bind_c_coms.f90 -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions compilation failed to produce
executable
FAIL: gfortran.dg/bind_c_coms.f90 -O3 -g (test for excess errors)
WARNING: gfortran.dg/bind_c_coms.f90 -O3 -g compilation failed to
produce executable
FAIL: gfortran.dg/bind_c_coms.f90 -Os (test for excess errors)
WARNING: gfortran.dg/bind_c_coms.f90 -Os compilation failed to produce
executable
FAIL: gfortran.dg/bind_c_dts.f90 -O0 (test for excess errors)
WARNING: gfortran.dg/bind_c_dts.f90 -O0 compilation failed to produce
executable
FAIL: gfortran.dg/bind_c_dts.f90 -O1 (test for excess errors)
WARNING: gfortran.dg/bind_c_dts.f90 -O1 compilation failed to produce
executable
FAIL: gfortran.dg/bind_c_dts.f90 -O2 (test for excess errors)
WARNING: gfortran.dg/bind_c_dts.f90 -O2 compilation failed to produce
executable
FAIL: gfortran.dg/bind_c_dts.f90 -O3 -fomit-frame-pointer (test for
excess errors)
WARNING: gfortran.dg/bind_c_dts.f90 -O3 -fomit-frame-pointer
compilation failed to produce executable
FAIL: gfortran.dg/bind_c_dts.f90 -O3 -fomit-frame-pointer
-funroll-loops (test for excess errors)
WARNING: gfortran.dg/bind_c_dts.f90 -O3 -fomit-frame-pointer
-funroll-loops compilation failed to produce executable
FAIL: gfortran.dg/bind_c_dts.f90 -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions (test for excess errors)
WARNING: gfortran.dg/bind_c_dts.f90 -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions compilation failed to produce
executable
FAIL: gfortran.dg/bind_c_dts.f90 -O3 -g (test for excess errors)
WARNING: gfortran.dg/bind_c_dts.f90 -O3 -g compilation failed to
produce executable
FAIL: gfortran.dg/bind_c_dts.f90 -Os (test for excess errors)
WARNING: gfortran.dg/bind_c_dts.f90 -Os compilation failed to produce
executable
FAIL: gfortran.dg/bind_c_vars.f90 -O0 (test for excess errors)
WARNING: gfortran.dg/bind_c_vars.f90 -O0 compilation failed to produce
executable
FAIL: gfortran.dg/bind_c_vars.f90 -O1 (test for excess errors)
WARNING: gfortran.dg/bind_c_vars.f90 -O1 compilation failed to produce
executable
FAIL: gfortran.dg/bind_c_vars.f90 -O2 (test for excess errors)
WARNING: gfortran.dg/bind_c_vars.f90 -O2 compilation failed to produce
executable
FAIL: gfortran.dg/bind_c_vars.f90 -O3 -fomit-frame-pointer (test for
excess errors)
WARNING: gfortran.dg/bind_c_vars.f90 -O3 -fomit-frame-pointer
compilation failed to produce executable
FAIL: gfortran.dg/bind_c_vars.f90 -O3 -fomit-frame-pointer
-funroll-loops (test for excess errors)
WARNING: gfortran.dg/bind_c_vars.f90 -O3 -fomit-frame-pointer
-funroll-loops compilation failed to produce executable
FAIL: gfortran.dg/bind_c_vars.f90 -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions (test for excess errors)
WARNING: gfortran.dg/bind_c_vars.f90 -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions compilation failed to produce
executable
FAIL: gfortran.dg/bind_c_vars.f90 -O3 -g (test for excess errors)
WARNING: gfortran.dg/bind_c_vars.f90 -O3 -g compilation failed to
produce executable
FAIL: gfortran.dg/bind_c_vars.f90 -Os (test for excess errors)
WARNING: gfortran.dg/bind_c_vars.f90 -Os compilation failed to produce
executable
FAIL: gfortran.dg/c_f_pointer_tests.f90 -O0 (test for excess errors)
WARNING: gfortran.dg/c_f_pointer_tests.f90 -O0 compilation failed to
produce executable
FAIL: gfortran.dg/c_f_pointer_tests.f90 -O1 (test for excess errors)
WARNING: gfortran.dg/c_f_pointer_tests.f90 -O1 compilation failed to
produce executable
FAIL: gfortran.dg/c_f_pointer_tests.f90 -O2 (test for excess errors)
WARNING: gfortran.dg/c_f_pointer_tests.f90 -O2 compilation failed to
produce executable
FAIL: gfortran.dg/c_f_pointer_tests.f90 -O3 -fomit-frame-pointer (test
for excess errors)
WARNING: gfortran.dg/c_f_pointer_tests.f90 -O3 -fomit-frame-pointer
compilation failed to produce executable
FAIL: gfortran.dg/c_f_pointer_tests.f90 -O3 -fomit-frame-pointer
-funroll-loops (test for excess errors)
WARNING: gfortran.dg/c_f_pointer_tests.f90 -O3 -fomit-frame-pointer
-funroll-loops compilation failed to produce executable
FAIL: gfortran.dg/c_f_pointer_tests.f90 -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions (test for excess errors)
WARNING: gfortran.dg/c_f_pointer_tests.f90 -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions compilation failed to produce
executable
FAIL: gfortran.dg/c_f_pointer_tests.f90 -O3 -g (test for excess errors)
WARNING: gfortran.dg/c_f_pointer_tests.f90 -O3 -g compilation failed
to produce executable
FAIL: gfortran.dg/c_f_pointer_tests.f90 -Os (test for excess errors)
WARNING: gfortran.dg/c_f_pointer_tests.f90 -Os compilation failed to
produce executable
FAIL: gfortran.dg/c_kind_params.f90 -O0 (test for excess errors)
WARNING: gfortran.dg/c_kind_params.f90 -O0 compilation failed to
produce executable
FAIL: gfortran.dg/c_kind_params.f90 -O1 (test for excess errors)
WARNING: gfortran.dg/c_kind_params.f90 -O1 compilation failed to
produce executable
FAIL: gfortran.dg/c_kind_params.f90 -O2 (test for excess errors)
WARNING: gfortran.dg/c_kind_params.f90 -O2 compilation failed to
produce executable
FAIL: gfortran.dg/c_kind_params.f90 -O3 -fomit-frame-pointer (test for
excess errors)
WARNING: gfortran.dg/c_kind_params.f90 -O3 -fomit-frame-pointer
compilation failed to produce executable
FAIL: gfortran.dg/c_kind_params.f90 -O3 -fomit-frame-pointer
-funroll-loops (test for excess errors)
WARNING: gfortran.dg/c_kind_params.f90 -O3 -fomit-frame-pointer
-funroll-loops compilation failed to produce executable
FAIL: gfortran.dg/c_kind_params.f90 -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions (test for excess errors)
WARNING: gfortran.dg/c_kind_params.f90 -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions compilation failed to produce
executable
FAIL: gfortran.dg/c_kind_params.f90 -O3 -g (test for excess errors)
WARNING: gfortran.dg/c_kind_params.f90 -O3 -g compilation failed to
produce executable
FAIL: gfortran.dg/c_kind_params.f90 -Os (test for excess errors)
WARNING: gfortran.dg/c_kind_params.f90 -Os compilation failed to
produce executable
FAIL: gfortran.dg/c_ptr_tests.f90 -O0 (test for excess errors)
WARNING: gfortran.dg/c_ptr_tests.f90 -O0 compilation failed to produce
executable
FAIL: gfortran.dg/c_ptr_tests.f90 -O1 (test for excess errors)
WARNING: gfortran.dg/c_ptr_tests.f90 -O1 compilation failed to produce
executable
FAIL: gfortran.dg/c_ptr_tests.f90 -O2 (test for excess errors)
WARNING: gfortran.dg/c_ptr_tests.f90 -O2 compilation failed to produce
executable
FAIL: gfortran.dg/c_ptr_tests.f90 -O3 -fomit-frame-pointer (test for
excess errors)
WARNING: gfortran.dg/c_ptr_tests.f90 -O3 -fomit-frame-pointer
compilation failed to produce executable
FAIL: gfortran.dg/c_ptr_tests.f90 -O3 -fomit-frame-pointer
-funroll-loops (test for excess errors)
WARNING: gfortran.dg/c_ptr_tests.f90 -O3 -fomit-frame-pointer
-funroll-loops compilation failed to produce executable
FAIL: gfortran.dg/c_ptr_tests.f90 -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions (test for excess errors)
WARNING: gfortran.dg/c_ptr_tests.f90 -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions compilation failed to produce
executable
FAIL: gfortran.dg/c_ptr_tests.f90 -O3 -g (test for excess errors)
WARNING: gfortran.dg/c_ptr_tests.f90 -O3 -g compilation failed to
produce executable
FAIL: gfortran.dg/c_ptr_tests.f90 -Os (test for excess errors)
WARNING: gfortran.dg/c_ptr_tests.f90 -Os compilation failed to produce
executable
FAIL: gfortran.dg/com_block_driver.f90 -O0 (test for excess errors)
WARNING: gfortran.dg/com_block_driver.f90 -O0 compilation failed to
produce executable
FAIL: gfortran.dg/com_block_driver.f90 -O1 (test for excess errors)
WARNING: gfortran.dg/com_block_driver.f90 -O1 compilation failed to
produce executable
FAIL: gfortran.dg/com_block_driver.f90 -O2 (test for excess errors)
WARNING: gfortran.dg/com_block_driver.f90 -O2 compilation failed to
produce executable
FAIL: gfortran.dg/com_block_driver.f90 -O3 -fomit-frame-pointer (test
for excess errors)
WARNING: gfortran.dg/com_block_driver.f90 -O3 -fomit-frame-pointer
compilation failed to produce executable
FAIL: gfortran.dg/com_block_driver.f90 -O3 -fomit-frame-pointer
-funroll-loops (test for excess errors)
WARNING: gfortran.dg/com_block_driver.f90 -O3 -fomit-frame-pointer
-funroll-loops compilation failed to produce executable
FAIL: gfortran.dg/com_block_driver.f90 -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions (test for excess errors)
WARNING: gfortran.dg/com_block_driver.f90 -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions compilation failed to produce
executable
FAIL: gfortran.dg/com_block_driver.f90 -O3 -g (test for excess errors)
WARNING: gfortran.dg/com_block_driver.f90 -O3 -g compilation failed to
produce executable
FAIL: gfortran.dg/com_block_driver.f90 -Os (test for excess errors)
WARNING: gfortran.dg/com_block_driver.f90 -Os compilation failed to
produce executable
FAIL: gfortran.dg/test_proc_stmt.f90 -O0 (test for excess errors)
WARNING: gfortran.dg/test_proc_stmt.f90 -O0 compilation failed to
produce executable
FAIL: gfortran.dg/test_proc_stmt.f90 -O1 (test for excess errors)
WARNING: gfortran.dg/test_proc_stmt.f90 -O1 compilation failed to
produce executable
FAIL: gfortran.dg/test_proc_stmt.f90 -O2 (test for excess errors)
WARNING: gfortran.dg/test_proc_stmt.f90 -O2 compilation failed to
produce executable
FAIL: gfortran.dg/test_proc_stmt.f90 -O3 -fomit-frame-pointer (test
for excess errors)
WARNING: gfortran.dg/test_proc_stmt.f90 -O3 -fomit-frame-pointer
compilation failed to produce executable
FAIL: gfortran.dg/test_proc_stmt.f90 -O3 -fomit-frame-pointer
-funroll-loops (test for excess errors)
WARNING: gfortran.dg/test_proc_stmt.f90 -O3 -fomit-frame-pointer
-funroll-loops compilation failed to produce executable
FAIL: gfortran.dg/test_proc_stmt.f90 -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions (test for excess errors)
WARNING: gfortran.dg/test_proc_stmt.f90 -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions compilation failed to produce
executable
FAIL: gfortran.dg/test_proc_stmt.f90 -O3 -g (test for excess errors)
WARNING: gfortran.dg/test_proc_stmt.f90 -O3 -g compilation failed to
produce executable
FAIL: gfortran.dg/test_proc_stmt.f90 -Os (test for excess errors)
WARNING: gfortran.dg/test_proc_stmt.f90 -Os compilation failed to
produce executable
FAIL: gfortran.dg/use_iso_c_binding.f90 -O (test for errors, line 10)
FAIL: gfortran.dg/use_iso_c_binding.f90 -O (test for errors, line 15)
FAIL: gfortran.dg/use_iso_c_binding.f90 -O (test for excess errors)
FAIL: gfortran.dg/value_tests_f03.f90 -O0 (test for excess errors)
WARNING: gfortran.dg/value_tests_f03.f90 -O0 compilation failed to
produce executable
FAIL: gfortran.dg/value_tests_f03.f90 -O1 (test for excess errors)
WARNING: gfortran.dg/value_tests_f03.f90 -O1 compilation failed to
produce executable
FAIL: gfortran.dg/value_tests_f03.f90 -O2 (test for excess errors)
WARNING: gfortran.dg/value_tests_f03.f90 -O2 compilation failed to
produce executable
FAIL: gfortran.dg/value_tests_f03.f90 -O3 -fomit-frame-pointer (test
for excess errors)
WARNING: gfortran.dg/value_tests_f03.f90 -O3 -fomit-frame-pointer
compilation failed to produce executable
FAIL: gfortran.dg/value_tests_f03.f90 -O3 -fomit-frame-pointer
-funroll-loops (test for excess errors)
WARNING: gfortran.dg/value_tests_f03.f90 -O3 -fomit-frame-pointer
-funroll-loops compilation failed to produce executable
FAIL: gfortran.dg/value_tests_f03.f90 -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions (test for excess errors)
WARNING: gfortran.dg/value_tests_f03.f90 -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions compilation failed to produce
executable
FAIL: gfortran.dg/value_tests_f03.f90 -O3 -g (test for excess errors)
WARNING: gfortran.dg/value_tests_f03.f90 -O3 -g compilation failed to
produce executable
FAIL: gfortran.dg/value_tests_f03.f90 -Os (test for excess errors)
WARNING: gfortran.dg/value_tests_f03.f90 -Os compilation failed to
produce executable