public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Toon Moene <toon@moene.indiv.nluug.nl>
To: Brad Lucier <lucier@math.purdue.edu>
Cc: gcc@gcc.gnu.org
Subject: Probably multilib -m64 problem: f77 correctness on Sparc
Date: Tue, 19 Sep 2000 13:09:00 -0000	[thread overview]
Message-ID: <39C7B625.D00538AD@moene.indiv.nluug.nl> (raw)
In-Reply-To: <200009181859.NAA11387@polya.math.purdue.edu>

Brad Lucier wrote:

> I looked through the build log (which was a bit confused, because I
> did a parallel make), and found
> 
> Adding multilib support to Makefile in ../../../libf2c
> multidirs=sparcv9
> with_multisubdir=
> Running configure in multilib subdirs sparcv9
> pwd: /export/home/sources/egcs/solaris-2.8/sparc-sun-solaris2.8/libf2c
> Running configure in multilib subdir sparcv9
> 
> which was the same for the other libraries (libchill, etc.).  Now, things
> are compiled in the sparcv9 subdirectory with, e.g.,
> 
> /export/home/sources/egcs/solaris-2.8/gcc/xgcc -B/export/home/sources/egcs/solaris-2.8/gcc/ -B/pkgs/gcc-2.96/sparc-sun-solaris2.8/bin/ -B/pkgs/gcc-2.96/sparc-sun-solaris2.8/lib/ -isystem /pkgs/gcc-2.96/sparc-sun-solaris2.8/include -c -DSkip_f2c_Undefs -DAllow_TYQUAD -I. -I../../../../../libf2c/libI77 -I.. -I../../../../../libf2c/libI77/..  -DSTDC_HEADERS=1 -D_POSIX_SOURCE=1 -DHAVE_TEMPNAM=1 -DNON_ANSI_RW_MODES=1 -DNO_EOF_CHAR_CHECK=1 -DSkip_f2c_Undefs=1  -g -O2  -m64 ../../../../../libf2c/libI77/ftell_.c
> 
> which is, to me, a bit strange, unless -m64 implies -mcpu=sparcv9.  And,
> shouldn't there be two versions of the library, one 32-bit binaries on
> sparcv9 (i.e., "-mcpu=sparcv9 -m32") and 64-bit binaries on sparcv9
> ("-mcpu=sparcv9 -m64")?  FWIW, the other libraries are compiled with
> similar options:
> 
> make[4]: Entering directory `/export/home/sources/egcs/solaris-2.8/sparc-sun-solaris2.8/sparcv9/libchill'
> /export/home/sources/egcs/solaris-2.8/gcc/xgcc -B/export/home/sources/egcs/solaris-2.8/gcc/ -B/pkgs/gcc-2.96/sparc-sun-solaris2.8/bin/ -B/pkgs/gcc-2.96/sparc-sun-solaris2.8/lib/ -isystem /pkgs/gcc-2.96/sparc-sun-solaris2.8/include -c -I. -I../../../../libchill   -g -O2  -m64  ../../../../libchill/chillrt0.c

I hope someone else on this list can help you out - I do not have access
to Sparcen, so I cannot toy with this problem to see where it goes
wrong.

-- 
Toon Moene - mailto:toon@moene.indiv.nluug.nl - phoneto: +31 346 214290
Saturnushof 14, 3738 XG  Maartensdijk, The Netherlands
GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
GNU Fortran 95: http://g95.sourceforge.net/ (under construction)

      reply	other threads:[~2000-09-19 13:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-18 11:59 Brad Lucier
2000-09-19 13:09 ` Toon Moene [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=39C7B625.D00538AD@moene.indiv.nluug.nl \
    --to=toon@moene.indiv.nluug.nl \
    --cc=gcc@gcc.gnu.org \
    --cc=lucier@math.purdue.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).