NetBSD-Bugs archive

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

install/54635: external/bsd/acpica/bin/iasl fails to build with clang



>Number:         54635
>Category:       install
>Synopsis:       external/bsd/acpica/bin/iasl fails to build with clang
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 21 20:55:00 +0000 2019
>Originator:     ng0
>Release:        9.99.15
>Organization:
>Environment:
NetBSD uptimegirl 9.99.15 NetBSD 9.99.15 (GENERIC) amd64

>Description:
dependall ===> external/bsd/acpica/bin/iasl
#   compile  iasl/nsdump.o
/usr/src/../tools/bin/x86_64--netbsd-clang -O2   -fPIE  -g  -std=gnu99     -Wno-sign-compare -Wno-pointer-sign  -Werror     --sysroot=/usr/src/../obj/destdir.amd64 -I/usr/src/sys/external/bsd/acpica/dist/compiler/../include -I/usr/src/sys/external/bsd/acpica/dist/compiler -I. -DACPI_ASL_COMPILER -DACPI_USE_ALTERNATE_TIMEOUT -DACPI_REPRO  -c    /usr/src/sys/external/bsd/acpica/dist/compiler/../namespace/nsdump.c
/usr/src/sys/external/bsd/acpica/dist/compiler/../namespace/nsdump.c:372:49: error: format specifies type 'unsigned short' but the argument has type 'UINT8' (aka 'unsigned char')
      [-Werror,-Wformat]
                        AcpiOsPrintf (" %.2hX", ObjDesc->Buffer.Pointer[i]);
                                        ~~~~~   ^~~~~~~~~~~~~~~~~~~~~~~~~~
                                        %.2hhX
/usr/src/sys/external/bsd/acpica/dist/compiler/../namespace/nsdump.c:473:17: error: format specifies type 'short' but the argument has type 'UINT8' (aka 'unsigned char') [-Werror,-Wformat]
                ObjDesc->CommonField.AccessByteWidth);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.

*** Failed target:  nsdump.o
*** Failed command: /usr/src/../tools/bin/x86_64--netbsd-clang -O2 -fPIE -g -std=gnu99 -Wno-sign-compare -Wno-pointer-sign -Werror --sysroot=/usr/src/../obj/destdir.amd64 -I/usr/src/sys/external/bsd/acpica/dist/compiler/../include -I/usr/src/sys/external/bsd/acpica/dist/compiler -I. -DACPI_ASL_COMPILER -DACPI_USE_ALTERNATE_TIMEOUT -DACPI_REPRO -c /usr/src/sys/external/bsd/acpica/dist/compiler/../namespace/nsdump.c
*** Error code 1

Stop.
nbmake[9]: stopped in /usr/src/external/bsd/acpica/bin/iasl

*** Failed target:  dependall
*** Failed command: cd "/usr/src/external/bsd/acpica/bin/iasl"; /usr/src/../tools/bin/nbmake realall
*** Error code 1

Stop.
nbmake[8]: stopped in /usr/src/external/bsd/acpica/bin/iasl

*** Failed target:  dependall-iasl
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="external/bsd/acpica/bin/"; real="/usr/src/external/bsd/acpica/bin" ;; *) this="external/bsd/acpica/bin/${dir}/"; real="/usr/src/external/bsd/acpica/bin/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget iasl dependall
*** Error code 1

Stop.
nbmake[7]: stopped in /usr/src/external/bsd/acpica/bin

*** Failed target:  dependall-bin
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="external/bsd/acpica/"; real="/usr/src/external/bsd/acpica" ;; *) this="external/bsd/acpica/${dir}/"; real="/usr/src/external/bsd/acpica/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget bin dependall
*** Error code 1

Stop.
nbmake[6]: stopped in /usr/src/external/bsd/acpica

*** Failed target:  dependall-acpica
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="external/bsd/"; real="/usr/src/external/bsd" ;; *) this="external/bsd/${dir}/"; real="/usr/src/external/bsd/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget acpica dependall
*** Error code 1

Stop.
nbmake[5]: stopped in /usr/src/external/bsd

*** Failed target:  dependall-bsd
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="external/"; real="/usr/src/external" ;; *) this="external/${dir}/"; real="/usr/src/external/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget bsd dependall
*** Error code 1

Stop.
nbmake[4]: stopped in /usr/src/external

*** Failed target:  dependall-external
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget external dependall
*** Error code 1

Stop.
nbmake[3]: stopped in /usr/src

*** Failed target:  do-build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . dependall BUILD_tools=no BUILD_lib=no
*** Error code 1

Stop.
nbmake[2]: stopped in /usr/src
*** Failed target:  build
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . do-build
*** Error code 1

Stop.
nbmake[1]: stopped in /usr/src

*** Failed target:  distribution
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this=""; real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/../tools/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget . build NOPOSTINSTALL=1
*** Error code 1

Stop.
nbmake: stopped in /usr/src

ERROR: Failed to make distribution
*** BUILD ABORTED ***

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index