* relocation truncated
@ 1998-01-11 17:19 Alessandro Mirone
0 siblings, 0 replies; 8+ messages in thread
From: Alessandro Mirone @ 1998-01-11 17:19 UTC (permalink / raw)
Hi people,
I have compiled egcs under RedHat4.2,
and tried to compile the lapack libraries.
This library is compose of many many routines,
the compilations of them by g77 is smooth and the *.o
are generated, but when I try to create the shared library
I get errors like this
dtrtrs.o: In function `dtrtrs_':
dtrtrs.f(.text+0x30): relocation truncated to fit: LITERAL $LC0
If I put into the library just a smaller part of the routines ( double
precision only) it` OK, so
the problem seems to appears when there is too much stuff to put into the
library.
Any hints?
best regards
Alessandro MIRONE
LULI, 91128 Ecole Polytechnique, Palaiseau
alex@greco2.polytechnique.fr
tel: (33) (1) 64468029
Tel cellulaire : 0681643779
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: relocation truncated
@ 1998-01-11 20:05 N8YDAWG
0 siblings, 0 replies; 8+ messages in thread
From: N8YDAWG @ 1998-01-11 20:05 UTC (permalink / raw)
DON'T WRITE ME ANY MORE
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <Pine.SOL.3.91.980111181435.12736A-100000@greco2>]
[parent not found: <Pine.LNX.3.95.980112064626.329A-100000@tomtom.asi-fwb.com>]
* Re: relocation truncated
[not found] <Pine.LNX.3.95.980112064626.329A-100000@tomtom.asi-fwb.com>
@ 1998-01-12 13:47 ` Alessandro Mirone
1998-01-12 14:24 ` Alessandro Mirone
1 sibling, 0 replies; 8+ messages in thread
From: Alessandro Mirone @ 1998-01-12 13:47 UTC (permalink / raw)
I`am trying to update
to RH5.0.
As I also need to get my programs working under RH5.0,
to do that I got egcs ( to avoid RH5.0 C++
libraries who gave me problems ) , I changed my program sources
to comply egcs (stricter than gnu),
and finally I downloaded the port of libg++
to egcs and am now trying to compile it.
If this step works I will be able to move to RH5.0
Otherwise I can work already with RH4.2,
using egcs g77, gnu gcc and splitting the big library into smaller parts
bye
Alessandro
On Mon, 12 Jan 1998, Tom Browder wrote:
> I had the same types of problems--much effort
> went into a fix--including great help by
> Richard Henderson--I've not had the problems
> with RH 5.0--libraries and ld are fixed.
>
> Possible solution: upgrade to RH 5.0
>
> Tom Browder
> ASI Systems International
>
>
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
>
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: relocation truncated
[not found] <Pine.LNX.3.95.980112064626.329A-100000@tomtom.asi-fwb.com>
1998-01-12 13:47 ` Alessandro Mirone
@ 1998-01-12 14:24 ` Alessandro Mirone
1 sibling, 0 replies; 8+ messages in thread
From: Alessandro Mirone @ 1998-01-12 14:24 UTC (permalink / raw)
P.S.
I tried to compile the snapshot of libg++
for egcs under RH4.2
Unfortunately I was not able to do it
( HZ undefined for example)
Anyway I can work under RH4.2
with egcs g77 and gnu gcc (I have programs
that uses fortran, c++ and complex numbers, that`s why I need libg++).
The performances are good for me, much more then enough
for my needs.
Just for curiosity, can someone give me an idea about
how much I could gain using egcs g77 and egcs gcc under RH5.0?
(the most of arithmetic is done by blas and lapack routine in f77
in my programs )
bye
I would also like to ask this question:
wich are the best pointers to documentations about
the many switches that I can give to the compilers?
(like -mieee, ......)
On Mon, 12 Jan 1998, Tom Browder wrote:
> I had the same types of problems--much effort
> went into a fix--including great help by
> Richard Henderson--I've not had the problems
> with RH 5.0--libraries and ld are fixed.
>
> Possible solution: upgrade to RH 5.0
>
> Tom Browder
> ASI Systems International
>
>
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
>
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: relocation truncated
@ 1998-01-13 13:30 David Alan Gilbert
0 siblings, 0 replies; 8+ messages in thread
From: David Alan Gilbert @ 1998-01-13 13:30 UTC (permalink / raw)
Alessandro Mirone wrote:
>
> I`am trying to update
> to RH5.0.
> As I also need to get my programs working under RH5.0,
> to do that I got egcs ( to avoid RH5.0 C++
> libraries who gave me problems ) , I changed my program sources
> to comply egcs (stricter than gnu),
> and finally I downloaded the port of libg++
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Hmm? EGCS comes with libstdc++ - why would you want libg++?
Dave
--
----------------------------------------------------------------------
- Dr. David Alan Gilbert - WARNING! This is a beta release .signature-
- Work: dg @ cogency.co.uk - 0161-428-9444 -
- Home: gro.gilbert @ treblig.org - -
----------------------------------------------------------------------
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <34BB6C88.D4451E1E@cogency.co.uk>]
* Re: relocation truncated
[not found] <34BB6C88.D4451E1E@cogency.co.uk>
@ 1998-01-13 13:59 ` Mika Kortelainen
1998-01-13 23:59 ` Alessandro Mirone
1 sibling, 0 replies; 8+ messages in thread
From: Mika Kortelainen @ 1998-01-13 13:59 UTC (permalink / raw)
>
> Hmm? EGCS comes with libstdc++ - why would you want libg++?
>
At least I thought one would need both... and egcs's config
supports libg++ (i.e. if there is libg++ under egcs directory,
it finds, compiles and installs it automatically).
I don't remember why I downloaded libg++ but there was some reason
(might have been an old application that needed it... perhaps
recompilation would have been the right way?).
Mika Kortelainen
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: relocation truncated
[not found] <34BB6C88.D4451E1E@cogency.co.uk>
1998-01-13 13:59 ` Mika Kortelainen
@ 1998-01-13 23:59 ` Alessandro Mirone
1 sibling, 0 replies; 8+ messages in thread
From: Alessandro Mirone @ 1998-01-13 23:59 UTC (permalink / raw)
On Tue, 13 Jan 1998, David Alan Gilbert wrote:
> Alessandro Mirone wrote:
> >
> > and finally I downloaded the port of libg++
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> Hmm? EGCS comes with libstdc++ - why would you want libg++?
Ok, I apologize: there are some points that I misunderstood.
I was compiling with the -fguiding-decls directive:
that makes problems.
If you compile a program like
#include<complex.h>
#include<iostream.h>
main()
{
complex<double> i=-1.0;
cout << exp(i)<< endl;
}
with
egcc prova.cc -fguiding-decls -lstdc++
I get
prova.cc(.text+0x48): undefined reference to `exp(complex<double> const &)'
That`s the source of my misunderstanding, I tought that function
of libg++ are missing, but they are not
Why did I use -fguidung-decls?
I used -fguiding-decl when trying to port my programs from gnu c++ to
egcs c++ because egcs complains about a certain use of template,
that on the other hand gcc allows without problems
(maybe a non ANSI/ISO feature??)
(I do not understand to much about it ):
warning: friend declaration `class ostream & operator <<(class ostream
&, const class uMatrix<Type> &)'
/home/alex/include/uMatrix.h:315: warning: will not be treated as a
template instantiation
/home/alex/include/uMatrix.h:315: warning: unless you compile with
-fguiding-decls
/home/alex/include/uMatrix.h:315: warning: or add <> after the function
name
Conclusion:
If egcs is the best compiler
I am the worst programmer in the world
I could I fix the problem to fit egcs?
adding <> would be sufficient?
Thank you
bye
Alessandro
>
> Dave
>
>
> --
> ----------------------------------------------------------------------
> - Dr. David Alan Gilbert - WARNING! This is a beta release .signature-
> - Work: dg @ cogency.co.uk - 0161-428-9444 -
> - Home: gro.gilbert @ treblig.org - -
> ----------------------------------------------------------------------
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
>
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~1998-01-13 23:59 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-01-11 17:19 relocation truncated Alessandro Mirone
-- strict thread matches above, loose matches on Subject: below --
1998-01-11 20:05 N8YDAWG
[not found] <Pine.SOL.3.91.980111181435.12736A-100000@greco2>
1998-01-12 12:48 ` Tom Browder
[not found] <Pine.LNX.3.95.980112064626.329A-100000@tomtom.asi-fwb.com>
1998-01-12 13:47 ` Alessandro Mirone
1998-01-12 14:24 ` Alessandro Mirone
1998-01-13 13:30 David Alan Gilbert
[not found] <34BB6C88.D4451E1E@cogency.co.uk>
1998-01-13 13:59 ` Mika Kortelainen
1998-01-13 23:59 ` Alessandro Mirone
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox