bug-gmp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: missing .def/.endef


From: Jose Navarro
Subject: Re: missing .def/.endef
Date: Mon, 15 Jan 2001 15:50:38 +0000

Kevin,

thanks for your suggestion. Coincidentally I did try the empty TYPE
and SIZE macros after my submission and the compilation succeeded,
but haven't yet run any programs.

I'll append the contents of tmp-udiv.s, config.m4 and config.log
for completeness in case you can figure out why the configure chose
options that failed upon compilation. They are effectively the ones
before clearing TYPE&SIZE.

Cheers,
    -jose'


Kevin Ryde wrote:
> 
> Jose Navarro <address@hidden> writes:
> >
> > I am trying to compile gmp-3.1.1 under cygwin using
> >     target=host=build=  pentium3-pc-cygwin,
> > and cannot get past the following error message:
> >
> > tmp-udiv.s:40: Warning: .type pseudo-op used outside of .def/.endef ignored
> > tmp-udiv.s:40: Error: Rest of line ignored. First ignored character is '_'.
> 
> Hmm.  This is COFF is it?  I wonder why .type succeeded in configure
> but then fails in the real build.  Please post the contents of
> tmp-udiv.s, config.m4 and config.log.
> 
> > after which make exits with status 1 for target udiv.lo
> > Can someone help me continue with the installation?
> 
> Try changing config.m4 TYPE and SIZE defines to be empty,
> 
>         define(<TYPE>, <>)
>         define(<SIZE>, <>)
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure version 2.14a, executed with
 > ./configure  --host=pentium3-pc-cygwin --target=pentium3-pc-cygwin 
 > --build=pentium3-pc-cygwin --enable-mpbsd

