Home :: Documentation :: Download :: Development :: Community :: Wiki :: Ports :: Bugs :: Links :: About
Welcome to CRUX bug tracking.
Tasklist

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
Task Type Bug Report
Category ports → core/opt
Status Closed
Assigned To Juergen Daubert (jue)
Operating System CRUX
Severity Low
Priority Normal
Reported Version Development
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

gcc -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

Closed by  Juergen Daubert (jue)
Saturday, 28 July 2012, 09:27 GMT+2
Reason for closing:  Won't fix
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.

Loading...