tuebened...@yahoo.de writes:

> Not being a linking expert, I assume the object code of fortran
> subroutines is compatible to objects derived from C code. Am I wrong?

Yes, the object code should be compatible.


> ===========================================
> And now for the details: You will find
>
> 1) file list
> 2) Makefile
> 3/4) C++ test class source and header
> 5/6) Fortran test routine source and header
> 7) main routine in test.C
> 8) version strings of the compilers and linkers used
> 9) compile and run log using GNU ld (--> this output is what I expected!)
> 10) compile and run log using GNU gold 
>  (--> search for "Hi guys..." strange,isn't it? I think it isn't just a C/F90 
> problem.)

Thanks for the detailed bug report.  Unfortunately, I can't do anything
with it as I don't have the icpc or ifort programs.  Also unfortunately,
in order to get a reproducible test case I would most likely need to
have the libraries, which you are probably not allowed to send me.

The difference in the output appears to be in the strings.  This
suggests that your compilers are behaving differently than I expect with
respect to references to entries in string merge sections.  Can you send
me just the file TestClass.o?  That might be enough for me to see the
problem.

Ian


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to