configure:636: checking host system type
configure:672: checking target system type
configure:707: checking build system type
configure:778: checking for a BSD compatible install
configure:835: checking whether build environment is sane
configure:906: checking for mawk
configure:939: checking whether make sets ${MAKE}
configure:1029: checking whether to enable maintainer-specific portions of 
Makefiles
configure:1352: checking for BSD-compatible nm
configure:1418: checking for gcc
configure:1498: checking if the C compiler (gcc) works with flags -g -O 
-fomit-frame-pointer
configure:1508: gcc -o conftest -g -O -fomit-frame-pointer   conftest.c  1>&5
configure:1770: checking whether gcc accepts -mcpu=pentiumpro
configure:1785: gcc -o conftest -g -O -fomit-frame-pointer -mcpu=pentiumpro   
conftest.c  1>&5
configure:1868: checking whether the C compiler (gcc -g -O -fomit-frame-pointer 
-mcpu=pentiumpro  ) works
configure:1884: gcc -o conftest -g -O -fomit-frame-pointer -mcpu=pentiumpro   
conftest.c  1>&5
configure:1910: checking whether the C compiler (gcc -g -O -fomit-frame-pointer 
-mcpu=pentiumpro  ) is a cross-compiler
configure:1915: checking whether we are using GNU C
configure:1956: checking how to run the C preprocessor
configure:2050: checking for a BSD compatible install
configure:2107: checking whether ln -s works
configure:2128: checking for suitable m4
configure:2178: checking for ar
configure:2216: checking how to switch to text section
configure:2235: checking how to switch to data section
configure:2253: checking how to export a symbol
configure:2267: checking what assembly label suffix to use
configure:2281: checking how the .type assembly directive should be used
configure:2302: checking if the .size assembly directive works
configure:2319: checking what prefix to use for a local label
configure:2359: checking how to [define] a 32-bit word
configure:2412: checking if symbols are prefixed by underscore
configure:2449: checking if .align assembly directive is logarithmic
configure:2583: checking if the assembler takes cl with shldl
configure:2612: checking if the .align directive accepts an 0x90 fill in .text
configure:2649: checking if the assembler knows about MMX instructions
configure:2822: checking for Cygwin environment
configure:2856: checking for mingw32 environment
configure:2887: checking for EMX OS/2 environment
configure:2919: checking for executable suffix
configure:2950: checking for object suffix
configure:3044: checking build system type
configure:3090: checking for ld used by GCC
configure:3158: checking if the linker (/usr/bin/ld) is GNU ld
configure:3173: checking for /usr/bin/ld option to reload object files
configure:3184: checking how to recognise dependant libraries
configure:3308: checking for file
configure:3446: checking for ranlib
configure:3518: checking for strip
ltconfig:563:checking for gcc option to produce PIC
ltconfig:693:checking that gcc PIC flag  -fPIC works.
ltconfig:754: checking if gcc static flag -static works
ltconfig:799: checking if gcc supports -c -o file.o
ltconfig:800: gcc -c -g -O -fomit-frame-pointer -mcpu=pentiumpro -o 
out/conftest2.o  conftest.c 1>&5
ltconfig:832: checking if gcc supports -c -o file.lo
ltconfig:833: gcc -c -g -O -fomit-frame-pointer -mcpu=pentiumpro -c -o 
conftest.lo  conftest.c 1>&5
ltconfig:884: checking if gcc supports -fno-rtti -fno-exceptions
ltconfig:885: gcc -c -g -O -fomit-frame-pointer -mcpu=pentiumpro -fno-rtti 
-fno-exceptions -c conftest.c  conftest.c 1>&5
ltconfig:1867: checking if global_symbol_pipe works
ltconfig:1868: gcc -c -g -O -fomit-frame-pointer -mcpu=pentiumpro  conftest.c 
1>&5
ltconfig:1871: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*[      
]\([ABCDGISTW]\)[       ][      ]*\(\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' 
> conftest.nm"
cannot find nm_test_var in conftest.nm
ltconfig:1867: checking if global_symbol_pipe works
ltconfig:1868: gcc -c -g -O -fomit-frame-pointer -mcpu=pentiumpro  conftest.c 
1>&5
ltconfig:1871: eval "/usr/bin/nm -B conftest.o | sed -n -e 's/^.*[      
]\([ABCDGISTW]\)[       ][      ]*\(_\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 
\3/p' > conftest.nm"
ltconfig:1923: gcc -o conftest -g -O -fomit-frame-pointer -mcpu=pentiumpro 
-fno-builtin -fno-rtti -fno-exceptions   conftest.c conftstm.o 1>&5
configure:3769: checking whether optarg is declared
configure:3813: checking for ANSI C header files
configure:3940: checking for getopt.h
configure:3940: checking for unistd.h
configure:3940: checking for sys/sysctl.h
configure:3940: checking for sys/time.h
configure:3976: checking for void
configure:4015: checking for preprocessor stringizing operator
configure:4053: checking for getopt_long
configure:4053: checking for getpagesize
configure:4053: checking for popen
configure:4053: checking for processor_info
configure:4053: checking for strtoul
configure:4053: checking for sysconf
configure:4053: checking for sysctlbyname
configure:4108: checking if ansi2knr should be used
dnl config.m4.  Generated automatically by configure.
changequote(<,>)dnl
ifdef(<__CONFIG_M4_INCLUDED__>,,<
define(<TEXT>, <.text>)
define(<DATA>, <.data>)
define(<GLOBL>, <.globl>)
define(<LABEL_SUFFIX>, <$1:>)
define(<TYPE>, <.type   $1,@$2>)
define(<SIZE>, <.size   $1,$2>)
define(<LSYM_PREFIX>, <.L>)
define(<W32>, <.long>)
define(<GSYM_PREFIX>, <>)
define(<ALIGN_LOGARITHMIC>,<no>)
define(<WANT_SHLDL_CL>, <1>)
define(<ALIGN_FILL_0x90>,<yes>)
dnl  CONFIG_TOP_SRCDIR is a path from the mpn builddir to the top srcdir
define(<CONFIG_TOP_SRCDIR>,<`../.'>)
define(<KARATSUBA_SQR_THRESHOLD>,<22>)
>)
changequote(`,')dnl
ifdef(`__CONFIG_M4_INCLUDED__',,`
include(CONFIG_TOP_SRCDIR`/mpn/asm-defs.m4')
define_not_for_expansion(`HAVE_TARGET_CPU_pentium3')
include_mpn(`x86/x86-defs.m4')
')
define(`__CONFIG_M4_INCLUDED__')



































        .text
        .align  8, 0x90
        .globl  __gmpn_udiv_qrnnd
        .type   __gmpn_udiv_qrnnd,@function
__gmpn_udiv_qrnnd:

        movl    12(%esp), %eax
        movl    8(%esp), %edx
        divl    16(%esp)
        movl    4(%esp), %ecx
        movl    %edx, (%ecx)
        ret
        .size   __gmpn_udiv_qrnnd,.-__gmpn_udiv_qrnnd

reply via email to

[Prev in Thread] Current Thread [Next in Thread]