tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: vfork on Oracle Solaris 11.2
Ah, that's the place...
No, it doesn't help. But: libnbcompat's configure script detects vfork
as present and working, and building bmake stumbles over vfork, but
compiles anyway:
gcc -c -g -O2 -I.
-I/opt/pkgsrc/pkg-hrz/pkgsrc/bootstrap/work.UHRZ-pkgsrc-sol11i86/bmake
-DHAVE_CONFIG_H
-I/opt/pkgsrc/pkg-hrz/pkgsrc/bootstrap/work.UHRZ-pkgsrc-sol11i86/bmake/missing
-DMAKE_NATIVE -DUSE_META -DBMAKE_PATH_MAX=1024 -o job.o
/opt/pkgsrc/pkg-hrz/pkgsrc/bootstrap/work.UHRZ-pkgsrc-sol11i86/bmake/job.c
/opt/pkgsrc/pkg-hrz/pkgsrc/bootstrap/work.UHRZ-pkgsrc-sol11i86/bmake/job.c:
In function 'JobExec':
/opt/pkgsrc/pkg-hrz/pkgsrc/bootstrap/work.UHRZ-pkgsrc-sol11i86/bmake/job.c:1328:5:
warning: 'vfork' is deprecated (declared at /usr/include/unistd.h:531)
[-Wdeprecated-declarations]
cpid = vFork();
^
Why is bsdinstall built with -Werror, but other components during
bootstrap are not?
On Tue, Jun 2, 2015 at 11:34 AM, Joerg Sonnenberger
<joerg%britannica.bec.de@localhost> wrote:
> On Tue, Jun 02, 2015 at 09:03:55AM +0200, Jörn Clausen wrote:
>> What is the easiest way for a quick fix? Can I insert
>> "-Wno-deprecated" easily during bootstrap (parameter to bootstrap,
>> environment variable)?
>
> Can you first confirm that it helps? Sticking CFLAGS+=-Wno-deprecated in
> the Makefiles should work (the ones under files/).
>
> Joerg
--
Joern Clausen
http://www.oe-files.de/photography/
Home |
Main Index |
Thread Index |
Old Index