This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
-frepo different on Solaris/Linux
- To: bug-gcc at gnu dot org
- Subject: -frepo different on Solaris/Linux
- From: Ahmed Mian Syed <mian at lynx dot fmi dot uni-passau dot de>
- Date: Tue, 25 Jan 2000 13:05:35 +0100 (MET)
- Reply-To: Ahmed Mian Syed <mian at lynx dot fmi dot uni-passau dot de>
Hi!
I'm not sure if my last EMail about this subject has reached you, but I know of
no way to find out except to remail it .. sorry if this reaches you for a
second time.
I have problems with the -frepo option in a Linux machine (Athlon 600, 256M,
SCSI & IDE, .., SuSE 6.3 Linux, GNU ld 2.9.1 (with BFD 2.9.1.0.25) and
SuSE-default ecgs-2.91.66 19999314 (egcs-1.1.2))
I have several sub-directories which result in 3 shared libraries (.so), which
will be linked to some main file in one of the directories. All of them use
parts of the STL. I use the -frepo option, applying template closure (linking
without shared-option) in order to get all template instances.
This whole project compiles perfectly ok on a SUN Solaris 2.6 machine using 'gcc
version 2.95.1 19990816 (release)' and 'ld: Software Generation Utilities -
Solaris/ELF (3.0)'. When linking collect2 starts some more phases of
recompiling/relinking, finishing with a complete library closure.
On Linux (I have tried several egcs-Versions and also a different P II-266
machine) the recompiling is limited to a single very short phase, after which I
get very many error messages and *no complete template closure*. Linking the
libraries with the main file results in very many linker errors.
I have also tried to
- copy the .rpo-files from the Solaris machine to the Linux machine and compile
again- no success
- link all the .o-files (using find) without building shared libraries
- no success.
If you wish I can send you the source code (about 2 MB in tgz) or the error
message from the linker.
I'd be very grateful for some help here, since I could continue to work at home
in the evening and on weekends to reduce the time pressure for my Ph.D-thesis I
currently have ..
Thanks a lot in advance!
Best Regards
Ahmed Mian Syed
---------------------------------------------------------------------
_
/ 7 Ahmed Mian Syed
/_(
|_| Lehrstuhl fuer Systemprogrammierung
|_| Universitaet Passau/ FMI
|_| Innstr. 33
|_| /\
/\|=|/ / 94032 Passau
\ |_| / GERMANY
) _ \
/ |_| \ Tel : +49 851 509-3055
/ -=-o / Fax : +49 851 509-3042
\ /~\_/ email: mian@fmi.uni-passau.de
\/