Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Jun 2013 04:19:53 GMT
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/179164: multimedia/cuse4bsd-kmod fails to build on powerpc*
Message-ID:  <201306010419.r514Jrct038642@oldred.FreeBSD.org>
Resent-Message-ID: <201306010420.r514K0aq040410@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306010419.r514Jrct038642>