Assembler messages?
On Tue, 13 Oct 1998 Albrecht Gebhardt wrote:
f77 -fpic -c idcldp.f -o idcldp.o /tmp/cca01314.s: Assembler messages: /tmp/cca01314.s:881: Error: operands given don't match any known 386 instruction /tmp/cca01314.s:891: Error: operands given don't match any known 386 instruction make: *** [idcldp.o] Error 1
This is a bug in g77 from SuSE 5.3 (I already reported it to the SuSE mailing list, but there was no useful answer) You can circumvent the errors and change them into "assembler warnings" with "-O2" added to your CFLAGS (in site.conf) You get now warnings like g77 -fpic -O2 -c dgedi.f /tmp/cca27296.s: Assembler messages: /tmp/cca27296.s:172: Warning: warning: unrecognized characters `@GOTOFF(%ebx)' in expression ... repeated many times But the resulting shared object works! It is the combination of -fpic and -g that causes the error, this was also the case with some older versions of SuSE, but with SuSE 5.2 and "-fpic -O2 -g" no errors and no warnings were produced.
Albrecht,
I am sorry to have to trouble you again but I looked in 'config.site'
(I take it that you mean 'config.site' where you say 'site.conf') and
this is what I found with respect to CFLAGS and FFLAGS:
# Debugging and optimization options for the C compiler.
# Use this to specify CFLAGS for the version of the C compiler specified
# above. If unspecified, defaults to "-g -O2" for gcc, and "-g" in all
# other cases.
# CFLAGS=
# Options for the FORTRAN compiler.
# Use this to specify FFLAGS for the version of the compiler specified
# above. If unspecified, defaults to "-O2" for g77, and "" otherwise.
# FFLAGS=
So I think this means that the default values for both gcc and g77 are
already set to "-g -O2".
Would specifying them anyway make any difference or am I misunderstanding
you completely?
Alexander
-------------------------------------
Alexander Volovics
Dept of Methodology & Statistics
Maastricht University, Maastricht, NL
-------------------------------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._