This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: PR20541 - allocatable components of derived types (TR15581)
- From: howarth at bromo dot msbb dot uc dot edu (Jack Howarth)
- To: howarth at bromo dot msbb dot uc dot edu, paulthomas2 at wanadoo dot fr
- Cc: fortran at gcc dot gnu dot org, pinskia at physics dot uc dot edu
- Date: Sun, 16 Jul 2006 12:50:56 -0400 (EDT)
- Subject: Re: PR20541 - allocatable components of derived types (TR15581)
Paul,
Actually, I am running into an unrelated bug when I try to compile the
example code from...
http://scv.bu.edu/Tutorials/F90/examples/ex1.f90.txt
...with...
gfortran -m64 -O3 -g test.f90
...on MacOS X 10.4. When I try to execute the resulting binary, which
seems to be linked correctly...
otool64 -L ./a.out
./a.out:
/sw/lib/gcc4/lib/ppc64/libgfortran.2.dylib (compatibility version 3.0.0, current version 3.0.0)
/sw/lib/gcc4/lib/libgcc_s_ppc64.1.dylib (compatibility version 1.0.0, current version 1.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.6)
...I get a runtime error of...
./a.out
Enter the size of A(n,m) :5,4
dyld: lazy symbol binding failed: Symbol not found: ___divti3
Referenced from: /sw/lib/gcc4/lib/ppc64/libgfortran.2.dylib
Expected in: dynamic lookup
dyld: Symbol not found: ___divti3
Referenced from: /sw/lib/gcc4/lib/ppc64/libgfortran.2.dylib
Expected in: dynamic lookup
Trace/BPT trap
Andrew, any idea why that is happening?
Jack
ps I should add that I am using the current gcc trunk with the
offending patch...
2006-07-14 Carlos O'Donell <carlos@codesoucery.com>
* dbxout.c (dbxout_begin_prologue): Emit LFBB label at function start.
(dbxout_function_end): Use local label LFBB. Remove hook DBX_OUTPUT_NFUN.
(dbxout_source_line): Use local label LFBB.
(dbxout_block): Likewise.
(dbx_output_lbrac): Remove hook DBX_OUTPUT_LBRAC.
(dbx_output_rbrac): Remove hook DBX_OUTPUT_RBRAC.
* config/rs6000/linux64.h: Remove DBX_OUTPUT_LBRAC, DBX_OUTPUT_RBRAC,
and DBX_OUTPUT_NFUN.
...regressed out.