Bug ID | 918899 |
---|---|
Summary | windows:mingw:win32/mingw32-mozilla-nss-tools: Console Subsystem Bug |
Classification | openSUSE |
Product | openSUSE.org |
Version | unspecified |
Hardware | All |
OS | Windows |
Status | NEW |
Keywords | build |
Severity | Critical |
Priority | P5 - None |
Component | 3rd party software |
Assignee | fstrba@suse.com |
Reporter | gitne@gmx.de |
QA Contact | opensuse-communityscreening@forge.provo.novell.com |
CC | fridrich.strba@bluewin.ch, hib@hiberis.nl, mkbosmans@gmail.com, tlillqvist@suse.com |
Found By | Third Party Developer/Partner |
Blocker | --- |
Created attachment 624058 [details]
objdump -x certutil.exe
The mingw32/mingw64-mozilla-nss-tools seem to work properly, however something
has gone wrong at the linking stage. The nss-tools executables have the
"windows" (GUI, 0x2) subsystem specified in their respective PE and PE+
headers, which is wrong. This causes all standard input/output/error to be
redirected to nul: (/dev/null). Since the nss-tools are command-line tools they
are pretty useless if they do not print to stdout.
Please see the "Subsystem" field in the attached objdump of certutil.exe.
Instead, the headers should specify the "console" subsystem (CUI, 0x3).
To fix this, please pass the "--subsystem console" switch to ld or
"-Wl,--subsystem=console" switch to gcc.