autoreconf-ed mingw project gets -z via -specs=/usr/lib/rpm/redhat/redhat-hardened-ld via libtool
by Sandro Mani
Hi,
In mingw-libmng I do a autoreconf -if before %mingw_configure (to
regenerate the Makefiles with -no-undefined), but then the build fails
because of
/usr/lib/gcc/i686-w64-mingw32/5.0.0/../../../../i686-w64-mingw32/bin/ld:
unrecognized option '-z'
/usr/lib/gcc/i686-w64-mingw32/5.0.0/../../../../i686-w64-mingw32/bin/ld:
use the --help option for usage information
I traced the source of the issue to the libtool script copied by
autoreconf which now includes
compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"
which is responsible for adding -z. I am unsure however how to properly
fix the issue, short of sed-ing out the
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld from the libtool script...
Any ideas?
Thanks,
Sandro
9 years
Changes in latest mingw-filesystem
by Erik van Pienbroek
Hi all,
This is a heads up to announce a new version of the mingw-filesystem
package. As of version 100 of this package many improvements were
applied, especially regarding CMake support. Here's an overview:
CMAKE_SYSTEM_PROCESSOR
----------------------
The CMake variable CMAKE_SYSTEM_PROCESSOR has been added to the CMake
toolchain files. According to
http://www.vtk.org/Wiki/CMake_Cross_Compiling this CMake variable
should be part of the toolchain files so we added it there. This
variable is used for example by recent webkitgtk versions to find out
the system architecture (x86 or x86_64).
Optional verbose make
---------------------
When using one of the CMake RPM macros (like %mingw32_cmake) or one of
the CMake wrapper scripts (like /usr/bin/mingw32-cmake) you probably
have noticed that the output of the 'make' command was always verbose.
As of this version of mingw-filesystem this behavior has changed: The
CMake RPM macros still use verbose make by default, but when using the
CMake wrapper scripts verbose make won't be used by default.
If you're using the CMake wrapper scripts and still want to use
verbose make then there are two ways to achieve this:
1. By using "/usr/bin/mingw32-cmake -DCMAKE_VERBOSE_MAKEFILE=ON"
2. By using "make VERBOSE=1"
See also: https://bugzilla.redhat.com/show_bug.cgi?id=987644
CMAKE_BUILD_TYPE support
------------------------
CMake provides a capability to use a different subset of compiler
flags based on the contents of a variable called CMAKE_BUILD_TYPE.
This can be used to create 'Debug', 'Release', 'RelWithDebInfo' or
'MinSizeRel' builds. In the past the contents of this variable were
ignored and the default Fedora MinGW compiler flags were automatically
used.
When using the CMake wrapper scripts the default Fedora MinGW compiler
flags aren't used any more which should allow CMAKE_BUILD_TYPE to work
as expected. The behavior of the CMake RPM macros has not changed.
See also: https://bugzilla.redhat.com/show_bug.cgi?id=1136069
CPack support
-------------
With CPack it is possible to easily generate (NSIS) installers from
compiled CMake projects. In the past an error message was shown when
trying to use this feature. Using CPack should work fine now with the
latest mingw-filesystem.
This was resolved by removing the LIB_INSTALL_DIR variable from the
CMake toolchain files. A test was done against all Fedora MinGW CMake-
based packages and no breakage was encountered with this variable
removed.
See also: https://bugzilla.redhat.com/show_bug.cgi?id=1152696
Toolchain file renamed
----------------------
Previously the CMake toolchain files were stored in
/usr/share/mingw/Toolchain-mingw32.cmake and
/usr/share/mingw/Toolchain-mingw64.cmake. As file names on Linux are
normally all lowercase we've renamed these files to
/usr/share/mingw/toolchain-mingw32.cmake and
/usr/share/mingw/toolchain-mingw64.cmake
This should only affect users which were calling /usr/bin/cmake
directly instead of using the MinGW CMake wrapper scripts
CMake rpath
-----------
When using the CMake RPM macros or the CMake wrapper scripts a CMake
flag was automatically used to enable rpath support. As win32/win64
don't have rpath support this CMake flag won't be used by default any
more.
Removed Boost_COMPILER
----------------------
Older versions of mingw-filesystem had the variable Boost_COMPILER set
in the CMake toolchain files. The value of this variable was incorrect
for quite some time (it still pointed to gcc 4.7) and no breakage was
detected in the past years so it was dropped.
Empty MINGW{32,64}_{C,CPP,CXX}FLAGS environment variables
---------------------------------------------------------
When using the MinGW RPM macros or the various wrapper scripts it was
already possibly to override the default compiler flags by setting one
or more environment variables. Testing has shown that these
environment variables weren't respected when they were set to an empty
value. As of this version of mingw-filesystem it is now possible to
supply an empty set of compiler flags (which also prevents the default
compiler flags from being used)
Removed deprecated _mingw32 RPM macros
--------------------------------------
As of Fedora 17 (June 2012) support for win64 became available. Due to
this a large part of the already available mingw32 RPM macros was
rewritten and the old mingw32 RPM macros (like %_mingw32_configure)
were marked as deprecated and shouldn't have been used any more in
packages. These deprecated RPM macros have now been removed from the
latest mingw-filesystem.
The RPM macros mentioned in the Fedora MinGW packaging guidelines at
https://fedoraproject.org/wiki/Packaging:MinGW are all still valid and
haven't been changed.
The updated mingw-filesystem is currently being pushed to all active
branches: EPEL-6, EPEL-7, F21, F22 and rawhide.
If you encounter any issues with this new version of mingw-filesystem
please let me know.
Regards,
Erik van Pienbroek
9 years
[Bug 1107557] New: CVE-2014-0191 mingw-libxml2: libxml2: external parameter entity loaded when entity substitution is disabled [fedora-all]
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=1107557
Bug ID: 1107557
Summary: CVE-2014-0191 mingw-libxml2: libxml2: external
parameter entity loaded when entity substitution is
disabled [fedora-all]
Product: Fedora
Version: 20
Component: mingw-libxml2
Keywords: Security, SecurityTracking
Severity: medium
Priority: medium
Assignee: rjones(a)redhat.com
Reporter: scorneli(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: drizt(a)land.ru, erik-fedora(a)vanpienbroek.nl,
fedora-mingw(a)lists.fedoraproject.org,
ktietz(a)redhat.com, lfarkas(a)lfarkas.org,
rjones(a)redhat.com, veillard(a)redhat.com
Blocks: 1090976 (CVE-2014-0191)
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When creating a Bodhi update request, use the bodhi submission link noted
in the next comment(s). This will include the bug IDs of this tracking
bug as well as the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
Bodhi notes field when available.
NOTE: this issue affects multiple supported versions of Fedora. While only
one tracking bug has been filed, please correct all affected versions at
the same time. If you need to fix the versions independent of each other,
you may clone this bug as appropriate.
[bug automatically created by: add-tracking-bugs]
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1090976
[Bug 1090976] CVE-2014-0191 libxml2: external parameter entity loaded when
entity substitution is disabled
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=DIHWxpqdT4&a=cc_unsubscribe
9 years
Version Discrepancy Report
by Michael Cronenworth
------------------------------------------
MinGW/native package version discrepancies
------------------------------------------
Fedora N Matches Found: 49
Fedora Rawhide Matches Found: 51
+---------------------------------------------+
| f22 | rawhide | owner |
+-----------------------------------+---------------+---------------+-------------+
| boost | 1.57.0 | 1.57.0 | |
| mingw-boost | 1.55.0 | 1.55.0 | sailer |
+-----------------------------------+---------------+---------------+-------------+
| cairo | 1.14.2 | 1.14.2 | |
| mingw-cairo | 1.14.0 | 1.14.0 | rjones |
+-----------------------------------+---------------+---------------+-------------+
| curl | 7.40.0 | 7.41.0 | |
| mingw-curl | 7.39.0 | 7.39.0 | epienbro |
+-----------------------------------+---------------+---------------+-------------+
| cxxtest | 4.4 | 4.4 | |
| mingw-cxxtest | 3.10.1 | 3.10.1 | astokes |
+-----------------------------------+---------------+---------------+-------------+
| dbus | 1.8.16 | 1.8.16 | |
| mingw-dbus | 1.8.12 | 1.8.12 | ivanromanov |
+-----------------------------------+---------------+---------------+-------------+
| fontconfig | 2.11.93 | 2.11.93 | |
| mingw-fontconfig | 2.11.1 | 2.11.1 | rjones |
+-----------------------------------+---------------+---------------+-------------+
| freeglut | | 3.0.0 | |
| mingw-freeglut | | 2.8.1 | rjones |
+-----------------------------------+---------------+---------------+-------------+
| freeimage | 3.10.0 | 3.10.0 | |
| mingw-freeimage | 3.15.4 | 3.15.4 | smani |
+-----------------------------------+---------------+---------------+-------------+
| freetype | 2.5.5 | 2.5.5 | |
| mingw-freetype | 2.5.4 | 2.5.4 | rjones |
+-----------------------------------+---------------+---------------+-------------+
| gdb | 7.9 | 7.9 | |
| mingw-gdb | 7.8.1 | 7.8.1 | kalev |
+-----------------------------------+---------------+---------------+-------------+
| giflib | 4.1.6 | 4.1.6 | |
| mingw-giflib | 5.0.5 | 5.0.5 | smani |
+-----------------------------------+---------------+---------------+-------------+
| gnutls | 3.3.14 | 3.3.14 | |
| mingw-gnutls | 3.3.12 | 3.3.12 | rjones |
+-----------------------------------+---------------+---------------+-------------+
| gstreamer1 | 1.4.5 | 1.4.5 | |
| mingw-gstreamer1 | 1.4.4 | 1.4.4 | pfor |
+-----------------------------------+---------------+---------------+-------------+
| gstreamer1-plugins-bad-free | 1.4.5 | 1.4.5 | |
| mingw-gstreamer1-plugins-bad-free | 1.4.4 | 1.4.4 | elmarco |
+-----------------------------------+---------------+---------------+-------------+
| gstreamer1-plugins-base | 1.4.5 | 1.4.5 | |
| mingw-gstreamer1-plugins-base | 1.4.4 | 1.4.4 | pfor |
+-----------------------------------+---------------+---------------+-------------+
| gstreamer1-plugins-good | 1.4.5 | 1.4.5 | |
| mingw-gstreamer1-plugins-good | 1.4.4 | 1.4.4 | elmarco |
+-----------------------------------+---------------+---------------+-------------+
| gtkhtml3 | 4.8.5 | 4.8.5 | |
| mingw-gtkhtml3 | 4.6.6 | 4.6.6 | epienbro |
+-----------------------------------+---------------+---------------+-------------+
| hunspell | 1.3.3 | 1.3.3 | |
| mingw-hunspell | 1.3.2 | 1.3.2 | epienbro |
+-----------------------------------+---------------+---------------+-------------+
| icu | 54.1 | 54.1 | |
| mingw-icu | 50.1.2 | 50.1.2 | pfor |
+-----------------------------------+---------------+---------------+-------------+
| lcms2 | 2.7 | 2.7 | |
| mingw-lcms2 | 2.6 | 2.6 | sailer |
+-----------------------------------+---------------+---------------+-------------+
| libffi | 3.1 | 3.1 | |
| mingw-libffi | 3.0.13 | 3.0.13 | bonzini |
+-----------------------------------+---------------+---------------+-------------+
| libgcrypt | 1.6.3 | 1.6.3 | |
| mingw-libgcrypt | 1.6.2 | 1.6.2 | rjones |
+-----------------------------------+---------------+---------------+-------------+
| libgpg-error | 1.17 | 1.17 | |
| mingw-libgpg-error | 1.12 | 1.12 | rjones |
+-----------------------------------+---------------+---------------+-------------+
| libgsf | 1.14.29 | 1.14.29 | |
| mingw-libgsf | 1.14.31 | 1.14.31 | greghellings |
+-----------------------------------+---------------+---------------+-------------+
| libidn | 1.29 | 1.30 | |
| mingw-libidn | 1.28 | 1.28 | epienbro |
+-----------------------------------+---------------+---------------+-------------+
| libjpeg-turbo | 1.4.0 | 1.4.0 | |
| mingw-libjpeg-turbo | 1.3.1 | 1.3.1 | epienbro |
+-----------------------------------+---------------+---------------+-------------+
| libogg | 1.3.2 | 1.3.2 | |
| mingw-libogg | 1.3.0 | 1.3.0 | kraxel |
+-----------------------------------+---------------+---------------+-------------+
| libosinfo | 0.2.11 | 0.2.11 | |
| mingw-libosinfo | 0.2.8 | 0.2.8 | berrange |
+-----------------------------------+---------------+---------------+-------------+
| libpng | 1.6.16 | 1.6.16 | |
| mingw-libpng | 1.6.10 | 1.6.10 | rjones |
+-----------------------------------+---------------+---------------+-------------+
| librsvg2 | 2.40.9 | 2.40.9 | |
| mingw-librsvg2 | 2.40.8 | 2.40.8 | rhughes |
+-----------------------------------+---------------+---------------+-------------+
| libsigsegv | 2.10 | 2.10 | |
| mingw-libsigsegv | 2.6 | 2.6 | bonzini |
+-----------------------------------+---------------+---------------+-------------+
| libssh2 | 1.5.0 | 1.5.0 | |
| mingw-libssh2 | 1.4.3 | 1.4.3 | epienbro |
+-----------------------------------+---------------+---------------+-------------+
| libtasn1 | 4.4 | 4.4 | |
| mingw-libtasn1 | 4.2 | 4.2 | kalev |
+-----------------------------------+---------------+---------------+-------------+
| libvirt | 1.2.13 | 1.2.13 | |
| mingw-libvirt | 1.2.12 | 1.2.12 | berrange |
+-----------------------------------+---------------+---------------+-------------+
| libwebp | 0.4.3 | 0.4.3 | |
| mingw-libwebp | 0.4.2 | 0.4.2 | pfor |
+-----------------------------------+---------------+---------------+-------------+
| libxml++ | 2.38.0 | 2.38.0 | |
| mingw-libxml++ | 2.37.2 | 2.37.2 | sailer |
+-----------------------------------+---------------+---------------+-------------+
| llvm | 3.5.0 | 3.5.0 | |
| mingw-llvm | 3.0 | 3.0 | brouhaha |
+-----------------------------------+---------------+---------------+-------------+
| openjpeg | 1.5.1 | 1.5.1 | |
| mingw-openjpeg | 1.5.2 | 1.5.2 | smani |
+-----------------------------------+---------------+---------------+-------------+
| openssl | 1.0.1k | 1.0.1k | |
| mingw-openssl | 1.0.1j | 1.0.1j | rjones |
+-----------------------------------+---------------+---------------+-------------+
| qpid-cpp | 0.30 | 0.30 | |
| mingw-qpid-cpp | 0.14 | 0.14 | beekhof |
+-----------------------------------+---------------+---------------+-------------+
| qt5-qtwebsockets | | 5.4.0 | |
| mingw-qt5-qtwebsockets | | 5.4.1 | epienbro |
+-----------------------------------+---------------+---------------+-------------+
| readline | 6.3 | 6.3 | |
| mingw-readline | 6.2 | 6.2 | rjones |
+-----------------------------------+---------------+---------------+-------------+
| rest | 0.7.93 | 0.7.93 | |
| mingw-rest | 0.7.92 | 0.7.92 | elmarco |
+-----------------------------------+---------------+---------------+-------------+
| shapelib | 1.3.0f | 1.3.0f | |
| mingw-shapelib | 1.3.0 | 1.3.0 | smani |
+-----------------------------------+---------------+---------------+-------------+
| spice-protocol | 0.12.7 | 0.12.7 | |
| mingw-spice-protocol | 0.12.4 | 0.12.4 | kraxel |
+-----------------------------------+---------------+---------------+-------------+
| sqlite | 3.8.8.3 | 3.8.8.3 | |
| mingw-sqlite | 3.8.4.3 | 3.8.4.3 | rjones |
+-----------------------------------+---------------+---------------+-------------+
| tcl | 8.6.4 | 8.6.4 | |
| mingw-tcl | 8.6.3 | 8.6.3 | sailer |
+-----------------------------------+---------------+---------------+-------------+
| tk | 8.6.4 | 8.6.4 | |
| mingw-tk | 8.6.1 | 8.6.1 | roma |
+-----------------------------------+---------------+---------------+-------------+
| usbredir | 0.7 | 0.7 | |
| mingw-usbredir | 0.6 | 0.6 | elmarco |
+-----------------------------------+---------------+---------------+-------------+
| webkitgtk | 2.4.8 | 2.4.8 | |
| mingw-webkitgtk | 2.2.8 | 2.2.8 | epienbro |
+-----------------------------------+---------------+---------------+-------------+
| webkitgtk3 | 2.4.8 | 2.4.8 | |
| mingw-webkitgtk3 | 2.2.8 | 2.2.8 | kalev |
+-----------------------------------+---------------+---------------+-------------+
9 years