tech-pkg archive

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

Re: vfork on Oracle Solaris 11.2



From: Ryo ONODERA <ryo_on%yk.rim.or.jp@localhost>, Date: Fri, 05 Jun 2015 01:50:24 +0900 (JST)

> From: Jörn Clausen <joernc%googlemail.com@localhost>, Date: Tue, 2 Jun 2015 13:15:02 +0200
> 
>> 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?
> 
> Hi,
> 
> I believe that passing -Werror is wrong.
> I have fixed pkgtools/bootstrap-mk-files and updated it to 20150605.
> Now SunOS's NOGCCERROR behavior is like Linux etc.
> 
> Please try 20150605.
> 
> Thank you.

Sorry. My previous e-mail is wrong.
Please try latest sysutils/bsdinstall.

Thank you.

--
Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Home | Main Index | Thread Index | Old Index