[Bug 514187] compiled mingw files include the sys-root path

bugzilla at redhat.com bugzilla at redhat.com
Tue Jul 28 08:48:25 UTC 2009


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=514187


Paolo Bonzini <pbonzini at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|513826                      |
         Depends on|                            |513826




--- Comment #1 from Paolo Bonzini <pbonzini at redhat.com>  2009-07-28 04:48:24 EDT ---
It turns out that a lot of binaries in mingw32 include the sys-root path.  This
is bad, as it is comparable to including the rpm-build-root in a binary RPM:

./mingw/bin/gettextize:prefix="/usr/i686-pc-mingw32/sys-root/mingw"
./mingw/bin/gettextize:gettext_dir="/usr/i686-pc-mingw32/sys-root/mingw/share/gettext"
./mingw/bin/gettextize:  exec_prefix="/usr/i686-pc-mingw32/sys-root/mingw"
./mingw/bin/gettextize:  bindir="/usr/i686-pc-mingw32/sys-root/mingw/bin"
Binary file ./mingw/bin/libtermcap-0.dll matches
Binary file ./mingw/bin/msgexec.exe matches
Binary file ./mingw/bin/libgmodule-2.0-0.dll matches
Binary file ./mingw/bin/tndbm.exe matches
Binary file ./mingw/bin/libgettextsrc-0-17.dll matches
Binary file ./mingw/bin/conv2gdbm.exe matches

This however is a huge can of worms since it includes dependency_libs in
libtool libraries:

./mingw/lib/libpng.la:dependency_libs='
/usr/i686-pc-mingw32/sys-root/mingw/lib/libz.la'

and as far as I know libtool does not support sysrooting.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the mingw mailing list