[Bug 492501] Review Request: mingw32-libtiff - MinGW Windows port of the LibTIFF library
by Red Hat Bugzilla
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=492501
--- Comment #7 from Michael Ploujnikov <ploujj(a)gmail.com> 2009-06-03 21:31:16 EDT ---
Updated spec and srpm:
http://plouj.com/rpmbuild/SPECS/mingw32-libtiff.spec
http://plouj.com/rpmbuild/SRPMS/mingw32-libtiff-3.8.2-14.fc10.src.rpm
rpmlint output:
$ rpmlint /home/plouj/rpmbuild/SRPMS/mingw32-libtiff-3.8.2-14.fc10.src.rpm
/home/plouj/rpmbuild/RPMS/noarch/mingw32-libtiff-3.8.2-14.fc10.noarch.rpm
mingw32-libtiff.noarch: W: devel-file-in-non-devel-package
/usr/i686-pc-mingw32/sys-root/mingw/include/tiffconf.h
mingw32-libtiff.noarch: W: devel-file-in-non-devel-package
/usr/i686-pc-mingw32/sys-root/mingw/include/tiff.h
mingw32-libtiff.noarch: W: devel-file-in-non-devel-package
/usr/i686-pc-mingw32/sys-root/mingw/include/tiffio.h
mingw32-libtiff.noarch: W: devel-file-in-non-devel-package
/usr/i686-pc-mingw32/sys-root/mingw/include/tiffvers.h
mingw32-libtiff.noarch: E: script-without-shebang
/usr/i686-pc-mingw32/sys-root/mingw/lib/libtiffxx.la
mingw32-libtiff.noarch: W: devel-file-in-non-devel-package
/usr/i686-pc-mingw32/sys-root/mingw/lib/libtiff.dll.a
mingw32-libtiff.noarch: W: spurious-executable-perm
/usr/i686-pc-mingw32/sys-root/mingw/lib/libtiff.dll.a
mingw32-libtiff.noarch: E: script-without-shebang
/usr/i686-pc-mingw32/sys-root/mingw/lib/libtiff.la
mingw32-libtiff.noarch: W: devel-file-in-non-devel-package
/usr/i686-pc-mingw32/sys-root/mingw/lib/libtiffxx.dll.a
mingw32-libtiff.noarch: W: spurious-executable-perm
/usr/i686-pc-mingw32/sys-root/mingw/lib/libtiffxx.dll.a
mingw32-libtiff.noarch: W: devel-file-in-non-devel-package
/usr/i686-pc-mingw32/sys-root/mingw/include/tiffio.hxx
mingw32-libtiff.noarch: E: arch-independent-package-contains-binary-or-object
/usr/i686-pc-mingw32/sys-root/mingw/lib/libtiffxx.dll.a
mingw32-libtiff.noarch: E: arch-independent-package-contains-binary-or-object
/usr/i686-pc-mingw32/sys-root/mingw/lib/libtiff.dll.a
mingw32-libtiff.noarch: W: non-standard-dir-in-usr i686-pc-mingw32
2 packages and 0 specfiles checked; 4 errors, 10 warnings.
--
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.
14 years, 10 months
[Bug 492501] Review Request: mingw32-libtiff - MinGW Windows port of the LibTIFF library
by Red Hat Bugzilla
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=492501
Adam Goode <adam(a)spicenitz.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |adam(a)spicenitz.org
--- Comment #2 from Adam Goode <adam(a)spicenitz.org> 2009-06-02 16:54:40 EDT ---
The original libtiff specfile has a lot of unnecessary stuff for mingw32. I
just did one, it is attached. There is no need for executables, multilib, or
documentation in the mingw32 version of libtiff.
Please feel free to take this specfile and alter the changelog with your name,
if you like. :)
--
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.
14 years, 10 months
[Bug 498616] New: gcc -lpthread is broken
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: gcc -lpthread is broken
https://bugzilla.redhat.com/show_bug.cgi?id=498616
Summary: gcc -lpthread is broken
Product: Fedora
Version: rawhide
Platform: All
OS/Version: Linux
Status: NEW
Severity: medium
Priority: low
Component: mingw32-pthreads
AssignedTo: rjones(a)redhat.com
ReportedBy: erik-fedora(a)vanpienbroek.nl
QAContact: extras-qa(a)fedoraproject.org
CC: lfarkas(a)lfarkas.org, berrange(a)redhat.com,
rjones(a)redhat.com,
fedora-mingw(a)lists.fedoraproject.org
Classification: Fedora
Created an attachment (id=342094)
--> (https://bugzilla.redhat.com/attachment.cgi?id=342094)
Libtool file which points to libpthreadGC2.a
When compiling applications or libraries which depend on mingw32-pthread, the
compilation always fails with a linker error:
$ cat test.c
int main(int argc, char **argv)
{
return 0;
}
$ i686-pc-mingw32-gcc test.c -o test.exe -lpthread
/usr/lib64/gcc/i686-pc-mingw32/4.4.0/../../../../i686-pc-mingw32/bin/ld: cannot
find -lpthread
collect2: ld returned 1 exit status
This is caused by the fact that only libpthreadGC2.a and libpthreadGCE2.a exist
in the mingw32-pthread package.
There are multiple solutions to fix this problem:
- Rename one of the two .a files to libpthread.a
- Create a .la file which points libtool to one of the .a files (file attached)
Note: The second solution only works for libtool based projects.
Does anyone know what the actual difference is between the two .a files ?
--
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.
14 years, 10 months