Bug 206302 - tools/regression/sockets/listenclose fails with EINPROGRESS on gcc 4.9.4/5.3.0, but not clang 3.7.1/gcc 4.2.1
Summary: tools/regression/sockets/listenclose fails with EINPROGRESS on gcc 4.9.4/5.3....
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: tests (show other bugs)
Version: 10.2-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-testing mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-16 02:45 UTC by Enji Cooper
Modified: 2016-01-16 02:45 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enji Cooper freebsd_committer 2016-01-16 02:45:40 UTC
The tools/regression/sockets/listenclose testcase fails with EINPROGRESS on gcc 4.9.4/5.3.0, but not clang 3.7.1 or gcc 4.2.1.

$ bash -c 'for cc in cc gcc gcc49 gcc5; do make -s clean; export CC=$cc; make -s; $cc --version; ./listenclose; done'
FreeBSD clang version 3.7.1 (tags/RELEASE_371/final 255217) 20151225
Target: x86_64-unknown-freebsd11.0
Thread model: posix
gcc (GCC) 4.2.1 20070831 patched [FreeBSD]
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

gcc49 (FreeBSD Ports Collection) 4.9.4 20151230 (prerelease)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

listenclose: connect() for connect socket: Operation now in progress
gcc5 (FreeBSD Ports Collection) 5.3.0
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

listenclose: connect() for connect socket: Operation now in progress