Web lists-archives.com

Re: [Mingw-users] Import libraries without DLL in GCC 5.3.0 distro




Hmm i wonder if it even uses any of the internal api functions from that header ?, at one time this header was also littered all over the place in winpthreads but turned out it did not even use it.


Den 27-04-2016 kl. 00:40 skrev Keith Marshall:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 25/04/16 19:08, ralph engels wrote:
If built on linux with a crosscompiler targetting mingw using 
--enable-vtable-verify the exports get built correctly.
Nope.  It just stops the entire build, stone dead:

libtool: compile:
 /home/keith/src/mingw/gcc-build/gcc-5.3.0-mingw32-cross/./gcc/xgcc
 -B/home/keith/src/mingw/gcc-build/gcc-5.3.0-mingw32-cross/./gcc/
 "-DPACKAGE_NAME=\"GNU Vtable Verification Runtime Library\""
 -DPACKAGE_TARNAME=\"libvtv\"
 -DPACKAGE_VERSION=\"1.0\"
 "-DPACKAGE_STRING=\"GNU Vtable Verification Runtime Library 1.0\""
 -DPACKAGE_BUGREPORT=\"\"
 -DPACKAGE_URL=\"http://www.gnu.org/software/libvtv/\"
 -DPACKAGE=\"libvtv\" -DVERSION=\"1.0\" -DSTDC_HEADERS=1
 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1
 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DHAVE_DLFCN_H=1
 -DLT_OBJDIR=\".libs/\" -I. -I../../../src/gcc-5.3.0/libvtv
 -I../../../src/gcc-5.3.0/libvtv/../include -D_GNU_SOURCE
 -Wall -Wextra -fno-exceptions -I./../libstdc++-v3/include
 -I./../libstdc++-v3/include/mingw32
 -I../../../src/gcc-5.3.0/libvtv/../libstdc++-v3/libsupc++
 -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end -g -O2 -MT
 vtv_rts.lo -MD -MP -MF .deps/vtv_rts.Tpo
 -c ../../../src/gcc-5.3.0/libvtv/vtv_rts.cc
 -DDLL_EXPORT -DPIC -o .libs/vtv_rts.o
../../../src/gcc-5.3.0/libvtv/vtv_rts.cc:126:22: fatal error:
 winternl.h: No such file or directory
compilation terminated.
make[4]: *** [vtv_rts.lo] Error 1

Given that Microsoft themselves say that <winternl.h> declares APIs
which are internal to Windows itself, are undocumented, and may not be
stable across Windows versions, I have no intention of pursuing any
solution for making this optional feature available; I will simply
build with '--disable-libvtv', per attached specification.

- -- 
Regards,
Keith.

Public key available from keys.gnupg.net
Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)

iQIcBAEBAgAGBQJXH+5uAAoJEMCtNsY0flo/KxEQAMEDovK9mO5HKW71BYSLOFkN
au0wSX97piOWospECzay4kkQ75zmE+pVhp3VsyFOUw3VwLko9YpGSuZJwZqfiG59
GP1mLGTmPFaT4M+oTP9QlYLHWatV7jzYoUgvcD7rq+eoBoDGbjO1dg7b2yEaz6V/
RIDymgLCx0Ay47cXzKnGmhSmkG+OLeg8HxYMekVD44oxxa8E5mEEqCgt4eTQTipU
QfwOjX8SJjesZKdFIG/UL2/jd7jeTPToa6Z1XbzsVIS1h3WiMTpxC3Aot0ftv/dG
IxHyosBAfWfn1Ehb3J/Co6eYgvydXwgbg76V9Bgu81U4kj75EjUNSc3wokJ2nqhT
u2NMHqp6FuY5A6PePqVjaHRbZfadUp8taoR3PwApN7qC3OyySlhZrBlj99SxYK9Q
rDwFG4vFH4SpZ4LXjS8PCLfYK31y3mSM5ZZD0ObLO8X92nPcRxFdRrT+J1U+SqYS
Gnpbo4SMC/OOplj2XmUI8B1UcLLkDhT4xzWCpA3zG06AblzlNBW6TLsA5WNGeA+9
YKQaagNZsskEr8m2Ca+2Zo5mAYVtaIJTJ3XKIEXyNN021dm7YN2LYOeuMC3qf1n8
n/2ODEn0iDqEoXN6dWoJOExpwnFIN6CaRavhU/yxlnlEcEGfWkiJhxUZSPlsnTgT
kSrdHnfgZOAVm+7OGDjJ
=3vzy
-----END PGP SIGNATURE-----


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z


_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

This list observes the Etiquette found at 
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@xxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

This list observes the Etiquette found at 
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@xxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe