* g77 problems on DEC Alpha/DUNIX
@ 1996-09-19 4:00 david pinson
1996-09-20 4:00 ` Craig Burley
1996-09-24 4:00 ` Craig Burley
0 siblings, 2 replies; 4+ messages in thread
From: david pinson @ 1996-09-19 4:00 UTC (permalink / raw)
[-- Attachment #1: NEWSPOST.TXT --]
[-- Type: text/plain, Size: 1986 bytes --]
What needs to be done to get g77 to compile for a DEC Alpha?
I'm aware of the problems associated with the 64 bit chip/os,
but as I understand other people have compiled it, I'd like to
know how.
system:
Alphastation 233
Dec Unix 3.2G
gcc 2.7.2.1
g77 0.5.18
patch 2.7.2 applied to g77.
We get it test the compiler:
bash# ./g77 --driver=./xgcc -B./ -v
./xgcc -B./ -v -fnull-version -o /tmp/gfaavqla -xf77-cpp-input /dev/null -xnone
Reading specs from ./specs
gcc version 2.7.2.f.1
./cpp -lang-c -v -isystem ./include -undef -D__GNUC__=2 -D__GNUC_MINOR__=7 -D__unix__ -D__osf__ -D__alpha -
D__alpha__ -D_LONGLONG -D__SYSTYPE_BSD__ -D_SYSTYPE_BSD -D__unix -D__SYSTYPE_BSD -Asystem(unix) -
Asystem(xpg4) -Acpu(alpha) -Amachine(alpha) -D_LANGUAGE_FORTRAN -traditional -D__LANGUAGE_C__ -
D__LANGUAGE_C -DLANGUAGE_C /dev/null /tmp/ccaavqla.i
GNU CPP version 2.7.2.f.1
#include "..." search starts here:
#include <...> search starts here:
./include
/usr/local/include
/usr/local/alpha-dec-osf3.2/include
/usr/local/lib/gcc-lib/alpha-dec-osf3.2/2.7.2.f.1/include
/usr/include
End of search list.
./f771 /tmp/ccaavqla.i -fset-g77-defaults -quiet -dumpbase null.F -version -fversion -fnull-version -o /tmp/ccaavqla.s
GNU F77 version 2.7.2.f.1 compiled by GNU C version 2.7.2.f.1.
f/com.c:10566: failed assertion `ffetype_size (type) == sizeof (ffetargetInteger1)'
xgcc: Internal compiler error: program f771 got fatal signal 6
Now /f/com.c
/* Set up standard g77 types. Note that INTEGER and LOGICAL are set
to size FLOAT_TYPE_SIZE because they have to be the same size as
REAL, which also is FLOAT_TYPE_SIZE, according to the standard.
Compiler options and other such stuff that change the ways these
types are set should not affect this particular setup. */
[snip: Line 10566]
assert (ffetype_size (type) == sizeof (ffetargetInteger1));
[snip]
Is there a simple fix for this.
or (to make life simpler) are binaries available for the alpha?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: g77 problems on DEC Alpha/DUNIX
1996-09-19 4:00 g77 problems on DEC Alpha/DUNIX david pinson
@ 1996-09-20 4:00 ` Craig Burley
1996-09-20 4:00 ` William Clodius
1996-09-24 4:00 ` Craig Burley
1 sibling, 1 reply; 4+ messages in thread
From: Craig Burley @ 1996-09-20 4:00 UTC (permalink / raw)
In article <3241C1B8.6BAF@t-rex.materials.unsw.edu.au> david pinson <dpinson@t-rex.materials.unsw.edu.au> writes:
What needs to be done to get g77 to compile for a DEC Alpha?
There are some patches "in development" that make it work pretty well.
I'm aware of the problems associated with the 64 bit chip/os,
but as I understand other people have compiled it, I'd like to
know how.
I suspect they've used version 0.5.17, which didn't "check itself" and
thus crash when it detected inconsistencies. But, support for COMPLEX,
and things like combining DATA with EQUIVALENCE of INTEGER and REAL types,
would either crash the compiler or produce incorrect results.
Version 0.5.18 catches some of the basic inconsistencies at startup, crashing
right away with the assertion you're seeing.
The patches in development fix all this, though there are probably still
bugs in the gcc back end that make the patched g77 less than a fully robust
compiler. (The g77 front end has gotten pretty stable. I plan on fixing this
for 0.6, by rewriting a major portion of it. ;-)
I'm finally getting back to working on g77, so I expect to start catching up
on stuff like this over the next couple of months, then start working on 0.6.
--
"Practice random senselessness and act kind of beautiful."
James Craig Burley, Software Craftsperson burley@gnu.ai.mit.edu
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: g77 problems on DEC Alpha/DUNIX
1996-09-20 4:00 ` Craig Burley
@ 1996-09-20 4:00 ` William Clodius
0 siblings, 0 replies; 4+ messages in thread
From: William Clodius @ 1996-09-20 4:00 UTC (permalink / raw)
Craig:
Glad to see you active here again. You have been pretty specific about
what you want to do for 0.6 in addition temporarilly "fixing" its
current stability, do you have any plans for 0.7 etc. beyond fixing
0.6's final stability? Have you ever investigated getting funding from a
government agency, i.e., NSF, NASA, DoD, or DOE?
--
William B. Clodius Phone: (505)-665-9370
Los Alamos National Laboratory Email: wclodius@lanl.gov
Los Alamos, NM 87545
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: g77 problems on DEC Alpha/DUNIX
1996-09-19 4:00 g77 problems on DEC Alpha/DUNIX david pinson
1996-09-20 4:00 ` Craig Burley
@ 1996-09-24 4:00 ` Craig Burley
1 sibling, 0 replies; 4+ messages in thread
From: Craig Burley @ 1996-09-24 4:00 UTC (permalink / raw)
In article <3242CABD.41C6@lanl.gov> William Clodius <wclodius@lanl.gov> writes:
Glad to see you active here again. You have been pretty specific about
what you want to do for 0.6 in addition temporarilly "fixing" its
current stability, do you have any plans for 0.7 etc. beyond fixing
0.6's final stability? Have you ever investigated getting funding from a
government agency, i.e., NSF, NASA, DoD, or DOE?
Re 0.7, I don't see that as a stabilizing version of 0.6. 0.6 will be
stabilized in a 0.6.x series, just as 0.5 was stabilized in 0.5.x (0.5.18,
probably 0.5.19, and then destabilized to fix some internal problems in 0.5.20,
hopefully restabilized in 0.5.21 or .22, at which point that line probably
will end).
g77 is still in beta, and will be until it reaches 1.0. There are a variety of
version-numbering schemes people use, but here is the one I'm using for now,
and would like to see g77 continue to use years from now:
1. GNU version numbering scheme, three fields only (major.minor.patch).
2. A new .patch version is not to be assumed to fix all the bugs in the
previous one. (Note that the current gcc maintainer believes gcc users
expect this, hence the version after 2.7.2 was called 2.7.2.1, not 2.7.3.
With g77, I'd call it 2.7.3.)
3. Before first product release, product is in "beta", and all version numbers
are 0.minor.patch.
a. minor releases are really fairly major, and patches can be as well.
The idea is that a new minor release signals some pretty fundamental
changes in internals, compatibility, and so on.
b. patch releases might or might not be just bug-fixing. Users, who are,
by definition, beta testers, are expected to read the release notes and
figure out for themselves whether they want to upgrade. Usually, they
should, but g77-0.5.20 might be one where some don't, or at least want to
have 0.5.19 around for backup (this is my current plan).
4. First product release is 1.0.0.
a. It should be identical to some 0.minor.patch version, except for
cosmetic and other non-functional changes, and hence should be very
stable, since (presumably) that 0.minor.patch version turned out to be
stable.
b. minor releases should not have any effect on documented product behavior
in terms of compatibility with how the previous version was used, and
should generally avoid substantial (more than low-risk) internal changes.
c. patch releases should only fix bugs, or add support for features, ports,
etc. such that existing working use is unlikely to be affected. (E.g.
a g77 version 1.3.9 might add substantial new code that is invoked only
when supported a hitherto-unsupported CPU or language feature.)
Linux used a scheme somewhat like the above. I'm uncertain as to whether Linux's
post-1.0.0 approach of using _even_ minor numbers versus odd ones to distinguish
"experimenting with new features" from "making important, but not likely bug-inducing,
changes", but at least it might make sense to designate, for users a _particular_
major.minor "series" as "experimental", if the current state of the product requires
it. I'm all for things like having web pages that have summaries of what things
were changed in various versions, of course.
As far as funding, I believe that acquiring funding takes significant chunks of time,
which I'd rather use to improve g77 for now, since I'd like to spend only another
several months working on g77 under the current scheme (i.e. as a volunteer, with
no supporting organization). I have some ideas about finding, or perhaps creating,
an organization that would support free Fortran-related (or, more properly,
scientific/numeric products and services), and believe that the search for funding
would be undertaken by people in that organization who are better at it than I
(though I'd be happy to help out). Whether I'd want to continue doing volunteer
work on g77, on other free scientific software, on free stuff in general, or get
paid for any of these, I can't say at this point.
Right now, I just want to get 0.5.x up to a functional level that will "hold off"
the masses until I complete 0.6, get both lines to a stable point (which is basically
easy for 0.5.x now, given how stable 0.5.18 has turned out to be), and start looking
into the whole issue of non-profit organizations for this field and other areas
in which I have quite an interest.
I still have less interest in earning gobs of money for myself than in solving
problems in, and introducing/implementing new ideas to, the information culture
in general. And, though I don't use Fortran myself, it's hard to think of any
nifty idea I have, or any interesting problem I want to solve, that wouldn't be
best validated in some incarnation that caters to the Fortran audience, because
I have yet to see any persuasive evidence that there's any single, large group
of people that care more about information efficiency than the Fortran audience
(where they call it "optimization of generated code", of course ;-).
--
"Practice random senselessness and act kind of beautiful."
James Craig Burley, Software Craftsperson burley@gnu.ai.mit.edu
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1996-09-24 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-09-19 4:00 g77 problems on DEC Alpha/DUNIX david pinson
1996-09-20 4:00 ` Craig Burley
1996-09-20 4:00 ` William Clodius
1996-09-24 4:00 ` Craig Burley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox