Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#8276 fix adds -pthread when it should not #8541

Closed
asedeno opened this issue Mar 5, 2022 · 1 comment
Closed

#8276 fix adds -pthread when it should not #8541

asedeno opened this issue Mar 5, 2022 · 1 comment
Labels

Comments

@asedeno
Copy link
Contributor

asedeno commented Mar 5, 2022

I did this

./configure [same options I've always used]

I expected the following

# 7.81.0
$ grep pthread config.log
configure:45656: checking for pthread.h
configure:45666: checking for pthread_create
ac_cv_func_pthread_create=yes
ac_cv_header_pthread_h=yes

I got this instead

# 7.82.0
$ grep pthread config.log
configure:45361: checking for pthread.h
configure:45371: checking for pthread_create
configure:45739: gcc -std=gnu99 -c -Werror-implicit-function-declaration -O2 -Wno-system-headers -pthread -isystem /afs/sipb.mit.edu/project/git/builds/openssl-1.0.2u/sun4x_510/include -isystem /usr/athena/include -isystem /afs/sipb.mit.edu/project/git/builds/openssl-1.0.2u/sun4x_510/include conftest.c >&5
gcc: unrecognized option `-pthread'
   CFLAGS:          -Werror-implicit-function-declaration -O2 -Wno-system-headers -pthread
ac_cv_func_pthread_create=yes
ac_cv_header_pthread_h=yes
CFLAGS='-Werror-implicit-function-declaration -O2 -Wno-system-headers -pthread'

curl/libcurl version

7.82.0

operating system

SunOS multics.mit.edu 5.10 Generic_118833-36 sun4u sparc SUNW,UltraAX-i2

@asedeno
Copy link
Contributor Author

asedeno commented Mar 5, 2022

$ gcc -v
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
Configured with: /gates/sfw10/builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++ --enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants