Welcome to CRUX bug tracking.
FS#846 - vsftpd compilation fails on warnings (-Werror)
Attached to Project:
CRUX
Opened by Bartlomiej Palmowski (mxq) - Thursday, 26 July 2012, 14:16 GMT+2
Last edited by Juergen Daubert (jue) - Saturday, 28 July 2012, 09:27 GMT+2
Opened by Bartlomiej Palmowski (mxq) - Thursday, 26 July 2012, 14:16 GMT+2
Last edited by Juergen Daubert (jue) - Saturday, 28 July 2012, 09:27 GMT+2
|
Detailsgcc -c privops.c -Os -march=native -pipe -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wall -W -Wshadow -Werror -Wformat-security -D_FORTIFY_SOURCE=2 -idirafter dummyinc
cc1: warnings being treated as errors privops.c: In function 'vsf_privop_pasv_listen': privops.c:124:18: error: 'the_port' may be used uninitialized in this function make: *** [privops.o] Error 1 make: *** Waiting for unfinished jobs.... my quick hack was to: sed -i 's/-Werror/ /' Makefile |
This task depends upon
Comment by Juergen Daubert (jue) -
Thursday, 26 July 2012, 15:18 GMT+2
The error only happens with CFLAGS set to -Os, works with the default -02.
Comment by Juergen Daubert (jue) -
Saturday, 28 July 2012, 09:27 GMT+2
That's not a bug from the CRUX point of view, because we do not support custom CFLAGS.