[Bug 665539] New: mingw32-bzip2 is missing a static package
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: mingw32-bzip2 is missing a static package
https://bugzilla.redhat.com/show_bug.cgi?id=665539
Summary: mingw32-bzip2 is missing a static package
Product: Fedora
Version: 14
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: medium
Priority: low
Component: mingw32-bzip2
AssignedTo: rjones(a)redhat.com
ReportedBy: amorilia(a)users.sourceforge.net
QAContact: extras-qa(a)fedoraproject.org
CC: lfarkas(a)lfarkas.org, rjones(a)redhat.com,
fedora-mingw(a)lists.fedoraproject.org
Classification: Fedora
Description of problem:
Currently, it is not possible to cross compile against bzip2 statically.
Version-Release number of selected component (if applicable):
1.0.5-8
How reproducible:
cat > test.c <<EOF
void main() {};
EOF
i686-pc-mingw32-gcc -Wl,-Bstatic -lbz2 test.c
Steps to Reproduce:
1.
2.
3.
Actual results:
/usr/lib64/gcc/i686-pc-mingw32/4.5.0/../../../../i686-pc-mingw32/bin/ld: cannot
find -lbz2
collect2: ld returned 1 exit status
Expected results:
The test program compiles successfully.
Additional info:
Patch attached.
--
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.
12 years
[Bug 811909] New: Linking against mingw32 libbzip2 fails
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: Linking against mingw32 libbzip2 fails
https://bugzilla.redhat.com/show_bug.cgi?id=811909
Summary: Linking against mingw32 libbzip2 fails
Product: Fedora
Version: 16
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: unspecified
Priority: unspecified
Component: mingw32-bzip2
AssignedTo: rjones(a)redhat.com
ReportedBy: yeti(a)physics.muni.cz
QAContact: extras-qa(a)fedoraproject.org
CC: lfarkas(a)lfarkas.org, rjones(a)redhat.com,
amorilia(a)users.sourceforge.net,
fedora-mingw(a)lists.fedoraproject.org
Classification: Fedora
Story Points: ---
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Description of problem:
Linking against the MinGW port of bzip2 fails. For start, code generated by
standard configure tests such as
AC_CHECK_LIB(bz2, BZ2_bzopen, ...)
fails.
Version-Release number of selected component (if applicable):
mingw32-bzip2-1.0.5-9.fc15
How reproducible:
Always.
Steps to Reproduce:
1. Create the following C code (essentially what configure creates as
conftest.c), calling it conftest.c:
char BZ2_bzopen ();
int main ()
{
return BZ2_bzopen ();
return 0;
}
2. Run
i686-pc-mingw32-gcc -o conftest.exe -g -O2 conftestc.c -lbz2
Actual results:
/home/yeti/tmp/ccEfyAbq.o: In function `main':
/home/yeti/xxx/conftest.c:5: undefined reference to `_BZ2_bzopen'
collect2: ld returned 1 exit status
Expected results:
It links and creates conftest.exe.
Additional info:
According to i686-pc-mingw32-nm, symbols in libbz2.dll.a bear extensions such
as @8, @10, etc., so BZ2_bzopen is there as _BZ2_bzopen@8.
--
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.
12 years