This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gfortran, patch] PR 23675: Character function of module-variable length


On Tue, Jan 10, 2006 at 02:30:05PM +0200, Erik Edelmann wrote:
> Hmm...  all systems it fails on seems to be 64-bit...  I'll check
> tonight if I at my university can find a system where I can
> reproduce it.

I found an old ancient Alpha, and an old ancient Sparc-II, but I
couldn't build gcc on either of them.

Eric Botcazou wrote:
> Use a cross-compiler to sparc64-sun-solaris2.9 for example.

I tried that, but building a cross-compiler fails with

In file included from ../../gcc/gcc/config/sparc/gmon-sol2.c:36:
../../gcc/gcc/tsystem.h:90:19: error: stdio.h: No such file or
directory
../../gcc/gcc/tsystem.h:93:23: error: sys/types.h: No such file
or directory
../../gcc/gcc/tsystem.h:96:19: error: errno.h: No such file or
directory
../../gcc/gcc/tsystem.h:103:20: error: string.h: No such file or
directory
../../gcc/gcc/tsystem.h:104:20: error: stdlib.h: No such file or
directory
../../gcc/gcc/tsystem.h:105:20: error: unistd.h: No such file or
directory
../../gcc/gcc/tsystem.h:111:18: error: time.h: No such file or
directory
../../gcc/gcc/config/sparc/gmon-sol2.c:37:37: error: fcntl.h: No
such file or directory
../../gcc/gcc/config/sparc/gmon-sol2.c: In function 'monstartup':
../../gcc/gcc/config/sparc/gmon-sol2.c:113: warning: implicit
declaration of function 'sbrk'
../../gcc/gcc/config/sparc/gmon-sol2.c:113: warning: assignment
makes pointer from integer without a cast
../../gcc/gcc/config/sparc/gmon-sol2.c:115: warning: implicit
declaration of function 'write'
../../gcc/gcc/config/sparc/gmon-sol2.c:118: warning: cast to
pointer from integer of different size
../../gcc/gcc/config/sparc/gmon-sol2.c:130: warning: cast to
pointer from integer of different size
../../gcc/gcc/config/sparc/gmon-sol2.c:137: warning: assignment
makes pointer from integer without a cast
../../gcc/gcc/config/sparc/gmon-sol2.c: In function '_mcleanup':
../../gcc/gcc/config/sparc/gmon-sol2.c:182: error: 'PATH_MAX'
undeclared (first use in this function)
../../gcc/gcc/config/sparc/gmon-sol2.c:182: error: (Each
undeclared identifier is reported only once
../../gcc/gcc/config/sparc/gmon-sol2.c:182: error: for each
function it appears in.)
../../gcc/gcc/config/sparc/gmon-sol2.c:187: warning: implicit
declaration of function 'getenv'
../../gcc/gcc/config/sparc/gmon-sol2.c:187: warning: assignment
makes pointer from integer without a cast
../../gcc/gcc/config/sparc/gmon-sol2.c:193: warning: implicit
declaration of function 'strrchr'
../../gcc/gcc/config/sparc/gmon-sol2.c:193: warning: incompatible
implicit declaration of built-in function 'strrchr'
../../gcc/gcc/config/sparc/gmon-sol2.c:199: warning: implicit
declaration of function 'sprintf'
../../gcc/gcc/config/sparc/gmon-sol2.c:199: warning: incompatible
implicit declaration of built-in function 'sprintf'
../../gcc/gcc/config/sparc/gmon-sol2.c:199: warning: implicit
declaration of function 'getpid'
../../gcc/gcc/config/sparc/gmon-sol2.c:205: warning: implicit
declaration of function 'creat'
../../gcc/gcc/config/sparc/gmon-sol2.c:207: warning: implicit
declaration of function 'perror'
../../gcc/gcc/config/sparc/gmon-sol2.c:232: warning: implicit
declaration of function 'close'
../../gcc/gcc/config/sparc/gmon-sol2.c:182: warning: unused
variable 'buf'
../../gcc/gcc/config/sparc/gmon-sol2.c: In function
'internal_mcount':
../../gcc/gcc/config/sparc/gmon-sol2.c:300: warning: implicit
declaration of function 'atexit'
../../gcc/gcc/config/sparc/gmon-sol2.c: In function 'moncontrol':
../../gcc/gcc/config/sparc/gmon-sol2.c:413: warning: implicit
declaration of function 'profil'

:-(

I think I'll leave this bug to a better equipped developer.


        Erik


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]