public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* install problem with 10/31/97
@ 1997-11-05 10:52 Andrew Borthwick
  1997-11-05 12:43 ` Jeffrey A Law
  1997-11-05 13:31 ` Joe Buck
  0 siblings, 2 replies; 3+ messages in thread
From: Andrew Borthwick @ 1997-11-05 10:52 UTC (permalink / raw)
  To: egcs

Hi,

    I installed the 10/31/97 snapshot on my sparc-sun-solaris2.5.1 machine,
but when I try to compile a simple "Hello World" program I get the following
error:
------------------------------------------------
johnson:codeT% cat hello.C
#include <iostream.h>

int main() {
  cout << "Hello World!\n";
}


johnson:codeT% g++ hello.C
ld: fatal: file=/johnson.a/proteus/borthwic/install/lib/libstdc++.a(filebuf.o):
relocation [R_SPARC_32] (symbol <unknown>) against non-aligned offset
(0xef197587)
ld: fatal:
file=/johnson.a/proteus/borthwic/install/lib/libstdc++.a(stdiostream.o):
relocation [R_SPARC_32] (symbol <unknown>) against non-aligned offset
(0xef197807)
collect2: ld returned 1 exit status
----------------------------------------------------

Any suggestions?

Thanks,
Andrew Borthwick




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: install problem with 10/31/97
  1997-11-05 10:52 install problem with 10/31/97 Andrew Borthwick
@ 1997-11-05 12:43 ` Jeffrey A Law
  1997-11-05 13:31 ` Joe Buck
  1 sibling, 0 replies; 3+ messages in thread
From: Jeffrey A Law @ 1997-11-05 12:43 UTC (permalink / raw)
  To: Andrew Borthwick; +Cc: egcs

  In message < Pine.GSO.3.92.971105134953.1282C-100000@johnson.cs.nyu.edu >you write:
  > Hi,
  > 
  >     I installed the 10/31/97 snapshot on my sparc-sun-solaris2.5.1 machine,
  > but when I try to compile a simple "Hello World" program I get the following
  > error:
  > ------------------------------------------------
[ ... ]

  > relocation [R_SPARC_32] (symbol <unknown>) against non-aligned offset
  > (0xef197587)
This was the dwarf2out.c bug.  If you look through the archives
there should be several references to a patch which will fix
this problem.
jeff

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: install problem with 10/31/97
  1997-11-05 10:52 install problem with 10/31/97 Andrew Borthwick
  1997-11-05 12:43 ` Jeffrey A Law
@ 1997-11-05 13:31 ` Joe Buck
  1 sibling, 0 replies; 3+ messages in thread
From: Joe Buck @ 1997-11-05 13:31 UTC (permalink / raw)
  To: Andrew Borthwick; +Cc: egcs

> 
> Hi,
> 
>     I installed the 10/31/97 snapshot on my sparc-sun-solaris2.5.1 machine,
> but when I try to compile a simple "Hello World" program I get the following
> error:

ELF platforms (Linux, Solaris, others) need to apply a patch to make that
snapshot work.  See

http://www.cygnus.com/ml/egcs/1997-Nov/0009.html


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1997-11-05 13:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-11-05 10:52 install problem with 10/31/97 Andrew Borthwick
1997-11-05 12:43 ` Jeffrey A Law
1997-11-05 13:31 ` Joe Buck

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).