misc/163495: Problem compiling world with _Noreturn

Alex Kuster vertexsymphony at zoho.com
Wed Dec 21 07:00:23 UTC 2011


>Number:         163495
>Category:       misc
>Synopsis:       Problem compiling world with _Noreturn
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 21 07:00:22 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Alex Kuster
>Release:        9.0-PRERELEASE (Latest code)
>Organization:
>Environment:
Symphony# uname -a
FreeBSD Symphony 9.0-PRERELEASE FreeBSD 9.0-PRERELEASE #2: Fri Dec 16 18:52:44 ART 2011     vertex at Symphony:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
This problem was explained in mailing lists (freebsd-current) :

http://lists.freebsd.org/pipermail/freebsd-current/2011-December/030484.html
>How-To-Repeat:
Just csup latest code using that exact release, cd /usr/src and make buildworld
>Fix:
This was also described into mailing lists in a follow-up email : http://lists.freebsd.org/pipermail/freebsd-current/2011-December/030500.html

As Clang (at least in this release) seems to use GCC-Like sintax for _Noreturn ... one could check compiler (and version, if necessary) and add this workaround definition:

#define _Noreturn __attribute__ ((noreturn))



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


More information about the freebsd-bugs mailing list