[tor-bugs] #26460 [Core Tor/Tor]: All autoconf tests that include studio.h fail with a missing ssp.h on cygwin
Tor Bug Tracker & Wiki
blackhole at torproject.org
Sun Jun 24 00:58:30 UTC 2018
#26460: All autoconf tests that include studio.h fail with a missing ssp.h on
cygwin
--------------------------------------+------------------------------------
Reporter: teor | Owner: (none)
Type: defect | Status: needs_information
Priority: Medium | Milestone: Tor: 0.3.4.x-final
Component: Core Tor/Tor | Version: Tor: 0.3.3.1-alpha
Severity: Normal | Resolution:
Keywords: regression, 033-backport | Actual Points:
Parent ID: #26356 | Points:
Reviewer: | Sponsor:
--------------------------------------+------------------------------------
Changes (by teor):
* status: new => needs_information
Comment:
Ok, so I think your preprocessor is broken.
About half the time, it falils when including ssp.h. And the rest of the
time, it succeeds.
{{{
configure:10878: checking whether the compiler accepts -fwrapv
configure:10897: gcc -c -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2
-fstack-protector-all -Wstack-protector --param ssp-buffer-size=1 -fPIE
-pedantic -Werror -fwrapv -I${top_srcdir}/src/common conftest.c >&5
configure:10897: $? = 0
configure:10916: gcc -o conftest.exe -g -O2 -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-
buffer-size=1 -fPIE -pedantic -Werror -fwrapv -I${top_srcdir}/src/common
conftest.c >&5
configure:10916: $? = 0
configure:10928: result: yes
configure:11284: checking whether the linker accepts -z relro -z now
configure:11327: gcc -o conftest.exe -g -O2 -U_FORTIFY_SOURCE
-D_FORTIFY_SOURCE=2 -fstack-protector-all -Wstack-protector --param ssp-
buffer-size=1 -fPIE -pedantic -Werror -I${top_srcdir}/src/common -z
relro -z now conftest.c -lz -levent -lssl -lcrypto >&5
In file included from /usr/include/stdio.h:800,
from conftest.c:78:
/usr/local/lib/gcc/x86_64-unknown-cygwin/8.1.0/include/ssp/stdio.h:38:10:
fatal error: ssp.h: No such file or directory
#include <ssp.h>
^~~~~~~
compilation terminated.
configure:11327: $? = 1
configure: program exited with status 1
configure: failed program was:
(similar to the last one)
}}}
Please try re-running configure, after deleting the config cache.
Then run a diff between the two logs.
If there are a lot of differences between the logs, then your preprocessor
is failing on arbitrary inputs.
If the logs are identical, it's failing based on some characteristic of
the input files.
Please also retry running configure with stack smashing protection off.
Then, please make sure you have enough available file descriptors, disk
space, RAM, etc., then reinstall Cygwin, and try again.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/26460#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list