https://bugzilla.redhat.com/show_bug.cgi?id=1124368
Bug ID: 1124368
Summary: mingw32-crt has wrong value for in6addr_loopback
Product: Fedora EPEL
Version: epel7
Component: mingw32-w32api
Assignee: rjones(a)redhat.com
Reporter: chris(a)edesix.com
QA Contact: extras-qa(a)fedoraproject.org
CC: fedora-mingw(a)lists.fedoraproject.org,
lfarkas(a)lfarkas.org, rjones(a)redhat.com
The value of _in6addr_loopback is wrong. It should be ::1, but is :: (all
zeros). See the "Contents of section .rdata" in the objdump snippet below...
$ rpm -q -f /usr/i686-w64-mingw32/sys-root/mingw/lib/libws2_32.a
mingw32-crt-3.1.999-0.10.trunk.gitb8e816.20140530.el7.noarch
$ i686-w64-mingw32-objdump -x -s
/usr/i686-w64-mingw32/sys-root/mingw/lib/libws2_32.a
[snip]
SYMBOL TABLE:
[ 0](sec 1)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x00000000 .text
AUX scnlen 0x0 nreloc 0 nlnno 0
[ 2](sec 2)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x00000000 .data
AUX scnlen 0x0 nreloc 0 nlnno 0
[ 4](sec 3)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x00000000 .bss
AUX scnlen 0x0 nreloc 0 nlnno 0
[ 6](sec 4)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x00000000 .rdata
AUX scnlen 0x20 nreloc 0 nlnno 0
[ 8](sec 5)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x00000000 .rdata$zzz
AUX scnlen 0x35 nreloc 0 nlnno 0
[ 10](sec 4)(fl 0x00)(ty 0)(scl 2) (nx 0) 0x00000000 _in6addr_loopback
[ 11](sec 4)(fl 0x00)(ty 0)(scl 2) (nx 0) 0x00000010 _in6addr_any
Contents of section .rdata:
0000 00000000 00000000 00000000 00000000 ................
0010 00000000 00000000 00000000 00000000 ................
Contents of section .rdata$zzz:
0000 4743433a 2028474e 55292034 2e392e30 GCC: (GNU) 4.9.0
0010 20323031 34303432 32202846 65646f72 20140422 (Fedor
0020 61204d69 6e475720 342e392e 302d312e a MinGW 4.9.0-1.
0030 656c3729 00000000 el7)....
[snip]
This is what it should look like - from Fedora 20...
$ rpm -q -f /usr/i686-w64-mingw32/sys-root/mingw/lib/libws2_32.a
mingw32-crt-3.1.0-3.fc20.noarch
$ i686-w64-mingw32-objdump -x -s
/usr/i686-w64-mingw32/sys-root/mingw/lib/libws2_32.a
[snip]
SYMBOL TABLE:
[ 0](sec 1)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x00000000 .text
AUX scnlen 0x0 nreloc 0 nlnno 0
[ 2](sec 2)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x00000000 .data
AUX scnlen 0x0 nreloc 0 nlnno 0
[ 4](sec 3)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x00000000 .bss
AUX scnlen 0x0 nreloc 0 nlnno 0
[ 6](sec 4)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x00000000 .rdata
AUX scnlen 0x20 nreloc 0 nlnno 0
[ 8](sec 5)(fl 0x00)(ty 0)(scl 3) (nx 1) 0x00000000 .rdata$zzz
AUX scnlen 0x36 nreloc 0 nlnno 0
[ 10](sec 4)(fl 0x00)(ty 0)(scl 2) (nx 0) 0x00000000 _in6addr_loopback
[ 11](sec 4)(fl 0x00)(ty 0)(scl 2) (nx 0) 0x00000010 _in6addr_any
Contents of section .rdata:
0000 00000000 00000000 00000000 00000001 ................
0010 00000000 00000000 00000000 00000000 ................
Contents of section .rdata$zzz:
0000 4743433a 2028474e 55292034 2e382e32 GCC: (GNU) 4.8.2
0010 20323031 33313031 36202846 65646f72 20131016 (Fedor
0020 61204d69 6e475720 342e382e 322d312e a MinGW 4.8.2-1.
0030 66633230 29000000 fc20)...
[snip]
I've logged this issue under mimgw32-w32api because there is no mingw32-crt
component.
Regards,
Chris.
--
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=M0G9g4JaAZ&a=cc_unsubscribe