From owner-freebsd-arm@FreeBSD.ORG Mon Mar 11 19:11:30 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9AD9DA61 for ; Mon, 11 Mar 2013 19:11:30 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from smtp4.clear.net.nz (smtp4.clear.net.nz [203.97.37.64]) by mx1.freebsd.org (Postfix) with ESMTP id 5F64F9D2 for ; Mon, 11 Mar 2013 19:11:30 +0000 (UTC) Received: from mxin2-orange.clear.net.nz (lb2-srcnat.clear.net.nz [203.97.32.237]) by smtp4.clear.net.nz (CLEAR Net Mail) with ESMTP id <0MJI00I76F9UO900@smtp4.clear.net.nz> for freebsd-arm@freebsd.org; Tue, 12 Mar 2013 07:56:23 +1300 (NZDT) Received: from 202-0-48-19.paradise.net.nz (HELO bender) ([202.0.48.19]) by smtpin2.paradise.net.nz with ESMTP; Tue, 12 Mar 2013 07:56:22 +1300 Date: Tue, 12 Mar 2013 07:55:56 +1300 From: Andrew Turner Subject: Re: sys/arm/include/endian.h and signal.h bug with clang ? In-reply-to: To: Olivier =?ISO-8859-1?Q?Cochard-Labb=E9?= Message-id: <20130312075556.5494747f@bender> MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: quoted-printable References: Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Mar 2013 19:11:30 -0000 On Sun, 10 Mar 2013 23:25:14 +0100 Olivier Cochard-Labb=C3=A9 wrote: > Hi, >=20 > during the build of devel/gobject-introspection with clang on my > Raspberry Pi, I've seen this error (but they didn't prevent > gobject-introspection to compile): Neither of these appear to be clang issues. > /usr/include/machine/signal.h:45: syntax error, unexpected '}' in > '};' at '}' This is because struct sigcontext is empty. Olivier Houchard fixed this in r248153. > /usr/include/machine/endian.h:90: syntax error, unexpected identifier, > expecting ',' or ';' in ' __asm volatile("eor %1, % > 0, %0, ror #16\n"' at 'o' > /usr/include/machine/endian.h:104: syntax error, unexpected > identifier, expecting ',' or ';' in ' __asm volatile(' at 'o' > g-ir-scanner: GLib: warning: 674 warnings suppressed (use --warn-all > to see them) This looks like the gobject introspection parser doesn't support asm volatile. You might have to talk to the port maintainer to see if there is any fix for this. Andrew