Skip to content

curl 7.79 does not compile on linux and mac with debug flags #7733

@tawmoto

Description

@tawmoto

I am trying to build curl as I do it for years, with the same flags.

FLAGS=" -Wa,-compress-debug-sections=none -fPIC -DPIC -m64" LDFLAGS=" -Wl,-compress-debug-sections=none" ./configure --enable-ftp --enable-proxy --enable-ipv6 --enable-http --enable-nonblocking --enable-crypto-auth --enable-hidden-symbols --enable-soname-bump --enable-static --disable-shared --disable-dict --disable-ares --disable-telnet --disable-tftp --disable-manual --disable-rtsp --disable-file --disable-pop3 --disable-imap --disable-smtp --disable-ldap --disable-ldaps --disable-sspi --without-libssh2 --without-zlib --without-gnutls --without-nss --without-libidn --without-libidn2 --without-nghttp2 --without-librtmp --without-brotli --without-libpsl --prefix="some_install_dir" --with-ssl="ssl_dir" --disable-rt --disable-threaded-resolver --enable-debug --enable-curldebug

I get this error

d	16-Sep-2021 14:49:36		[DEBUG] 	CC       vtls/libcurlu_la-wolfssl.lo
build	16-Sep-2021 14:49:36		[DEBUG] 	CC       vquic/libcurlu_la-ngtcp2.lo
build	16-Sep-2021 14:49:36		[DEBUG] 	CC       vquic/libcurlu_la-quiche.lo
build	16-Sep-2021 14:49:36		[DEBUG] 	CC       vquic/libcurlu_la-vquic.lo
build	16-Sep-2021 14:49:37		[DEBUG] 	CC       vssh/libcurlu_la-libssh.lo
build	16-Sep-2021 14:49:37		[DEBUG] 	CC       vssh/libcurlu_la-libssh2.lo
build	16-Sep-2021 14:49:37		[DEBUG] 	CC       vssh/libcurlu_la-wolfssh.lo
build	16-Sep-2021 14:49:37		[DEBUG] 	CCLD     libcurlu.la
build	16-Sep-2021 14:49:37		[DEBUG] 	RUN      checksrc
build	16-Sep-2021 14:49:38		[DEBUG] 	./strerror.c:734:20: warning: Unused ignore: STRERROR (UNUSEDIGNORE)
build	16-Sep-2021 14:49:38		[DEBUG] 	/* !checksrc! disable STRERROR 2 */
build	16-Sep-2021 14:49:38		[DEBUG] 	^
build	16-Sep-2021 14:49:38		[DEBUG] 	checksrc: 0 errors and 1 warnings
build	16-Sep-2021 14:49:38		[DEBUG] 	checksrc: 0 errors and 7 warnings suppressed
build	16-Sep-2021 14:49:38		[DEBUG] 	Makefile:206412: recipe for target 'checksrc' failed
build	16-Sep-2021 14:49:38		[DEBUG] 	make[2]: *** [checksrc] Error 5

The problem seems this line:
2f0bb86#r56567123

Problem is reproducible on Linux and MacOS with curl 7.79.0

Thanks

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions