Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Broken build in src/libexec/ftpd?

Cross-compiling from amd64 to VAX, with sources from yesterday:

cc1: warnings being treated as errors
/vol1/rhialto/cvs/src/libexec/ftpd/popen.c: In function 'ftpd_popen':
/vol1/rhialto/cvs/src/libexec/ftpd/popen.c:111: warning: variable 'isls' might b
e clobbered by 'longjmp' or 'vfork'

*** Failed target:  popen.o
*** Failed command: /vol1/rhialto/tools.amd64/bin/vax--netbsdelf-gcc -O1 -fgcse 
-fstrength-reduce -fgcse-after-reload -fstack-protector -Wstack-protector --para
m ssp-buffer-size=1 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-ari
th -Wno-sign-compare -Wno-traditional -Wa,--fatal-warnings -Wreturn-type -Wswitc
h -Wshadow -Wcast-qual -Wwrite-strings -Wextra -Wno-unused-parameter -Wsign-comp
are -std=gnu99 -Werror -I/vol1/rhialto/cvs/src/libexec/ftpd -DSUPPORT_UTMP -DSUP
PORT_UTMPX -DLOGIN_CAP -DINET6 -DUSE_PAM -nostdinc -isystem /vol1/rhialto/destdi
r.vax/usr/include -D_FORTIFY_SOURCE=2 -c /vol1/rhialto/cvs/src/libexec/ftpd/pope
*** Error code 1

nbmake: stopped in /vol1/rhialto/cvs/src/libexec/ftpd

        isls = (strcmp(sl->sl_str[0], INTERNAL_LS) == 0);

        pid = isls ? fork() : vfork();

NO_INTERNAL_LS is not defined for VAX it seems (see commandline).

but I don't see how the local variable isls would get clobbered by
vfork(), since it is never changed after this line, which is before the

Strangely enough I didn't see this error when crosscompiling from amd64
to i386.

___ Olaf 'Rhialto' Seibert    -- You author it, and I'll reader it.
\X/ rhialto/at/xs4all.nl      -- Cetero censeo "authored" delendum esse.

Home | Main Index | Thread Index | Old Index