ports/179164: multimedia/cuse4bsd-kmod fails to build on powerpc*

Justin Hibbits jhibbits at FreeBSD.org
Sat Jun 1 04:20:00 UTC 2013


>Number:         179164
>Category:       ports
>Synopsis:       multimedia/cuse4bsd-kmod fails to build on powerpc*
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 01 04:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Justin Hibbits
>Release:        10-CURRENT
>Organization:
>Environment:
FreeBSD zhabar 10.0-CURRENT FreeBSD 10.0-CURRENT #9 r250992M: Sun May 26 02:03:28 PDT 2013     chmeee at zhabar:/usr/home/chmeee/world/usr/home/chmeee/freebsd/head/sys/ZHABAR  powerpc

>Description:
r249265 of base/ (merge of projects/counters) adds an assert to sys/pcpu.h checking for proper padding of struct pcpu.  However, on PowerPC, AIM or BOOKE must be defined to get all the fields, else the size of the struct is not a perfect factor of PAGE_SIZE.
>How-To-Repeat:
Build multimedia/cuse4bsd-kmod
>Fix:
Possibly unconditionally define either AIM or BOOKE when building on powerpc, or find some way to determine the target.  Since struct pcpu is not used anywhere in cuse4bsd-kmod, only in the kernel headers it includes, it may be safe enough to always define AIM on powerpc.

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list