Bug 195579 - sys/x86/x86/busdma_machdep.c compilation error
Summary: sys/x86/x86/busdma_machdep.c compilation error
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 9.3-RELEASE
Hardware: i386 Any
: --- Affects Many People
Assignee: Fernando Apesteguía
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-02 09:10 UTC by lampa
Modified: 2023-01-24 14:48 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lampa 2014-12-02 09:10:33 UTC
svn info (there is no 9.3-STABLE in Version select!)
Working Copy Root Path: /usr/src
URL: https://svn0.eu.freebsd.org/base/stable/9
Relative URL: ^/stable/9
Repository Root: https://svn0.eu.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 275399
Node Kind: directory
Schedule: normal
Last Changed Author: hselasky
Last Changed Rev: 275352
Last Changed Date: 2014-12-01 08:36:00 +0100 (Mon, 01 Dec 2014)

Architecture i386/PAE

cc -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option   -nostdinc  -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000  -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -Werror  /usr/src/sys/x86/x86/busdma_machdep.c
cc1: warnings being treated as errors
/usr/src/sys/x86/x86/busdma_machdep.c: In function 'alloc_bounce_zone':
/usr/src/sys/x86/x86/busdma_machdep.c:1041: warning: initialization from incompatible pointer type

line 1041:
        SYSCTL_ADD_BUS_SIZE_T(busdma_sysctl_tree(bz),
            SYSCTL_CHILDREN(busdma_sysctl_tree_top(bz)), OID_AUTO,
            "alignment", CTLFLAG_RD, &bz->alignment, "");
Comment 1 Fernando Apesteguía freebsd_committer freebsd_triage 2023-01-24 14:48:59 UTC
No problem like this can be seen in the builder. Also this is not a supported version anymore :-(