URL: https://www.opennet.me/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID1
Нить номер: 64011
[ Назад ]

Исходное сообщение
"buildworld, warnings, etc"

Отправлено drioptr , 08-Фев-06 22:16 
Обновил дерево сырцов с 5.2.1 до текущей 5 cvsup-ом (src-all, нет refuse файлов).
/usr/src# make buildworld
выдает ОЧЕНЬ много (сотни строк) различных warningов.
Например:

yacc: 43 shift/reduce conflicts
yacc: 85 reduce/reduce conflicts
warning: structure `reg_info_def' used but not defined
warning: structure `basic_block_def' used but not defined
warning: structure `answer' used but not defined
warning: structure `cpp_macro' used but not defined
warning: structure `reg_info_def' used but not defined
warning: structure `basic_block_def' used but not defined
warning: structure `answer' used but not defined
warning: structure `cpp_macro' used but not defined
../libbinutils/libbinutils.a(bucomm.o): In function `make_tempname':
bucomm.o(.text+0x875): warning: mktemp() possibly used unsafely; consider using mkstemp()
../libbinutils/libbinutils.a(bucomm.o): In function `make_tempname':
bucomm.o(.text+0x875): warning: mktemp() possibly used unsafely; consider using mkstemp()
In file included from /usr/src/contrib/binutils/ld/ldfile.c:36:
/usr/src/contrib/binutils/ld/ldemul.h:57: warning: `struct option' declared inside parameter list
/usr/src/contrib/binutils/ld/ldemul.h:57: warning: its scope is only this definition or declaration, which is probably not wha
t you want

Но все компилится. Нигде не смог найти информацию об этом.
Боюсь ставить систему сгенерированную таким образом.
Подскажите, так должно быть или нет?


Содержание

Сообщения в этом обсуждении
"buildworld, warnings, etc"
Отправлено drioptr , 08-Фев-06 22:35 
Все правильно, так и должно быть:
http://lists.freebsd.org/mailman/htdig/freebsd-questions/200...

"buildworld, warnings, etc"
Отправлено nbok , 08-Фев-06 22:54 
нормально всё %) так всегда (даже внимания не стоит обращать)

хотя можно попробовать собрать систему другим компилятором, но это не для слабонервных :))


"buildworld, warnings, etc"
Отправлено universite , 09-Фев-06 01:21 

>Но все компилится. Нигде не смог найти информацию об этом.
>Боюсь ставить систему сгенерированную таким образом.
>Подскажите, так должно быть или нет?

Если система не падает в kernel panic, значит она работает.
Не бери в голову подобные проблемы.