[Top][All Lists]

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

[lmi] wxMSW, x86_64-w64-mingw32-gcc-4.9.1: warning in expat

From: Greg Chicares
Subject: [lmi] wxMSW, x86_64-w64-mingw32-gcc-4.9.1: warning in expat
Date: Tue, 23 May 2017 12:11:53 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

/opt/lmi/src/lmi[0]$make $coefficiency 
exec_prefix=/opt/lmi/x86_64-w64-mingw32/local host_type=x86_64-w64-mingw32 
--output-sync=recurse -f install_wx.make
checking for expat.h... no
configure: WARNING: system expat library not found, will use built-in instead
=== configuring in src/expat 
configure: running /bin/bash ../../../src/expat/configure 
--disable-option-checking '--prefix=/opt/lmi/local'  
'--build=x86_64-unknown-linux-gnu' '--host=x86_64-w64-mingw32' 
'--disable-apple_ieee' '--disable-aui' '--disable-compat24' 
'--disable-fswatcher' '--disable-gif' '--disable-mediactrl' 
'--disable-propgrid' '--disable-ribbon' '--disable-richtext' '--disable-stc' 
'--disable-webview' '--enable-monolithic' '--enable-shared' 
'--enable-std_iostreams' '--enable-stl' 
'--enable-vendor=gcc-491-89775012799fe5c9bd8ea61e5fa43da7' '--without-libjpeg' 
'--without-libtiff' '--without-opengl' '--without-subdirs' 
'CFLAGS=-fno-omit-frame-pointer' 'CXXFLAGS=-fno-omit-frame-pointer -std=c++11' 
'build_alias=x86_64-unknown-linux-gnu' 'host_alias=x86_64-w64-mingw32' 
--cache-file=/dev/null --srcdir=../../../src/expat

checking for x86_64-w64-mingw32-gcc... x86_64-w64-mingw32-gcc
checking for x86_64-w64-mingw32-mt... no
checking for mt... mt
configure: WARNING: using cross tools not prefixed with host triplet
checking if mt is a manifest tool... no

Isn't gcc prefixed with a host triplet here? Let's search the web...

It's different from the problem reported here:

| GC> checking for i686-w64-mingw32-strip... no
| GC> checking for strip... strip
| GC> configure: WARNING: using cross tools not prefixed with host triplet

The answer is apparently this:

| > Why is libtool searching for a Windows manifest tool on a Linux host when 
| > cross-compiling for a bare-metal ARM target? Is this a bug? Is there a way 
| > prevent this warning from appearing?
| Why is <insert any configure script> searching for <xyzzy> on platform 
| when <xyzzy> isn't available there?
|         <pause>
| Because it's the autoconf way! It's not a bug.
| You can create a symlink from arm-none-eabi-mt to /bin/true to avoid the 
| warning if it's disturbing.
|         .../configure MANIFEST_TOOL=:

So 'configure' is looking for an msw "manifest tool", but finding this:

| mt - control magnetic tape drive operation


Anyway, the warning I'm reporting is this:

 x86_64-w64-mingw32-gcc -c -o wxexpat_xmlparse.o -DNDEBUG -I./src/expat 
 -I../include -Wall -Wundef -O2 -fno-omit-frame-pointer  
../src/expat/lib/xmlparse.c: In function 'generate_hash_secret_salt':
../src/expat/lib/xmlparse.c:725:42: warning: cast from pointer to integer of 
different size [-Wpointer-to-int-cast]
       gather_time_entropy() ^ getpid() ^ (unsigned long)parser;

reply via email to

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