mainGNU Libtool - Support: sr #109183, Problem on compiling on...

 
 

sr #109183: Problem on compiling on git-bash/mingw using libtool coming with mpfr3.1.5

Submitter:  Marcel <gileoo>
Submitted:  Thu 10 Nov 2016 03:31:19 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Need Info
Privacy:  Public Assigned to:  None
Open/Closed:  Open Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 29 Jan 2024 06:22:22 AM UTC, comment #1: 

if this is still an issue with current mpfr releases, please attach the generated "libtool" script too from your build

Mike Frysinger <vapier>
Group Member
Thu 10 Nov 2016 03:31:19 PM UTC, original submission:  

Dear List,

Dear List,

Maybe, someone has an idea on how to solve the following compile error, which I encounter on building on windows7 with mingw gcc (gcc.exe (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 5.1.0) and GNU bash, version 4.3.46(2)-release (x86_64-pc-msys)

I did a so far good looking configure by:
$ ./configure --prefix=/c/yy/build/ --with-gmp-include=/c/xx/build/include --with-gmp-lib=/c/xx/build/lib --enable-static --disable-shared MAKE=mingw32-make

when i do a mingw32-make I get:
$ mingw32-make
Making all in doc
mingw32-make[1]: Entering directory 'C:/xx/xx/xx/xx/external/mpfr-3.1.5/doc'
mingw32-make[1]: Nothing to be done for 'all'.
mingw32-make[1]: Leaving directory 'C:/xx/xx/xx/xx/external/mpfr-3.1.5/doc'
Making all in src
mingw32-make[1]: Entering directory 'C:/xx/xx/xx/xx/external/mpfr-3.1.5/src'
C:/yy/yy/yy/yy/mingw64/bin/mingw32-make all-am
mingw32-make[2]: Entering directory 'C:/xx/xx/xx/xx/external/mpfr-3.1.5/src'
C:/yy/yy/AppData/Local/Programs/Git/usr/bin/sh.exe ../libtool --tag=CC
--mode=compile gcc -DTIME_WITH_SYS_TIME=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=
1 -DHAVE_LOCALE_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAVE_
STRUCT_LCONV_DECIMAL_POINT=1 -DHAVE_STRUCT_LCONV_THOUSANDS_SEP=1 -DHAVE_STDINT_H
=1 -DHAVE_VA_COPY=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_LONG_LONG=1
-DHAVE_INTMAX_T=1 -DMPFR_HAVE_INTMAX_MAX=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DENOR
MS=1 -DHAVE_SIGNEDZ=1 -DHAVE_ROUND=1 -DHAVE_TRUNC=1 -DHAVE_FLOOR=1 -DHAVE_CEIL=1
-DHAVE_NEARBYINT=1 -DHAVE_LDOUBLE_IEEE_EXT_LITTLE=1 -DMPFR_USE_THREAD_SAFE=1 -D
MPFR_USE_C11_THREAD_SAFE=1 -DHAVE_CLOCK_GETTIME=1 -DLT_OBJDIR=\".libs/\" -DHAVE_
ATTRIBUTE_MODE=1 -DNPRINTF_J=1 -DNPRINTF_L=1 -DNPRINTF_T=1 -DHAVE___GMPN_ROOTREM
=1 -DHAVE___GMPN_SBPI1_DIVAPPR_Q=1 -I. -I/c/yy/build/include -Wall -Wmissin
g-prototypes -Wpointer-arith -O2 -pedantic -fomit-frame-pointer -m64 -mtune=core
i7 -march=corei7 -MT extract.lo -MD -MP -MF .deps/extract.Tpo -c -o extract.lo e
xtract.c
Xextract.Tpo -c -o extract.lo extract.lo
libtool: warning: libobj name 'extract.Tpo -c -o extract.lo extract.lo' may not
contain shell special characters.
rm: unknown option -- c
Try 'rm --help' for more information.
libtool: compile: gcc -DTIME_WITH_SYS_TIME=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_
H=1 -DHAVE_LOCALE_H=1 -DHAVE_WCHAR_H=1 -DHAVE_STDARG=1 -DHAVE_SYS_TIME_H=1 -DHAV
E_STRUCT_LCONV_DECIMAL_POINT=1 -DHAVE_STRUCT_LCONV_THOUSANDS_SEP=1 -DHAVE_STDINT
_H=1 -DHAVE_VA_COPY=1 -DHAVE_SETLOCALE=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_LONG_LONG=
1 -DHAVE_INTMAX_T=1 -DMPFR_HAVE_INTMAX_MAX=1 -DMPFR_HAVE_FESETROUND=1 -DHAVE_DEN
ORMS=1 -DHAVE_SIGNEDZ=1 -DHAVE_ROUND=1 -DHAVE_TRUNC=1 -DHAVE_FLOOR=1 -DHAVE_CEIL
=1 -DHAVE_NEARBYINT=1 -DHAVE_LDOUBLE_IEEE_EXT_LITTLE=1 -DMPFR_USE_THREAD_SAFE=1
-DMPFR_USE_C11_THREAD_SAFE=1 -DHAVE_CLOCK_GETTIME=1 "-DLT_OBJDIR=\\.libs/\" -DHA
VE_ATTRIBUTE_MODE=1 -DNPRINTF_J=1 -DNPRINTF_L=1 -DNPRINTF_T=1 -DHAVE___GMPN_ROOT
REM=1 -DHAVE___GMPN_SBPI1_DIVAPPR_Q=1 -I. -I/c/yy/build/include -Wall -Wmissin
g-prototypes -Wpointer-arith -O2 -pedantic -fomit-frame-pointer -m64 -mtune=core
i7 -march=corei7 -MT extract.lo -MD -MP -MF .deps/extract.Tpo -c -o extract.lo e
xtract.c" -o extract.Tpo -c -o extract.lo extract.o
gcc.exe: error: extract.o: No such file or directory
gcc.exe: fatal error: no input files
compilation terminated.
rm: unknown option -- c
Try 'rm --help' for more information.
makefile:761: recipe for target 'extract.lo' failed
mingw32-make[2]: * [extract.lo] Error 1
mingw32-make[2]: Leaving directory 'C:/xx/xx/xx/xx/ext
ernal/mpfr-3.1.5/src'
makefile:446: recipe for target 'all' failed
mingw32-make[1]: * [all] Error 2
mingw32-make[1]: Leaving directory 'C:/xx/xx/xx/xx/external/mpfr-3.1.5/src'
makefile:468: recipe for target 'all-recursive' failed
mingw32-make: * [all-recursive] Error 1

It seems in the libtool is going something wrong. Did i miss a configuration flag?

Here the output of configure:
$ ./configure --prefix=/c/yyy/build/ --with-gmp-include=/c/yyy/build/include
--with-gmp-lib=/c/yyy/build/lib --enable-static --disable-shared MAKE=mingw32-
make
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether mingw32-make sets $(MAKE)... yes
checking whether mingw32-make supports nested variables... no
checking whether to enable maintainer-specific portions of Makefiles... yes
checking build system type... x86_64-pc-mingw64
checking host system type... x86_64-pc-mingw64
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for CC and CFLAGS in gmp.h... yes CC=gcc CFLAGS=-O2 -pedantic -fomit-fr
ame-pointer -m64 -mtune=corei7 -march=corei7
checking for CC=gcc and CFLAGS=-O2 -pedantic -fomit-frame-pointer -m64 -mtune=co
rei7 -march=corei7... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by mingw32-make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for ar... ar
checking the archiver (ar) interface... ar
checking for ICC... no
checking whether the selected language is C++... no
checking for an ANSI C-conforming const... yes
checking for working volatile... yes
checking for main in -lm... yes
checking whether time.h and sys/time.h may both be included... yes
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for size_t... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking for string.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/fpu.h usability... no
checking sys/fpu.h presence... no
checking for sys/fpu.h... no
checking for struct lconv.decimal_point... yes
checking for struct lconv.thousands_sep... yes
checking for working alloca.h... no
checking for alloca... yes
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking how to copy va_list... va_copy
checking for memmove... yes
checking for memset... yes
checking for setlocale... yes
checking for strtol... yes
checking for gettimeofday... no
checking for long long int... yes
checking for intmax_t... yes
checking for working INTMAX_MAX... yes
checking for union fpc_csr... no
checking for fesetround... yes
checking for gcc float-conversion bug... no
checking for subnormal numbers... yes
checking for signed zeros... yes
checking if the FP division by 0 fails... no
checking if NAN == NAN... no
checking if charset has consecutive values... yes
checking for math/round... yes
checking for math/trunc... yes
checking for math/floor... yes
checking for math/ceil... yes
checking for math/nearbyint... yes
checking for long double... yes
checking format of `long double' floating point... IEEE extended, little endian
checking for TLS support using C11... yes
checking for library containing clock_gettime... none required
checking for gmp.h... yes
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... C:/Users/xxx/xxx/qt550/mingw64/x86_64-w
64-mingw32/bin/ld.exe
checking if the linker (C:/Users/xxx/xxx/qt550/mingw64/x86_64-w64-ming
w32/bin/ld.exe) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /c/Users/mritter/DevelVis
h/qt550/mingw64/bin/nm -B
checking the name lister (/c/Users/xxx/xxx/qt550/mingw64/bin/nm -B) in
terface... BSD nm
checking whether ln -s works... no, using cp -pR
checking the maximum length of command line arguments... 8192
checking how to convert x86_64-pc-mingw64 file names to x86_64-pc-mingw64 format
... func_convert_file_msys_to_w32
checking how to convert x86_64-pc-mingw64 file names to toolchain format... func
_convert_file_msys_to_w32
checking for C:/Users/xxx/xxx/qt550/mingw64/x86_64-w64-mingw32/bin/ld.
exe option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|
^x86 DLL
checking for dlltool... dlltool
checking how to associate runtime and link libraries... func_cygming_dll_for_imp
lib
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /c/Users/xxx/xxx/qt550/mingw64/bin/nm -B out
put from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... no
checking for as... as
checking for dlltool... (cached) dlltool
checking for objdump... (cached) objdump
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (C:/Users/mritter/DevelVish/qt550/mingw64/x86_64
-w64-mingw32/bin/ld.exe) supports shared libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for DLL/static GMP... static
checking whether gcc _attribute_ ((mode (XX))) works... yes
checking for recent GMP... yes
checking usable gmp.h at link time... yes
checking for GMP_NUMB_BITS and sizeof(mp_limb_t) consistency... yes
checking for __gmpz_init in -lgmp... yes
checking if gmp.h version and libgmp version are the same... (6.1.1/6.1.1) yes
checking for GMP library vs header correctness... yes
checking for double-to-integer conversion bug... no
checking if gmp_printf supports "%jd"... no
checking if gmp_printf supports "%hhd"... yes
checking if gmp_printf supports "%lld"... yes
checking if gmp_printf supports "%Lf"... no
checking if gmp_printf supports "%td"... no
checking for __gmpn_rootrem... yes
checking for __gmpn_sbpi1_divappr_q... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating tune/Makefile
config.status: creating src/mparam.h
config.status: executing depfiles commands
config.status: executing libtool commands

Many Thanks,
Marcel

Marcel <gileoo>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #38924:  config.guess added by gileoo (43KiB - application/octet-stream - configure files and the makefile of the src)
file #38925:  config.status added by gileoo (55KiB - application/octet-stream - configure files and the makefile of the src)
file #38926:  config.log added by gileoo (75KiB - application/octet-stream - configure files and the makefile of the src)
file #38927:  Makefile added by gileoo (35KiB - application/octet-stream - configure files and the makefile of the src)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by vapier (Posted a comment)
  • -email is unavailable- added by gileoo (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-01-29 vapier StatusNone Need Info
    2016-11-10 gileoo Attached File- Added config.guess, #38924
        Attached File- Added config.status, #38925
        Attached File- Added config.log, #38926
        Attached File- Added Makefile, #38927

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code