Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Oct 2013 00:18:43 GMT
From:      Kevin Oberman <rkoberman@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/182723: dri fails to build on 9.2-Stable 
Message-ID:  <201310060018.r960IhtW082226@oldred.freebsd.org>
Resent-Message-ID: <201310060020.r960K07t089128@freefall.freebsd.org>

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

>Number:         182723
>Category:       ports
>Synopsis:       dri fails to build on 9.2-Stable
>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:   Sun Oct 06 00:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Kevin Oberman
>Release:        9.2 Stable r255452
>Organization:
ESnet
>Environment:
FreeBSD rogue.local 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #0 r255452M: Tue Sep 10 11:20:05 PDT 2013     root@rogue.local:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
graphics/dri fails to build. System attempt to use gcc, but it does not handle the binary declarations of ints. This is noted in the comments, but for OSVERION of 902503, clang is not used. It is only used for ${OSVERSION} < 902502.
  CC       brw_eu_util.lo
brw_eu_compact.c:44:4: error: invalid suffix "b00000000000000000" on integer constant
brw_eu_compact.c:45:4: error: invalid suffix "b01000000000000000" on integer constant
brw_eu_compact.c:46:4: error: invalid suffix "b00110000000000000" on integer constant

I am not aware of any change made to compilers after 9.2 was branched that would justify this statement:
. if ${OSVERSION} >= 901000 && ${OSVERSION} < 902502 \
                && (${ARCH} == i386 || ${ARCH} == amd64)

>How-To-Repeat:
Build port with a version of 9-STABLE after 9.2 was branched
>Fix:
Change the statement to:

. if ${OSVERSION} >= 901000 && (${ARCH} == i386 || ${ARCH} == amd64)

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



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