The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]



Индекс форумов
Составление сообщения

Исходное сообщение
"Релиз набора компиляторов LLVM 3.9"
Отправлено iZEN, 05-Сен-16 20:14 
Кто может подсказать, куда копать в этой стоп-ошибке:

/usr/local/llvm39/bin/clang -c -O2 -pipe -fno-strict-aliasing   -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD  -MF.depend.isp.o -MTisp.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs -fdiagnostics-show-option  -Wno-unknown-pragmas  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function  -Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx  -std=iso9899:1999 -Werror  /usr/src/sys/dev/isp/isp.c
/usr/src/sys/dev/isp/isp.c:4650:17: error: passing an object that undergoes
      default argument promotion to 'va_start' has undefined behavior
      [-Werror,-Wvarargs]
                        va_start(ap, ctl);
                                     ^
/usr/src/sys/dev/isp/isp.c:4630:39: note: parameter of type 'ispctl_t' is
      declared here
isp_control(ispsoftc_t *isp, ispctl_t ctl, ...)
                                      ^
/usr/src/sys/dev/isp/isp.c:4669:16: error: passing an object that undergoes
      default argument promotion to 'va_start' has undefined behavior
      [-Werror,-Wvarargs]
                va_start(ap, ctl);
                             ^
/usr/src/sys/dev/isp/isp.c:4630:39: note: parameter of type 'ispctl_t' is
      declared here
isp_control(ispsoftc_t *isp, ispctl_t ctl, ...)
                                      ^
/usr/src/sys/dev/isp/isp.c:4751:16: error: passing an object that undergoes
      default argument promotion to 'va_start' has undefined behavior
      [-Werror,-Wvarargs]
                va_start(ap, ctl);
                             ^
/usr/src/sys/dev/isp/isp.c:4630:39: note: parameter of type 'ispctl_t' is
      declared here
isp_control(ispsoftc_t *isp, ispctl_t ctl, ...)
                                      ^
/usr/src/sys/dev/isp/isp.c:4839:16: error: passing an object that undergoes
      default argument promotion to 'va_start' has undefined behavior
      [-Werror,-Wvarargs]
                va_start(ap, ctl);
                             ^
/usr/src/sys/dev/isp/isp.c:4630:39: note: parameter of type 'ispctl_t' is
      declared here
isp_control(ispsoftc_t *isp, ispctl_t ctl, ...)
                                      ^
/usr/src/sys/dev/isp/isp.c:4849:17: error: passing an object that undergoes
      default argument promotion to 'va_start' has undefined behavior
      [-Werror,-Wvarargs]
                        va_start(ap, ctl);
                                     ^
/usr/src/sys/dev/isp/isp.c:4630:39: note: parameter of type 'ispctl_t' is
      declared here
isp_control(ispsoftc_t *isp, ispctl_t ctl, ...)
                                      ^
/usr/src/sys/dev/isp/isp.c:4863:17: error: passing an object that undergoes
      default argument promotion to 'va_start' has undefined behavior
      [-Werror,-Wvarargs]
                        va_start(ap, ctl);
                                     ^
/usr/src/sys/dev/isp/isp.c:4630:39: note: parameter of type 'ispctl_t' is
      declared here
isp_control(ispsoftc_t *isp, ispctl_t ctl, ...)
                                      ^
/usr/src/sys/dev/isp/isp.c:4873:17: error: passing an object that undergoes
      default argument promotion to 'va_start' has undefined behavior
      [-Werror,-Wvarargs]
                        va_start(ap, ctl);
                                     ^
/usr/src/sys/dev/isp/isp.c:4630:39: note: parameter of type 'ispctl_t' is
      declared here
isp_control(ispsoftc_t *isp, ispctl_t ctl, ...)
                                      ^
/usr/src/sys/dev/isp/isp.c:4883:17: error: passing an object that undergoes
      default argument promotion to 'va_start' has undefined behavior
      [-Werror,-Wvarargs]
                        va_start(ap, ctl);
                                     ^
/usr/src/sys/dev/isp/isp.c:4630:39: note: parameter of type 'ispctl_t' is
      declared here
isp_control(ispsoftc_t *isp, ispctl_t ctl, ...)
                                      ^
/usr/src/sys/dev/isp/isp.c:4907:17: error: passing an object that undergoes
      default argument promotion to 'va_start' has undefined behavior
      [-Werror,-Wvarargs]
                        va_start(ap, ctl);
                                     ^
/usr/src/sys/dev/isp/isp.c:4630:39: note: parameter of type 'ispctl_t' is
      declared here
isp_control(ispsoftc_t *isp, ispctl_t ctl, ...)
                                      ^
/usr/src/sys/dev/isp/isp.c:4919:16: error: passing an object that undergoes
      default argument promotion to 'va_start' has undefined behavior
      [-Werror,-Wvarargs]
                va_start(ap, ctl);
                             ^
/usr/src/sys/dev/isp/isp.c:4630:39: note: parameter of type 'ispctl_t' is
      declared here
isp_control(ispsoftc_t *isp, ispctl_t ctl, ...)
                                      ^
/usr/src/sys/dev/isp/isp.c:4944:16: error: passing an object that undergoes
      default argument promotion to 'va_start' has undefined behavior
      [-Werror,-Wvarargs]
                va_start(ap, ctl);
                             ^
/usr/src/sys/dev/isp/isp.c:4630:39: note: parameter of type 'ispctl_t' is
      declared here
isp_control(ispsoftc_t *isp, ispctl_t ctl, ...)
                                      ^
/usr/src/sys/dev/isp/isp.c:4955:16: error: passing an object that undergoes
      default argument promotion to 'va_start' has undefined behavior
      [-Werror,-Wvarargs]
                va_start(ap, ctl);
                             ^
/usr/src/sys/dev/isp/isp.c:4630:39: note: parameter of type 'ispctl_t' is
      declared here
isp_control(ispsoftc_t *isp, ispctl_t ctl, ...)
                                      ^
/usr/src/sys/dev/isp/isp.c:4977:17: error: passing an object that undergoes
      default argument promotion to 'va_start' has undefined behavior
      [-Werror,-Wvarargs]
                        va_start(ap, ctl);
                                     ^
/usr/src/sys/dev/isp/isp.c:4630:39: note: parameter of type 'ispctl_t' is
      declared here
isp_control(ispsoftc_t *isp, ispctl_t ctl, ...)
                                      ^
13 errors generated.
*** Error code 1

Stop.

Причём при компиляции ядра с помощью LLVM/Clang 3.8.1 этой ошибки нет, всё нормально компилируется. Конфигурация в обоих случаях одна и та же.

 

Ваше сообщение
Имя*:
EMail:
Для отправки ответов на email укажите знак ! перед адресом, например, !user@host.ru (!! - не показывать email).
Более тонкая настройка отправки ответов производится в профиле зарегистрированного участника форума.
Заголовок*:
Сообщение*:
 
При общении не допускается: неуважительное отношение к собеседнику, хамство, унизительное обращение, ненормативная лексика, переход на личности, агрессивное поведение, обесценивание собеседника, провоцирование флейма голословными и заведомо ложными заявлениями. Не отвечайте на сообщения, явно нарушающие правила - удаляются не только сами нарушения, но и все ответы на них. Лог модерирования.



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру